@@ -9324,6 +9324,22 @@ class GoogleCloudAiplatformV1FeatureGroup
93249324 # @return [String]
93259325 attr_accessor :name
93269326
9327+ # Output only. A Service Account unique to this FeatureGroup. The role bigquery.
9328+ # dataViewer should be granted to this service account to allow Vertex AI
9329+ # Feature Store to access source data while running jobs under this FeatureGroup.
9330+ # Corresponds to the JSON property `serviceAccountEmail`
9331+ # @return [String]
9332+ attr_accessor :service_account_email
9333+
9334+ # Optional. Service agent type used during jobs under a FeatureGroup. By default,
9335+ # the Vertex AI Service Agent is used. When using an IAM Policy to isolate this
9336+ # FeatureGroup within a project, a separate service account should be
9337+ # provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_GROUP`. This
9338+ # will generate a separate service account to access the BigQuery source table.
9339+ # Corresponds to the JSON property `serviceAgentType`
9340+ # @return [String]
9341+ attr_accessor :service_agent_type
9342+
93279343 # Output only. Timestamp when this FeatureGroup was last updated.
93289344 # Corresponds to the JSON property `updateTime`
93299345 # @return [String]
@@ -9341,6 +9357,8 @@ def update!(**args)
93419357 @etag = args[:etag] if args.key?(:etag)
93429358 @labels = args[:labels] if args.key?(:labels)
93439359 @name = args[:name] if args.key?(:name)
9360+ @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
9361+ @service_agent_type = args[:service_agent_type] if args.key?(:service_agent_type)
93449362 @update_time = args[:update_time] if args.key?(:update_time)
93459363 end
93469364 end
@@ -12454,6 +12472,11 @@ def update!(**args)
1245412472 class GoogleCloudAiplatformV1GroundingChunkWeb
1245512473 include Google::Apis::Core::Hashable
1245612474
12475+ # Domain of the (original) URI.
12476+ # Corresponds to the JSON property `domain`
12477+ # @return [String]
12478+ attr_accessor :domain
12479+
1245712480 # Title of the chunk.
1245812481 # Corresponds to the JSON property `title`
1245912482 # @return [String]
@@ -12470,6 +12493,7 @@ def initialize(**args)
1247012493
1247112494 # Update properties of this object
1247212495 def update!(**args)
12496+ @domain = args[:domain] if args.key?(:domain)
1247312497 @title = args[:title] if args.key?(:title)
1247412498 @uri = args[:uri] if args.key?(:uri)
1247512499 end
@@ -23369,6 +23393,11 @@ class GoogleCloudAiplatformV1RagCorpus
2336923393 # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig]
2337023394 attr_accessor :vector_db_config
2337123395
23396+ # Config for the Vertex AI Search.
23397+ # Corresponds to the JSON property `vertexAiSearchConfig`
23398+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearchConfig]
23399+ attr_accessor :vertex_ai_search_config
23400+
2337223401 def initialize(**args)
2337323402 update!(**args)
2337423403 end
@@ -23382,6 +23411,7 @@ def update!(**args)
2338223411 @name = args[:name] if args.key?(:name)
2338323412 @update_time = args[:update_time] if args.key?(:update_time)
2338423413 @vector_db_config = args[:vector_db_config] if args.key?(:vector_db_config)
23414+ @vertex_ai_search_config = args[:vertex_ai_search_config] if args.key?(:vertex_ai_search_config)
2338523415 end
2338623416 end
2338723417
@@ -23675,6 +23705,11 @@ class GoogleCloudAiplatformV1RagRetrievalConfig
2367523705 # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigFilter]
2367623706 attr_accessor :filter
2367723707
23708+ # Config for ranking and reranking.
23709+ # Corresponds to the JSON property `ranking`
23710+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRanking]
23711+ attr_accessor :ranking
23712+
2367823713 # Optional. The number of contexts to retrieve.
2367923714 # Corresponds to the JSON property `topK`
2368023715 # @return [Fixnum]
@@ -23687,6 +23722,7 @@ def initialize(**args)
2368723722 # Update properties of this object
2368823723 def update!(**args)
2368923724 @filter = args[:filter] if args.key?(:filter)
23725+ @ranking = args[:ranking] if args.key?(:ranking)
2369023726 @top_k = args[:top_k] if args.key?(:top_k)
2369123727 end
2369223728 end
@@ -23724,6 +23760,70 @@ def update!(**args)
2372423760 end
2372523761 end
2372623762
23763+ # Config for ranking and reranking.
23764+ class GoogleCloudAiplatformV1RagRetrievalConfigRanking
23765+ include Google::Apis::Core::Hashable
23766+
23767+ # Config for LlmRanker.
23768+ # Corresponds to the JSON property `llmRanker`
23769+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker]
23770+ attr_accessor :llm_ranker
23771+
23772+ # Config for Rank Service.
23773+ # Corresponds to the JSON property `rankService`
23774+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService]
23775+ attr_accessor :rank_service
23776+
23777+ def initialize(**args)
23778+ update!(**args)
23779+ end
23780+
23781+ # Update properties of this object
23782+ def update!(**args)
23783+ @llm_ranker = args[:llm_ranker] if args.key?(:llm_ranker)
23784+ @rank_service = args[:rank_service] if args.key?(:rank_service)
23785+ end
23786+ end
23787+
23788+ # Config for LlmRanker.
23789+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker
23790+ include Google::Apis::Core::Hashable
23791+
23792+ # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
23793+ # Corresponds to the JSON property `modelName`
23794+ # @return [String]
23795+ attr_accessor :model_name
23796+
23797+ def initialize(**args)
23798+ update!(**args)
23799+ end
23800+
23801+ # Update properties of this object
23802+ def update!(**args)
23803+ @model_name = args[:model_name] if args.key?(:model_name)
23804+ end
23805+ end
23806+
23807+ # Config for Rank Service.
23808+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService
23809+ include Google::Apis::Core::Hashable
23810+
23811+ # Optional. The model name of the rank service. Format: `semantic-ranker-512@
23812+ # latest`
23813+ # Corresponds to the JSON property `modelName`
23814+ # @return [String]
23815+ attr_accessor :model_name
23816+
23817+ def initialize(**args)
23818+ update!(**args)
23819+ end
23820+
23821+ # Update properties of this object
23822+ def update!(**args)
23823+ @model_name = args[:model_name] if args.key?(:model_name)
23824+ end
23825+ end
23826+
2372723827 # Config for the Vector DB to use for RAG.
2372823828 class GoogleCloudAiplatformV1RagVectorDbConfig
2372923829 include Google::Apis::Core::Hashable
@@ -32871,8 +32971,7 @@ class GoogleCloudAiplatformV1SecretRef
3287132971 include Google::Apis::Core::Hashable
3287232972
3287332973 # Required. The name of the secret in Cloud Secret Manager. Format: `secret_name`
32874- # if the secret is in the same project. projects/`project`/secrets/`secret_name`
32875- # if the secret is in a different project.
32974+ # .
3287632975 # Corresponds to the JSON property `secret`
3287732976 # @return [String]
3287832977 attr_accessor :secret
@@ -38420,6 +38519,29 @@ def update!(**args)
3842038519 end
3842138520 end
3842238521
38522+ # Config for the Vertex AI Search.
38523+ class GoogleCloudAiplatformV1VertexAiSearchConfig
38524+ include Google::Apis::Core::Hashable
38525+
38526+ # Vertex AI Search Serving Config resource full name. For example, `projects/`
38527+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
38528+ # servingConfigs/`serving_config`` or `projects/`project`/locations/`location`/
38529+ # collections/`collection`/dataStores/`data_store`/servingConfigs/`
38530+ # serving_config``.
38531+ # Corresponds to the JSON property `servingConfig`
38532+ # @return [String]
38533+ attr_accessor :serving_config
38534+
38535+ def initialize(**args)
38536+ update!(**args)
38537+ end
38538+
38539+ # Update properties of this object
38540+ def update!(**args)
38541+ @serving_config = args[:serving_config] if args.key?(:serving_config)
38542+ end
38543+ end
38544+
3842338545 # Retrieve from Vertex RAG Store for grounding.
3842438546 class GoogleCloudAiplatformV1VertexRagStore
3842538547 include Google::Apis::Core::Hashable
0 commit comments