google-apis-aiplatform_v1beta1 0.17.0 → 0.19.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 +9 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +658 -127
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +308 -72
- data/lib/google/apis/aiplatform_v1beta1/service.rb +148 -6
- metadata +7 -7
@@ -4216,6 +4216,152 @@ module Google
|
|
4216
4216
|
execute_or_queue_command(command, &block)
|
4217
4217
|
end
|
4218
4218
|
|
4219
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
4220
|
+
# longer interested in the operation result. It does not cancel the operation.
|
4221
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
4222
|
+
# UNIMPLEMENTED`.
|
4223
|
+
# @param [String] name
|
4224
|
+
# The name of the operation resource to be deleted.
|
4225
|
+
# @param [String] fields
|
4226
|
+
# Selector specifying which fields to include in a partial response.
|
4227
|
+
# @param [String] quota_user
|
4228
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4229
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4230
|
+
# @param [Google::Apis::RequestOptions] options
|
4231
|
+
# Request-specific options
|
4232
|
+
#
|
4233
|
+
# @yield [result, err] Result & error if block supplied
|
4234
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
4235
|
+
# @yieldparam err [StandardError] error object if request failed
|
4236
|
+
#
|
4237
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
4238
|
+
#
|
4239
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4240
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4241
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4242
|
+
def delete_project_location_evaluation_task_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
4243
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
4244
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
4245
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
4246
|
+
command.params['name'] = name unless name.nil?
|
4247
|
+
command.query['fields'] = fields unless fields.nil?
|
4248
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4249
|
+
execute_or_queue_command(command, &block)
|
4250
|
+
end
|
4251
|
+
|
4252
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
4253
|
+
# to poll the operation result at intervals as recommended by the API service.
|
4254
|
+
# @param [String] name
|
4255
|
+
# The name of the operation resource.
|
4256
|
+
# @param [String] fields
|
4257
|
+
# Selector specifying which fields to include in a partial response.
|
4258
|
+
# @param [String] quota_user
|
4259
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4260
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4261
|
+
# @param [Google::Apis::RequestOptions] options
|
4262
|
+
# Request-specific options
|
4263
|
+
#
|
4264
|
+
# @yield [result, err] Result & error if block supplied
|
4265
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
4266
|
+
# @yieldparam err [StandardError] error object if request failed
|
4267
|
+
#
|
4268
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
4269
|
+
#
|
4270
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4271
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4272
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4273
|
+
def get_project_location_evaluation_task_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
4274
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
4275
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
4276
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
4277
|
+
command.params['name'] = name unless name.nil?
|
4278
|
+
command.query['fields'] = fields unless fields.nil?
|
4279
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4280
|
+
execute_or_queue_command(command, &block)
|
4281
|
+
end
|
4282
|
+
|
4283
|
+
# Lists operations that match the specified filter in the request. If the server
|
4284
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
4285
|
+
# @param [String] name
|
4286
|
+
# The name of the operation's parent resource.
|
4287
|
+
# @param [String] filter
|
4288
|
+
# The standard list filter.
|
4289
|
+
# @param [Fixnum] page_size
|
4290
|
+
# The standard list page size.
|
4291
|
+
# @param [String] page_token
|
4292
|
+
# The standard list page token.
|
4293
|
+
# @param [String] fields
|
4294
|
+
# Selector specifying which fields to include in a partial response.
|
4295
|
+
# @param [String] quota_user
|
4296
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4297
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4298
|
+
# @param [Google::Apis::RequestOptions] options
|
4299
|
+
# Request-specific options
|
4300
|
+
#
|
4301
|
+
# @yield [result, err] Result & error if block supplied
|
4302
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
4303
|
+
# @yieldparam err [StandardError] error object if request failed
|
4304
|
+
#
|
4305
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
4306
|
+
#
|
4307
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4308
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4309
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4310
|
+
def list_project_location_evaluation_task_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4311
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
4312
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
4313
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
4314
|
+
command.params['name'] = name unless name.nil?
|
4315
|
+
command.query['filter'] = filter unless filter.nil?
|
4316
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4317
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4318
|
+
command.query['fields'] = fields unless fields.nil?
|
4319
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4320
|
+
execute_or_queue_command(command, &block)
|
4321
|
+
end
|
4322
|
+
|
4323
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
4324
|
+
# specified timeout, returning the latest state. If the operation is already
|
4325
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
4326
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
4327
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
4328
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
4329
|
+
# the latest state before the specified timeout (including immediately), meaning
|
4330
|
+
# even an immediate response is no guarantee that the operation is done.
|
4331
|
+
# @param [String] name
|
4332
|
+
# The name of the operation resource to wait on.
|
4333
|
+
# @param [String] timeout
|
4334
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
4335
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
4336
|
+
# context deadline is also specified, the shorter one will be used.
|
4337
|
+
# @param [String] fields
|
4338
|
+
# Selector specifying which fields to include in a partial response.
|
4339
|
+
# @param [String] quota_user
|
4340
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4341
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4342
|
+
# @param [Google::Apis::RequestOptions] options
|
4343
|
+
# Request-specific options
|
4344
|
+
#
|
4345
|
+
# @yield [result, err] Result & error if block supplied
|
4346
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
4347
|
+
# @yieldparam err [StandardError] error object if request failed
|
4348
|
+
#
|
4349
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
4350
|
+
#
|
4351
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4352
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4353
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4354
|
+
def wait_project_location_evaluation_task_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4355
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
4356
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
4357
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
4358
|
+
command.params['name'] = name unless name.nil?
|
4359
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
4360
|
+
command.query['fields'] = fields unless fields.nil?
|
4361
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4362
|
+
execute_or_queue_command(command, &block)
|
4363
|
+
end
|
4364
|
+
|
4219
4365
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4220
4366
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4221
4367
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -6098,7 +6244,7 @@ module Google
|
|
6098
6244
|
# to the resource, not the full request. A field will be overwritten if it is in
|
6099
6245
|
# the mask. If the user does not provide a mask then only the non-empty fields
|
6100
6246
|
# present in the request will be overwritten. Set the update_mask to `*` to
|
6101
|
-
# override all fields. Updatable fields: * `labels`
|
6247
|
+
# override all fields. Updatable fields: * `labels` * `serviceAgentType`
|
6102
6248
|
# @param [String] fields
|
6103
6249
|
# Selector specifying which fields to include in a partial response.
|
6104
6250
|
# @param [String] quota_user
|
@@ -15469,9 +15615,6 @@ module Google
|
|
15469
15615
|
# the PipelineJob name. If not provided, an ID will be automatically generated.
|
15470
15616
|
# This value should be less than 128 characters, and valid characters are `/a-z-/
|
15471
15617
|
# `.
|
15472
|
-
# @param [Boolean] preflight_validations
|
15473
|
-
# Optional. Whether to do component level validations before job creation.
|
15474
|
-
# Currently we only support Google First Party Component/Pipelines.
|
15475
15618
|
# @param [String] fields
|
15476
15619
|
# Selector specifying which fields to include in a partial response.
|
15477
15620
|
# @param [String] quota_user
|
@@ -15489,7 +15632,7 @@ module Google
|
|
15489
15632
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15490
15633
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15491
15634
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15492
|
-
def create_project_location_pipeline_job(parent, google_cloud_aiplatform_v1beta1_pipeline_job_object = nil, pipeline_job_id: nil,
|
15635
|
+
def create_project_location_pipeline_job(parent, google_cloud_aiplatform_v1beta1_pipeline_job_object = nil, pipeline_job_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
15493
15636
|
command = make_simple_command(:post, 'v1beta1/{+parent}/pipelineJobs', options)
|
15494
15637
|
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJob::Representation
|
15495
15638
|
command.request_object = google_cloud_aiplatform_v1beta1_pipeline_job_object
|
@@ -15497,7 +15640,6 @@ module Google
|
|
15497
15640
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJob
|
15498
15641
|
command.params['parent'] = parent unless parent.nil?
|
15499
15642
|
command.query['pipelineJobId'] = pipeline_job_id unless pipeline_job_id.nil?
|
15500
|
-
command.query['preflightValidations'] = preflight_validations unless preflight_validations.nil?
|
15501
15643
|
command.query['fields'] = fields unless fields.nil?
|
15502
15644
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15503
15645
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.14.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.14.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.19.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Vertex AI API V1beta1
|