Skip to content

Commit 5400d03

Browse files
feat: Automated regeneration of aiplatform v1 client (googleapis#21413)
Auto-created at 2025-01-19 10:00:31 +0000 using the toys pull request generator.
1 parent fe9e3f3 commit 5400d03

File tree

6 files changed

+124
-11
lines changed

6 files changed

+124
-11
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9832,6 +9832,9 @@
98329832
"/aiplatform:v1/GoogleCloudAiplatformV1Retrieval/disableAttribution": disable_attribution
98339833
"/aiplatform:v1/GoogleCloudAiplatformV1Retrieval/vertexAiSearch": vertex_ai_search
98349834
"/aiplatform:v1/GoogleCloudAiplatformV1Retrieval/vertexRagStore": vertex_rag_store
9835+
"/aiplatform:v1/GoogleCloudAiplatformV1RetrievalConfig": google_cloud_aiplatform_v1_retrieval_config
9836+
"/aiplatform:v1/GoogleCloudAiplatformV1RetrievalConfig/languageCode": language_code
9837+
"/aiplatform:v1/GoogleCloudAiplatformV1RetrievalConfig/latLng": lat_lng
98359838
"/aiplatform:v1/GoogleCloudAiplatformV1RetrievalMetadata": google_cloud_aiplatform_v1_retrieval_metadata
98369839
"/aiplatform:v1/GoogleCloudAiplatformV1RetrievalMetadata/googleSearchDynamicRetrievalScore": google_search_dynamic_retrieval_score
98379840
"/aiplatform:v1/GoogleCloudAiplatformV1RetrieveContextsRequest": google_cloud_aiplatform_v1_retrieve_contexts_request
@@ -11326,6 +11329,7 @@
1132611329
"/aiplatform:v1/GoogleCloudAiplatformV1ToolCallValidSpec": google_cloud_aiplatform_v1_tool_call_valid_spec
1132711330
"/aiplatform:v1/GoogleCloudAiplatformV1ToolConfig": google_cloud_aiplatform_v1_tool_config
1132811331
"/aiplatform:v1/GoogleCloudAiplatformV1ToolConfig/functionCallingConfig": function_calling_config
11332+
"/aiplatform:v1/GoogleCloudAiplatformV1ToolConfig/retrievalConfig": retrieval_config
1132911333
"/aiplatform:v1/GoogleCloudAiplatformV1ToolGoogleSearch": google_cloud_aiplatform_v1_tool_google_search
1133011334
"/aiplatform:v1/GoogleCloudAiplatformV1ToolNameMatchInput": google_cloud_aiplatform_v1_tool_name_match_input
1133111335
"/aiplatform:v1/GoogleCloudAiplatformV1ToolNameMatchInput/instances": instances
@@ -11723,6 +11727,9 @@
1172311727
"/aiplatform:v1/GoogleTypeInterval": google_type_interval
1172411728
"/aiplatform:v1/GoogleTypeInterval/endTime": end_time
1172511729
"/aiplatform:v1/GoogleTypeInterval/startTime": start_time
11730+
"/aiplatform:v1/GoogleTypeLatLng": google_type_lat_lng
11731+
"/aiplatform:v1/GoogleTypeLatLng/latitude": latitude
11732+
"/aiplatform:v1/GoogleTypeLatLng/longitude": longitude
1172611733
"/aiplatform:v1/GoogleTypeMoney": google_type_money
1172711734
"/aiplatform:v1/GoogleTypeMoney/currencyCode": currency_code
1172811735
"/aiplatform:v1/GoogleTypeMoney/nanos": nanos

generated/google-apis-aiplatform_v1/CHANGELOG.md

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

3+
### v0.44.0 (2025-01-19)
4+
5+
* Regenerated from discovery document revision 20250107
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.43.0 (2024-12-22)
49

510
* Regenerated from discovery document revision 20241214

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

Lines changed: 72 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def update!(**args)
474474
end
475475
end
476476

477-
# Create API error message for Vertex Pipeline. Next Id: 3.
477+
# Create API error message for Vertex Pipeline.
478478
class CloudAiPlatformCommonCreatePipelineJobApiErrorDetail
479479
include Google::Apis::Core::Hashable
480480

@@ -840,7 +840,8 @@ def update!(**args)
840840
end
841841
end
842842

843-
# The generic reusable api auth config.
843+
# The generic reusable api auth config. Deprecated. Please use AuthConfig (
844+
# google/cloud/aiplatform/master/auth.proto) instead.
844845
class GoogleCloudAiplatformV1ApiAuth
845846
include Google::Apis::Core::Hashable
846847

@@ -5172,7 +5173,9 @@ class GoogleCloudAiplatformV1DatasetVersion
51725173
# @return [String]
51735174
attr_accessor :model_reference
51745175

5175-
# Output only. Identifier. The resource name of the DatasetVersion.
5176+
# Output only. Identifier. The resource name of the DatasetVersion. Format: `
5177+
# projects/`project`/locations/`location`/datasets/`dataset`/datasetVersions/`
5178+
# dataset_version``
51765179
# Corresponds to the JSON property `name`
51775180
# @return [String]
51785181
attr_accessor :name
@@ -18693,8 +18696,8 @@ class GoogleCloudAiplatformV1NotebookExecutionJob
1869318696
# @return [String]
1869418697
attr_accessor :notebook_runtime_template_resource_name
1869518698

18696-
# Output only. The Schedule resource name if this job is triggered by one.
18697-
# Format: `projects/`project_id`/locations/`location`/schedules/`schedule_id``
18699+
# The Schedule resource name if this job is triggered by one. Format: `projects/`
18700+
# project_id`/locations/`location`/schedules/`schedule_id``
1869818701
# Corresponds to the JSON property `scheduleResourceName`
1869918702
# @return [String]
1870018703
attr_accessor :schedule_resource_name
@@ -22909,7 +22912,8 @@ def update!(**args)
2290922912
class GoogleCloudAiplatformV1RagVectorDbConfig
2291022913
include Google::Apis::Core::Hashable
2291122914

22912-
# The generic reusable api auth config.
22915+
# The generic reusable api auth config. Deprecated. Please use AuthConfig (
22916+
# google/cloud/aiplatform/master/auth.proto) instead.
2291322917
# Corresponds to the JSON property `apiAuth`
2291422918
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ApiAuth]
2291522919
attr_accessor :api_auth
@@ -23998,6 +24002,34 @@ def update!(**args)
2399824002
end
2399924003
end
2400024004

24005+
# Retrieval config.
24006+
class GoogleCloudAiplatformV1RetrievalConfig
24007+
include Google::Apis::Core::Hashable
24008+
24009+
# The language code of the user.
24010+
# Corresponds to the JSON property `languageCode`
24011+
# @return [String]
24012+
attr_accessor :language_code
24013+
24014+
# An object that represents a latitude/longitude pair. This is expressed as a
24015+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
24016+
# specified otherwise, this object must conform to the WGS84 standard. Values
24017+
# must be within normalized ranges.
24018+
# Corresponds to the JSON property `latLng`
24019+
# @return [Google::Apis::AiplatformV1::GoogleTypeLatLng]
24020+
attr_accessor :lat_lng
24021+
24022+
def initialize(**args)
24023+
update!(**args)
24024+
end
24025+
24026+
# Update properties of this object
24027+
def update!(**args)
24028+
@language_code = args[:language_code] if args.key?(:language_code)
24029+
@lat_lng = args[:lat_lng] if args.key?(:lat_lng)
24030+
end
24031+
end
24032+
2400124033
# Metadata related to retrieval in the grounding flow.
2400224034
class GoogleCloudAiplatformV1RetrievalMetadata
2400324035
include Google::Apis::Core::Hashable
@@ -35030,13 +35062,19 @@ class GoogleCloudAiplatformV1ToolConfig
3503035062
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionCallingConfig]
3503135063
attr_accessor :function_calling_config
3503235064

35065+
# Retrieval config.
35066+
# Corresponds to the JSON property `retrievalConfig`
35067+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrievalConfig]
35068+
attr_accessor :retrieval_config
35069+
3503335070
def initialize(**args)
3503435071
update!(**args)
3503535072
end
3503635073

3503735074
# Update properties of this object
3503835075
def update!(**args)
3503935076
@function_calling_config = args[:function_calling_config] if args.key?(:function_calling_config)
35077+
@retrieval_config = args[:retrieval_config] if args.key?(:retrieval_config)
3504035078
end
3504135079
end
3504235080

@@ -38361,6 +38399,34 @@ def update!(**args)
3836138399
end
3836238400
end
3836338401

38402+
# An object that represents a latitude/longitude pair. This is expressed as a
38403+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
38404+
# specified otherwise, this object must conform to the WGS84 standard. Values
38405+
# must be within normalized ranges.
38406+
class GoogleTypeLatLng
38407+
include Google::Apis::Core::Hashable
38408+
38409+
# The latitude in degrees. It must be in the range [-90.0, +90.0].
38410+
# Corresponds to the JSON property `latitude`
38411+
# @return [Float]
38412+
attr_accessor :latitude
38413+
38414+
# The longitude in degrees. It must be in the range [-180.0, +180.0].
38415+
# Corresponds to the JSON property `longitude`
38416+
# @return [Float]
38417+
attr_accessor :longitude
38418+
38419+
def initialize(**args)
38420+
update!(**args)
38421+
end
38422+
38423+
# Update properties of this object
38424+
def update!(**args)
38425+
@latitude = args[:latitude] if args.key?(:latitude)
38426+
@longitude = args[:longitude] if args.key?(:longitude)
38427+
end
38428+
end
38429+
3836438430
# Represents an amount of money with its currency type.
3836538431
class GoogleTypeMoney
3836638432
include Google::Apis::Core::Hashable

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

Lines changed: 3 additions & 3 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.43.0"
19+
GEM_VERSION = "0.44.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

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

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3982,6 +3982,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
39823982
include Google::Apis::Core::JsonObjectSupport
39833983
end
39843984

3985+
class GoogleCloudAiplatformV1RetrievalConfig
3986+
class Representation < Google::Apis::Core::JsonRepresentation; end
3987+
3988+
include Google::Apis::Core::JsonObjectSupport
3989+
end
3990+
39853991
class GoogleCloudAiplatformV1RetrievalMetadata
39863992
class Representation < Google::Apis::Core::JsonRepresentation; end
39873993

@@ -6496,6 +6502,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
64966502
include Google::Apis::Core::JsonObjectSupport
64976503
end
64986504

6505+
class GoogleTypeLatLng
6506+
class Representation < Google::Apis::Core::JsonRepresentation; end
6507+
6508+
include Google::Apis::Core::JsonObjectSupport
6509+
end
6510+
64996511
class GoogleTypeMoney
65006512
class Representation < Google::Apis::Core::JsonRepresentation; end
65016513

@@ -13328,6 +13340,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
1332813340
end
1332913341
end
1333013342

13343+
class GoogleCloudAiplatformV1RetrievalConfig
13344+
# @private
13345+
class Representation < Google::Apis::Core::JsonRepresentation
13346+
property :language_code, as: 'languageCode'
13347+
property :lat_lng, as: 'latLng', class: Google::Apis::AiplatformV1::GoogleTypeLatLng, decorator: Google::Apis::AiplatformV1::GoogleTypeLatLng::Representation
13348+
13349+
end
13350+
end
13351+
1333113352
class GoogleCloudAiplatformV1RetrievalMetadata
1333213353
# @private
1333313354
class Representation < Google::Apis::Core::JsonRepresentation
@@ -16333,6 +16354,8 @@ class GoogleCloudAiplatformV1ToolConfig
1633316354
class Representation < Google::Apis::Core::JsonRepresentation
1633416355
property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionCallingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionCallingConfig::Representation
1633516356

16357+
property :retrieval_config, as: 'retrievalConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrievalConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrievalConfig::Representation
16358+
1633616359
end
1633716360
end
1633816361

@@ -17368,6 +17391,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
1736817391
end
1736917392
end
1737017393

17394+
class GoogleTypeLatLng
17395+
# @private
17396+
class Representation < Google::Apis::Core::JsonRepresentation
17397+
property :latitude, as: 'latitude'
17398+
property :longitude, as: 'longitude'
17399+
end
17400+
end
17401+
1737117402
class GoogleTypeMoney
1737217403
# @private
1737317404
class Representation < Google::Apis::Core::JsonRepresentation

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,9 @@ def list_dataset_dataset_versions(parent, filter: nil, order_by: nil, page_size:
393393

394394
# Updates a DatasetVersion.
395395
# @param [String] name
396-
# Output only. Identifier. The resource name of the DatasetVersion.
396+
# Output only. Identifier. The resource name of the DatasetVersion. Format: `
397+
# projects/`project`/locations/`location`/datasets/`dataset`/datasetVersions/`
398+
# dataset_version``
397399
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion] google_cloud_aiplatform_v1_dataset_version_object
398400
# @param [String] update_mask
399401
# Required. The update mask applies to the resource. For the `FieldMask`
@@ -3212,7 +3214,9 @@ def list_project_location_dataset_dataset_versions(parent, filter: nil, order_by
32123214

32133215
# Updates a DatasetVersion.
32143216
# @param [String] name
3215-
# Output only. Identifier. The resource name of the DatasetVersion.
3217+
# Output only. Identifier. The resource name of the DatasetVersion. Format: `
3218+
# projects/`project`/locations/`location`/datasets/`dataset`/datasetVersions/`
3219+
# dataset_version``
32163220
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion] google_cloud_aiplatform_v1_dataset_version_object
32173221
# @param [String] update_mask
32183222
# Required. The update mask applies to the resource. For the `FieldMask`

0 commit comments

Comments
 (0)