google-apis-aiplatform_v1 0.85.0 → 0.86.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/OVERVIEW.md +3 -3
- data/lib/google/apis/aiplatform_v1/classes.rb +48 -26
- data/lib/google/apis/aiplatform_v1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1/representations.rb +16 -15
- data/lib/google/apis/aiplatform_v1/service.rb +460 -8
- data/lib/google/apis/aiplatform_v1.rb +3 -4
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 994e3eb4c30e72215a2481204bf9d1a6a55d917ea2fd60fc7118451ed235c0ab
|
|
4
|
+
data.tar.gz: 819eb6e232449f85f1b0b99badb70408c281eaddda3a876be0326c9f7c022370
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4e0c804b300d7c24ff8514303de0d2a6d3a2108339c15e8aa53d2b39a4004cb4bfb951eac64a8a1459a202f420e5cf8479ef4d308299ed968aa1a26f6445ee0
|
|
7
|
+
data.tar.gz: 9f681b42f72922bbe0791bc179e41c38d2ebc65dff2b1ee7b8c289fdbca133eec75dd33828b780d61be26a3602c16f1cdb7ac51df951857d1ff37d9b2f88df0a
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Simple REST client for version V1 of the
|
|
1
|
+
# Simple REST client for version V1 of the Agent Platform API
|
|
2
2
|
|
|
3
|
-
This is a simple client library for version V1 of the
|
|
3
|
+
This is a simple client library for version V1 of the Agent Platform API. It provides:
|
|
4
4
|
|
|
5
5
|
* A client object that connects to the HTTP/JSON REST endpoint for the service.
|
|
6
6
|
* Ruby objects for data structures related to the service.
|
|
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
|
|
|
65
65
|
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Aiplatform service in particular.)
|
|
67
67
|
|
|
68
|
-
For reference information on specific calls in the
|
|
68
|
+
For reference information on specific calls in the Agent Platform API, see the {Google::Apis::AiplatformV1::AiplatformService class reference docs}.
|
|
69
69
|
|
|
70
70
|
## Which client should I use?
|
|
71
71
|
|
|
@@ -61,6 +61,14 @@ module Google
|
|
|
61
61
|
# @return [String]
|
|
62
62
|
attr_accessor :request_origin_tag
|
|
63
63
|
|
|
64
|
+
# If true (default), truncate input videos that exceed the model's maximum frame
|
|
65
|
+
# count by applying a frame_selection_config to __video_file__ inputs. Set to
|
|
66
|
+
# false to preserve the existing fail-fast behavior.
|
|
67
|
+
# Corresponds to the JSON property `truncateInputVideo`
|
|
68
|
+
# @return [Boolean]
|
|
69
|
+
attr_accessor :truncate_input_video
|
|
70
|
+
alias_method :truncate_input_video?, :truncate_input_video
|
|
71
|
+
|
|
64
72
|
# GCS URI of the grayscale video mask for Differential Diffusion. Maps to
|
|
65
73
|
# sdedit_video_tmax_scale_map
|
|
66
74
|
# Corresponds to the JSON property `videoTransformMaskGcsUri`
|
|
@@ -84,6 +92,7 @@ module Google
|
|
|
84
92
|
@num_diffusion_steps = args[:num_diffusion_steps] if args.key?(:num_diffusion_steps)
|
|
85
93
|
@prompt_inputs = args[:prompt_inputs] if args.key?(:prompt_inputs)
|
|
86
94
|
@request_origin_tag = args[:request_origin_tag] if args.key?(:request_origin_tag)
|
|
95
|
+
@truncate_input_video = args[:truncate_input_video] if args.key?(:truncate_input_video)
|
|
87
96
|
@video_transform_mask_gcs_uri = args[:video_transform_mask_gcs_uri] if args.key?(:video_transform_mask_gcs_uri)
|
|
88
97
|
@video_transform_strength = args[:video_transform_strength] if args.key?(:video_transform_strength)
|
|
89
98
|
end
|
|
@@ -1447,6 +1456,31 @@ module Google
|
|
|
1447
1456
|
end
|
|
1448
1457
|
end
|
|
1449
1458
|
|
|
1459
|
+
# Request message for ReasoningEngineExecutionService.AsyncQueryReasoningEngine.
|
|
1460
|
+
class GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest
|
|
1461
|
+
include Google::Apis::Core::Hashable
|
|
1462
|
+
|
|
1463
|
+
# Optional. Input Cloud Storage URI for the Async query.
|
|
1464
|
+
# Corresponds to the JSON property `inputGcsUri`
|
|
1465
|
+
# @return [String]
|
|
1466
|
+
attr_accessor :input_gcs_uri
|
|
1467
|
+
|
|
1468
|
+
# Optional. Output Cloud Storage URI for the Async query.
|
|
1469
|
+
# Corresponds to the JSON property `outputGcsUri`
|
|
1470
|
+
# @return [String]
|
|
1471
|
+
attr_accessor :output_gcs_uri
|
|
1472
|
+
|
|
1473
|
+
def initialize(**args)
|
|
1474
|
+
update!(**args)
|
|
1475
|
+
end
|
|
1476
|
+
|
|
1477
|
+
# Update properties of this object
|
|
1478
|
+
def update!(**args)
|
|
1479
|
+
@input_gcs_uri = args[:input_gcs_uri] if args.key?(:input_gcs_uri)
|
|
1480
|
+
@output_gcs_uri = args[:output_gcs_uri] if args.key?(:output_gcs_uri)
|
|
1481
|
+
end
|
|
1482
|
+
end
|
|
1483
|
+
|
|
1450
1484
|
# Request message for VertexRagService.AsyncRetrieveContexts.
|
|
1451
1485
|
class GoogleCloudAiplatformV1AsyncRetrieveContextsRequest
|
|
1452
1486
|
include Google::Apis::Core::Hashable
|
|
@@ -4706,6 +4740,18 @@ module Google
|
|
|
4706
4740
|
class GoogleCloudAiplatformV1CopyModelRequest
|
|
4707
4741
|
include Google::Apis::Core::Hashable
|
|
4708
4742
|
|
|
4743
|
+
# Optional. The user-provided custom service account to use to do the copy model.
|
|
4744
|
+
# If empty, [Vertex AI Service Agent](https://cloud.google.com/vertex-ai/docs/
|
|
4745
|
+
# general/access-control#service-agents) will be used to access resources needed
|
|
4746
|
+
# to upload the model. This account must belong to the destination project where
|
|
4747
|
+
# the model is copied to, i.e., the project specified in the `parent` field of
|
|
4748
|
+
# this request and have the Vertex AI Service Agent role in the source project.
|
|
4749
|
+
# Requires the user copying the Model to have the `iam.serviceAccounts.actAs`
|
|
4750
|
+
# permission on this service account.
|
|
4751
|
+
# Corresponds to the JSON property `customServiceAccount`
|
|
4752
|
+
# @return [String]
|
|
4753
|
+
attr_accessor :custom_service_account
|
|
4754
|
+
|
|
4709
4755
|
# Represents a customer-managed encryption key specification that can be applied
|
|
4710
4756
|
# to a Vertex AI resource.
|
|
4711
4757
|
# Corresponds to the JSON property `encryptionSpec`
|
|
@@ -4738,6 +4784,7 @@ module Google
|
|
|
4738
4784
|
|
|
4739
4785
|
# Update properties of this object
|
|
4740
4786
|
def update!(**args)
|
|
4787
|
+
@custom_service_account = args[:custom_service_account] if args.key?(:custom_service_account)
|
|
4741
4788
|
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
|
4742
4789
|
@model_id = args[:model_id] if args.key?(:model_id)
|
|
4743
4790
|
@parent_model = args[:parent_model] if args.key?(:parent_model)
|
|
@@ -22374,7 +22421,7 @@ module Google
|
|
|
22374
22421
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Metric]
|
|
22375
22422
|
attr_accessor :metric
|
|
22376
22423
|
|
|
22377
|
-
# Resource name for registered metric.
|
|
22424
|
+
# Optional. Resource name for registered metric.
|
|
22378
22425
|
# Corresponds to the JSON property `metricResourceName`
|
|
22379
22426
|
# @return [String]
|
|
22380
22427
|
attr_accessor :metric_resource_name
|
|
@@ -34546,11 +34593,6 @@ module Google
|
|
|
34546
34593
|
# @return [String]
|
|
34547
34594
|
attr_accessor :update_time
|
|
34548
34595
|
|
|
34549
|
-
# Configuration for a warm pool of sandbox instances.
|
|
34550
|
-
# Corresponds to the JSON property `warmPoolConfig`
|
|
34551
|
-
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateWarmPoolConfig]
|
|
34552
|
-
attr_accessor :warm_pool_config
|
|
34553
|
-
|
|
34554
34596
|
def initialize(**args)
|
|
34555
34597
|
update!(**args)
|
|
34556
34598
|
end
|
|
@@ -34565,7 +34607,6 @@ module Google
|
|
|
34565
34607
|
@name = args[:name] if args.key?(:name)
|
|
34566
34608
|
@state = args[:state] if args.key?(:state)
|
|
34567
34609
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
34568
|
-
@warm_pool_config = args[:warm_pool_config] if args.key?(:warm_pool_config)
|
|
34569
34610
|
end
|
|
34570
34611
|
end
|
|
34571
34612
|
|
|
@@ -34715,25 +34756,6 @@ module Google
|
|
|
34715
34756
|
end
|
|
34716
34757
|
end
|
|
34717
34758
|
|
|
34718
|
-
# Configuration for a warm pool of sandbox instances.
|
|
34719
|
-
class GoogleCloudAiplatformV1SandboxEnvironmentTemplateWarmPoolConfig
|
|
34720
|
-
include Google::Apis::Core::Hashable
|
|
34721
|
-
|
|
34722
|
-
# Optional. The target number of pre-warmed instances to maintain.
|
|
34723
|
-
# Corresponds to the JSON property `targetInstanceCount`
|
|
34724
|
-
# @return [Fixnum]
|
|
34725
|
-
attr_accessor :target_instance_count
|
|
34726
|
-
|
|
34727
|
-
def initialize(**args)
|
|
34728
|
-
update!(**args)
|
|
34729
|
-
end
|
|
34730
|
-
|
|
34731
|
-
# Update properties of this object
|
|
34732
|
-
def update!(**args)
|
|
34733
|
-
@target_instance_count = args[:target_instance_count] if args.key?(:target_instance_count)
|
|
34734
|
-
end
|
|
34735
|
-
end
|
|
34736
|
-
|
|
34737
34759
|
# A SavedQuery is a view of the dataset. It references a subset of annotations
|
|
34738
34760
|
# by problem type and filters.
|
|
34739
34761
|
class GoogleCloudAiplatformV1SavedQuery
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module AiplatformV1
|
|
18
18
|
# Version of the google-apis-aiplatform_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.86.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 = "20260427"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -262,6 +262,12 @@ module Google
|
|
|
262
262
|
include Google::Apis::Core::JsonObjectSupport
|
|
263
263
|
end
|
|
264
264
|
|
|
265
|
+
class GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest
|
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
|
+
|
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
269
|
+
end
|
|
270
|
+
|
|
265
271
|
class GoogleCloudAiplatformV1AsyncRetrieveContextsRequest
|
|
266
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
273
|
|
|
@@ -5698,12 +5704,6 @@ module Google
|
|
|
5698
5704
|
include Google::Apis::Core::JsonObjectSupport
|
|
5699
5705
|
end
|
|
5700
5706
|
|
|
5701
|
-
class GoogleCloudAiplatformV1SandboxEnvironmentTemplateWarmPoolConfig
|
|
5702
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5703
|
-
|
|
5704
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
5705
|
-
end
|
|
5706
|
-
|
|
5707
5707
|
class GoogleCloudAiplatformV1SavedQuery
|
|
5708
5708
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5709
5709
|
|
|
@@ -8308,6 +8308,7 @@ module Google
|
|
|
8308
8308
|
property :prompt_inputs, as: 'promptInputs', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionPromptInputs, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionPromptInputs::Representation
|
|
8309
8309
|
|
|
8310
8310
|
property :request_origin_tag, as: 'requestOriginTag'
|
|
8311
|
+
property :truncate_input_video, as: 'truncateInputVideo'
|
|
8311
8312
|
property :video_transform_mask_gcs_uri, as: 'videoTransformMaskGcsUri'
|
|
8312
8313
|
property :video_transform_strength, as: 'videoTransformStrength'
|
|
8313
8314
|
end
|
|
@@ -8707,6 +8708,14 @@ module Google
|
|
|
8707
8708
|
end
|
|
8708
8709
|
end
|
|
8709
8710
|
|
|
8711
|
+
class GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest
|
|
8712
|
+
# @private
|
|
8713
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8714
|
+
property :input_gcs_uri, as: 'inputGcsUri'
|
|
8715
|
+
property :output_gcs_uri, as: 'outputGcsUri'
|
|
8716
|
+
end
|
|
8717
|
+
end
|
|
8718
|
+
|
|
8710
8719
|
class GoogleCloudAiplatformV1AsyncRetrieveContextsRequest
|
|
8711
8720
|
# @private
|
|
8712
8721
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9674,6 +9683,7 @@ module Google
|
|
|
9674
9683
|
class GoogleCloudAiplatformV1CopyModelRequest
|
|
9675
9684
|
# @private
|
|
9676
9685
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9686
|
+
property :custom_service_account, as: 'customServiceAccount'
|
|
9677
9687
|
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
|
|
9678
9688
|
|
|
9679
9689
|
property :model_id, as: 'modelId'
|
|
@@ -18118,8 +18128,6 @@ module Google
|
|
|
18118
18128
|
property :name, as: 'name'
|
|
18119
18129
|
property :state, as: 'state'
|
|
18120
18130
|
property :update_time, as: 'updateTime'
|
|
18121
|
-
property :warm_pool_config, as: 'warmPoolConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateWarmPoolConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateWarmPoolConfig::Representation
|
|
18122
|
-
|
|
18123
18131
|
end
|
|
18124
18132
|
end
|
|
18125
18133
|
|
|
@@ -18172,13 +18180,6 @@ module Google
|
|
|
18172
18180
|
end
|
|
18173
18181
|
end
|
|
18174
18182
|
|
|
18175
|
-
class GoogleCloudAiplatformV1SandboxEnvironmentTemplateWarmPoolConfig
|
|
18176
|
-
# @private
|
|
18177
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
18178
|
-
property :target_instance_count, as: 'targetInstanceCount'
|
|
18179
|
-
end
|
|
18180
|
-
end
|
|
18181
|
-
|
|
18182
18183
|
class GoogleCloudAiplatformV1SavedQuery
|
|
18183
18184
|
# @private
|
|
18184
18185
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -20,10 +20,9 @@ require 'google/apis/errors'
|
|
|
20
20
|
module Google
|
|
21
21
|
module Apis
|
|
22
22
|
module AiplatformV1
|
|
23
|
-
#
|
|
23
|
+
# Agent Platform API
|
|
24
24
|
#
|
|
25
|
-
#
|
|
26
|
-
# learning expertise and effort.
|
|
25
|
+
# Build, scale, govern, and optimize sophisticated agents and models.
|
|
27
26
|
#
|
|
28
27
|
# @example
|
|
29
28
|
# require 'google/apis/aiplatform_v1'
|
|
@@ -7534,8 +7533,8 @@ module Google
|
|
|
7534
7533
|
end
|
|
7535
7534
|
|
|
7536
7535
|
# Lists information about the supported locations for this service. This method
|
|
7537
|
-
# lists locations based on the resource scope provided in the
|
|
7538
|
-
# ListLocationsRequest.name
|
|
7536
|
+
# lists locations based on the resource scope provided in the
|
|
7537
|
+
# ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
|
|
7539
7538
|
# the method lists the public locations available to all projects. * **Project-
|
|
7540
7539
|
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
7541
7540
|
# method lists locations visible to that specific project. This includes public,
|
|
@@ -7546,8 +7545,8 @@ module Google
|
|
|
7546
7545
|
# @param [String] name
|
|
7547
7546
|
# The resource that owns the locations collection, if applicable.
|
|
7548
7547
|
# @param [Array<String>, String] extra_location_types
|
|
7549
|
-
# Optional. Do not use this field
|
|
7550
|
-
#
|
|
7548
|
+
# Optional. Do not use this field unless explicitly documented otherwise. This
|
|
7549
|
+
# is primarily for internal usage.
|
|
7551
7550
|
# @param [String] filter
|
|
7552
7551
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
7553
7552
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -26259,6 +26258,40 @@ module Google
|
|
|
26259
26258
|
execute_or_queue_command(command, &block)
|
|
26260
26259
|
end
|
|
26261
26260
|
|
|
26261
|
+
# Async query using a reasoning engine.
|
|
26262
|
+
# @param [String] name
|
|
26263
|
+
# Required. The name of the ReasoningEngine resource to use. Format: `projects/`
|
|
26264
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
|
26265
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest] google_cloud_aiplatform_v1_async_query_reasoning_engine_request_object
|
|
26266
|
+
# @param [String] fields
|
|
26267
|
+
# Selector specifying which fields to include in a partial response.
|
|
26268
|
+
# @param [String] quota_user
|
|
26269
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
26270
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
26271
|
+
# @param [Google::Apis::RequestOptions] options
|
|
26272
|
+
# Request-specific options
|
|
26273
|
+
#
|
|
26274
|
+
# @yield [result, err] Result & error if block supplied
|
|
26275
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
26276
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
26277
|
+
#
|
|
26278
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
26279
|
+
#
|
|
26280
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
26281
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
26282
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
26283
|
+
def async_project_location_reasoning_engine_query(name, google_cloud_aiplatform_v1_async_query_reasoning_engine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
26284
|
+
command = make_simple_command(:post, 'v1/{+name}:asyncQuery', options)
|
|
26285
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest::Representation
|
|
26286
|
+
command.request_object = google_cloud_aiplatform_v1_async_query_reasoning_engine_request_object
|
|
26287
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
26288
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
26289
|
+
command.params['name'] = name unless name.nil?
|
|
26290
|
+
command.query['fields'] = fields unless fields.nil?
|
|
26291
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
26292
|
+
execute_or_queue_command(command, &block)
|
|
26293
|
+
end
|
|
26294
|
+
|
|
26262
26295
|
# Creates a reasoning engine.
|
|
26263
26296
|
# @param [String] parent
|
|
26264
26297
|
# Required. The resource name of the Location to create the ReasoningEngine in.
|
|
@@ -28575,7 +28608,8 @@ module Google
|
|
|
28575
28608
|
# create_time` * `update_time` Example: `create_time desc`.
|
|
28576
28609
|
# @param [Fixnum] page_size
|
|
28577
28610
|
# Optional. The maximum number of sessions to return. The service may return
|
|
28578
|
-
# fewer than this value. If unspecified,
|
|
28611
|
+
# fewer than this value. If unspecified, the default page size is 100. Values
|
|
28612
|
+
# greater than 100 will be capped at 100.
|
|
28579
28613
|
# @param [String] page_token
|
|
28580
28614
|
# Optional. The next_page_token value returned from a previous list
|
|
28581
28615
|
# SessionService.ListSessions call.
|
|
@@ -29361,6 +29395,198 @@ module Google
|
|
|
29361
29395
|
execute_or_queue_command(command, &block)
|
|
29362
29396
|
end
|
|
29363
29397
|
|
|
29398
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
29399
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
29400
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
29401
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
29402
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
29403
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
29404
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
29405
|
+
# , corresponding to `Code.CANCELLED`.
|
|
29406
|
+
# @param [String] name
|
|
29407
|
+
# The name of the operation resource to be cancelled.
|
|
29408
|
+
# @param [String] fields
|
|
29409
|
+
# Selector specifying which fields to include in a partial response.
|
|
29410
|
+
# @param [String] quota_user
|
|
29411
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
29412
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
29413
|
+
# @param [Google::Apis::RequestOptions] options
|
|
29414
|
+
# Request-specific options
|
|
29415
|
+
#
|
|
29416
|
+
# @yield [result, err] Result & error if block supplied
|
|
29417
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
29418
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
29419
|
+
#
|
|
29420
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
29421
|
+
#
|
|
29422
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
29423
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
29424
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
29425
|
+
def cancel_project_location_skill_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
29426
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
29427
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
29428
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
29429
|
+
command.params['name'] = name unless name.nil?
|
|
29430
|
+
command.query['fields'] = fields unless fields.nil?
|
|
29431
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
29432
|
+
execute_or_queue_command(command, &block)
|
|
29433
|
+
end
|
|
29434
|
+
|
|
29435
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
29436
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
29437
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
29438
|
+
# UNIMPLEMENTED`.
|
|
29439
|
+
# @param [String] name
|
|
29440
|
+
# The name of the operation resource to be deleted.
|
|
29441
|
+
# @param [String] fields
|
|
29442
|
+
# Selector specifying which fields to include in a partial response.
|
|
29443
|
+
# @param [String] quota_user
|
|
29444
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
29445
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
29446
|
+
# @param [Google::Apis::RequestOptions] options
|
|
29447
|
+
# Request-specific options
|
|
29448
|
+
#
|
|
29449
|
+
# @yield [result, err] Result & error if block supplied
|
|
29450
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
29451
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
29452
|
+
#
|
|
29453
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
29454
|
+
#
|
|
29455
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
29456
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
29457
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
29458
|
+
def delete_project_location_skill_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
29459
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
29460
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
29461
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
29462
|
+
command.params['name'] = name unless name.nil?
|
|
29463
|
+
command.query['fields'] = fields unless fields.nil?
|
|
29464
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
29465
|
+
execute_or_queue_command(command, &block)
|
|
29466
|
+
end
|
|
29467
|
+
|
|
29468
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
29469
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
29470
|
+
# @param [String] name
|
|
29471
|
+
# The name of the operation resource.
|
|
29472
|
+
# @param [String] fields
|
|
29473
|
+
# Selector specifying which fields to include in a partial response.
|
|
29474
|
+
# @param [String] quota_user
|
|
29475
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
29476
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
29477
|
+
# @param [Google::Apis::RequestOptions] options
|
|
29478
|
+
# Request-specific options
|
|
29479
|
+
#
|
|
29480
|
+
# @yield [result, err] Result & error if block supplied
|
|
29481
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
29482
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
29483
|
+
#
|
|
29484
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
29485
|
+
#
|
|
29486
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
29487
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
29488
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
29489
|
+
def get_project_location_skill_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
29490
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
29491
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
29492
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
29493
|
+
command.params['name'] = name unless name.nil?
|
|
29494
|
+
command.query['fields'] = fields unless fields.nil?
|
|
29495
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
29496
|
+
execute_or_queue_command(command, &block)
|
|
29497
|
+
end
|
|
29498
|
+
|
|
29499
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
29500
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
29501
|
+
# @param [String] name
|
|
29502
|
+
# The name of the operation's parent resource.
|
|
29503
|
+
# @param [String] filter
|
|
29504
|
+
# The standard list filter.
|
|
29505
|
+
# @param [Fixnum] page_size
|
|
29506
|
+
# The standard list page size.
|
|
29507
|
+
# @param [String] page_token
|
|
29508
|
+
# The standard list page token.
|
|
29509
|
+
# @param [Boolean] return_partial_success
|
|
29510
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
29511
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
29512
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
29513
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
29514
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
29515
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
29516
|
+
# documentation.
|
|
29517
|
+
# @param [String] fields
|
|
29518
|
+
# Selector specifying which fields to include in a partial response.
|
|
29519
|
+
# @param [String] quota_user
|
|
29520
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
29521
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
29522
|
+
# @param [Google::Apis::RequestOptions] options
|
|
29523
|
+
# Request-specific options
|
|
29524
|
+
#
|
|
29525
|
+
# @yield [result, err] Result & error if block supplied
|
|
29526
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
|
|
29527
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
29528
|
+
#
|
|
29529
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
|
|
29530
|
+
#
|
|
29531
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
29532
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
29533
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
29534
|
+
def list_project_location_skill_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
29535
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
29536
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
|
|
29537
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
|
|
29538
|
+
command.params['name'] = name unless name.nil?
|
|
29539
|
+
command.query['filter'] = filter unless filter.nil?
|
|
29540
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
29541
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
29542
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
29543
|
+
command.query['fields'] = fields unless fields.nil?
|
|
29544
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
29545
|
+
execute_or_queue_command(command, &block)
|
|
29546
|
+
end
|
|
29547
|
+
|
|
29548
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
|
29549
|
+
# specified timeout, returning the latest state. If the operation is already
|
|
29550
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
|
29551
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
|
29552
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
|
29553
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
|
29554
|
+
# the latest state before the specified timeout (including immediately), meaning
|
|
29555
|
+
# even an immediate response is no guarantee that the operation is done.
|
|
29556
|
+
# @param [String] name
|
|
29557
|
+
# The name of the operation resource to wait on.
|
|
29558
|
+
# @param [String] timeout
|
|
29559
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
|
29560
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
|
29561
|
+
# context deadline is also specified, the shorter one will be used.
|
|
29562
|
+
# @param [String] fields
|
|
29563
|
+
# Selector specifying which fields to include in a partial response.
|
|
29564
|
+
# @param [String] quota_user
|
|
29565
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
29566
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
29567
|
+
# @param [Google::Apis::RequestOptions] options
|
|
29568
|
+
# Request-specific options
|
|
29569
|
+
#
|
|
29570
|
+
# @yield [result, err] Result & error if block supplied
|
|
29571
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
29572
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
29573
|
+
#
|
|
29574
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
29575
|
+
#
|
|
29576
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
29577
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
29578
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
29579
|
+
def wait_project_location_skill_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
29580
|
+
command = make_simple_command(:post, 'v1/{+name}:wait', options)
|
|
29581
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
29582
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
29583
|
+
command.params['name'] = name unless name.nil?
|
|
29584
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
|
29585
|
+
command.query['fields'] = fields unless fields.nil?
|
|
29586
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
29587
|
+
execute_or_queue_command(command, &block)
|
|
29588
|
+
end
|
|
29589
|
+
|
|
29364
29590
|
# Creates a SpecialistPool.
|
|
29365
29591
|
# @param [String] parent
|
|
29366
29592
|
# Required. The parent Project name for the new SpecialistPool. The form is `
|
|
@@ -34124,6 +34350,40 @@ module Google
|
|
|
34124
34350
|
execute_or_queue_command(command, &block)
|
|
34125
34351
|
end
|
|
34126
34352
|
|
|
34353
|
+
# Async query using a reasoning engine.
|
|
34354
|
+
# @param [String] name
|
|
34355
|
+
# Required. The name of the ReasoningEngine resource to use. Format: `projects/`
|
|
34356
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
|
34357
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest] google_cloud_aiplatform_v1_async_query_reasoning_engine_request_object
|
|
34358
|
+
# @param [String] fields
|
|
34359
|
+
# Selector specifying which fields to include in a partial response.
|
|
34360
|
+
# @param [String] quota_user
|
|
34361
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
34362
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
34363
|
+
# @param [Google::Apis::RequestOptions] options
|
|
34364
|
+
# Request-specific options
|
|
34365
|
+
#
|
|
34366
|
+
# @yield [result, err] Result & error if block supplied
|
|
34367
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
34368
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
34369
|
+
#
|
|
34370
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
34371
|
+
#
|
|
34372
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
34373
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
34374
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
34375
|
+
def async_reasoning_engine_query(name, google_cloud_aiplatform_v1_async_query_reasoning_engine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
34376
|
+
command = make_simple_command(:post, 'v1/{+name}:asyncQuery', options)
|
|
34377
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest::Representation
|
|
34378
|
+
command.request_object = google_cloud_aiplatform_v1_async_query_reasoning_engine_request_object
|
|
34379
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
34380
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
34381
|
+
command.params['name'] = name unless name.nil?
|
|
34382
|
+
command.query['fields'] = fields unless fields.nil?
|
|
34383
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
34384
|
+
execute_or_queue_command(command, &block)
|
|
34385
|
+
end
|
|
34386
|
+
|
|
34127
34387
|
# Creates a reasoning engine.
|
|
34128
34388
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine] google_cloud_aiplatform_v1_reasoning_engine_object
|
|
34129
34389
|
# @param [String] parent
|
|
@@ -36141,6 +36401,198 @@ module Google
|
|
|
36141
36401
|
execute_or_queue_command(command, &block)
|
|
36142
36402
|
end
|
|
36143
36403
|
|
|
36404
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
36405
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
36406
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
36407
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
36408
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
36409
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
36410
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
36411
|
+
# , corresponding to `Code.CANCELLED`.
|
|
36412
|
+
# @param [String] name
|
|
36413
|
+
# The name of the operation resource to be cancelled.
|
|
36414
|
+
# @param [String] fields
|
|
36415
|
+
# Selector specifying which fields to include in a partial response.
|
|
36416
|
+
# @param [String] quota_user
|
|
36417
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
36418
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
36419
|
+
# @param [Google::Apis::RequestOptions] options
|
|
36420
|
+
# Request-specific options
|
|
36421
|
+
#
|
|
36422
|
+
# @yield [result, err] Result & error if block supplied
|
|
36423
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
36424
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
36425
|
+
#
|
|
36426
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
36427
|
+
#
|
|
36428
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
36429
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
36430
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
36431
|
+
def cancel_skill_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
36432
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
36433
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
36434
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
36435
|
+
command.params['name'] = name unless name.nil?
|
|
36436
|
+
command.query['fields'] = fields unless fields.nil?
|
|
36437
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
36438
|
+
execute_or_queue_command(command, &block)
|
|
36439
|
+
end
|
|
36440
|
+
|
|
36441
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
36442
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
36443
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
36444
|
+
# UNIMPLEMENTED`.
|
|
36445
|
+
# @param [String] name
|
|
36446
|
+
# The name of the operation resource to be deleted.
|
|
36447
|
+
# @param [String] fields
|
|
36448
|
+
# Selector specifying which fields to include in a partial response.
|
|
36449
|
+
# @param [String] quota_user
|
|
36450
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
36451
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
36452
|
+
# @param [Google::Apis::RequestOptions] options
|
|
36453
|
+
# Request-specific options
|
|
36454
|
+
#
|
|
36455
|
+
# @yield [result, err] Result & error if block supplied
|
|
36456
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
36457
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
36458
|
+
#
|
|
36459
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
36460
|
+
#
|
|
36461
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
36462
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
36463
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
36464
|
+
def delete_skill_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
36465
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
36466
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
36467
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
36468
|
+
command.params['name'] = name unless name.nil?
|
|
36469
|
+
command.query['fields'] = fields unless fields.nil?
|
|
36470
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
36471
|
+
execute_or_queue_command(command, &block)
|
|
36472
|
+
end
|
|
36473
|
+
|
|
36474
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
36475
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
36476
|
+
# @param [String] name
|
|
36477
|
+
# The name of the operation resource.
|
|
36478
|
+
# @param [String] fields
|
|
36479
|
+
# Selector specifying which fields to include in a partial response.
|
|
36480
|
+
# @param [String] quota_user
|
|
36481
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
36482
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
36483
|
+
# @param [Google::Apis::RequestOptions] options
|
|
36484
|
+
# Request-specific options
|
|
36485
|
+
#
|
|
36486
|
+
# @yield [result, err] Result & error if block supplied
|
|
36487
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
36488
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
36489
|
+
#
|
|
36490
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
36491
|
+
#
|
|
36492
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
36493
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
36494
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
36495
|
+
def get_skill_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
36496
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
36497
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
36498
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
36499
|
+
command.params['name'] = name unless name.nil?
|
|
36500
|
+
command.query['fields'] = fields unless fields.nil?
|
|
36501
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
36502
|
+
execute_or_queue_command(command, &block)
|
|
36503
|
+
end
|
|
36504
|
+
|
|
36505
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
36506
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
36507
|
+
# @param [String] name
|
|
36508
|
+
# The name of the operation's parent resource.
|
|
36509
|
+
# @param [String] filter
|
|
36510
|
+
# The standard list filter.
|
|
36511
|
+
# @param [Fixnum] page_size
|
|
36512
|
+
# The standard list page size.
|
|
36513
|
+
# @param [String] page_token
|
|
36514
|
+
# The standard list page token.
|
|
36515
|
+
# @param [Boolean] return_partial_success
|
|
36516
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
36517
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
36518
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
36519
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
36520
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
36521
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
36522
|
+
# documentation.
|
|
36523
|
+
# @param [String] fields
|
|
36524
|
+
# Selector specifying which fields to include in a partial response.
|
|
36525
|
+
# @param [String] quota_user
|
|
36526
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
36527
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
36528
|
+
# @param [Google::Apis::RequestOptions] options
|
|
36529
|
+
# Request-specific options
|
|
36530
|
+
#
|
|
36531
|
+
# @yield [result, err] Result & error if block supplied
|
|
36532
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
|
|
36533
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
36534
|
+
#
|
|
36535
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
|
|
36536
|
+
#
|
|
36537
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
36538
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
36539
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
36540
|
+
def list_skill_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
36541
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
36542
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
|
|
36543
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
|
|
36544
|
+
command.params['name'] = name unless name.nil?
|
|
36545
|
+
command.query['filter'] = filter unless filter.nil?
|
|
36546
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
36547
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
36548
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
36549
|
+
command.query['fields'] = fields unless fields.nil?
|
|
36550
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
36551
|
+
execute_or_queue_command(command, &block)
|
|
36552
|
+
end
|
|
36553
|
+
|
|
36554
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
|
36555
|
+
# specified timeout, returning the latest state. If the operation is already
|
|
36556
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
|
36557
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
|
36558
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
|
36559
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
|
36560
|
+
# the latest state before the specified timeout (including immediately), meaning
|
|
36561
|
+
# even an immediate response is no guarantee that the operation is done.
|
|
36562
|
+
# @param [String] name
|
|
36563
|
+
# The name of the operation resource to wait on.
|
|
36564
|
+
# @param [String] timeout
|
|
36565
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
|
36566
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
|
36567
|
+
# context deadline is also specified, the shorter one will be used.
|
|
36568
|
+
# @param [String] fields
|
|
36569
|
+
# Selector specifying which fields to include in a partial response.
|
|
36570
|
+
# @param [String] quota_user
|
|
36571
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
36572
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
36573
|
+
# @param [Google::Apis::RequestOptions] options
|
|
36574
|
+
# Request-specific options
|
|
36575
|
+
#
|
|
36576
|
+
# @yield [result, err] Result & error if block supplied
|
|
36577
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
36578
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
36579
|
+
#
|
|
36580
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
36581
|
+
#
|
|
36582
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
36583
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
36584
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
36585
|
+
def wait_skill_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
36586
|
+
command = make_simple_command(:post, 'v1/{+name}:wait', options)
|
|
36587
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
36588
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
36589
|
+
command.params['name'] = name unless name.nil?
|
|
36590
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
|
36591
|
+
command.query['fields'] = fields unless fields.nil?
|
|
36592
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
36593
|
+
execute_or_queue_command(command, &block)
|
|
36594
|
+
end
|
|
36595
|
+
|
|
36144
36596
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
36145
36597
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
36146
36598
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -19,14 +19,13 @@ require 'google/apis/aiplatform_v1/gem_version.rb'
|
|
|
19
19
|
|
|
20
20
|
module Google
|
|
21
21
|
module Apis
|
|
22
|
-
#
|
|
22
|
+
# Agent Platform API
|
|
23
23
|
#
|
|
24
|
-
#
|
|
25
|
-
# learning expertise and effort.
|
|
24
|
+
# Build, scale, govern, and optimize sophisticated agents and models.
|
|
26
25
|
#
|
|
27
26
|
# @see https://cloud.google.com/vertex-ai/
|
|
28
27
|
module AiplatformV1
|
|
29
|
-
# Version of the
|
|
28
|
+
# Version of the Agent Platform API this client connects to.
|
|
30
29
|
# This is NOT the gem version.
|
|
31
30
|
VERSION = 'V1'
|
|
32
31
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-aiplatform_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.86.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -29,13 +29,13 @@ dependencies:
|
|
|
29
29
|
- - "<"
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
31
|
version: 2.a
|
|
32
|
-
description: This is the simple REST client for
|
|
33
|
-
are Ruby client libraries that provide access to Google services via their
|
|
34
|
-
REST API endpoints. These libraries are generated and updated automatically
|
|
35
|
-
on the discovery documents published by the service, and they handle most
|
|
36
|
-
such as authentication, pagination, retry, timeouts, and logging. You can
|
|
37
|
-
client to access the
|
|
38
|
-
modern client that is easier to use.
|
|
32
|
+
description: This is the simple REST client for Agent Platform API V1. Simple REST
|
|
33
|
+
clients are Ruby client libraries that provide access to Google services via their
|
|
34
|
+
HTTP REST API endpoints. These libraries are generated and updated automatically
|
|
35
|
+
based on the discovery documents published by the service, and they handle most
|
|
36
|
+
concerns such as authentication, pagination, retry, timeouts, and logging. You can
|
|
37
|
+
use this client to access the Agent Platform API, but note that some services may
|
|
38
|
+
provide a separate modern client that is easier to use.
|
|
39
39
|
email: googleapis-packages@google.com
|
|
40
40
|
executables: []
|
|
41
41
|
extensions: []
|
|
@@ -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_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.86.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|
|
@@ -75,5 +75,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
75
75
|
requirements: []
|
|
76
76
|
rubygems_version: 3.6.9
|
|
77
77
|
specification_version: 4
|
|
78
|
-
summary: Simple REST client for
|
|
78
|
+
summary: Simple REST client for Agent Platform API V1
|
|
79
79
|
test_files: []
|