Error Reporting V1beta1 API - Class Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Rest::ServiceStub (v0.6.0)

Reference documentation and code samples for the Error Reporting V1beta1 API class Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Rest::ServiceStub.

REST service stub for the ErrorStatsService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#delete_events

def delete_events(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ErrorReporting::V1beta1::DeleteEventsResponse

Baseline implementation for the delete_events REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, credentials:) -> ServiceStub
Returns

#list_events

def list_events(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ErrorReporting::V1beta1::ListEventsResponse

Baseline implementation for the list_events REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_group_stats

def list_group_stats(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ErrorReporting::V1beta1::ListGroupStatsResponse

Baseline implementation for the list_group_stats REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)