google-apis-aiplatform_v1beta1 0.49.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +67 -1
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +32 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +143 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c37f1bfc13e1fe4497edf81c67137a3293d35e231a14bd7a22f32b01f78fcc78
|
4
|
+
data.tar.gz: e1aa970efcb7a53e4c2f9069e37d271eb2e042f8d1af63333c5e5e5404c98a9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa6bcb7e6a16c1c88ae3147cfaebbff14469115fc3381128d08a45dbed44e8e33ff5f4dadcfe8c26ccd4fb4855c6967be8417e62588b76a8a5c2a889c419f280
|
7
|
+
data.tar.gz: 6761273d8f7f42d475626ebf7a33ee026477187fdbfe1c3ce7f79a7c0f2bd3b40336bc6bc8978b7d45c24ed367fec62395a19f6af1862410cc62609dae3b5006
|
data/CHANGELOG.md
CHANGED
@@ -25239,12 +25239,19 @@ module Google
|
|
25239
25239
|
# @return [String]
|
25240
25240
|
attr_accessor :text
|
25241
25241
|
|
25242
|
-
#
|
25242
|
+
# Optional. Indicates if the part is thought from the model.
|
25243
25243
|
# Corresponds to the JSON property `thought`
|
25244
25244
|
# @return [Boolean]
|
25245
25245
|
attr_accessor :thought
|
25246
25246
|
alias_method :thought?, :thought
|
25247
25247
|
|
25248
|
+
# Optional. An opaque signature for the thought so it can be reused in
|
25249
|
+
# subsequent requests.
|
25250
|
+
# Corresponds to the JSON property `thoughtSignature`
|
25251
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
25252
|
+
# @return [String]
|
25253
|
+
attr_accessor :thought_signature
|
25254
|
+
|
25248
25255
|
# Metadata describes the input video content.
|
25249
25256
|
# Corresponds to the JSON property `videoMetadata`
|
25250
25257
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoMetadata]
|
@@ -25264,6 +25271,7 @@ module Google
|
|
25264
25271
|
@inline_data = args[:inline_data] if args.key?(:inline_data)
|
25265
25272
|
@text = args[:text] if args.key?(:text)
|
25266
25273
|
@thought = args[:thought] if args.key?(:thought)
|
25274
|
+
@thought_signature = args[:thought_signature] if args.key?(:thought_signature)
|
25267
25275
|
@video_metadata = args[:video_metadata] if args.key?(:video_metadata)
|
25268
25276
|
end
|
25269
25277
|
end
|
@@ -43287,6 +43295,11 @@ module Google
|
|
43287
43295
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution]
|
43288
43296
|
attr_accessor :code_execution
|
43289
43297
|
|
43298
|
+
# Tool to support computer use.
|
43299
|
+
# Corresponds to the JSON property `computerUse`
|
43300
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse]
|
43301
|
+
attr_accessor :computer_use
|
43302
|
+
|
43290
43303
|
# Tool to search public web data, powered by Vertex AI Search and Sec4
|
43291
43304
|
# compliance.
|
43292
43305
|
# Corresponds to the JSON property `enterpriseWebSearch`
|
@@ -43319,6 +43332,11 @@ module Google
|
|
43319
43332
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval]
|
43320
43333
|
attr_accessor :retrieval
|
43321
43334
|
|
43335
|
+
# Tool to support URL context.
|
43336
|
+
# Corresponds to the JSON property `urlContext`
|
43337
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UrlContext]
|
43338
|
+
attr_accessor :url_context
|
43339
|
+
|
43322
43340
|
def initialize(**args)
|
43323
43341
|
update!(**args)
|
43324
43342
|
end
|
@@ -43326,11 +43344,13 @@ module Google
|
|
43326
43344
|
# Update properties of this object
|
43327
43345
|
def update!(**args)
|
43328
43346
|
@code_execution = args[:code_execution] if args.key?(:code_execution)
|
43347
|
+
@computer_use = args[:computer_use] if args.key?(:computer_use)
|
43329
43348
|
@enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
|
43330
43349
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
43331
43350
|
@google_search = args[:google_search] if args.key?(:google_search)
|
43332
43351
|
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
43333
43352
|
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
43353
|
+
@url_context = args[:url_context] if args.key?(:url_context)
|
43334
43354
|
end
|
43335
43355
|
end
|
43336
43356
|
|
@@ -43475,6 +43495,25 @@ module Google
|
|
43475
43495
|
end
|
43476
43496
|
end
|
43477
43497
|
|
43498
|
+
# Tool to support computer use.
|
43499
|
+
class GoogleCloudAiplatformV1beta1ToolComputerUse
|
43500
|
+
include Google::Apis::Core::Hashable
|
43501
|
+
|
43502
|
+
# Required. The environment being operated.
|
43503
|
+
# Corresponds to the JSON property `environment`
|
43504
|
+
# @return [String]
|
43505
|
+
attr_accessor :environment
|
43506
|
+
|
43507
|
+
def initialize(**args)
|
43508
|
+
update!(**args)
|
43509
|
+
end
|
43510
|
+
|
43511
|
+
# Update properties of this object
|
43512
|
+
def update!(**args)
|
43513
|
+
@environment = args[:environment] if args.key?(:environment)
|
43514
|
+
end
|
43515
|
+
end
|
43516
|
+
|
43478
43517
|
# Tool config. This config is shared for all tools provided in the request.
|
43479
43518
|
class GoogleCloudAiplatformV1beta1ToolConfig
|
43480
43519
|
include Google::Apis::Core::Hashable
|
@@ -45091,6 +45130,18 @@ module Google
|
|
45091
45130
|
# @return [String]
|
45092
45131
|
attr_accessor :pipeline_job
|
45093
45132
|
|
45133
|
+
# Output only. Reserved for future use.
|
45134
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
45135
|
+
# @return [Boolean]
|
45136
|
+
attr_accessor :satisfies_pzi
|
45137
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
45138
|
+
|
45139
|
+
# Output only. Reserved for future use.
|
45140
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
45141
|
+
# @return [Boolean]
|
45142
|
+
attr_accessor :satisfies_pzs
|
45143
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
45144
|
+
|
45094
45145
|
# The service account that the tuningJob workload runs as. If not specified, the
|
45095
45146
|
# Vertex AI Secure Fine-Tuned Service Agent in the project will be used. See
|
45096
45147
|
# https://cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-
|
@@ -45156,6 +45207,8 @@ module Google
|
|
45156
45207
|
@name = args[:name] if args.key?(:name)
|
45157
45208
|
@partner_model_tuning_spec = args[:partner_model_tuning_spec] if args.key?(:partner_model_tuning_spec)
|
45158
45209
|
@pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
|
45210
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
45211
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
45159
45212
|
@service_account = args[:service_account] if args.key?(:service_account)
|
45160
45213
|
@start_time = args[:start_time] if args.key?(:start_time)
|
45161
45214
|
@state = args[:state] if args.key?(:state)
|
@@ -45988,6 +46041,19 @@ module Google
|
|
45988
46041
|
end
|
45989
46042
|
end
|
45990
46043
|
|
46044
|
+
# Tool to support URL context.
|
46045
|
+
class GoogleCloudAiplatformV1beta1UrlContext
|
46046
|
+
include Google::Apis::Core::Hashable
|
46047
|
+
|
46048
|
+
def initialize(**args)
|
46049
|
+
update!(**args)
|
46050
|
+
end
|
46051
|
+
|
46052
|
+
# Update properties of this object
|
46053
|
+
def update!(**args)
|
46054
|
+
end
|
46055
|
+
end
|
46056
|
+
|
45991
46057
|
# References an API call. It contains more information about long running
|
45992
46058
|
# operation and Jobs that are triggered by the API call.
|
45993
46059
|
class GoogleCloudAiplatformV1beta1UserActionReference
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1beta1
|
18
18
|
# Version of the google-apis-aiplatform_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250602"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -7240,6 +7240,12 @@ module Google
|
|
7240
7240
|
include Google::Apis::Core::JsonObjectSupport
|
7241
7241
|
end
|
7242
7242
|
|
7243
|
+
class GoogleCloudAiplatformV1beta1ToolComputerUse
|
7244
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
7245
|
+
|
7246
|
+
include Google::Apis::Core::JsonObjectSupport
|
7247
|
+
end
|
7248
|
+
|
7243
7249
|
class GoogleCloudAiplatformV1beta1ToolConfig
|
7244
7250
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
7245
7251
|
|
@@ -7822,6 +7828,12 @@ module Google
|
|
7822
7828
|
include Google::Apis::Core::JsonObjectSupport
|
7823
7829
|
end
|
7824
7830
|
|
7831
|
+
class GoogleCloudAiplatformV1beta1UrlContext
|
7832
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
7833
|
+
|
7834
|
+
include Google::Apis::Core::JsonObjectSupport
|
7835
|
+
end
|
7836
|
+
|
7825
7837
|
class GoogleCloudAiplatformV1beta1UserActionReference
|
7826
7838
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
7827
7839
|
|
@@ -15242,6 +15254,7 @@ module Google
|
|
15242
15254
|
|
15243
15255
|
property :text, as: 'text'
|
15244
15256
|
property :thought, as: 'thought'
|
15257
|
+
property :thought_signature, :base64 => true, as: 'thoughtSignature'
|
15245
15258
|
property :video_metadata, as: 'videoMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoMetadata::Representation
|
15246
15259
|
|
15247
15260
|
end
|
@@ -20335,6 +20348,8 @@ module Google
|
|
20335
20348
|
class Representation < Google::Apis::Core::JsonRepresentation
|
20336
20349
|
property :code_execution, as: 'codeExecution', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
|
20337
20350
|
|
20351
|
+
property :computer_use, as: 'computerUse', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse::Representation
|
20352
|
+
|
20338
20353
|
property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
|
20339
20354
|
|
20340
20355
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
|
@@ -20345,6 +20360,8 @@ module Google
|
|
20345
20360
|
|
20346
20361
|
property :retrieval, as: 'retrieval', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval::Representation
|
20347
20362
|
|
20363
|
+
property :url_context, as: 'urlContext', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UrlContext, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UrlContext::Representation
|
20364
|
+
|
20348
20365
|
end
|
20349
20366
|
end
|
20350
20367
|
|
@@ -20401,6 +20418,13 @@ module Google
|
|
20401
20418
|
end
|
20402
20419
|
end
|
20403
20420
|
|
20421
|
+
class GoogleCloudAiplatformV1beta1ToolComputerUse
|
20422
|
+
# @private
|
20423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
20424
|
+
property :environment, as: 'environment'
|
20425
|
+
end
|
20426
|
+
end
|
20427
|
+
|
20404
20428
|
class GoogleCloudAiplatformV1beta1ToolConfig
|
20405
20429
|
# @private
|
20406
20430
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -20940,6 +20964,8 @@ module Google
|
|
20940
20964
|
property :partner_model_tuning_spec, as: 'partnerModelTuningSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PartnerModelTuningSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PartnerModelTuningSpec::Representation
|
20941
20965
|
|
20942
20966
|
property :pipeline_job, as: 'pipelineJob'
|
20967
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
20968
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
20943
20969
|
property :service_account, as: 'serviceAccount'
|
20944
20970
|
property :start_time, as: 'startTime'
|
20945
20971
|
property :state, as: 'state'
|
@@ -21260,6 +21286,12 @@ module Google
|
|
21260
21286
|
end
|
21261
21287
|
end
|
21262
21288
|
|
21289
|
+
class GoogleCloudAiplatformV1beta1UrlContext
|
21290
|
+
# @private
|
21291
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
21292
|
+
end
|
21293
|
+
end
|
21294
|
+
|
21263
21295
|
class GoogleCloudAiplatformV1beta1UserActionReference
|
21264
21296
|
# @private
|
21265
21297
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -22339,6 +22339,149 @@ module Google
|
|
22339
22339
|
execute_or_queue_command(command, &block)
|
22340
22340
|
end
|
22341
22341
|
|
22342
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
22343
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
22344
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
22345
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
22346
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
22347
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
22348
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
22349
|
+
# , corresponding to `Code.CANCELLED`.
|
22350
|
+
# @param [String] name
|
22351
|
+
# The name of the operation resource to be cancelled.
|
22352
|
+
# @param [String] fields
|
22353
|
+
# Selector specifying which fields to include in a partial response.
|
22354
|
+
# @param [String] quota_user
|
22355
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22356
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22357
|
+
# @param [Google::Apis::RequestOptions] options
|
22358
|
+
# Request-specific options
|
22359
|
+
#
|
22360
|
+
# @yield [result, err] Result & error if block supplied
|
22361
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
22362
|
+
# @yieldparam err [StandardError] error object if request failed
|
22363
|
+
#
|
22364
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
22365
|
+
#
|
22366
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22367
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22368
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22369
|
+
def cancel_project_location_reasoning_engine_example_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
22370
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
22371
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
22372
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
22373
|
+
command.params['name'] = name unless name.nil?
|
22374
|
+
command.query['fields'] = fields unless fields.nil?
|
22375
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22376
|
+
execute_or_queue_command(command, &block)
|
22377
|
+
end
|
22378
|
+
|
22379
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
22380
|
+
# longer interested in the operation result. It does not cancel the operation.
|
22381
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
22382
|
+
# UNIMPLEMENTED`.
|
22383
|
+
# @param [String] name
|
22384
|
+
# The name of the operation resource to be deleted.
|
22385
|
+
# @param [String] fields
|
22386
|
+
# Selector specifying which fields to include in a partial response.
|
22387
|
+
# @param [String] quota_user
|
22388
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22389
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22390
|
+
# @param [Google::Apis::RequestOptions] options
|
22391
|
+
# Request-specific options
|
22392
|
+
#
|
22393
|
+
# @yield [result, err] Result & error if block supplied
|
22394
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
22395
|
+
# @yieldparam err [StandardError] error object if request failed
|
22396
|
+
#
|
22397
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
22398
|
+
#
|
22399
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22400
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22401
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22402
|
+
def delete_project_location_reasoning_engine_example_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
22403
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
22404
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
22405
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
22406
|
+
command.params['name'] = name unless name.nil?
|
22407
|
+
command.query['fields'] = fields unless fields.nil?
|
22408
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22409
|
+
execute_or_queue_command(command, &block)
|
22410
|
+
end
|
22411
|
+
|
22412
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
22413
|
+
# to poll the operation result at intervals as recommended by the API service.
|
22414
|
+
# @param [String] name
|
22415
|
+
# The name of the operation resource.
|
22416
|
+
# @param [String] fields
|
22417
|
+
# Selector specifying which fields to include in a partial response.
|
22418
|
+
# @param [String] quota_user
|
22419
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22420
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22421
|
+
# @param [Google::Apis::RequestOptions] options
|
22422
|
+
# Request-specific options
|
22423
|
+
#
|
22424
|
+
# @yield [result, err] Result & error if block supplied
|
22425
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22426
|
+
# @yieldparam err [StandardError] error object if request failed
|
22427
|
+
#
|
22428
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22429
|
+
#
|
22430
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22431
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22432
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22433
|
+
def get_project_location_reasoning_engine_example_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
22434
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
22435
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22436
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22437
|
+
command.params['name'] = name unless name.nil?
|
22438
|
+
command.query['fields'] = fields unless fields.nil?
|
22439
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22440
|
+
execute_or_queue_command(command, &block)
|
22441
|
+
end
|
22442
|
+
|
22443
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
22444
|
+
# specified timeout, returning the latest state. If the operation is already
|
22445
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
22446
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
22447
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
22448
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
22449
|
+
# the latest state before the specified timeout (including immediately), meaning
|
22450
|
+
# even an immediate response is no guarantee that the operation is done.
|
22451
|
+
# @param [String] name
|
22452
|
+
# The name of the operation resource to wait on.
|
22453
|
+
# @param [String] timeout
|
22454
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
22455
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
22456
|
+
# context deadline is also specified, the shorter one will be used.
|
22457
|
+
# @param [String] fields
|
22458
|
+
# Selector specifying which fields to include in a partial response.
|
22459
|
+
# @param [String] quota_user
|
22460
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22461
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22462
|
+
# @param [Google::Apis::RequestOptions] options
|
22463
|
+
# Request-specific options
|
22464
|
+
#
|
22465
|
+
# @yield [result, err] Result & error if block supplied
|
22466
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22467
|
+
# @yieldparam err [StandardError] error object if request failed
|
22468
|
+
#
|
22469
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22470
|
+
#
|
22471
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22472
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22473
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22474
|
+
def wait_project_location_reasoning_engine_example_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
22475
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
22476
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22477
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22478
|
+
command.params['name'] = name unless name.nil?
|
22479
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
22480
|
+
command.query['fields'] = fields unless fields.nil?
|
22481
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22482
|
+
execute_or_queue_command(command, &block)
|
22483
|
+
end
|
22484
|
+
|
22342
22485
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
22343
22486
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
22344
22487
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.50.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.50.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|