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.



6861
6862
6863
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6861

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)


6859
6860
6861
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6859

def engine
  @engine
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6866
6867
6868
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6866

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