Class: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingServiceContext

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailLoggingServiceContext

Returns a new instance of GoogleCloudRetailLoggingServiceContext.



294
295
296
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 294

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#serviceString

An identifier of the service. For example, "retail.googleapis.com". Corresponds to the JSON property service

Returns:

  • (String)


292
293
294
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 292

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



299
300
301
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 299

def update!(**args)
  @service = args[:service] if args.key?(:service)
end