Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/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.



1972
1973
1974
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1972

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)


1970
1971
1972
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1970

def engine
  @engine
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1977
1978
1979
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1977

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