Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEmbeddingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEmbeddingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/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) ⇒ GoogleCloudDiscoveryengineV1betaEmbeddingConfig
constructor
A new instance of GoogleCloudDiscoveryengineV1betaEmbeddingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaEmbeddingConfig
Returns a new instance of GoogleCloudDiscoveryengineV1betaEmbeddingConfig.
4561 4562 4563 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4561 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
4559 4560 4561 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4559 def field_path @field_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4566 4567 4568 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4566 def update!(**args) @field_path = args[:field_path] if args.key?(:field_path) end |