Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata

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

Metadata associated with a tune operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata.



13434
13435
13436
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13434

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

Instance Attribute Details

#engineString

Required. The resource name of the engine that this tune applies to. Format: projects/project_number/locations/location_id/collections/collection_id/ engines/engine_id` Corresponds to the JSON propertyengine`

Returns:

  • (String)


13432
13433
13434
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13432

def engine
  @engine
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13439
13440
13441
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13439

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