# Copyright 2017 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. module Google module Devtools module Clouderrorreporting ## # # Stackdriver Error Reporting API Contents # # | Class | Description | # | ----- | ----------- | # | [ErrorGroupServiceClient][] | Stackdriver Error Reporting groups and counts similar errors from cloud services. The Stackdriver Error Reporting API provides a way to report new errors and read access to error groups and their associated errors. | # | [ErrorStatsServiceClient][] | Stackdriver Error Reporting groups and counts similar errors from cloud services. The Stackdriver Error Reporting API provides a way to report new errors and read access to error groups and their associated errors. | # | [ReportErrorsServiceClient][] | Stackdriver Error Reporting groups and counts similar errors from cloud services. The Stackdriver Error Reporting API provides a way to report new errors and read access to error groups and their associated errors. | # | [Data Types][] | Data types for Google::Cloud::ErrorReporting::V1beta1 | # # [ErrorGroupServiceClient]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-error_reporting/latest/google/devtools/clouderrorreporting/v1beta1/errorgroupserviceclient # [ErrorStatsServiceClient]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-error_reporting/latest/google/devtools/clouderrorreporting/v1beta1/errorstatsserviceclient # [ReportErrorsServiceClient]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-error_reporting/latest/google/devtools/clouderrorreporting/v1beta1/reporterrorsserviceclient # [Data Types]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-error_reporting/latest/google/devtools/clouderrorreporting/v1beta1/datatypes # module V1beta1 # A request for reporting an individual error event. # @!attribute [rw] project_name # @return [String] # [Required] The resource name of the Google Cloud Platform project. Written # as +projects/+ plus the # [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). # Example: +projects/my-project-123+. # @!attribute [rw] event # @return [Google::Devtools::Clouderrorreporting::V1beta1::ReportedErrorEvent] # [Required] The error event to be reported. class ReportErrorEventRequest; end # Response for reporting an individual error event. # Data may be added to this message in the future. class ReportErrorEventResponse; end # An error event which is reported to the Error Reporting system. # @!attribute [rw] event_time # @return [Google::Protobuf::Timestamp] # [Optional] Time when the event occurred. # If not provided, the time when the event was received by the # Error Reporting system will be used. # @!attribute [rw] service_context # @return [Google::Devtools::Clouderrorreporting::V1beta1::ServiceContext] # [Required] The service context in which this error has occurred. # @!attribute [rw] message # @return [String] # [Required] A message describing the error. The message can contain an # exception stack in one of the supported programming languages and formats. # In that case, the message is parsed and detailed exception information # is returned when retrieving the error event again. # @!attribute [rw] context # @return [Google::Devtools::Clouderrorreporting::V1beta1::ErrorContext] # [Optional] A description of the context in which the error occurred. class ReportedErrorEvent; end end end end end