Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEmbeddingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEmbeddingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Defines embedding config, used for bring your own embeddings feature.
Instance Attribute Summary collapse
-
#field_path ⇒ String
Full field path in the schema mapped as embedding field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEmbeddingConfig
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaEmbeddingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEmbeddingConfig
Returns a new instance of GoogleCloudDiscoveryengineV1alphaEmbeddingConfig.
6062 6063 6064 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6062 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_path ⇒ String
Full field path in the schema mapped as embedding field.
Corresponds to the JSON property fieldPath
6060 6061 6062 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6060 def field_path @field_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6067 6068 6069 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6067 def update!(**args) @field_path = args[:field_path] if args.key?(:field_path) end |