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
- request_pb (::Google::Cloud::ErrorReporting::V1beta1::DeleteEventsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ErrorReporting::V1beta1::DeleteEventsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ErrorReporting::V1beta1::DeleteEventsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_events
def list_events(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ErrorReporting::V1beta1::ListEventsResponse
Baseline implementation for the list_events REST call
- request_pb (::Google::Cloud::ErrorReporting::V1beta1::ListEventsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ErrorReporting::V1beta1::ListEventsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ErrorReporting::V1beta1::ListEventsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ErrorReporting::V1beta1::ListGroupStatsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ErrorReporting::V1beta1::ListGroupStatsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ErrorReporting::V1beta1::ListGroupStatsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)