Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaTuneEngineMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb

Overview

Metadata associated with a tune operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaTuneEngineMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1betaTuneEngineMetadata.



18235
18236
18237
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 18235

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/locations/location/collections/collection_id/engines/ engine_id` Corresponds to the JSON propertyengine`

Returns:

  • (String)


18233
18234
18235
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 18233

def engine
  @engine
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18240
18241
18242
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 18240

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