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.



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

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)


244
245
246
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 244

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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