Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEmbeddingConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaEmbeddingConfig

Returns a new instance of GoogleCloudDiscoveryengineV1betaEmbeddingConfig.



7138
7139
7140
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7138

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

Instance Attribute Details

#field_pathString

Full field path in the schema mapped as embedding field. Corresponds to the JSON property fieldPath

Returns:

  • (String)


7136
7137
7138
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7136

def field_path
  @field_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7143
7144
7145
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7143

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