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.



4601
4602
4603
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4601

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

Instance Attribute Details

#api_keyString

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

Returns:

  • (String)


4594
4595
4596
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4594

def api_key
  @api_key
end

#custom_configHash<String,Object>

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

Returns:

  • (Hash<String,Object>)


4599
4600
4601
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4599

def custom_config
  @custom_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4606
4607
4608
4609
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4606

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