Skip to content

Commit 1bdecbf

Browse files
feat: Automated regeneration of aiplatform v1 client (googleapis#23563)
Auto-created at 2025-06-29 10:10:27 +0000 using the toys pull request generator.
1 parent 41e399a commit 1bdecbf

File tree

6 files changed

+302
-6
lines changed

6 files changed

+302
-6
lines changed

api_names_out.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9980,6 +9980,7 @@
99809980
"/aiplatform:v1/GoogleCloudAiplatformV1RagCorpus/createTime": create_time
99819981
"/aiplatform:v1/GoogleCloudAiplatformV1RagCorpus/description": description
99829982
"/aiplatform:v1/GoogleCloudAiplatformV1RagCorpus/displayName": display_name
9983+
"/aiplatform:v1/GoogleCloudAiplatformV1RagCorpus/encryptionSpec": encryption_spec
99839984
"/aiplatform:v1/GoogleCloudAiplatformV1RagCorpus/name": name
99849985
"/aiplatform:v1/GoogleCloudAiplatformV1RagCorpus/updateTime": update_time
99859986
"/aiplatform:v1/GoogleCloudAiplatformV1RagCorpus/vectorDbConfig": vector_db_config
@@ -9990,6 +9991,9 @@
99909991
"/aiplatform:v1/GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint/endpoint": endpoint
99919992
"/aiplatform:v1/GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint/model": model
99929993
"/aiplatform:v1/GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint/modelVersionId": model_version_id
9994+
"/aiplatform:v1/GoogleCloudAiplatformV1RagEngineConfig": google_cloud_aiplatform_v1_rag_engine_config
9995+
"/aiplatform:v1/GoogleCloudAiplatformV1RagEngineConfig/name": name
9996+
"/aiplatform:v1/GoogleCloudAiplatformV1RagEngineConfig/ragManagedDbConfig": rag_managed_db_config
99939997
"/aiplatform:v1/GoogleCloudAiplatformV1RagFile": google_cloud_aiplatform_v1_rag_file
99949998
"/aiplatform:v1/GoogleCloudAiplatformV1RagFile/createTime": create_time
99959999
"/aiplatform:v1/GoogleCloudAiplatformV1RagFile/description": description
@@ -10003,6 +10007,7 @@
1000310007
"/aiplatform:v1/GoogleCloudAiplatformV1RagFile/sharePointSources": share_point_sources
1000410008
"/aiplatform:v1/GoogleCloudAiplatformV1RagFile/slackSource": slack_source
1000510009
"/aiplatform:v1/GoogleCloudAiplatformV1RagFile/updateTime": update_time
10010+
"/aiplatform:v1/GoogleCloudAiplatformV1RagFile/userMetadata": user_metadata
1000610011
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileChunkingConfig": google_cloud_aiplatform_v1_rag_file_chunking_config
1000710012
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileChunkingConfig/fixedLengthChunking": fixed_length_chunking
1000810013
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking": google_cloud_aiplatform_v1_rag_file_chunking_config_fixed_length_chunking
@@ -10020,6 +10025,13 @@
1002010025
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileParsingConfigLlmParser/modelName": model_name
1002110026
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileTransformationConfig": google_cloud_aiplatform_v1_rag_file_transformation_config
1002210027
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileTransformationConfig/ragFileChunkingConfig": rag_file_chunking_config
10028+
"/aiplatform:v1/GoogleCloudAiplatformV1RagManagedDbConfig": google_cloud_aiplatform_v1_rag_managed_db_config
10029+
"/aiplatform:v1/GoogleCloudAiplatformV1RagManagedDbConfig/basic": basic
10030+
"/aiplatform:v1/GoogleCloudAiplatformV1RagManagedDbConfig/scaled": scaled
10031+
"/aiplatform:v1/GoogleCloudAiplatformV1RagManagedDbConfig/unprovisioned": unprovisioned
10032+
"/aiplatform:v1/GoogleCloudAiplatformV1RagManagedDbConfigBasic": google_cloud_aiplatform_v1_rag_managed_db_config_basic
10033+
"/aiplatform:v1/GoogleCloudAiplatformV1RagManagedDbConfigScaled": google_cloud_aiplatform_v1_rag_managed_db_config_scaled
10034+
"/aiplatform:v1/GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned": google_cloud_aiplatform_v1_rag_managed_db_config_unprovisioned
1002310035
"/aiplatform:v1/GoogleCloudAiplatformV1RagQuery": google_cloud_aiplatform_v1_rag_query
1002410036
"/aiplatform:v1/GoogleCloudAiplatformV1RagQuery/ragRetrievalConfig": rag_retrieval_config
1002510037
"/aiplatform:v1/GoogleCloudAiplatformV1RagQuery/text": text
@@ -10248,6 +10260,7 @@
1024810260
"/aiplatform:v1/GoogleCloudAiplatformV1SafetyRating": google_cloud_aiplatform_v1_safety_rating
1024910261
"/aiplatform:v1/GoogleCloudAiplatformV1SafetyRating/blocked": blocked
1025010262
"/aiplatform:v1/GoogleCloudAiplatformV1SafetyRating/category": category
10263+
"/aiplatform:v1/GoogleCloudAiplatformV1SafetyRating/overwrittenThreshold": overwritten_threshold
1025110264
"/aiplatform:v1/GoogleCloudAiplatformV1SafetyRating/probability": probability
1025210265
"/aiplatform:v1/GoogleCloudAiplatformV1SafetyRating/probabilityScore": probability_score
1025310266
"/aiplatform:v1/GoogleCloudAiplatformV1SafetyRating/severity": severity
@@ -12876,6 +12889,8 @@
1287612889
"/aiplatform:v1/aiplatform.projects.locations.featurestores.testIamPermissions/resource": resource
1287712890
"/aiplatform:v1/aiplatform.projects.locations.get": get_project_location
1287812891
"/aiplatform:v1/aiplatform.projects.locations.get/name": name
12892+
"/aiplatform:v1/aiplatform.projects.locations.getRagEngineConfig": get_project_location_rag_engine_config
12893+
"/aiplatform:v1/aiplatform.projects.locations.getRagEngineConfig/name": name
1287912894
"/aiplatform:v1/aiplatform.projects.locations.hyperparameterTuningJobs.cancel": cancel_project_location_hyperparameter_tuning_job
1288012895
"/aiplatform:v1/aiplatform.projects.locations.hyperparameterTuningJobs.cancel/name": name
1288112896
"/aiplatform:v1/aiplatform.projects.locations.hyperparameterTuningJobs.create": create_project_location_hyperparameter_tuning_job
@@ -13936,6 +13951,8 @@
1393613951
"/aiplatform:v1/aiplatform.projects.locations.tuningJobs.operations.list/pageToken": page_token
1393713952
"/aiplatform:v1/aiplatform.projects.locations.tuningJobs.rebaseTunedModel": rebase_project_location_tuning_job_tuned_model
1393813953
"/aiplatform:v1/aiplatform.projects.locations.tuningJobs.rebaseTunedModel/parent": parent
13954+
"/aiplatform:v1/aiplatform.projects.locations.updateRagEngineConfig": update_project_location_rag_engine_config
13955+
"/aiplatform:v1/aiplatform.projects.locations.updateRagEngineConfig/name": name
1393913956
"/aiplatform:v1/aiplatform.projects.updateCacheConfig": update_project_cache_config
1394013957
"/aiplatform:v1/aiplatform.projects.updateCacheConfig/name": name
1394113958
"/aiplatform:v1/aiplatform.publishers.models.computeTokens": compute_publisher_model_tokens

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.58.0 (2025-06-29)
4+
5+
* Regenerated from discovery document revision 20250613
6+
37
### v0.57.0 (2025-06-22)
48

59
* Regenerated from discovery document revision 20250606

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

Lines changed: 141 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2748,7 +2748,8 @@ class GoogleCloudAiplatformV1Blob
27482748

27492749
# Optional. Display name of the blob. Used to provide a label or filename to
27502750
# distinguish blobs. This field is only returned in PromptMessage for prompt
2751-
# management. It is not currently used in the Gemini GenerateContent calls.
2751+
# management. It is currently used in the Gemini GenerateContent calls only when
2752+
# server side tools (code_execution, google_search, and url_context) are enabled.
27522753
# Corresponds to the JSON property `displayName`
27532754
# @return [String]
27542755
attr_accessor :display_name
@@ -11730,8 +11731,9 @@ class GoogleCloudAiplatformV1FileData
1173011731

1173111732
# Optional. Display name of the file data. Used to provide a label or filename
1173211733
# to distinguish file datas. This field is only returned in PromptMessage for
11733-
# prompt management. It is not currently used in the Gemini GenerateContent
11734-
# calls.
11734+
# prompt management. It is currently used in the Gemini GenerateContent calls
11735+
# only when server side tools (code_execution, google_search, and url_context)
11736+
# are enabled.
1173511737
# Corresponds to the JSON property `displayName`
1173611738
# @return [String]
1173711739
attr_accessor :display_name
@@ -24523,6 +24525,12 @@ class GoogleCloudAiplatformV1RagCorpus
2452324525
# @return [String]
2452424526
attr_accessor :display_name
2452524527

24528+
# Represents a customer-managed encryption key spec that can be applied to a top-
24529+
# level resource.
24530+
# Corresponds to the JSON property `encryptionSpec`
24531+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
24532+
attr_accessor :encryption_spec
24533+
2452624534
# Output only. The resource name of the RagCorpus.
2452724535
# Corresponds to the JSON property `name`
2452824536
# @return [String]
@@ -24553,6 +24561,7 @@ def update!(**args)
2455324561
@create_time = args[:create_time] if args.key?(:create_time)
2455424562
@description = args[:description] if args.key?(:description)
2455524563
@display_name = args[:display_name] if args.key?(:display_name)
24564+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
2455624565
@name = args[:name] if args.key?(:name)
2455724566
@update_time = args[:update_time] if args.key?(:update_time)
2455824567
@vector_db_config = args[:vector_db_config] if args.key?(:vector_db_config)
@@ -24615,6 +24624,32 @@ def update!(**args)
2461524624
end
2461624625
end
2461724626

24627+
# Config for RagEngine.
24628+
class GoogleCloudAiplatformV1RagEngineConfig
24629+
include Google::Apis::Core::Hashable
24630+
24631+
# Identifier. The name of the RagEngineConfig. Format: `projects/`project`/
24632+
# locations/`location`/ragEngineConfig`
24633+
# Corresponds to the JSON property `name`
24634+
# @return [String]
24635+
attr_accessor :name
24636+
24637+
# Configuration message for RagManagedDb used by RagEngine.
24638+
# Corresponds to the JSON property `ragManagedDbConfig`
24639+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfig]
24640+
attr_accessor :rag_managed_db_config
24641+
24642+
def initialize(**args)
24643+
update!(**args)
24644+
end
24645+
24646+
# Update properties of this object
24647+
def update!(**args)
24648+
@name = args[:name] if args.key?(:name)
24649+
@rag_managed_db_config = args[:rag_managed_db_config] if args.key?(:rag_managed_db_config)
24650+
end
24651+
end
24652+
2461824653
# A RagFile contains user data for chunking, embedding and indexing.
2461924654
class GoogleCloudAiplatformV1RagFile
2462024655
include Google::Apis::Core::Hashable
@@ -24680,6 +24715,12 @@ class GoogleCloudAiplatformV1RagFile
2468024715
# @return [String]
2468124716
attr_accessor :update_time
2468224717

24718+
# Output only. The metadata for metadata search. The user_metadata Needs to be
24719+
# in JSON format.
24720+
# Corresponds to the JSON property `userMetadata`
24721+
# @return [String]
24722+
attr_accessor :user_metadata
24723+
2468324724
def initialize(**args)
2468424725
update!(**args)
2468524726
end
@@ -24698,6 +24739,7 @@ def update!(**args)
2469824739
@share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
2469924740
@slack_source = args[:slack_source] if args.key?(:slack_source)
2470024741
@update_time = args[:update_time] if args.key?(:update_time)
24742+
@user_metadata = args[:user_metadata] if args.key?(:user_metadata)
2470124743
end
2470224744
end
2470324745

@@ -24857,6 +24899,92 @@ def update!(**args)
2485724899
end
2485824900
end
2485924901

24902+
# Configuration message for RagManagedDb used by RagEngine.
24903+
class GoogleCloudAiplatformV1RagManagedDbConfig
24904+
include Google::Apis::Core::Hashable
24905+
24906+
# Basic tier is a cost-effective and low compute tier suitable for the following
24907+
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
24908+
# insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
24909+
# This is the default tier if not explicitly chosen.
24910+
# Corresponds to the JSON property `basic`
24911+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic]
24912+
attr_accessor :basic
24913+
24914+
# Scaled tier offers production grade performance along with autoscaling
24915+
# functionality. It is suitable for customers with large amounts of data or
24916+
# performance sensitive workloads.
24917+
# Corresponds to the JSON property `scaled`
24918+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled]
24919+
attr_accessor :scaled
24920+
24921+
# Disables the RAG Engine service and deletes all your data held within this
24922+
# service. This will halt the billing of the service. NOTE: Once deleted the
24923+
# data cannot be recovered. To start using RAG Engine again, you will need to
24924+
# update the tier by calling the UpdateRagEngineConfig API.
24925+
# Corresponds to the JSON property `unprovisioned`
24926+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned]
24927+
attr_accessor :unprovisioned
24928+
24929+
def initialize(**args)
24930+
update!(**args)
24931+
end
24932+
24933+
# Update properties of this object
24934+
def update!(**args)
24935+
@basic = args[:basic] if args.key?(:basic)
24936+
@scaled = args[:scaled] if args.key?(:scaled)
24937+
@unprovisioned = args[:unprovisioned] if args.key?(:unprovisioned)
24938+
end
24939+
end
24940+
24941+
# Basic tier is a cost-effective and low compute tier suitable for the following
24942+
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
24943+
# insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
24944+
# This is the default tier if not explicitly chosen.
24945+
class GoogleCloudAiplatformV1RagManagedDbConfigBasic
24946+
include Google::Apis::Core::Hashable
24947+
24948+
def initialize(**args)
24949+
update!(**args)
24950+
end
24951+
24952+
# Update properties of this object
24953+
def update!(**args)
24954+
end
24955+
end
24956+
24957+
# Scaled tier offers production grade performance along with autoscaling
24958+
# functionality. It is suitable for customers with large amounts of data or
24959+
# performance sensitive workloads.
24960+
class GoogleCloudAiplatformV1RagManagedDbConfigScaled
24961+
include Google::Apis::Core::Hashable
24962+
24963+
def initialize(**args)
24964+
update!(**args)
24965+
end
24966+
24967+
# Update properties of this object
24968+
def update!(**args)
24969+
end
24970+
end
24971+
24972+
# Disables the RAG Engine service and deletes all your data held within this
24973+
# service. This will halt the billing of the service. NOTE: Once deleted the
24974+
# data cannot be recovered. To start using RAG Engine again, you will need to
24975+
# update the tier by calling the UpdateRagEngineConfig API.
24976+
class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned
24977+
include Google::Apis::Core::Hashable
24978+
24979+
def initialize(**args)
24980+
update!(**args)
24981+
end
24982+
24983+
# Update properties of this object
24984+
def update!(**args)
24985+
end
24986+
end
24987+
2486024988
# A query to retrieve relevant contexts.
2486124989
class GoogleCloudAiplatformV1RagQuery
2486224990
include Google::Apis::Core::Hashable
@@ -26685,6 +26813,13 @@ class GoogleCloudAiplatformV1SafetyRating
2668526813
# @return [String]
2668626814
attr_accessor :category
2668726815

26816+
# Output only. The overwritten threshold for the safety category of Gemini 2.0
26817+
# image out. If minors are detected in the output image, the threshold of each
26818+
# safety category will be overwritten if user sets a lower threshold.
26819+
# Corresponds to the JSON property `overwrittenThreshold`
26820+
# @return [String]
26821+
attr_accessor :overwritten_threshold
26822+
2668826823
# Output only. Harm probability levels in the content.
2668926824
# Corresponds to the JSON property `probability`
2669026825
# @return [String]
@@ -26713,6 +26848,7 @@ def initialize(**args)
2671326848
def update!(**args)
2671426849
@blocked = args[:blocked] if args.key?(:blocked)
2671526850
@category = args[:category] if args.key?(:category)
26851+
@overwritten_threshold = args[:overwritten_threshold] if args.key?(:overwritten_threshold)
2671626852
@probability = args[:probability] if args.key?(:probability)
2671726853
@probability_score = args[:probability_score] if args.key?(:probability_score)
2671826854
@severity = args[:severity] if args.key?(:severity)
@@ -36397,7 +36533,8 @@ class GoogleCloudAiplatformV1SupervisedHyperParameters
3639736533
# @return [Fixnum]
3639836534
attr_accessor :epoch_count
3639936535

36400-
# Optional. Multiplier for adjusting the default learning rate.
36536+
# Optional. Multiplier for adjusting the default learning rate. Mutually
36537+
# exclusive with `learning_rate`.
3640136538
# Corresponds to the JSON property `learningRateMultiplier`
3640236539
# @return [Float]
3640336540
attr_accessor :learning_rate_multiplier

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.57.0"
19+
GEM_VERSION = "0.58.0"
2020

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

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

0 commit comments

Comments
 (0)