google-apis-aiplatform_v1beta1 0.11.0 → 0.13.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 +8 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +1999 -16
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +965 -15
- data/lib/google/apis/aiplatform_v1beta1/service.rb +446 -7
- metadata +3 -3
@@ -3434,6 +3434,75 @@ module Google
|
|
3434
3434
|
execute_or_queue_command(command, &block)
|
3435
3435
|
end
|
3436
3436
|
|
3437
|
+
# Perform an unary online prediction request for Vertex first-party products and
|
3438
|
+
# frameworks.
|
3439
|
+
# @param [String] endpoint
|
3440
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
3441
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
3442
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectPredictRequest] google_cloud_aiplatform_v1beta1_direct_predict_request_object
|
3443
|
+
# @param [String] fields
|
3444
|
+
# Selector specifying which fields to include in a partial response.
|
3445
|
+
# @param [String] quota_user
|
3446
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3447
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3448
|
+
# @param [Google::Apis::RequestOptions] options
|
3449
|
+
# Request-specific options
|
3450
|
+
#
|
3451
|
+
# @yield [result, err] Result & error if block supplied
|
3452
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectPredictResponse] parsed result object
|
3453
|
+
# @yieldparam err [StandardError] error object if request failed
|
3454
|
+
#
|
3455
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectPredictResponse]
|
3456
|
+
#
|
3457
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3458
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3459
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3460
|
+
def direct_project_location_endpoint_predict(endpoint, google_cloud_aiplatform_v1beta1_direct_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3461
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}:directPredict', options)
|
3462
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectPredictRequest::Representation
|
3463
|
+
command.request_object = google_cloud_aiplatform_v1beta1_direct_predict_request_object
|
3464
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectPredictResponse::Representation
|
3465
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectPredictResponse
|
3466
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
3467
|
+
command.query['fields'] = fields unless fields.nil?
|
3468
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3469
|
+
execute_or_queue_command(command, &block)
|
3470
|
+
end
|
3471
|
+
|
3472
|
+
# Perform an online prediction request through gRPC.
|
3473
|
+
# @param [String] endpoint
|
3474
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
3475
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
3476
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectRawPredictRequest] google_cloud_aiplatform_v1beta1_direct_raw_predict_request_object
|
3477
|
+
# @param [String] fields
|
3478
|
+
# Selector specifying which fields to include in a partial response.
|
3479
|
+
# @param [String] quota_user
|
3480
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3481
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3482
|
+
# @param [Google::Apis::RequestOptions] options
|
3483
|
+
# Request-specific options
|
3484
|
+
#
|
3485
|
+
# @yield [result, err] Result & error if block supplied
|
3486
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectRawPredictResponse] parsed result object
|
3487
|
+
# @yieldparam err [StandardError] error object if request failed
|
3488
|
+
#
|
3489
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectRawPredictResponse]
|
3490
|
+
#
|
3491
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3492
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3493
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3494
|
+
def direct_project_location_endpoint_raw_predict(endpoint, google_cloud_aiplatform_v1beta1_direct_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3495
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}:directRawPredict', options)
|
3496
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectRawPredictRequest::Representation
|
3497
|
+
command.request_object = google_cloud_aiplatform_v1beta1_direct_raw_predict_request_object
|
3498
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectRawPredictResponse::Representation
|
3499
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectRawPredictResponse
|
3500
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
3501
|
+
command.query['fields'] = fields unless fields.nil?
|
3502
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3503
|
+
execute_or_queue_command(command, &block)
|
3504
|
+
end
|
3505
|
+
|
3437
3506
|
# Perform an online explanation. If deployed_model_id is specified, the
|
3438
3507
|
# corresponding DeployModel must have explanation_spec populated. If
|
3439
3508
|
# deployed_model_id is not specified, all DeployedModels must have
|
@@ -3817,6 +3886,40 @@ module Google
|
|
3817
3886
|
execute_or_queue_command(command, &block)
|
3818
3887
|
end
|
3819
3888
|
|
3889
|
+
# Generate content with multimodal inputs with streaming support.
|
3890
|
+
# @param [String] model
|
3891
|
+
# Required. The name of the publisher model requested to serve the prediction.
|
3892
|
+
# Format: `projects/`project`/locations/`location`/publishers/*/models/*`
|
3893
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentRequest] google_cloud_aiplatform_v1beta1_generate_content_request_object
|
3894
|
+
# @param [String] fields
|
3895
|
+
# Selector specifying which fields to include in a partial response.
|
3896
|
+
# @param [String] quota_user
|
3897
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3898
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3899
|
+
# @param [Google::Apis::RequestOptions] options
|
3900
|
+
# Request-specific options
|
3901
|
+
#
|
3902
|
+
# @yield [result, err] Result & error if block supplied
|
3903
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse] parsed result object
|
3904
|
+
# @yieldparam err [StandardError] error object if request failed
|
3905
|
+
#
|
3906
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse]
|
3907
|
+
#
|
3908
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3909
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3910
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3911
|
+
def stream_project_location_endpoint_generate_content(model, google_cloud_aiplatform_v1beta1_generate_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3912
|
+
command = make_simple_command(:post, 'v1beta1/{+model}:streamGenerateContent', options)
|
3913
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentRequest::Representation
|
3914
|
+
command.request_object = google_cloud_aiplatform_v1beta1_generate_content_request_object
|
3915
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse::Representation
|
3916
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse
|
3917
|
+
command.params['model'] = model unless model.nil?
|
3918
|
+
command.query['fields'] = fields unless fields.nil?
|
3919
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3920
|
+
execute_or_queue_command(command, &block)
|
3921
|
+
end
|
3922
|
+
|
3820
3923
|
# Returns permissions that a caller has on the specified resource. If the
|
3821
3924
|
# resource does not exist, this will return an empty set of permissions, not a `
|
3822
3925
|
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
@@ -4076,6 +4179,189 @@ module Google
|
|
4076
4179
|
execute_or_queue_command(command, &block)
|
4077
4180
|
end
|
4078
4181
|
|
4182
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4183
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4184
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
4185
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
4186
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
4187
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
4188
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
4189
|
+
# corresponding to `Code.CANCELLED`.
|
4190
|
+
# @param [String] name
|
4191
|
+
# The name of the operation resource to be cancelled.
|
4192
|
+
# @param [String] fields
|
4193
|
+
# Selector specifying which fields to include in a partial response.
|
4194
|
+
# @param [String] quota_user
|
4195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4197
|
+
# @param [Google::Apis::RequestOptions] options
|
4198
|
+
# Request-specific options
|
4199
|
+
#
|
4200
|
+
# @yield [result, err] Result & error if block supplied
|
4201
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
4202
|
+
# @yieldparam err [StandardError] error object if request failed
|
4203
|
+
#
|
4204
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
4205
|
+
#
|
4206
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4207
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4208
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4209
|
+
def cancel_project_location_example_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
4210
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
4211
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
4212
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
4213
|
+
command.params['name'] = name unless name.nil?
|
4214
|
+
command.query['fields'] = fields unless fields.nil?
|
4215
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4216
|
+
execute_or_queue_command(command, &block)
|
4217
|
+
end
|
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_example_store_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_example_store_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_example_store_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_example_store_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
|
+
|
4079
4365
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4080
4366
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4081
4367
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -4789,7 +5075,7 @@ module Google
|
|
4789
5075
|
|
4790
5076
|
# Updates the parameters of a single FeatureGroup.
|
4791
5077
|
# @param [String] name
|
4792
|
-
#
|
5078
|
+
# Identifier. Name of the FeatureGroup. Format: `projects/`project`/locations/`
|
4793
5079
|
# location`/featureGroups/`featureGroup``
|
4794
5080
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureGroup] google_cloud_aiplatform_v1beta1_feature_group_object
|
4795
5081
|
# @param [String] update_mask
|
@@ -4974,8 +5260,8 @@ module Google
|
|
4974
5260
|
# A page token, received from a previous FeaturestoreService.ListFeatures call
|
4975
5261
|
# or FeatureRegistryService.ListFeatures call. Provide this to retrieve the
|
4976
5262
|
# subsequent page. When paginating, all other parameters provided to
|
4977
|
-
# FeaturestoreService.ListFeatures or
|
4978
|
-
#
|
5263
|
+
# FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must
|
5264
|
+
# match the call that provided the page token.
|
4979
5265
|
# @param [String] read_mask
|
4980
5266
|
# Mask specifying which fields to read.
|
4981
5267
|
# @param [String] fields
|
@@ -5519,7 +5805,7 @@ module Google
|
|
5519
5805
|
|
5520
5806
|
# Updates the parameters of a single FeatureOnlineStore.
|
5521
5807
|
# @param [String] name
|
5522
|
-
#
|
5808
|
+
# Identifier. Name of the FeatureOnlineStore. Format: `projects/`project`/
|
5523
5809
|
# locations/`location`/featureOnlineStores/`featureOnlineStore``
|
5524
5810
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStore] google_cloud_aiplatform_v1beta1_feature_online_store_object
|
5525
5811
|
# @param [String] update_mask
|
@@ -5765,7 +6051,7 @@ module Google
|
|
5765
6051
|
|
5766
6052
|
# Updates the parameters of a single FeatureView.
|
5767
6053
|
# @param [String] name
|
5768
|
-
#
|
6054
|
+
# Identifier. Name of the FeatureView. Format: `projects/`project`/locations/`
|
5769
6055
|
# location`/featureOnlineStores/`feature_online_store`/featureViews/`
|
5770
6056
|
# feature_view``
|
5771
6057
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureView] google_cloud_aiplatform_v1beta1_feature_view_object
|
@@ -7454,8 +7740,8 @@ module Google
|
|
7454
7740
|
# A page token, received from a previous FeaturestoreService.ListFeatures call
|
7455
7741
|
# or FeatureRegistryService.ListFeatures call. Provide this to retrieve the
|
7456
7742
|
# subsequent page. When paginating, all other parameters provided to
|
7457
|
-
# FeaturestoreService.ListFeatures or
|
7458
|
-
#
|
7743
|
+
# FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must
|
7744
|
+
# match the call that provided the page token.
|
7459
7745
|
# @param [String] read_mask
|
7460
7746
|
# Mask specifying which fields to read.
|
7461
7747
|
# @param [String] fields
|
@@ -13710,6 +13996,42 @@ module Google
|
|
13710
13996
|
execute_or_queue_command(command, &block)
|
13711
13997
|
end
|
13712
13998
|
|
13999
|
+
# Upgrades a NotebookRuntime.
|
14000
|
+
# @param [String] name
|
14001
|
+
# Required. The name of the NotebookRuntime resource to be upgrade. Instead of
|
14002
|
+
# checking whether the name is in valid NotebookRuntime resource name format,
|
14003
|
+
# directly throw NotFound exception if there is no such NotebookRuntime in
|
14004
|
+
# spanner.
|
14005
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UpgradeNotebookRuntimeRequest] google_cloud_aiplatform_v1beta1_upgrade_notebook_runtime_request_object
|
14006
|
+
# @param [String] fields
|
14007
|
+
# Selector specifying which fields to include in a partial response.
|
14008
|
+
# @param [String] quota_user
|
14009
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
14010
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
14011
|
+
# @param [Google::Apis::RequestOptions] options
|
14012
|
+
# Request-specific options
|
14013
|
+
#
|
14014
|
+
# @yield [result, err] Result & error if block supplied
|
14015
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
14016
|
+
# @yieldparam err [StandardError] error object if request failed
|
14017
|
+
#
|
14018
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
14019
|
+
#
|
14020
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14021
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14022
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14023
|
+
def upgrade_project_location_notebook_runtime(name, google_cloud_aiplatform_v1beta1_upgrade_notebook_runtime_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
14024
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:upgrade', options)
|
14025
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UpgradeNotebookRuntimeRequest::Representation
|
14026
|
+
command.request_object = google_cloud_aiplatform_v1beta1_upgrade_notebook_runtime_request_object
|
14027
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
14028
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
14029
|
+
command.params['name'] = name unless name.nil?
|
14030
|
+
command.query['fields'] = fields unless fields.nil?
|
14031
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14032
|
+
execute_or_queue_command(command, &block)
|
14033
|
+
end
|
14034
|
+
|
13713
14035
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
13714
14036
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
13715
14037
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -14254,6 +14576,44 @@ module Google
|
|
14254
14576
|
execute_or_queue_command(command, &block)
|
14255
14577
|
end
|
14256
14578
|
|
14579
|
+
# Batch cancel PipelineJobs. Firstly the server will check if all the jobs are
|
14580
|
+
# in non-terminal states, and skip the jobs that are already terminated. If the
|
14581
|
+
# operation failed, none of the pipeline jobs are cancelled. The server will
|
14582
|
+
# poll the states of all the pipeline jobs periodically to check the
|
14583
|
+
# cancellation status. This operation will return an LRO.
|
14584
|
+
# @param [String] parent
|
14585
|
+
# Required. The name of the PipelineJobs' parent resource. Format: `projects/`
|
14586
|
+
# project`/locations/`location``
|
14587
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCancelPipelineJobsRequest] google_cloud_aiplatform_v1beta1_batch_cancel_pipeline_jobs_request_object
|
14588
|
+
# @param [String] fields
|
14589
|
+
# Selector specifying which fields to include in a partial response.
|
14590
|
+
# @param [String] quota_user
|
14591
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
14592
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
14593
|
+
# @param [Google::Apis::RequestOptions] options
|
14594
|
+
# Request-specific options
|
14595
|
+
#
|
14596
|
+
# @yield [result, err] Result & error if block supplied
|
14597
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
14598
|
+
# @yieldparam err [StandardError] error object if request failed
|
14599
|
+
#
|
14600
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
14601
|
+
#
|
14602
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14603
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14604
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14605
|
+
def batch_project_location_pipeline_job_cancel(parent, google_cloud_aiplatform_v1beta1_batch_cancel_pipeline_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
14606
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/pipelineJobs:batchCancel', options)
|
14607
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCancelPipelineJobsRequest::Representation
|
14608
|
+
command.request_object = google_cloud_aiplatform_v1beta1_batch_cancel_pipeline_jobs_request_object
|
14609
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
14610
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
14611
|
+
command.params['parent'] = parent unless parent.nil?
|
14612
|
+
command.query['fields'] = fields unless fields.nil?
|
14613
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14614
|
+
execute_or_queue_command(command, &block)
|
14615
|
+
end
|
14616
|
+
|
14257
14617
|
# Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the
|
14258
14618
|
# PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted.
|
14259
14619
|
# @param [String] parent
|
@@ -14756,6 +15116,51 @@ module Google
|
|
14756
15116
|
execute_or_queue_command(command, &block)
|
14757
15117
|
end
|
14758
15118
|
|
15119
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
15120
|
+
# resource exists and does not have a policy set.
|
15121
|
+
# @param [String] resource
|
15122
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
15123
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
15124
|
+
# appropriate value for this field.
|
15125
|
+
# @param [Fixnum] options_requested_policy_version
|
15126
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
15127
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
15128
|
+
# rejected. Requests for policies with any conditional role bindings must
|
15129
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
15130
|
+
# valid value or leave the field unset. The policy in the response might use the
|
15131
|
+
# policy version that you specified, or it might use a lower policy version. For
|
15132
|
+
# example, if you specify version 3, but the policy has no conditional role
|
15133
|
+
# bindings, the response uses version 1. To learn which resources support
|
15134
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
15135
|
+
# google.com/iam/help/conditions/resource-policies).
|
15136
|
+
# @param [String] fields
|
15137
|
+
# Selector specifying which fields to include in a partial response.
|
15138
|
+
# @param [String] quota_user
|
15139
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15140
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15141
|
+
# @param [Google::Apis::RequestOptions] options
|
15142
|
+
# Request-specific options
|
15143
|
+
#
|
15144
|
+
# @yield [result, err] Result & error if block supplied
|
15145
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
|
15146
|
+
# @yieldparam err [StandardError] error object if request failed
|
15147
|
+
#
|
15148
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
|
15149
|
+
#
|
15150
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15151
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15152
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15153
|
+
def get_project_location_publisher_model_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
15154
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
15155
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
|
15156
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
|
15157
|
+
command.params['resource'] = resource unless resource.nil?
|
15158
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
15159
|
+
command.query['fields'] = fields unless fields.nil?
|
15160
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15161
|
+
execute_or_queue_command(command, &block)
|
15162
|
+
end
|
15163
|
+
|
14759
15164
|
# Perform an online prediction.
|
14760
15165
|
# @param [String] endpoint
|
14761
15166
|
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
@@ -14862,6 +15267,40 @@ module Google
|
|
14862
15267
|
execute_or_queue_command(command, &block)
|
14863
15268
|
end
|
14864
15269
|
|
15270
|
+
# Generate content with multimodal inputs with streaming support.
|
15271
|
+
# @param [String] model
|
15272
|
+
# Required. The name of the publisher model requested to serve the prediction.
|
15273
|
+
# Format: `projects/`project`/locations/`location`/publishers/*/models/*`
|
15274
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentRequest] google_cloud_aiplatform_v1beta1_generate_content_request_object
|
15275
|
+
# @param [String] fields
|
15276
|
+
# Selector specifying which fields to include in a partial response.
|
15277
|
+
# @param [String] quota_user
|
15278
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15279
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15280
|
+
# @param [Google::Apis::RequestOptions] options
|
15281
|
+
# Request-specific options
|
15282
|
+
#
|
15283
|
+
# @yield [result, err] Result & error if block supplied
|
15284
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse] parsed result object
|
15285
|
+
# @yieldparam err [StandardError] error object if request failed
|
15286
|
+
#
|
15287
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse]
|
15288
|
+
#
|
15289
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15290
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15291
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15292
|
+
def stream_project_location_publisher_model_generate_content(model, google_cloud_aiplatform_v1beta1_generate_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
15293
|
+
command = make_simple_command(:post, 'v1beta1/{+model}:streamGenerateContent', options)
|
15294
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentRequest::Representation
|
15295
|
+
command.request_object = google_cloud_aiplatform_v1beta1_generate_content_request_object
|
15296
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse::Representation
|
15297
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse
|
15298
|
+
command.params['model'] = model unless model.nil?
|
15299
|
+
command.query['fields'] = fields unless fields.nil?
|
15300
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15301
|
+
execute_or_queue_command(command, &block)
|
15302
|
+
end
|
15303
|
+
|
14865
15304
|
# Creates a Schedule.
|
14866
15305
|
# @param [String] parent
|
14867
15306
|
# Required. The resource name of the Location to create the Schedule in. Format:
|
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.13.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: 2023-
|
11
|
+
date: 2023-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.13.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: []
|