Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Single source entry for the grounding checking.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry

Returns a new instance of GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry.



17658
17659
17660
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17658

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

Instance Attribute Details

#enterprise_datastoreString

The uri of the Vertex AI Search data source. Deprecated. Use vertex_ai_search_datastore instead. Corresponds to the JSON property enterpriseDatastore

Returns:

  • (String)


17646
17647
17648
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17646

def enterprise_datastore
  @enterprise_datastore
end

#typeString

The type of the grounding checking source. Corresponds to the JSON property type

Returns:

  • (String)


17651
17652
17653
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17651

def type
  @type
end

#vertex_ai_search_datastoreString

The uri of the Vertex AI Search data source. Corresponds to the JSON property vertexAiSearchDatastore

Returns:

  • (String)


17656
17657
17658
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17656

def vertex_ai_search_datastore
  @vertex_ai_search_datastore
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17663
17664
17665
17666
17667
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17663

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