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.



11747
11748
11749
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11747

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)


11745
11746
11747
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11745

def engine
  @engine
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11752
11753
11754
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11752

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