Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ExaAiSearchConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ExaAiSearchConfig
- 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 ExaAISearch.
Instance Attribute Summary collapse
-
#api_key ⇒ String
Required.
-
#custom_config ⇒ Hash<String,Object>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1ExaAiSearchConfig
constructor
A new instance of GenaiVertexV1beta1ExaAiSearchConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1ExaAiSearchConfig
Returns a new instance of GenaiVertexV1beta1ExaAiSearchConfig.
1960 1961 1962 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1960 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_key ⇒ String
Required. The API key for ExaAiSearch.
Corresponds to the JSON property api_key
1952 1953 1954 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1952 def api_key @api_key end |
#custom_config ⇒ Hash<String,Object>
Optional. This field can be used to pass any parameter from the Exa.ai Search
API.
Corresponds to the JSON property custom_config
1958 1959 1960 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1958 def custom_config @custom_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1965 1966 1967 1968 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1965 def update!(**args) @api_key = args[:api_key] if args.key?(:api_key) @custom_config = args[:custom_config] if args.key?(:custom_config) end |