Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RuntimeConfigVertexAiSearchRuntimeConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RuntimeConfigVertexAiSearchRuntimeConfig

Returns a new instance of GoogleCloudAiplatformV1beta1RuntimeConfigVertexAiSearchRuntimeConfig.



24248
24249
24250
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24248

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

Instance Attribute Details

#engine_idString

Optional. Vertex AI Search engine ID. This is used to construct the search request. By setting this engine_id, API will construct the serving config using the default value to call search API for the user. The engine_id and serving_config_name cannot both be empty at the same time. Corresponds to the JSON property engineId

Returns:

  • (String)


24239
24240
24241
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24239

def engine_id
  @engine_id
end

#serving_config_nameString

Optional. Vertex AI Search serving config name. Format: projects/project/ locations/location/collections/collection/engines/engine/servingConfigs/ serving_config` Corresponds to the JSON propertyservingConfigName`

Returns:

  • (String)


24246
24247
24248
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24246

def serving_config_name
  @serving_config_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24253
24254
24255
24256
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24253

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