Class: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingServiceContext

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/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.



251
252
253
# File 'lib/google/apis/retail_v2beta/classes.rb', line 251

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)


249
250
251
# File 'lib/google/apis/retail_v2beta/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_v2beta/classes.rb', line 256

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