Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ExaAiSearchConfig

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 ExaAISearch.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1ExaAiSearchConfig

Returns a new instance of GenaiVertexV1beta1ExaAiSearchConfig.



2058
2059
2060
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2058

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

Instance Attribute Details

#api_keyString

Required. The API key for ExaAiSearch. Corresponds to the JSON property api_key

Returns:

  • (String)


2050
2051
2052
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2050

def api_key
  @api_key
end

#custom_configHash<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

Returns:

  • (Hash<String,Object>)


2056
2057
2058
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2056

def custom_config
  @custom_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2063
2064
2065
2066
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2063

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