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.



602
603
604
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 602

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)


600
601
602
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 600

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



607
608
609
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 607

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