Class: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingServiceContext
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingServiceContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb
Overview
Describes a running service that sends errors.
Instance Attribute Summary collapse
-
#service ⇒ String
An identifier of the service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailLoggingServiceContext
constructor
A new instance of GoogleCloudRetailLoggingServiceContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailLoggingServiceContext
Returns a new instance of GoogleCloudRetailLoggingServiceContext.
251 252 253 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 251 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service ⇒ String
An identifier of the service. For example, "retail.googleapis.com".
Corresponds to the JSON property service
249 250 251 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 249 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
256 257 258 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 256 def update!(**args) @service = args[:service] if args.key?(:service) end |