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.



226
227
228
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 226

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)


224
225
226
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 224

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



231
232
233
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 231

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