Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineLoggingServiceContext

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

Describes a running service that sends errors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineLoggingServiceContext

Returns a new instance of GoogleCloudDiscoveryengineLoggingServiceContext.



248
249
250
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 248

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

Instance Attribute Details

#serviceString

An identifier of the service—for example, discoveryengine.googleapis.com. Corresponds to the JSON property service

Returns:

  • (String)


246
247
248
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 246

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



253
254
255
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 253

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