Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineLoggingErrorLog
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineLoggingErrorLog
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
An error log which is reported to the Error Reporting system.
Instance Attribute Summary collapse
-
#context ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineLoggingErrorContext
A description of the context in which an error occurred.
-
#import_payload ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineLoggingImportErrorContext
The error payload that is populated on LRO import APIs, including the following: * `google.cloud.discoveryengine.v1alpha.DocumentService.
-
#message ⇒ String
A message describing the error.
-
#service_context ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineLoggingServiceContext
Describes a running service that sends errors.
-
#status ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineLoggingErrorLog
constructor
A new instance of GoogleCloudDiscoveryengineLoggingErrorLog.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineLoggingErrorLog
Returns a new instance of GoogleCloudDiscoveryengineLoggingErrorLog.
136 137 138 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineLoggingErrorContext
A description of the context in which an error occurred.
Corresponds to the JSON property context
106 107 108 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 106 def context @context end |
#import_payload ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineLoggingImportErrorContext
The error payload that is populated on LRO import APIs, including the
following: * google.cloud.discoveryengine.v1alpha.DocumentService.
ImportDocuments
* google.cloud.discoveryengine.v1alpha.UserEventService.
ImportUserEvents
Corresponds to the JSON property importPayload
114 115 116 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 114 def import_payload @import_payload end |
#message ⇒ String
A message describing the error.
Corresponds to the JSON property message
119 120 121 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 119 def @message end |
#service_context ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineLoggingServiceContext
Describes a running service that sends errors.
Corresponds to the JSON property serviceContext
124 125 126 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 124 def service_context @service_context end |
#status ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus
The Status
type defines a logical error model that is suitable for different
programming environments, including REST APIs and RPC APIs. It is used by
gRPC. Each Status
message contains three pieces of
data: error code, error message, and error details. You can find out more
about this error model and how to work with it in the API Design Guide.
Corresponds to the JSON property status
134 135 136 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 134 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
141 142 143 144 145 146 147 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 141 def update!(**args) @context = args[:context] if args.key?(:context) @import_payload = args[:import_payload] if args.key?(:import_payload) @message = args[:message] if args.key?(:message) @service_context = args[:service_context] if args.key?(:service_context) @status = args[:status] if args.key?(:status) end |