Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ParallelAiSearchConfig

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

Overview

Used to specify configuration for ParallelAISearch.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1ParallelAiSearchConfig

Returns a new instance of GenaiVertexV1beta1ParallelAiSearchConfig.



4380
4381
4382
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4380

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

Instance Attribute Details

#api_keyString

Optional. The API key for ParallelAiSearch. Corresponds to the JSON property api_key

Returns:

  • (String)


4373
4374
4375
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4373

def api_key
  @api_key
end

#custom_configHash<String,Object>

Optional. Custom configs for ParallelAiSearch. Corresponds to the JSON property custom_config

Returns:

  • (Hash<String,Object>)


4378
4379
4380
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4378

def custom_config
  @custom_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4385
4386
4387
4388
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4385

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