Skip to content

Commit 69c4a40

Browse files
feat: Automated regeneration of aiplatform v1beta1 client (googleapis#21421)
Auto-created at 2025-01-19 10:13:37 +0000 using the toys pull request generator.
1 parent a96fbd6 commit 69c4a40

File tree

6 files changed

+205
-13
lines changed

6 files changed

+205
-13
lines changed

api_names_out.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14735,6 +14735,11 @@
1473514735
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ExportModelRequestOutputConfig/exportFormatId": export_format_id
1473614736
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ExportModelRequestOutputConfig/imageDestination": image_destination
1473714737
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ExportModelResponse": google_cloud_aiplatform_v1beta1_export_model_response
14738+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ExportPublisherModelOperationMetadata": google_cloud_aiplatform_v1beta1_export_publisher_model_operation_metadata
14739+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ExportPublisherModelOperationMetadata/genericMetadata": generic_metadata
14740+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ExportPublisherModelResponse": google_cloud_aiplatform_v1beta1_export_publisher_model_response
14741+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ExportPublisherModelResponse/destinationUri": destination_uri
14742+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ExportPublisherModelResponse/publisherModel": publisher_model
1473814743
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataRequest": google_cloud_aiplatform_v1beta1_export_tensorboard_time_series_data_request
1473914744
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataRequest/filter": filter
1474014745
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataRequest/orderBy": order_by
@@ -17249,6 +17254,9 @@
1724917254
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Retrieval/disableAttribution": disable_attribution
1725017255
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Retrieval/vertexAiSearch": vertex_ai_search
1725117256
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Retrieval/vertexRagStore": vertex_rag_store
17257+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrievalConfig": google_cloud_aiplatform_v1beta1_retrieval_config
17258+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrievalConfig/languageCode": language_code
17259+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrievalConfig/latLng": lat_lng
1725217260
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrievalMetadata": google_cloud_aiplatform_v1beta1_retrieval_metadata
1725317261
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrievalMetadata/googleSearchDynamicRetrievalScore": google_search_dynamic_retrieval_score
1725417262
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrieveContextsRequest": google_cloud_aiplatform_v1beta1_retrieve_contexts_request
@@ -18915,6 +18923,7 @@
1891518923
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolCodeExecution": google_cloud_aiplatform_v1beta1_tool_code_execution
1891618924
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolConfig": google_cloud_aiplatform_v1beta1_tool_config
1891718925
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolConfig/functionCallingConfig": function_calling_config
18926+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolConfig/retrievalConfig": retrieval_config
1891818927
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolGoogleSearch": google_cloud_aiplatform_v1beta1_tool_google_search
1891918928
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolNameMatchInput": google_cloud_aiplatform_v1beta1_tool_name_match_input
1892018929
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolNameMatchInput/instances": instances
@@ -19345,6 +19354,9 @@
1934519354
"/aiplatform:v1beta1/GoogleTypeInterval": google_type_interval
1934619355
"/aiplatform:v1beta1/GoogleTypeInterval/endTime": end_time
1934719356
"/aiplatform:v1beta1/GoogleTypeInterval/startTime": start_time
19357+
"/aiplatform:v1beta1/GoogleTypeLatLng": google_type_lat_lng
19358+
"/aiplatform:v1beta1/GoogleTypeLatLng/latitude": latitude
19359+
"/aiplatform:v1beta1/GoogleTypeLatLng/longitude": longitude
1934819360
"/aiplatform:v1beta1/GoogleTypeMoney": google_type_money
1934919361
"/aiplatform:v1beta1/GoogleTypeMoney/currencyCode": currency_code
1935019362
"/aiplatform:v1beta1/GoogleTypeMoney/nanos": nanos

generated/google-apis-aiplatform_v1beta1/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_v1beta1
22

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

510
* Regenerated from discovery document revision 20241214

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

Lines changed: 120 additions & 8 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 GoogleCloudAiplatformV1beta1ApiAuth
845846
include Google::Apis::Core::Hashable
846847

@@ -5761,7 +5762,9 @@ class GoogleCloudAiplatformV1beta1DatasetVersion
57615762
# @return [String]
57625763
attr_accessor :model_reference
57635764

5764-
# Output only. Identifier. The resource name of the DatasetVersion.
5765+
# Output only. Identifier. The resource name of the DatasetVersion. Format: `
5766+
# projects/`project`/locations/`location`/datasets/`dataset`/datasetVersions/`
5767+
# dataset_version``
57655768
# Corresponds to the JSON property `name`
57665769
# @return [String]
57675770
attr_accessor :name
@@ -6288,7 +6291,8 @@ class GoogleCloudAiplatformV1beta1DeployPublisherModelRequest
62886291

62896292
# Required. The name of the PublisherModel resource. Format: `publishers/`
62906293
# publisher`/models/`publisher_model`@`version_id``, or `publishers/hf-`hugging-
6291-
# face-author`/models/`hugging-face-model-name`@001`
6294+
# face-author`/models/`hugging-face-model-name`@001` or Hugging Face model ID
6295+
# like `google/gemma-2-2b-it`.
62926296
# Corresponds to the JSON property `model`
62936297
# @return [String]
62946298
attr_accessor :model
@@ -9581,6 +9585,51 @@ def update!(**args)
95819585
end
95829586
end
95839587

9588+
# Runtime operation information for ModelGardenService.ExportPublisherModel.
9589+
class GoogleCloudAiplatformV1beta1ExportPublisherModelOperationMetadata
9590+
include Google::Apis::Core::Hashable
9591+
9592+
# Generic Metadata shared by all operations.
9593+
# Corresponds to the JSON property `genericMetadata`
9594+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
9595+
attr_accessor :generic_metadata
9596+
9597+
def initialize(**args)
9598+
update!(**args)
9599+
end
9600+
9601+
# Update properties of this object
9602+
def update!(**args)
9603+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
9604+
end
9605+
end
9606+
9607+
# Response message for ModelGardenService.ExportPublisherModel.
9608+
class GoogleCloudAiplatformV1beta1ExportPublisherModelResponse
9609+
include Google::Apis::Core::Hashable
9610+
9611+
# The destination uri of the model weights.
9612+
# Corresponds to the JSON property `destinationUri`
9613+
# @return [String]
9614+
attr_accessor :destination_uri
9615+
9616+
# The name of the PublisherModel resource. Format: `publishers/`publisher`/
9617+
# models/`publisher_model`@`version_id``
9618+
# Corresponds to the JSON property `publisherModel`
9619+
# @return [String]
9620+
attr_accessor :publisher_model
9621+
9622+
def initialize(**args)
9623+
update!(**args)
9624+
end
9625+
9626+
# Update properties of this object
9627+
def update!(**args)
9628+
@destination_uri = args[:destination_uri] if args.key?(:destination_uri)
9629+
@publisher_model = args[:publisher_model] if args.key?(:publisher_model)
9630+
end
9631+
end
9632+
95849633
# Request message for TensorboardService.ExportTensorboardTimeSeriesData.
95859634
class GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataRequest
95869635
include Google::Apis::Core::Hashable
@@ -21719,8 +21768,8 @@ class GoogleCloudAiplatformV1beta1NotebookExecutionJob
2171921768
# @return [String]
2172021769
attr_accessor :notebook_runtime_template_resource_name
2172121770

21722-
# Output only. The Schedule resource name if this job is triggered by one.
21723-
# Format: `projects/`project_id`/locations/`location`/schedules/`schedule_id``
21771+
# The Schedule resource name if this job is triggered by one. Format: `projects/`
21772+
# project_id`/locations/`location`/schedules/`schedule_id``
2172421773
# Corresponds to the JSON property `scheduleResourceName`
2172521774
# @return [String]
2172621775
attr_accessor :schedule_resource_name
@@ -22717,7 +22766,7 @@ class GoogleCloudAiplatformV1beta1Part
2271722766
# @return [String]
2271822767
attr_accessor :text
2271922768

22720-
# Optional. Indicates if the part is thought from the model.
22769+
# Output only. Indicates if the part is thought from the model.
2272122770
# Corresponds to the JSON property `thought`
2272222771
# @return [Boolean]
2272322772
attr_accessor :thought
@@ -26733,7 +26782,8 @@ def update!(**args)
2673326782
class GoogleCloudAiplatformV1beta1RagVectorDbConfig
2673426783
include Google::Apis::Core::Hashable
2673526784

26736-
# The generic reusable api auth config.
26785+
# The generic reusable api auth config. Deprecated. Please use AuthConfig (
26786+
# google/cloud/aiplatform/master/auth.proto) instead.
2673726787
# Corresponds to the JSON property `apiAuth`
2673826788
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuth]
2673926789
attr_accessor :api_auth
@@ -28012,6 +28062,34 @@ def update!(**args)
2801228062
end
2801328063
end
2801428064

28065+
# Retrieval config.
28066+
class GoogleCloudAiplatformV1beta1RetrievalConfig
28067+
include Google::Apis::Core::Hashable
28068+
28069+
# The language code of the user.
28070+
# Corresponds to the JSON property `languageCode`
28071+
# @return [String]
28072+
attr_accessor :language_code
28073+
28074+
# An object that represents a latitude/longitude pair. This is expressed as a
28075+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
28076+
# specified otherwise, this object must conform to the WGS84 standard. Values
28077+
# must be within normalized ranges.
28078+
# Corresponds to the JSON property `latLng`
28079+
# @return [Google::Apis::AiplatformV1beta1::GoogleTypeLatLng]
28080+
attr_accessor :lat_lng
28081+
28082+
def initialize(**args)
28083+
update!(**args)
28084+
end
28085+
28086+
# Update properties of this object
28087+
def update!(**args)
28088+
@language_code = args[:language_code] if args.key?(:language_code)
28089+
@lat_lng = args[:lat_lng] if args.key?(:lat_lng)
28090+
end
28091+
end
28092+
2801528093
# Metadata related to retrieval in the grounding flow.
2801628094
class GoogleCloudAiplatformV1beta1RetrievalMetadata
2801728095
include Google::Apis::Core::Hashable
@@ -39635,13 +39713,19 @@ class GoogleCloudAiplatformV1beta1ToolConfig
3963539713
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionCallingConfig]
3963639714
attr_accessor :function_calling_config
3963739715

39716+
# Retrieval config.
39717+
# Corresponds to the JSON property `retrievalConfig`
39718+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrievalConfig]
39719+
attr_accessor :retrieval_config
39720+
3963839721
def initialize(**args)
3963939722
update!(**args)
3964039723
end
3964139724

3964239725
# Update properties of this object
3964339726
def update!(**args)
3964439727
@function_calling_config = args[:function_calling_config] if args.key?(:function_calling_config)
39728+
@retrieval_config = args[:retrieval_config] if args.key?(:retrieval_config)
3964539729
end
3964639730
end
3964739731

@@ -43213,6 +43297,34 @@ def update!(**args)
4321343297
end
4321443298
end
4321543299

43300+
# An object that represents a latitude/longitude pair. This is expressed as a
43301+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
43302+
# specified otherwise, this object must conform to the WGS84 standard. Values
43303+
# must be within normalized ranges.
43304+
class GoogleTypeLatLng
43305+
include Google::Apis::Core::Hashable
43306+
43307+
# The latitude in degrees. It must be in the range [-90.0, +90.0].
43308+
# Corresponds to the JSON property `latitude`
43309+
# @return [Float]
43310+
attr_accessor :latitude
43311+
43312+
# The longitude in degrees. It must be in the range [-180.0, +180.0].
43313+
# Corresponds to the JSON property `longitude`
43314+
# @return [Float]
43315+
attr_accessor :longitude
43316+
43317+
def initialize(**args)
43318+
update!(**args)
43319+
end
43320+
43321+
# Update properties of this object
43322+
def update!(**args)
43323+
@latitude = args[:latitude] if args.key?(:latitude)
43324+
@longitude = args[:longitude] if args.key?(:longitude)
43325+
end
43326+
end
43327+
4321643328
# Represents an amount of money with its currency type.
4321743329
class GoogleTypeMoney
4321843330
include Google::Apis::Core::Hashable

generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/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 AiplatformV1beta1
1818
# Version of the google-apis-aiplatform_v1beta1 gem
19-
GEM_VERSION = "0.36.0"
19+
GEM_VERSION = "0.37.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_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,6 +1594,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
15941594
include Google::Apis::Core::JsonObjectSupport
15951595
end
15961596

1597+
class GoogleCloudAiplatformV1beta1ExportPublisherModelOperationMetadata
1598+
class Representation < Google::Apis::Core::JsonRepresentation; end
1599+
1600+
include Google::Apis::Core::JsonObjectSupport
1601+
end
1602+
1603+
class GoogleCloudAiplatformV1beta1ExportPublisherModelResponse
1604+
class Representation < Google::Apis::Core::JsonRepresentation; end
1605+
1606+
include Google::Apis::Core::JsonObjectSupport
1607+
end
1608+
15971609
class GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataRequest
15981610
class Representation < Google::Apis::Core::JsonRepresentation; end
15991611

@@ -4672,6 +4684,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
46724684
include Google::Apis::Core::JsonObjectSupport
46734685
end
46744686

4687+
class GoogleCloudAiplatformV1beta1RetrievalConfig
4688+
class Representation < Google::Apis::Core::JsonRepresentation; end
4689+
4690+
include Google::Apis::Core::JsonObjectSupport
4691+
end
4692+
46754693
class GoogleCloudAiplatformV1beta1RetrievalMetadata
46764694
class Representation < Google::Apis::Core::JsonRepresentation; end
46774695

@@ -7330,6 +7348,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
73307348
include Google::Apis::Core::JsonObjectSupport
73317349
end
73327350

7351+
class GoogleTypeLatLng
7352+
class Representation < Google::Apis::Core::JsonRepresentation; end
7353+
7354+
include Google::Apis::Core::JsonObjectSupport
7355+
end
7356+
73337357
class GoogleTypeMoney
73347358
class Representation < Google::Apis::Core::JsonRepresentation; end
73357359

@@ -10070,6 +10094,22 @@ class Representation < Google::Apis::Core::JsonRepresentation
1007010094
end
1007110095
end
1007210096

10097+
class GoogleCloudAiplatformV1beta1ExportPublisherModelOperationMetadata
10098+
# @private
10099+
class Representation < Google::Apis::Core::JsonRepresentation
10100+
property :generic_metadata, as: 'genericMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata::Representation
10101+
10102+
end
10103+
end
10104+
10105+
class GoogleCloudAiplatformV1beta1ExportPublisherModelResponse
10106+
# @private
10107+
class Representation < Google::Apis::Core::JsonRepresentation
10108+
property :destination_uri, as: 'destinationUri'
10109+
property :publisher_model, as: 'publisherModel'
10110+
end
10111+
end
10112+
1007310113
class GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataRequest
1007410114
# @private
1007510115
class Representation < Google::Apis::Core::JsonRepresentation
@@ -15367,6 +15407,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
1536715407
end
1536815408
end
1536915409

15410+
class GoogleCloudAiplatformV1beta1RetrievalConfig
15411+
# @private
15412+
class Representation < Google::Apis::Core::JsonRepresentation
15413+
property :language_code, as: 'languageCode'
15414+
property :lat_lng, as: 'latLng', class: Google::Apis::AiplatformV1beta1::GoogleTypeLatLng, decorator: Google::Apis::AiplatformV1beta1::GoogleTypeLatLng::Representation
15415+
15416+
end
15417+
end
15418+
1537015419
class GoogleCloudAiplatformV1beta1RetrievalMetadata
1537115420
# @private
1537215421
class Representation < Google::Apis::Core::JsonRepresentation
@@ -18539,6 +18588,8 @@ class GoogleCloudAiplatformV1beta1ToolConfig
1853918588
class Representation < Google::Apis::Core::JsonRepresentation
1854018589
property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionCallingConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionCallingConfig::Representation
1854118590

18591+
property :retrieval_config, as: 'retrievalConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrievalConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrievalConfig::Representation
18592+
1854218593
end
1854318594
end
1854418595

@@ -19651,6 +19702,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
1965119702
end
1965219703
end
1965319704

19705+
class GoogleTypeLatLng
19706+
# @private
19707+
class Representation < Google::Apis::Core::JsonRepresentation
19708+
property :latitude, as: 'latitude'
19709+
property :longitude, as: 'longitude'
19710+
end
19711+
end
19712+
1965419713
class GoogleTypeMoney
1965519714
# @private
1965619715
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)