google-apis-aiplatform_v1beta1 0.74.0 → 0.75.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 +29 -0
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +5 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +226 -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: ba2ce74c67e50fcd8b7fd0039daa93b7f40c670a130aae667a57f7d030259312
|
|
4
|
+
data.tar.gz: 909830d2027c421074962f39592e73776b7ec90b75bd10bdcf123b9acad6fb06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2fc5aecb6e0ed31ea2a615b22b799bde0b1e3ad50709955bf6fdf52e791d9d7ddaa357315bab3d888797579f73dd072d280912c0901acf7e91c2153099281c9
|
|
7
|
+
data.tar.gz: 480a3586ea11e6c3533fb1cd3815391bb7b2f4eed02f6fa7f513dce365ba78b640404ec0275cefde997b07a910ddadd1deeec017fdf85a572cf10fb3e34d7d0b
|
data/CHANGELOG.md
CHANGED
|
@@ -3844,6 +3844,16 @@ module Google
|
|
|
3844
3844
|
# @return [String]
|
|
3845
3845
|
attr_accessor :candidate
|
|
3846
3846
|
|
|
3847
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
3848
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
3849
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
3850
|
+
# data: error code, error message, and error details. You can find out more
|
|
3851
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
3852
|
+
# //cloud.google.com/apis/design/errors).
|
|
3853
|
+
# Corresponds to the JSON property `error`
|
|
3854
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleRpcStatus]
|
|
3855
|
+
attr_accessor :error
|
|
3856
|
+
|
|
3847
3857
|
# Optional. Intermediate events (such as tool calls and responses) that led to
|
|
3848
3858
|
# the final response.
|
|
3849
3859
|
# Corresponds to the JSON property `events`
|
|
@@ -3868,6 +3878,7 @@ module Google
|
|
|
3868
3878
|
def update!(**args)
|
|
3869
3879
|
@agent_data = args[:agent_data] if args.key?(:agent_data)
|
|
3870
3880
|
@candidate = args[:candidate] if args.key?(:candidate)
|
|
3881
|
+
@error = args[:error] if args.key?(:error)
|
|
3871
3882
|
@events = args[:events] if args.key?(:events)
|
|
3872
3883
|
@text = args[:text] if args.key?(:text)
|
|
3873
3884
|
@value = args[:value] if args.key?(:value)
|
|
@@ -17333,6 +17344,14 @@ module Google
|
|
|
17333
17344
|
# @return [String]
|
|
17334
17345
|
attr_accessor :model
|
|
17335
17346
|
|
|
17347
|
+
# Configuration for Model Armor. Model Armor is a Google Cloud service that
|
|
17348
|
+
# provides safety and security filtering for prompts and responses. It helps
|
|
17349
|
+
# protect your AI applications from risks such as harmful content, sensitive
|
|
17350
|
+
# data leakage, and prompt injection attacks.
|
|
17351
|
+
# Corresponds to the JSON property `modelArmorConfig`
|
|
17352
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelArmorConfig]
|
|
17353
|
+
attr_accessor :model_armor_config
|
|
17354
|
+
|
|
17336
17355
|
# Optional. Per request settings for blocking unsafe content. Enforced on
|
|
17337
17356
|
# GenerateContentResponse.candidates.
|
|
17338
17357
|
# Corresponds to the JSON property `safetySettings`
|
|
@@ -17370,6 +17389,7 @@ module Google
|
|
|
17370
17389
|
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
|
17371
17390
|
@labels = args[:labels] if args.key?(:labels)
|
|
17372
17391
|
@model = args[:model] if args.key?(:model)
|
|
17392
|
+
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
|
17373
17393
|
@safety_settings = args[:safety_settings] if args.key?(:safety_settings)
|
|
17374
17394
|
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
|
17375
17395
|
@tool_config = args[:tool_config] if args.key?(:tool_config)
|
|
@@ -38754,6 +38774,14 @@ module Google
|
|
|
38754
38774
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ScheduleRunResponse]
|
|
38755
38775
|
attr_accessor :last_scheduled_run_response
|
|
38756
38776
|
|
|
38777
|
+
# Optional. Specifies the maximum number of active runs that can be executed
|
|
38778
|
+
# concurrently for this Schedule. This limits the number of runs that can be in
|
|
38779
|
+
# a non-terminal state at the same time. Currently, this field is only supported
|
|
38780
|
+
# for requests of type CreatePipelineJobRequest.
|
|
38781
|
+
# Corresponds to the JSON property `maxConcurrentActiveRunCount`
|
|
38782
|
+
# @return [Fixnum]
|
|
38783
|
+
attr_accessor :max_concurrent_active_run_count
|
|
38784
|
+
|
|
38757
38785
|
# Required. Maximum number of runs that can be started concurrently for this
|
|
38758
38786
|
# Schedule. This is the limit for starting the scheduled requests and not the
|
|
38759
38787
|
# execution of the operations/jobs created by the requests (if applicable).
|
|
@@ -38820,6 +38848,7 @@ module Google
|
|
|
38820
38848
|
@last_pause_time = args[:last_pause_time] if args.key?(:last_pause_time)
|
|
38821
38849
|
@last_resume_time = args[:last_resume_time] if args.key?(:last_resume_time)
|
|
38822
38850
|
@last_scheduled_run_response = args[:last_scheduled_run_response] if args.key?(:last_scheduled_run_response)
|
|
38851
|
+
@max_concurrent_active_run_count = args[:max_concurrent_active_run_count] if args.key?(:max_concurrent_active_run_count)
|
|
38823
38852
|
@max_concurrent_run_count = args[:max_concurrent_run_count] if args.key?(:max_concurrent_run_count)
|
|
38824
38853
|
@max_run_count = args[:max_run_count] if args.key?(:max_run_count)
|
|
38825
38854
|
@name = args[:name] if args.key?(:name)
|
|
@@ -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.75.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 = "20260208"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -10308,6 +10308,8 @@ module Google
|
|
|
10308
10308
|
property :agent_data, as: 'agentData', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentData, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentData::Representation
|
|
10309
10309
|
|
|
10310
10310
|
property :candidate, as: 'candidate'
|
|
10311
|
+
property :error, as: 'error', class: Google::Apis::AiplatformV1beta1::GoogleRpcStatus, decorator: Google::Apis::AiplatformV1beta1::GoogleRpcStatus::Representation
|
|
10312
|
+
|
|
10311
10313
|
collection :events, as: 'events', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
|
|
10312
10314
|
|
|
10313
10315
|
property :text, as: 'text'
|
|
@@ -14121,6 +14123,8 @@ module Google
|
|
|
14121
14123
|
|
|
14122
14124
|
hash :labels, as: 'labels'
|
|
14123
14125
|
property :model, as: 'model'
|
|
14126
|
+
property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelArmorConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelArmorConfig::Representation
|
|
14127
|
+
|
|
14124
14128
|
collection :safety_settings, as: 'safetySettings', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SafetySetting, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SafetySetting::Representation
|
|
14125
14129
|
|
|
14126
14130
|
property :system_instruction, as: 'systemInstruction', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
|
|
@@ -20326,6 +20330,7 @@ module Google
|
|
|
20326
20330
|
property :last_resume_time, as: 'lastResumeTime'
|
|
20327
20331
|
property :last_scheduled_run_response, as: 'lastScheduledRunResponse', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ScheduleRunResponse, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ScheduleRunResponse::Representation
|
|
20328
20332
|
|
|
20333
|
+
property :max_concurrent_active_run_count, :numeric_string => true, as: 'maxConcurrentActiveRunCount'
|
|
20329
20334
|
property :max_concurrent_run_count, :numeric_string => true, as: 'maxConcurrentRunCount'
|
|
20330
20335
|
property :max_run_count, :numeric_string => true, as: 'maxRunCount'
|
|
20331
20336
|
property :name, as: 'name'
|
|
@@ -3318,6 +3318,119 @@ module Google
|
|
|
3318
3318
|
execute_or_queue_command(command, &block)
|
|
3319
3319
|
end
|
|
3320
3320
|
|
|
3321
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
3322
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
3323
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
3324
|
+
# UNIMPLEMENTED`.
|
|
3325
|
+
# @param [String] name
|
|
3326
|
+
# The name of the operation resource to be deleted.
|
|
3327
|
+
# @param [String] fields
|
|
3328
|
+
# Selector specifying which fields to include in a partial response.
|
|
3329
|
+
# @param [String] quota_user
|
|
3330
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3331
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3332
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3333
|
+
# Request-specific options
|
|
3334
|
+
#
|
|
3335
|
+
# @yield [result, err] Result & error if block supplied
|
|
3336
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
|
3337
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3338
|
+
#
|
|
3339
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
|
3340
|
+
#
|
|
3341
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3342
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3343
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3344
|
+
def delete_evaluation_metric_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3345
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
3346
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
|
3347
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
|
3348
|
+
command.params['name'] = name unless name.nil?
|
|
3349
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3350
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3351
|
+
execute_or_queue_command(command, &block)
|
|
3352
|
+
end
|
|
3353
|
+
|
|
3354
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
3355
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
3356
|
+
# @param [String] name
|
|
3357
|
+
# The name of the operation resource.
|
|
3358
|
+
# @param [String] fields
|
|
3359
|
+
# Selector specifying which fields to include in a partial response.
|
|
3360
|
+
# @param [String] quota_user
|
|
3361
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3362
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3363
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3364
|
+
# Request-specific options
|
|
3365
|
+
#
|
|
3366
|
+
# @yield [result, err] Result & error if block supplied
|
|
3367
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
|
3368
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3369
|
+
#
|
|
3370
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
|
3371
|
+
#
|
|
3372
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3373
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3374
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3375
|
+
def get_evaluation_metric_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3376
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
3377
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
3378
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
3379
|
+
command.params['name'] = name unless name.nil?
|
|
3380
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3381
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3382
|
+
execute_or_queue_command(command, &block)
|
|
3383
|
+
end
|
|
3384
|
+
|
|
3385
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
3386
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
3387
|
+
# @param [String] name
|
|
3388
|
+
# The name of the operation's parent resource.
|
|
3389
|
+
# @param [String] filter
|
|
3390
|
+
# The standard list filter.
|
|
3391
|
+
# @param [Fixnum] page_size
|
|
3392
|
+
# The standard list page size.
|
|
3393
|
+
# @param [String] page_token
|
|
3394
|
+
# The standard list page token.
|
|
3395
|
+
# @param [Boolean] return_partial_success
|
|
3396
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
3397
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
3398
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
3399
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
3400
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
3401
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
3402
|
+
# documentation.
|
|
3403
|
+
# @param [String] fields
|
|
3404
|
+
# Selector specifying which fields to include in a partial response.
|
|
3405
|
+
# @param [String] quota_user
|
|
3406
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3407
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3408
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3409
|
+
# Request-specific options
|
|
3410
|
+
#
|
|
3411
|
+
# @yield [result, err] Result & error if block supplied
|
|
3412
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
|
3413
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3414
|
+
#
|
|
3415
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
|
3416
|
+
#
|
|
3417
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3418
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3419
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3420
|
+
def list_evaluation_metric_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3421
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
|
3422
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
|
3423
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
|
3424
|
+
command.params['name'] = name unless name.nil?
|
|
3425
|
+
command.query['filter'] = filter unless filter.nil?
|
|
3426
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3427
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3428
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
3429
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3430
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3431
|
+
execute_or_queue_command(command, &block)
|
|
3432
|
+
end
|
|
3433
|
+
|
|
3321
3434
|
# Deletes a long-running operation. This method indicates that the client is no
|
|
3322
3435
|
# longer interested in the operation result. It does not cancel the operation.
|
|
3323
3436
|
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
@@ -15522,6 +15635,119 @@ module Google
|
|
|
15522
15635
|
execute_or_queue_command(command, &block)
|
|
15523
15636
|
end
|
|
15524
15637
|
|
|
15638
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
15639
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
15640
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
15641
|
+
# UNIMPLEMENTED`.
|
|
15642
|
+
# @param [String] name
|
|
15643
|
+
# The name of the operation resource to be deleted.
|
|
15644
|
+
# @param [String] fields
|
|
15645
|
+
# Selector specifying which fields to include in a partial response.
|
|
15646
|
+
# @param [String] quota_user
|
|
15647
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
15648
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
15649
|
+
# @param [Google::Apis::RequestOptions] options
|
|
15650
|
+
# Request-specific options
|
|
15651
|
+
#
|
|
15652
|
+
# @yield [result, err] Result & error if block supplied
|
|
15653
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
|
15654
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
15655
|
+
#
|
|
15656
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
|
15657
|
+
#
|
|
15658
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15659
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15660
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15661
|
+
def delete_project_location_evaluation_metric_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
15662
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
15663
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
|
15664
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
|
15665
|
+
command.params['name'] = name unless name.nil?
|
|
15666
|
+
command.query['fields'] = fields unless fields.nil?
|
|
15667
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
15668
|
+
execute_or_queue_command(command, &block)
|
|
15669
|
+
end
|
|
15670
|
+
|
|
15671
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
15672
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
15673
|
+
# @param [String] name
|
|
15674
|
+
# The name of the operation resource.
|
|
15675
|
+
# @param [String] fields
|
|
15676
|
+
# Selector specifying which fields to include in a partial response.
|
|
15677
|
+
# @param [String] quota_user
|
|
15678
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
15679
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
15680
|
+
# @param [Google::Apis::RequestOptions] options
|
|
15681
|
+
# Request-specific options
|
|
15682
|
+
#
|
|
15683
|
+
# @yield [result, err] Result & error if block supplied
|
|
15684
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
|
15685
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
15686
|
+
#
|
|
15687
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
|
15688
|
+
#
|
|
15689
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15690
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15691
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15692
|
+
def get_project_location_evaluation_metric_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
15693
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
15694
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
15695
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
15696
|
+
command.params['name'] = name unless name.nil?
|
|
15697
|
+
command.query['fields'] = fields unless fields.nil?
|
|
15698
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
15699
|
+
execute_or_queue_command(command, &block)
|
|
15700
|
+
end
|
|
15701
|
+
|
|
15702
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
15703
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
15704
|
+
# @param [String] name
|
|
15705
|
+
# The name of the operation's parent resource.
|
|
15706
|
+
# @param [String] filter
|
|
15707
|
+
# The standard list filter.
|
|
15708
|
+
# @param [Fixnum] page_size
|
|
15709
|
+
# The standard list page size.
|
|
15710
|
+
# @param [String] page_token
|
|
15711
|
+
# The standard list page token.
|
|
15712
|
+
# @param [Boolean] return_partial_success
|
|
15713
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
15714
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
15715
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
15716
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
15717
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
15718
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
15719
|
+
# documentation.
|
|
15720
|
+
# @param [String] fields
|
|
15721
|
+
# Selector specifying which fields to include in a partial response.
|
|
15722
|
+
# @param [String] quota_user
|
|
15723
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
15724
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
15725
|
+
# @param [Google::Apis::RequestOptions] options
|
|
15726
|
+
# Request-specific options
|
|
15727
|
+
#
|
|
15728
|
+
# @yield [result, err] Result & error if block supplied
|
|
15729
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
|
15730
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
15731
|
+
#
|
|
15732
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
|
15733
|
+
#
|
|
15734
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15735
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15736
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15737
|
+
def list_project_location_evaluation_metric_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
15738
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
|
15739
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
|
15740
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
|
15741
|
+
command.params['name'] = name unless name.nil?
|
|
15742
|
+
command.query['filter'] = filter unless filter.nil?
|
|
15743
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
15744
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
15745
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
15746
|
+
command.query['fields'] = fields unless fields.nil?
|
|
15747
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
15748
|
+
execute_or_queue_command(command, &block)
|
|
15749
|
+
end
|
|
15750
|
+
|
|
15525
15751
|
# Cancels an Evaluation Run. Attempts to cancel a running Evaluation Run
|
|
15526
15752
|
# asynchronously. Status of run can be checked via GetEvaluationRun.
|
|
15527
15753
|
# @param [String] name
|
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.75.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.75.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:
|