Skip to content

Commit c73e398

Browse files
feat: Automated regeneration of aiplatform v1 client (googleapis#22295)
Auto-created at 2025-03-30 10:21:09 +0000 using the toys pull request generator.
1 parent 960df13 commit c73e398

File tree

6 files changed

+338
-7
lines changed

6 files changed

+338
-7
lines changed

api_names_out.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7937,6 +7937,8 @@
79377937
"/aiplatform:v1/GoogleCloudAiplatformV1FeatureGroup/labels": labels
79387938
"/aiplatform:v1/GoogleCloudAiplatformV1FeatureGroup/labels/label": label
79397939
"/aiplatform:v1/GoogleCloudAiplatformV1FeatureGroup/name": name
7940+
"/aiplatform:v1/GoogleCloudAiplatformV1FeatureGroup/serviceAccountEmail": service_account_email
7941+
"/aiplatform:v1/GoogleCloudAiplatformV1FeatureGroup/serviceAgentType": service_agent_type
79407942
"/aiplatform:v1/GoogleCloudAiplatformV1FeatureGroup/updateTime": update_time
79417943
"/aiplatform:v1/GoogleCloudAiplatformV1FeatureGroupBigQuery": google_cloud_aiplatform_v1_feature_group_big_query
79427944
"/aiplatform:v1/GoogleCloudAiplatformV1FeatureGroupBigQuery/bigQuerySource": big_query_source
@@ -8340,6 +8342,7 @@
83408342
"/aiplatform:v1/GoogleCloudAiplatformV1GroundingChunkRetrievedContext/title": title
83418343
"/aiplatform:v1/GoogleCloudAiplatformV1GroundingChunkRetrievedContext/uri": uri
83428344
"/aiplatform:v1/GoogleCloudAiplatformV1GroundingChunkWeb": google_cloud_aiplatform_v1_grounding_chunk_web
8345+
"/aiplatform:v1/GoogleCloudAiplatformV1GroundingChunkWeb/domain": domain
83438346
"/aiplatform:v1/GoogleCloudAiplatformV1GroundingChunkWeb/title": title
83448347
"/aiplatform:v1/GoogleCloudAiplatformV1GroundingChunkWeb/uri": uri
83458348
"/aiplatform:v1/GoogleCloudAiplatformV1GroundingMetadata": google_cloud_aiplatform_v1_grounding_metadata
@@ -9838,6 +9841,7 @@
98389841
"/aiplatform:v1/GoogleCloudAiplatformV1RagCorpus/name": name
98399842
"/aiplatform:v1/GoogleCloudAiplatformV1RagCorpus/updateTime": update_time
98409843
"/aiplatform:v1/GoogleCloudAiplatformV1RagCorpus/vectorDbConfig": vector_db_config
9844+
"/aiplatform:v1/GoogleCloudAiplatformV1RagCorpus/vertexAiSearchConfig": vertex_ai_search_config
98419845
"/aiplatform:v1/GoogleCloudAiplatformV1RagEmbeddingModelConfig": google_cloud_aiplatform_v1_rag_embedding_model_config
98429846
"/aiplatform:v1/GoogleCloudAiplatformV1RagEmbeddingModelConfig/vertexPredictionEndpoint": vertex_prediction_endpoint
98439847
"/aiplatform:v1/GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint": google_cloud_aiplatform_v1_rag_embedding_model_config_vertex_prediction_endpoint
@@ -9874,11 +9878,19 @@
98749878
"/aiplatform:v1/GoogleCloudAiplatformV1RagQuery/text": text
98759879
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfig": google_cloud_aiplatform_v1_rag_retrieval_config
98769880
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfig/filter": filter
9881+
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfig/ranking": ranking
98779882
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfig/topK": top_k
98789883
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfigFilter": google_cloud_aiplatform_v1_rag_retrieval_config_filter
98799884
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfigFilter/metadataFilter": metadata_filter
98809885
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfigFilter/vectorDistanceThreshold": vector_distance_threshold
98819886
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfigFilter/vectorSimilarityThreshold": vector_similarity_threshold
9887+
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfigRanking": google_cloud_aiplatform_v1_rag_retrieval_config_ranking
9888+
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfigRanking/llmRanker": llm_ranker
9889+
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfigRanking/rankService": rank_service
9890+
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker": google_cloud_aiplatform_v1_rag_retrieval_config_ranking_llm_ranker
9891+
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker/modelName": model_name
9892+
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService": google_cloud_aiplatform_v1_rag_retrieval_config_ranking_rank_service
9893+
"/aiplatform:v1/GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService/modelName": model_name
98829894
"/aiplatform:v1/GoogleCloudAiplatformV1RagVectorDbConfig": google_cloud_aiplatform_v1_rag_vector_db_config
98839895
"/aiplatform:v1/GoogleCloudAiplatformV1RagVectorDbConfig/apiAuth": api_auth
98849896
"/aiplatform:v1/GoogleCloudAiplatformV1RagVectorDbConfig/pinecone": pinecone
@@ -11830,6 +11842,8 @@
1183011842
"/aiplatform:v1/GoogleCloudAiplatformV1VertexAISearch": google_cloud_aiplatform_v1_vertex_ai_search
1183111843
"/aiplatform:v1/GoogleCloudAiplatformV1VertexAISearch/datastore": datastore
1183211844
"/aiplatform:v1/GoogleCloudAiplatformV1VertexAISearch/engine": engine
11845+
"/aiplatform:v1/GoogleCloudAiplatformV1VertexAiSearchConfig": google_cloud_aiplatform_v1_vertex_ai_search_config
11846+
"/aiplatform:v1/GoogleCloudAiplatformV1VertexAiSearchConfig/servingConfig": serving_config
1183311847
"/aiplatform:v1/GoogleCloudAiplatformV1VertexRagStore": google_cloud_aiplatform_v1_vertex_rag_store
1183411848
"/aiplatform:v1/GoogleCloudAiplatformV1VertexRagStore/ragCorpora": rag_corpora
1183511849
"/aiplatform:v1/GoogleCloudAiplatformV1VertexRagStore/ragCorpora/rag_corpora": rag_corpora
@@ -12391,6 +12405,9 @@
1239112405
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.features.patch/updateMask": update_mask
1239212406
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.get": get_project_location_feature_group
1239312407
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.get/name": name
12408+
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.getIamPolicy": get_project_location_feature_group_iam_policy
12409+
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version
12410+
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.getIamPolicy/resource": resource
1239412411
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.list": list_project_location_feature_groups
1239512412
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.list/filter": filter
1239612413
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.list/orderBy": order_by
@@ -12412,6 +12429,11 @@
1241212429
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.patch": patch_project_location_feature_group
1241312430
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.patch/name": name
1241412431
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.patch/updateMask": update_mask
12432+
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.setIamPolicy": set_project_location_feature_group_iam_policy
12433+
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.setIamPolicy/resource": resource
12434+
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.testIamPermissions": test_project_location_feature_group_iam_permissions
12435+
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.testIamPermissions/permissions": permissions
12436+
"/aiplatform:v1/aiplatform.projects.locations.featureGroups.testIamPermissions/resource": resource
1241512437
"/aiplatform:v1/aiplatform.projects.locations.featureOnlineStores.create": create_project_location_feature_online_store
1241612438
"/aiplatform:v1/aiplatform.projects.locations.featureOnlineStores.create/featureOnlineStoreId": feature_online_store_id
1241712439
"/aiplatform:v1/aiplatform.projects.locations.featureOnlineStores.create/parent": parent

generated/google-apis-aiplatform_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-aiplatform_v1
22

3+
### v0.48.0 (2025-03-30)
4+
5+
* Regenerated from discovery document revision 20250319
6+
37
### v0.47.0 (2025-03-23)
48

59
* Regenerated from discovery document revision 20250307

generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/classes.rb

Lines changed: 124 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AiplatformV1
1818
# Version of the google-apis-aiplatform_v1 gem
19-
GEM_VERSION = "0.47.0"
19+
GEM_VERSION = "0.48.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250307"
25+
REVISION = "20250319"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)