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.



4042
4043
4044
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4042

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)


4035
4036
4037
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4035

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>)


4040
4041
4042
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4040

def custom_config
  @custom_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4047
4048
4049
4050
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4047

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