Skip to content

Commit 3bff6a3

Browse files
feat: Automated regeneration of aiplatform v1 client (googleapis#23174)
Auto-created at 2025-05-18 10:42:17 +0000 using the toys pull request generator.
1 parent adc900c commit 3bff6a3

File tree

6 files changed

+118
-4
lines changed

6 files changed

+118
-4
lines changed

api_names_out.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7059,6 +7059,7 @@
70597059
"/aiplatform:v1/GoogleCloudAiplatformV1CachedContent/contents/content": content
70607060
"/aiplatform:v1/GoogleCloudAiplatformV1CachedContent/createTime": create_time
70617061
"/aiplatform:v1/GoogleCloudAiplatformV1CachedContent/displayName": display_name
7062+
"/aiplatform:v1/GoogleCloudAiplatformV1CachedContent/encryptionSpec": encryption_spec
70627063
"/aiplatform:v1/GoogleCloudAiplatformV1CachedContent/expireTime": expire_time
70637064
"/aiplatform:v1/GoogleCloudAiplatformV1CachedContent/model": model
70647065
"/aiplatform:v1/GoogleCloudAiplatformV1CachedContent/name": name
@@ -7541,6 +7542,7 @@
75417542
"/aiplatform:v1/GoogleCloudAiplatformV1DeployedModel/systemLabels": system_labels
75427543
"/aiplatform:v1/GoogleCloudAiplatformV1DeployedModel/systemLabels/system_label": system_label
75437544
"/aiplatform:v1/GoogleCloudAiplatformV1DeployedModelRef": google_cloud_aiplatform_v1_deployed_model_ref
7545+
"/aiplatform:v1/GoogleCloudAiplatformV1DeployedModelRef/checkpointId": checkpoint_id
75447546
"/aiplatform:v1/GoogleCloudAiplatformV1DeployedModelRef/deployedModelId": deployed_model_id
75457547
"/aiplatform:v1/GoogleCloudAiplatformV1DeployedModelRef/endpoint": endpoint
75467548
"/aiplatform:v1/GoogleCloudAiplatformV1DeployedModelStatus": google_cloud_aiplatform_v1_deployed_model_status
@@ -8333,6 +8335,7 @@
83338335
"/aiplatform:v1/GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode": google_cloud_aiplatform_v1_generation_config_routing_config_manual_routing_mode
83348336
"/aiplatform:v1/GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode/modelName": model_name
83358337
"/aiplatform:v1/GoogleCloudAiplatformV1GenerationConfigThinkingConfig": google_cloud_aiplatform_v1_generation_config_thinking_config
8338+
"/aiplatform:v1/GoogleCloudAiplatformV1GenerationConfigThinkingConfig/includeThoughts": include_thoughts
83368339
"/aiplatform:v1/GoogleCloudAiplatformV1GenerationConfigThinkingConfig/thinkingBudget": thinking_budget
83378340
"/aiplatform:v1/GoogleCloudAiplatformV1GenericOperationMetadata": google_cloud_aiplatform_v1_generic_operation_metadata
83388341
"/aiplatform:v1/GoogleCloudAiplatformV1GenericOperationMetadata/createTime": create_time
@@ -9911,9 +9914,14 @@
99119914
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking/chunkSize": chunk_size
99129915
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileParsingConfig": google_cloud_aiplatform_v1_rag_file_parsing_config
99139916
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileParsingConfig/layoutParser": layout_parser
9917+
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileParsingConfig/llmParser": llm_parser
99149918
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser": google_cloud_aiplatform_v1_rag_file_parsing_config_layout_parser
99159919
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser/maxParsingRequestsPerMin": max_parsing_requests_per_min
99169920
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser/processorName": processor_name
9921+
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileParsingConfigLlmParser": google_cloud_aiplatform_v1_rag_file_parsing_config_llm_parser
9922+
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileParsingConfigLlmParser/customParsingPrompt": custom_parsing_prompt
9923+
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileParsingConfigLlmParser/maxParsingRequestsPerMin": max_parsing_requests_per_min
9924+
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileParsingConfigLlmParser/modelName": model_name
99179925
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileTransformationConfig": google_cloud_aiplatform_v1_rag_file_transformation_config
99189926
"/aiplatform:v1/GoogleCloudAiplatformV1RagFileTransformationConfig/ragFileChunkingConfig": rag_file_chunking_config
99199927
"/aiplatform:v1/GoogleCloudAiplatformV1RagQuery": google_cloud_aiplatform_v1_rag_query
@@ -11914,6 +11922,8 @@
1191411922
"/aiplatform:v1/GoogleCloudAiplatformV1VertexAISearch": google_cloud_aiplatform_v1_vertex_ai_search
1191511923
"/aiplatform:v1/GoogleCloudAiplatformV1VertexAISearch/datastore": datastore
1191611924
"/aiplatform:v1/GoogleCloudAiplatformV1VertexAISearch/engine": engine
11925+
"/aiplatform:v1/GoogleCloudAiplatformV1VertexAISearch/filter": filter
11926+
"/aiplatform:v1/GoogleCloudAiplatformV1VertexAISearch/maxResults": max_results
1191711927
"/aiplatform:v1/GoogleCloudAiplatformV1VertexAiSearchConfig": google_cloud_aiplatform_v1_vertex_ai_search_config
1191811928
"/aiplatform:v1/GoogleCloudAiplatformV1VertexAiSearchConfig/servingConfig": serving_config
1191911929
"/aiplatform:v1/GoogleCloudAiplatformV1VertexRagStore": google_cloud_aiplatform_v1_vertex_rag_store

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.52.0 (2025-05-18)
4+
5+
* Regenerated from discovery document revision 20250502
6+
37
### v0.51.0 (2025-05-11)
48

59
* Regenerated from discovery document revision 20250501

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

Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2650,6 +2650,12 @@ class GoogleCloudAiplatformV1CachedContent
26502650
# @return [String]
26512651
attr_accessor :display_name
26522652

2653+
# Represents a customer-managed encryption key spec that can be applied to a top-
2654+
# level resource.
2655+
# Corresponds to the JSON property `encryptionSpec`
2656+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
2657+
attr_accessor :encryption_spec
2658+
26532659
# Timestamp of when this resource is considered expired. This is *always*
26542660
# provided on output, regardless of what was sent on input.
26552661
# Corresponds to the JSON property `expireTime`
@@ -2714,6 +2720,7 @@ def update!(**args)
27142720
@contents = args[:contents] if args.key?(:contents)
27152721
@create_time = args[:create_time] if args.key?(:create_time)
27162722
@display_name = args[:display_name] if args.key?(:display_name)
2723+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
27172724
@expire_time = args[:expire_time] if args.key?(:expire_time)
27182725
@model = args[:model] if args.key?(:model)
27192726
@name = args[:name] if args.key?(:name)
@@ -6282,6 +6289,11 @@ def update!(**args)
62826289
class GoogleCloudAiplatformV1DeployedModelRef
62836290
include Google::Apis::Core::Hashable
62846291

6292+
# Immutable. The ID of the Checkpoint deployed in the DeployedModel.
6293+
# Corresponds to the JSON property `checkpointId`
6294+
# @return [String]
6295+
attr_accessor :checkpoint_id
6296+
62856297
# Immutable. An ID of a DeployedModel in the above Endpoint.
62866298
# Corresponds to the JSON property `deployedModelId`
62876299
# @return [String]
@@ -6298,6 +6310,7 @@ def initialize(**args)
62986310

62996311
# Update properties of this object
63006312
def update!(**args)
6313+
@checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
63016314
@deployed_model_id = args[:deployed_model_id] if args.key?(:deployed_model_id)
63026315
@endpoint = args[:endpoint] if args.key?(:endpoint)
63036316
end
@@ -12349,6 +12362,13 @@ def update!(**args)
1234912362
class GoogleCloudAiplatformV1GenerationConfigThinkingConfig
1235012363
include Google::Apis::Core::Hashable
1235112364

12365+
# Optional. Indicates whether to include thoughts in the response. If true,
12366+
# thoughts are returned only when available.
12367+
# Corresponds to the JSON property `includeThoughts`
12368+
# @return [Boolean]
12369+
attr_accessor :include_thoughts
12370+
alias_method :include_thoughts?, :include_thoughts
12371+
1235212372
# Optional. Indicates the thinking budget in tokens. This is only applied when
1235312373
# enable_thinking is true.
1235412374
# Corresponds to the JSON property `thinkingBudget`
@@ -12361,6 +12381,7 @@ def initialize(**args)
1236112381

1236212382
# Update properties of this object
1236312383
def update!(**args)
12384+
@include_thoughts = args[:include_thoughts] if args.key?(:include_thoughts)
1236412385
@thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
1236512386
end
1236612387
end
@@ -23932,13 +23953,19 @@ class GoogleCloudAiplatformV1RagFileParsingConfig
2393223953
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser]
2393323954
attr_accessor :layout_parser
2393423955

23956+
# Specifies the advanced parsing for RagFiles.
23957+
# Corresponds to the JSON property `llmParser`
23958+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLlmParser]
23959+
attr_accessor :llm_parser
23960+
2393523961
def initialize(**args)
2393623962
update!(**args)
2393723963
end
2393823964

2393923965
# Update properties of this object
2394023966
def update!(**args)
2394123967
@layout_parser = args[:layout_parser] if args.key?(:layout_parser)
23968+
@llm_parser = args[:llm_parser] if args.key?(:llm_parser)
2394223969
end
2394323970
end
2394423971

@@ -23975,6 +24002,41 @@ def update!(**args)
2397524002
end
2397624003
end
2397724004

24005+
# Specifies the advanced parsing for RagFiles.
24006+
class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser
24007+
include Google::Apis::Core::Hashable
24008+
24009+
# The prompt to use for parsing. If not specified, a default prompt will be used.
24010+
# Corresponds to the JSON property `customParsingPrompt`
24011+
# @return [String]
24012+
attr_accessor :custom_parsing_prompt
24013+
24014+
# The maximum number of requests the job is allowed to make to the LLM model per
24015+
# minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas
24016+
# and your document size to set an appropriate value here. If unspecified, a
24017+
# default value of 5000 QPM would be used.
24018+
# Corresponds to the JSON property `maxParsingRequestsPerMin`
24019+
# @return [Fixnum]
24020+
attr_accessor :max_parsing_requests_per_min
24021+
24022+
# The name of a LLM model used for parsing. Format: * `projects/`project_id`/
24023+
# locations/`location`/publishers/`publisher`/models/`model``
24024+
# Corresponds to the JSON property `modelName`
24025+
# @return [String]
24026+
attr_accessor :model_name
24027+
24028+
def initialize(**args)
24029+
update!(**args)
24030+
end
24031+
24032+
# Update properties of this object
24033+
def update!(**args)
24034+
@custom_parsing_prompt = args[:custom_parsing_prompt] if args.key?(:custom_parsing_prompt)
24035+
@max_parsing_requests_per_min = args[:max_parsing_requests_per_min] if args.key?(:max_parsing_requests_per_min)
24036+
@model_name = args[:model_name] if args.key?(:model_name)
24037+
end
24038+
end
24039+
2397824040
# Specifies the transformation config for RagFiles.
2397924041
class GoogleCloudAiplatformV1RagFileTransformationConfig
2398024042
include Google::Apis::Core::Hashable
@@ -24745,7 +24807,8 @@ class GoogleCloudAiplatformV1ReasoningEngine
2474524807
# @return [String]
2474624808
attr_accessor :etag
2474724809

24748-
# Identifier. The resource name of the ReasoningEngine.
24810+
# Identifier. The resource name of the ReasoningEngine. Format: `projects/`
24811+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
2474924812
# Corresponds to the JSON property `name`
2475024813
# @return [String]
2475124814
attr_accessor :name
@@ -39056,6 +39119,17 @@ class GoogleCloudAiplatformV1VertexAiSearch
3905639119
# @return [String]
3905739120
attr_accessor :engine
3905839121

39122+
# Optional. Filter strings to be passed to the search API.
39123+
# Corresponds to the JSON property `filter`
39124+
# @return [String]
39125+
attr_accessor :filter
39126+
39127+
# Optional. Number of search results to return per query. The default value is
39128+
# 10. The maximumm allowed value is 10.
39129+
# Corresponds to the JSON property `maxResults`
39130+
# @return [Fixnum]
39131+
attr_accessor :max_results
39132+
3905939133
def initialize(**args)
3906039134
update!(**args)
3906139135
end
@@ -39064,6 +39138,8 @@ def initialize(**args)
3906439138
def update!(**args)
3906539139
@datastore = args[:datastore] if args.key?(:datastore)
3906639140
@engine = args[:engine] if args.key?(:engine)
39141+
@filter = args[:filter] if args.key?(:filter)
39142+
@max_results = args[:max_results] if args.key?(:max_results)
3906739143
end
3906839144
end
3906939145

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.51.0"
19+
GEM_VERSION = "0.52.0"
2020

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

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

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3880,6 +3880,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
38803880
include Google::Apis::Core::JsonObjectSupport
38813881
end
38823882

3883+
class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser
3884+
class Representation < Google::Apis::Core::JsonRepresentation; end
3885+
3886+
include Google::Apis::Core::JsonObjectSupport
3887+
end
3888+
38833889
class GoogleCloudAiplatformV1RagFileTransformationConfig
38843890
class Representation < Google::Apis::Core::JsonRepresentation; end
38853891

@@ -7556,6 +7562,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
75567562

75577563
property :create_time, as: 'createTime'
75587564
property :display_name, as: 'displayName'
7565+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
7566+
75597567
property :expire_time, as: 'expireTime'
75607568
property :model, as: 'model'
75617569
property :name, as: 'name'
@@ -8597,6 +8605,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
85978605
class GoogleCloudAiplatformV1DeployedModelRef
85988606
# @private
85998607
class Representation < Google::Apis::Core::JsonRepresentation
8608+
property :checkpoint_id, as: 'checkpointId'
86008609
property :deployed_model_id, as: 'deployedModelId'
86018610
property :endpoint, as: 'endpoint'
86028611
end
@@ -10277,6 +10286,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
1027710286
class GoogleCloudAiplatformV1GenerationConfigThinkingConfig
1027810287
# @private
1027910288
class Representation < Google::Apis::Core::JsonRepresentation
10289+
property :include_thoughts, as: 'includeThoughts'
1028010290
property :thinking_budget, as: 'thinkingBudget'
1028110291
end
1028210292
end
@@ -13558,6 +13568,8 @@ class GoogleCloudAiplatformV1RagFileParsingConfig
1355813568
class Representation < Google::Apis::Core::JsonRepresentation
1355913569
property :layout_parser, as: 'layoutParser', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser::Representation
1356013570

13571+
property :llm_parser, as: 'llmParser', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLlmParser, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLlmParser::Representation
13572+
1356113573
end
1356213574
end
1356313575

@@ -13569,6 +13581,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
1356913581
end
1357013582
end
1357113583

13584+
class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser
13585+
# @private
13586+
class Representation < Google::Apis::Core::JsonRepresentation
13587+
property :custom_parsing_prompt, as: 'customParsingPrompt'
13588+
property :max_parsing_requests_per_min, as: 'maxParsingRequestsPerMin'
13589+
property :model_name, as: 'modelName'
13590+
end
13591+
end
13592+
1357213593
class GoogleCloudAiplatformV1RagFileTransformationConfig
1357313594
# @private
1357413595
class Representation < Google::Apis::Core::JsonRepresentation
@@ -17930,6 +17951,8 @@ class GoogleCloudAiplatformV1VertexAiSearch
1793017951
class Representation < Google::Apis::Core::JsonRepresentation
1793117952
property :datastore, as: 'datastore'
1793217953
property :engine, as: 'engine'
17954+
property :filter, as: 'filter'
17955+
property :max_results, as: 'maxResults'
1793317956
end
1793417957
end
1793517958

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18550,7 +18550,8 @@ def list_project_location_reasoning_engines(parent, filter: nil, page_size: nil,
1855018550

1855118551
# Updates a reasoning engine.
1855218552
# @param [String] name
18553-
# Identifier. The resource name of the ReasoningEngine.
18553+
# Identifier. The resource name of the ReasoningEngine. Format: `projects/`
18554+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
1855418555
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine] google_cloud_aiplatform_v1_reasoning_engine_object
1855518556
# @param [String] update_mask
1855618557
# Optional. Mask specifying which fields to update.

0 commit comments

Comments
 (0)