google-apis-aiplatform_v1 0.85.0 → 0.87.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/OVERVIEW.md +3 -3
- data/lib/google/apis/aiplatform_v1/classes.rb +111 -39
- data/lib/google/apis/aiplatform_v1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1/representations.rb +43 -16
- data/lib/google/apis/aiplatform_v1/service.rb +528 -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: 67b9d7cad0960dc7d90b46a0748d232580835b0c1e94990bd624393506185489
|
|
4
|
+
data.tar.gz: c0f6e0834df521514df93d80833445c58ee4917ab01300fdd63b83f9a2a92418
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2434a725584cafb8b13b942985b0eff6d34f4ed6045b15b8205f09aac34f1bb8ff4293e0087f088298e9b440bdcb622f4c4fbac429bddb395b5b02cda25d339d
|
|
7
|
+
data.tar.gz: 5c0c3f3885919b0abd271cd957ca31aae29e75c0b7aa56d901a9712c121f713f3bdbfffe43fbefc63e83fc96f8b421c7215eb5f4ca2eb0fe38caa3cfe97b1391
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-aiplatform_v1
|
|
2
2
|
|
|
3
|
+
### v0.87.0 (2026-05-17)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260509
|
|
6
|
+
|
|
7
|
+
### v0.86.0 (2026-05-03)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260427
|
|
10
|
+
|
|
3
11
|
### v0.85.0 (2026-04-19)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260414
|
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
|
|
|
@@ -26,6 +26,11 @@ module Google
|
|
|
26
26
|
class CloudAiLargeModelsVisionGenerateVideoExperiments
|
|
27
27
|
include Google::Apis::Core::Hashable
|
|
28
28
|
|
|
29
|
+
# Optional. Video codec to use for output.
|
|
30
|
+
# Corresponds to the JSON property `codec`
|
|
31
|
+
# @return [String]
|
|
32
|
+
attr_accessor :codec
|
|
33
|
+
|
|
29
34
|
# Conditioning frames for veo experimental models ONLY, not to be confused with
|
|
30
35
|
# keyframes (ID:31) in GenerateVideoRequest.
|
|
31
36
|
# Corresponds to the JSON property `conditioningFrames`
|
|
@@ -61,6 +66,14 @@ module Google
|
|
|
61
66
|
# @return [String]
|
|
62
67
|
attr_accessor :request_origin_tag
|
|
63
68
|
|
|
69
|
+
# If true (default), truncate input videos that exceed the model's maximum frame
|
|
70
|
+
# count by applying a frame_selection_config to __video_file__ inputs. Set to
|
|
71
|
+
# false to preserve the existing fail-fast behavior.
|
|
72
|
+
# Corresponds to the JSON property `truncateInputVideo`
|
|
73
|
+
# @return [Boolean]
|
|
74
|
+
attr_accessor :truncate_input_video
|
|
75
|
+
alias_method :truncate_input_video?, :truncate_input_video
|
|
76
|
+
|
|
64
77
|
# GCS URI of the grayscale video mask for Differential Diffusion. Maps to
|
|
65
78
|
# sdedit_video_tmax_scale_map
|
|
66
79
|
# Corresponds to the JSON property `videoTransformMaskGcsUri`
|
|
@@ -78,12 +91,14 @@ module Google
|
|
|
78
91
|
|
|
79
92
|
# Update properties of this object
|
|
80
93
|
def update!(**args)
|
|
94
|
+
@codec = args[:codec] if args.key?(:codec)
|
|
81
95
|
@conditioning_frames = args[:conditioning_frames] if args.key?(:conditioning_frames)
|
|
82
96
|
@human_pose = args[:human_pose] if args.key?(:human_pose)
|
|
83
97
|
@model_name = args[:model_name] if args.key?(:model_name)
|
|
84
98
|
@num_diffusion_steps = args[:num_diffusion_steps] if args.key?(:num_diffusion_steps)
|
|
85
99
|
@prompt_inputs = args[:prompt_inputs] if args.key?(:prompt_inputs)
|
|
86
100
|
@request_origin_tag = args[:request_origin_tag] if args.key?(:request_origin_tag)
|
|
101
|
+
@truncate_input_video = args[:truncate_input_video] if args.key?(:truncate_input_video)
|
|
87
102
|
@video_transform_mask_gcs_uri = args[:video_transform_mask_gcs_uri] if args.key?(:video_transform_mask_gcs_uri)
|
|
88
103
|
@video_transform_strength = args[:video_transform_strength] if args.key?(:video_transform_strength)
|
|
89
104
|
end
|
|
@@ -1447,6 +1462,37 @@ module Google
|
|
|
1447
1462
|
end
|
|
1448
1463
|
end
|
|
1449
1464
|
|
|
1465
|
+
# Request message for ReasoningEngineExecutionService.AsyncQueryReasoningEngine.
|
|
1466
|
+
class GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest
|
|
1467
|
+
include Google::Apis::Core::Hashable
|
|
1468
|
+
|
|
1469
|
+
# Optional. Input Cloud Storage URI for the Async query. If you are not bringing
|
|
1470
|
+
# your own container (BYOC), the content of the file should be a JSON object
|
|
1471
|
+
# with an `input` field matching the `input` field of `
|
|
1472
|
+
# QueryReasoningEngineRequest` (e.g. `` "input": ` "user_id": "hello", "message":
|
|
1473
|
+
# "$QUERY"` ``). For BYOC, the content of the file depends on the the agent
|
|
1474
|
+
# application.
|
|
1475
|
+
# Corresponds to the JSON property `inputGcsUri`
|
|
1476
|
+
# @return [String]
|
|
1477
|
+
attr_accessor :input_gcs_uri
|
|
1478
|
+
|
|
1479
|
+
# Optional. Output Cloud Storage URI for the Async query. This contains the
|
|
1480
|
+
# final response of the query.
|
|
1481
|
+
# Corresponds to the JSON property `outputGcsUri`
|
|
1482
|
+
# @return [String]
|
|
1483
|
+
attr_accessor :output_gcs_uri
|
|
1484
|
+
|
|
1485
|
+
def initialize(**args)
|
|
1486
|
+
update!(**args)
|
|
1487
|
+
end
|
|
1488
|
+
|
|
1489
|
+
# Update properties of this object
|
|
1490
|
+
def update!(**args)
|
|
1491
|
+
@input_gcs_uri = args[:input_gcs_uri] if args.key?(:input_gcs_uri)
|
|
1492
|
+
@output_gcs_uri = args[:output_gcs_uri] if args.key?(:output_gcs_uri)
|
|
1493
|
+
end
|
|
1494
|
+
end
|
|
1495
|
+
|
|
1450
1496
|
# Request message for VertexRagService.AsyncRetrieveContexts.
|
|
1451
1497
|
class GoogleCloudAiplatformV1AsyncRetrieveContextsRequest
|
|
1452
1498
|
include Google::Apis::Core::Hashable
|
|
@@ -3481,6 +3527,42 @@ module Google
|
|
|
3481
3527
|
end
|
|
3482
3528
|
end
|
|
3483
3529
|
|
|
3530
|
+
# Request message for ReasoningEngineExecutionService.
|
|
3531
|
+
# CancelAsyncQueryReasoningEngine.
|
|
3532
|
+
class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest
|
|
3533
|
+
include Google::Apis::Core::Hashable
|
|
3534
|
+
|
|
3535
|
+
# Required. The name of the longrunning operation returned from
|
|
3536
|
+
# AsyncQueryReasoningEngine. Format: `projects/`project`/locations/`location`/
|
|
3537
|
+
# operations/`operation``
|
|
3538
|
+
# Corresponds to the JSON property `operationName`
|
|
3539
|
+
# @return [String]
|
|
3540
|
+
attr_accessor :operation_name
|
|
3541
|
+
|
|
3542
|
+
def initialize(**args)
|
|
3543
|
+
update!(**args)
|
|
3544
|
+
end
|
|
3545
|
+
|
|
3546
|
+
# Update properties of this object
|
|
3547
|
+
def update!(**args)
|
|
3548
|
+
@operation_name = args[:operation_name] if args.key?(:operation_name)
|
|
3549
|
+
end
|
|
3550
|
+
end
|
|
3551
|
+
|
|
3552
|
+
# Response message for ReasoningEngineExecutionService.
|
|
3553
|
+
# CancelAsyncQueryReasoningEngine.
|
|
3554
|
+
class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse
|
|
3555
|
+
include Google::Apis::Core::Hashable
|
|
3556
|
+
|
|
3557
|
+
def initialize(**args)
|
|
3558
|
+
update!(**args)
|
|
3559
|
+
end
|
|
3560
|
+
|
|
3561
|
+
# Update properties of this object
|
|
3562
|
+
def update!(**args)
|
|
3563
|
+
end
|
|
3564
|
+
end
|
|
3565
|
+
|
|
3484
3566
|
# Request message for JobService.CancelBatchPredictionJob.
|
|
3485
3567
|
class GoogleCloudAiplatformV1CancelBatchPredictionJobRequest
|
|
3486
3568
|
include Google::Apis::Core::Hashable
|
|
@@ -4706,6 +4788,18 @@ module Google
|
|
|
4706
4788
|
class GoogleCloudAiplatformV1CopyModelRequest
|
|
4707
4789
|
include Google::Apis::Core::Hashable
|
|
4708
4790
|
|
|
4791
|
+
# Optional. The user-provided custom service account to use to do the copy model.
|
|
4792
|
+
# If empty, [Vertex AI Service Agent](https://cloud.google.com/vertex-ai/docs/
|
|
4793
|
+
# general/access-control#service-agents) will be used to access resources needed
|
|
4794
|
+
# to upload the model. This account must belong to the destination project where
|
|
4795
|
+
# the model is copied to, i.e., the project specified in the `parent` field of
|
|
4796
|
+
# this request and have the Vertex AI Service Agent role in the source project.
|
|
4797
|
+
# Requires the user copying the Model to have the `iam.serviceAccounts.actAs`
|
|
4798
|
+
# permission on this service account.
|
|
4799
|
+
# Corresponds to the JSON property `customServiceAccount`
|
|
4800
|
+
# @return [String]
|
|
4801
|
+
attr_accessor :custom_service_account
|
|
4802
|
+
|
|
4709
4803
|
# Represents a customer-managed encryption key specification that can be applied
|
|
4710
4804
|
# to a Vertex AI resource.
|
|
4711
4805
|
# Corresponds to the JSON property `encryptionSpec`
|
|
@@ -4738,6 +4832,7 @@ module Google
|
|
|
4738
4832
|
|
|
4739
4833
|
# Update properties of this object
|
|
4740
4834
|
def update!(**args)
|
|
4835
|
+
@custom_service_account = args[:custom_service_account] if args.key?(:custom_service_account)
|
|
4741
4836
|
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
|
4742
4837
|
@model_id = args[:model_id] if args.key?(:model_id)
|
|
4743
4838
|
@parent_model = args[:parent_model] if args.key?(:parent_model)
|
|
@@ -10360,7 +10455,8 @@ module Google
|
|
|
10360
10455
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetCustomMetric>]
|
|
10361
10456
|
attr_accessor :dataset_custom_metrics
|
|
10362
10457
|
|
|
10363
|
-
#
|
|
10458
|
+
# Optional. The metrics to be calculated in the evaluation run. Required when
|
|
10459
|
+
# analysis_configs is not set.
|
|
10364
10460
|
# Corresponds to the JSON property `metrics`
|
|
10365
10461
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetric>]
|
|
10366
10462
|
attr_accessor :metrics
|
|
@@ -15554,6 +15650,13 @@ module Google
|
|
|
15554
15650
|
class GoogleCloudAiplatformV1FunctionDeclaration
|
|
15555
15651
|
include Google::Apis::Core::Hashable
|
|
15556
15652
|
|
|
15653
|
+
# Optional. Specifies the function Behavior. If not specified, the system keeps
|
|
15654
|
+
# the current function call behavior. This field is currently only supported by
|
|
15655
|
+
# the BidiGenerateContent method.
|
|
15656
|
+
# Corresponds to the JSON property `behavior`
|
|
15657
|
+
# @return [String]
|
|
15658
|
+
attr_accessor :behavior
|
|
15659
|
+
|
|
15557
15660
|
# Optional. Description and purpose of the function. Model uses it to decide how
|
|
15558
15661
|
# and whether to call the function.
|
|
15559
15662
|
# Corresponds to the JSON property `description`
|
|
@@ -15602,6 +15705,7 @@ module Google
|
|
|
15602
15705
|
|
|
15603
15706
|
# Update properties of this object
|
|
15604
15707
|
def update!(**args)
|
|
15708
|
+
@behavior = args[:behavior] if args.key?(:behavior)
|
|
15605
15709
|
@description = args[:description] if args.key?(:description)
|
|
15606
15710
|
@name = args[:name] if args.key?(:name)
|
|
15607
15711
|
@parameters = args[:parameters] if args.key?(:parameters)
|
|
@@ -22374,7 +22478,7 @@ module Google
|
|
|
22374
22478
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Metric]
|
|
22375
22479
|
attr_accessor :metric
|
|
22376
22480
|
|
|
22377
|
-
# Resource name for registered metric.
|
|
22481
|
+
# Optional. Resource name for registered metric.
|
|
22378
22482
|
# Corresponds to the JSON property `metricResourceName`
|
|
22379
22483
|
# @return [String]
|
|
22380
22484
|
attr_accessor :metric_resource_name
|
|
@@ -32443,8 +32547,8 @@ module Google
|
|
|
32443
32547
|
# @return [String]
|
|
32444
32548
|
attr_accessor :pickle_object_gcs_uri
|
|
32445
32549
|
|
|
32446
|
-
# Optional. The Python version. Supported values are 3.
|
|
32447
|
-
#
|
|
32550
|
+
# Optional. The Python version. Supported values are 3.10, 3.11, 3.12, 3.13, 3.
|
|
32551
|
+
# 14. If not specified, the default value is 3.10.
|
|
32448
32552
|
# Corresponds to the JSON property `pythonVersion`
|
|
32449
32553
|
# @return [String]
|
|
32450
32554
|
attr_accessor :python_version
|
|
@@ -32681,8 +32785,8 @@ module Google
|
|
|
32681
32785
|
# @return [String]
|
|
32682
32786
|
attr_accessor :requirements_file
|
|
32683
32787
|
|
|
32684
|
-
# Optional. The version of Python to use.
|
|
32685
|
-
#
|
|
32788
|
+
# Optional. The version of Python to use. Supported versions include 3.10, 3.11,
|
|
32789
|
+
# 3.12, 3.13, 3.14. If not specified, default value is 3.10.
|
|
32686
32790
|
# Corresponds to the JSON property `version`
|
|
32687
32791
|
# @return [String]
|
|
32688
32792
|
attr_accessor :version
|
|
@@ -34269,8 +34373,7 @@ module Google
|
|
|
34269
34373
|
attr_accessor :sandbox_environment_snapshot
|
|
34270
34374
|
|
|
34271
34375
|
# Optional. The name of the SandboxEnvironmentTemplate specified in the parent
|
|
34272
|
-
# Agent Engine resource that this SandboxEnvironment is created from.
|
|
34273
|
-
# of `sandbox_environment_template` and `spec` should be set.
|
|
34376
|
+
# Agent Engine resource that this SandboxEnvironment is created from.
|
|
34274
34377
|
# Corresponds to the JSON property `sandboxEnvironmentTemplate`
|
|
34275
34378
|
# @return [String]
|
|
34276
34379
|
attr_accessor :sandbox_environment_template
|
|
@@ -34338,11 +34441,6 @@ module Google
|
|
|
34338
34441
|
# @return [String]
|
|
34339
34442
|
attr_accessor :routing_token
|
|
34340
34443
|
|
|
34341
|
-
# Output only. The hostname of the SandboxEnvironment.
|
|
34342
|
-
# Corresponds to the JSON property `sandboxHostname`
|
|
34343
|
-
# @return [String]
|
|
34344
|
-
attr_accessor :sandbox_hostname
|
|
34345
|
-
|
|
34346
34444
|
# Output only. The internal IP address of the SandboxEnvironment.
|
|
34347
34445
|
# Corresponds to the JSON property `sandboxInternalIp`
|
|
34348
34446
|
# @return [String]
|
|
@@ -34357,7 +34455,6 @@ module Google
|
|
|
34357
34455
|
@load_balancer_hostname = args[:load_balancer_hostname] if args.key?(:load_balancer_hostname)
|
|
34358
34456
|
@load_balancer_ip = args[:load_balancer_ip] if args.key?(:load_balancer_ip)
|
|
34359
34457
|
@routing_token = args[:routing_token] if args.key?(:routing_token)
|
|
34360
|
-
@sandbox_hostname = args[:sandbox_hostname] if args.key?(:sandbox_hostname)
|
|
34361
34458
|
@sandbox_internal_ip = args[:sandbox_internal_ip] if args.key?(:sandbox_internal_ip)
|
|
34362
34459
|
end
|
|
34363
34460
|
end
|
|
@@ -34546,11 +34643,6 @@ module Google
|
|
|
34546
34643
|
# @return [String]
|
|
34547
34644
|
attr_accessor :update_time
|
|
34548
34645
|
|
|
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
34646
|
def initialize(**args)
|
|
34555
34647
|
update!(**args)
|
|
34556
34648
|
end
|
|
@@ -34565,7 +34657,6 @@ module Google
|
|
|
34565
34657
|
@name = args[:name] if args.key?(:name)
|
|
34566
34658
|
@state = args[:state] if args.key?(:state)
|
|
34567
34659
|
@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
34660
|
end
|
|
34570
34661
|
end
|
|
34571
34662
|
|
|
@@ -34715,25 +34806,6 @@ module Google
|
|
|
34715
34806
|
end
|
|
34716
34807
|
end
|
|
34717
34808
|
|
|
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
34809
|
# A SavedQuery is a view of the dataset. It references a subset of annotations
|
|
34738
34810
|
# by problem type and filters.
|
|
34739
34811
|
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.87.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 = "20260509"
|
|
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
|
|
|
@@ -616,6 +622,18 @@ module Google
|
|
|
616
622
|
include Google::Apis::Core::JsonObjectSupport
|
|
617
623
|
end
|
|
618
624
|
|
|
625
|
+
class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest
|
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
627
|
+
|
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
629
|
+
end
|
|
630
|
+
|
|
631
|
+
class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse
|
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
633
|
+
|
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
635
|
+
end
|
|
636
|
+
|
|
619
637
|
class GoogleCloudAiplatformV1CancelBatchPredictionJobRequest
|
|
620
638
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
621
639
|
|
|
@@ -5698,12 +5716,6 @@ module Google
|
|
|
5698
5716
|
include Google::Apis::Core::JsonObjectSupport
|
|
5699
5717
|
end
|
|
5700
5718
|
|
|
5701
|
-
class GoogleCloudAiplatformV1SandboxEnvironmentTemplateWarmPoolConfig
|
|
5702
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5703
|
-
|
|
5704
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
5705
|
-
end
|
|
5706
|
-
|
|
5707
5719
|
class GoogleCloudAiplatformV1SavedQuery
|
|
5708
5720
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5709
5721
|
|
|
@@ -8299,6 +8311,7 @@ module Google
|
|
|
8299
8311
|
class CloudAiLargeModelsVisionGenerateVideoExperiments
|
|
8300
8312
|
# @private
|
|
8301
8313
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8314
|
+
property :codec, as: 'codec'
|
|
8302
8315
|
collection :conditioning_frames, as: 'conditioningFrames', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame::Representation
|
|
8303
8316
|
|
|
8304
8317
|
property :human_pose, as: 'humanPose', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionHumanPose, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionHumanPose::Representation
|
|
@@ -8308,6 +8321,7 @@ module Google
|
|
|
8308
8321
|
property :prompt_inputs, as: 'promptInputs', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionPromptInputs, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionPromptInputs::Representation
|
|
8309
8322
|
|
|
8310
8323
|
property :request_origin_tag, as: 'requestOriginTag'
|
|
8324
|
+
property :truncate_input_video, as: 'truncateInputVideo'
|
|
8311
8325
|
property :video_transform_mask_gcs_uri, as: 'videoTransformMaskGcsUri'
|
|
8312
8326
|
property :video_transform_strength, as: 'videoTransformStrength'
|
|
8313
8327
|
end
|
|
@@ -8707,6 +8721,14 @@ module Google
|
|
|
8707
8721
|
end
|
|
8708
8722
|
end
|
|
8709
8723
|
|
|
8724
|
+
class GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest
|
|
8725
|
+
# @private
|
|
8726
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8727
|
+
property :input_gcs_uri, as: 'inputGcsUri'
|
|
8728
|
+
property :output_gcs_uri, as: 'outputGcsUri'
|
|
8729
|
+
end
|
|
8730
|
+
end
|
|
8731
|
+
|
|
8710
8732
|
class GoogleCloudAiplatformV1AsyncRetrieveContextsRequest
|
|
8711
8733
|
# @private
|
|
8712
8734
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9293,6 +9315,19 @@ module Google
|
|
|
9293
9315
|
end
|
|
9294
9316
|
end
|
|
9295
9317
|
|
|
9318
|
+
class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest
|
|
9319
|
+
# @private
|
|
9320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9321
|
+
property :operation_name, as: 'operationName'
|
|
9322
|
+
end
|
|
9323
|
+
end
|
|
9324
|
+
|
|
9325
|
+
class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse
|
|
9326
|
+
# @private
|
|
9327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9328
|
+
end
|
|
9329
|
+
end
|
|
9330
|
+
|
|
9296
9331
|
class GoogleCloudAiplatformV1CancelBatchPredictionJobRequest
|
|
9297
9332
|
# @private
|
|
9298
9333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9674,6 +9709,7 @@ module Google
|
|
|
9674
9709
|
class GoogleCloudAiplatformV1CopyModelRequest
|
|
9675
9710
|
# @private
|
|
9676
9711
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9712
|
+
property :custom_service_account, as: 'customServiceAccount'
|
|
9677
9713
|
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
|
|
9678
9714
|
|
|
9679
9715
|
property :model_id, as: 'modelId'
|
|
@@ -12694,6 +12730,7 @@ module Google
|
|
|
12694
12730
|
class GoogleCloudAiplatformV1FunctionDeclaration
|
|
12695
12731
|
# @private
|
|
12696
12732
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12733
|
+
property :behavior, as: 'behavior'
|
|
12697
12734
|
property :description, as: 'description'
|
|
12698
12735
|
property :name, as: 'name'
|
|
12699
12736
|
property :parameters, as: 'parameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
|
|
@@ -18066,7 +18103,6 @@ module Google
|
|
|
18066
18103
|
property :load_balancer_hostname, as: 'loadBalancerHostname'
|
|
18067
18104
|
property :load_balancer_ip, as: 'loadBalancerIp'
|
|
18068
18105
|
property :routing_token, as: 'routingToken'
|
|
18069
|
-
property :sandbox_hostname, as: 'sandboxHostname'
|
|
18070
18106
|
property :sandbox_internal_ip, as: 'sandboxInternalIp'
|
|
18071
18107
|
end
|
|
18072
18108
|
end
|
|
@@ -18118,8 +18154,6 @@ module Google
|
|
|
18118
18154
|
property :name, as: 'name'
|
|
18119
18155
|
property :state, as: 'state'
|
|
18120
18156
|
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
18157
|
end
|
|
18124
18158
|
end
|
|
18125
18159
|
|
|
@@ -18172,13 +18206,6 @@ module Google
|
|
|
18172
18206
|
end
|
|
18173
18207
|
end
|
|
18174
18208
|
|
|
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
18209
|
class GoogleCloudAiplatformV1SavedQuery
|
|
18183
18210
|
# @private
|
|
18184
18211
|
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,74 @@ 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
|
+
|
|
26295
|
+
# Cancels an AsyncQueryReasoningEngine operation.
|
|
26296
|
+
# @param [String] name
|
|
26297
|
+
# Required. The name of the ReasoningEngine resource to use. Format: `projects/`
|
|
26298
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
|
26299
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest] google_cloud_aiplatform_v1_cancel_async_query_reasoning_engine_request_object
|
|
26300
|
+
# @param [String] fields
|
|
26301
|
+
# Selector specifying which fields to include in a partial response.
|
|
26302
|
+
# @param [String] quota_user
|
|
26303
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
26304
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
26305
|
+
# @param [Google::Apis::RequestOptions] options
|
|
26306
|
+
# Request-specific options
|
|
26307
|
+
#
|
|
26308
|
+
# @yield [result, err] Result & error if block supplied
|
|
26309
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse] parsed result object
|
|
26310
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
26311
|
+
#
|
|
26312
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse]
|
|
26313
|
+
#
|
|
26314
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
26315
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
26316
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
26317
|
+
def cancel_project_location_reasoning_engine_async_query(name, google_cloud_aiplatform_v1_cancel_async_query_reasoning_engine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
26318
|
+
command = make_simple_command(:post, 'v1/{+name}:cancelAsyncQuery', options)
|
|
26319
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest::Representation
|
|
26320
|
+
command.request_object = google_cloud_aiplatform_v1_cancel_async_query_reasoning_engine_request_object
|
|
26321
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse::Representation
|
|
26322
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse
|
|
26323
|
+
command.params['name'] = name unless name.nil?
|
|
26324
|
+
command.query['fields'] = fields unless fields.nil?
|
|
26325
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
26326
|
+
execute_or_queue_command(command, &block)
|
|
26327
|
+
end
|
|
26328
|
+
|
|
26262
26329
|
# Creates a reasoning engine.
|
|
26263
26330
|
# @param [String] parent
|
|
26264
26331
|
# Required. The resource name of the Location to create the ReasoningEngine in.
|
|
@@ -28575,7 +28642,8 @@ module Google
|
|
|
28575
28642
|
# create_time` * `update_time` Example: `create_time desc`.
|
|
28576
28643
|
# @param [Fixnum] page_size
|
|
28577
28644
|
# Optional. The maximum number of sessions to return. The service may return
|
|
28578
|
-
# fewer than this value. If unspecified,
|
|
28645
|
+
# fewer than this value. If unspecified, the default page size is 100. Values
|
|
28646
|
+
# greater than 100 will be capped at 100.
|
|
28579
28647
|
# @param [String] page_token
|
|
28580
28648
|
# Optional. The next_page_token value returned from a previous list
|
|
28581
28649
|
# SessionService.ListSessions call.
|
|
@@ -29361,6 +29429,198 @@ module Google
|
|
|
29361
29429
|
execute_or_queue_command(command, &block)
|
|
29362
29430
|
end
|
|
29363
29431
|
|
|
29432
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
29433
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
29434
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
29435
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
29436
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
29437
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
29438
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
29439
|
+
# , corresponding to `Code.CANCELLED`.
|
|
29440
|
+
# @param [String] name
|
|
29441
|
+
# The name of the operation resource to be cancelled.
|
|
29442
|
+
# @param [String] fields
|
|
29443
|
+
# Selector specifying which fields to include in a partial response.
|
|
29444
|
+
# @param [String] quota_user
|
|
29445
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
29446
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
29447
|
+
# @param [Google::Apis::RequestOptions] options
|
|
29448
|
+
# Request-specific options
|
|
29449
|
+
#
|
|
29450
|
+
# @yield [result, err] Result & error if block supplied
|
|
29451
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
29452
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
29453
|
+
#
|
|
29454
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
29455
|
+
#
|
|
29456
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
29457
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
29458
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
29459
|
+
def cancel_project_location_skill_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
29460
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
29461
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
29462
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
29463
|
+
command.params['name'] = name unless name.nil?
|
|
29464
|
+
command.query['fields'] = fields unless fields.nil?
|
|
29465
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
29466
|
+
execute_or_queue_command(command, &block)
|
|
29467
|
+
end
|
|
29468
|
+
|
|
29469
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
29470
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
29471
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
29472
|
+
# UNIMPLEMENTED`.
|
|
29473
|
+
# @param [String] name
|
|
29474
|
+
# The name of the operation resource to be deleted.
|
|
29475
|
+
# @param [String] fields
|
|
29476
|
+
# Selector specifying which fields to include in a partial response.
|
|
29477
|
+
# @param [String] quota_user
|
|
29478
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
29479
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
29480
|
+
# @param [Google::Apis::RequestOptions] options
|
|
29481
|
+
# Request-specific options
|
|
29482
|
+
#
|
|
29483
|
+
# @yield [result, err] Result & error if block supplied
|
|
29484
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
29485
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
29486
|
+
#
|
|
29487
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
29488
|
+
#
|
|
29489
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
29490
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
29491
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
29492
|
+
def delete_project_location_skill_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
29493
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
29494
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
29495
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
29496
|
+
command.params['name'] = name unless name.nil?
|
|
29497
|
+
command.query['fields'] = fields unless fields.nil?
|
|
29498
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
29499
|
+
execute_or_queue_command(command, &block)
|
|
29500
|
+
end
|
|
29501
|
+
|
|
29502
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
29503
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
29504
|
+
# @param [String] name
|
|
29505
|
+
# The name of the operation resource.
|
|
29506
|
+
# @param [String] fields
|
|
29507
|
+
# Selector specifying which fields to include in a partial response.
|
|
29508
|
+
# @param [String] quota_user
|
|
29509
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
29510
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
29511
|
+
# @param [Google::Apis::RequestOptions] options
|
|
29512
|
+
# Request-specific options
|
|
29513
|
+
#
|
|
29514
|
+
# @yield [result, err] Result & error if block supplied
|
|
29515
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
29516
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
29517
|
+
#
|
|
29518
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
29519
|
+
#
|
|
29520
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
29521
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
29522
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
29523
|
+
def get_project_location_skill_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
29524
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
29525
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
29526
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
29527
|
+
command.params['name'] = name unless name.nil?
|
|
29528
|
+
command.query['fields'] = fields unless fields.nil?
|
|
29529
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
29530
|
+
execute_or_queue_command(command, &block)
|
|
29531
|
+
end
|
|
29532
|
+
|
|
29533
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
29534
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
29535
|
+
# @param [String] name
|
|
29536
|
+
# The name of the operation's parent resource.
|
|
29537
|
+
# @param [String] filter
|
|
29538
|
+
# The standard list filter.
|
|
29539
|
+
# @param [Fixnum] page_size
|
|
29540
|
+
# The standard list page size.
|
|
29541
|
+
# @param [String] page_token
|
|
29542
|
+
# The standard list page token.
|
|
29543
|
+
# @param [Boolean] return_partial_success
|
|
29544
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
29545
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
29546
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
29547
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
29548
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
29549
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
29550
|
+
# documentation.
|
|
29551
|
+
# @param [String] fields
|
|
29552
|
+
# Selector specifying which fields to include in a partial response.
|
|
29553
|
+
# @param [String] quota_user
|
|
29554
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
29555
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
29556
|
+
# @param [Google::Apis::RequestOptions] options
|
|
29557
|
+
# Request-specific options
|
|
29558
|
+
#
|
|
29559
|
+
# @yield [result, err] Result & error if block supplied
|
|
29560
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
|
|
29561
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
29562
|
+
#
|
|
29563
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
|
|
29564
|
+
#
|
|
29565
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
29566
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
29567
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
29568
|
+
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)
|
|
29569
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
29570
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
|
|
29571
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
|
|
29572
|
+
command.params['name'] = name unless name.nil?
|
|
29573
|
+
command.query['filter'] = filter unless filter.nil?
|
|
29574
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
29575
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
29576
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
29577
|
+
command.query['fields'] = fields unless fields.nil?
|
|
29578
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
29579
|
+
execute_or_queue_command(command, &block)
|
|
29580
|
+
end
|
|
29581
|
+
|
|
29582
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
|
29583
|
+
# specified timeout, returning the latest state. If the operation is already
|
|
29584
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
|
29585
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
|
29586
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
|
29587
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
|
29588
|
+
# the latest state before the specified timeout (including immediately), meaning
|
|
29589
|
+
# even an immediate response is no guarantee that the operation is done.
|
|
29590
|
+
# @param [String] name
|
|
29591
|
+
# The name of the operation resource to wait on.
|
|
29592
|
+
# @param [String] timeout
|
|
29593
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
|
29594
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
|
29595
|
+
# context deadline is also specified, the shorter one will be used.
|
|
29596
|
+
# @param [String] fields
|
|
29597
|
+
# Selector specifying which fields to include in a partial response.
|
|
29598
|
+
# @param [String] quota_user
|
|
29599
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
29600
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
29601
|
+
# @param [Google::Apis::RequestOptions] options
|
|
29602
|
+
# Request-specific options
|
|
29603
|
+
#
|
|
29604
|
+
# @yield [result, err] Result & error if block supplied
|
|
29605
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
29606
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
29607
|
+
#
|
|
29608
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
29609
|
+
#
|
|
29610
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
29611
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
29612
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
29613
|
+
def wait_project_location_skill_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
29614
|
+
command = make_simple_command(:post, 'v1/{+name}:wait', options)
|
|
29615
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
29616
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
29617
|
+
command.params['name'] = name unless name.nil?
|
|
29618
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
|
29619
|
+
command.query['fields'] = fields unless fields.nil?
|
|
29620
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
29621
|
+
execute_or_queue_command(command, &block)
|
|
29622
|
+
end
|
|
29623
|
+
|
|
29364
29624
|
# Creates a SpecialistPool.
|
|
29365
29625
|
# @param [String] parent
|
|
29366
29626
|
# Required. The parent Project name for the new SpecialistPool. The form is `
|
|
@@ -34124,6 +34384,74 @@ module Google
|
|
|
34124
34384
|
execute_or_queue_command(command, &block)
|
|
34125
34385
|
end
|
|
34126
34386
|
|
|
34387
|
+
# Async query using a reasoning engine.
|
|
34388
|
+
# @param [String] name
|
|
34389
|
+
# Required. The name of the ReasoningEngine resource to use. Format: `projects/`
|
|
34390
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
|
34391
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest] google_cloud_aiplatform_v1_async_query_reasoning_engine_request_object
|
|
34392
|
+
# @param [String] fields
|
|
34393
|
+
# Selector specifying which fields to include in a partial response.
|
|
34394
|
+
# @param [String] quota_user
|
|
34395
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
34396
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
34397
|
+
# @param [Google::Apis::RequestOptions] options
|
|
34398
|
+
# Request-specific options
|
|
34399
|
+
#
|
|
34400
|
+
# @yield [result, err] Result & error if block supplied
|
|
34401
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
34402
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
34403
|
+
#
|
|
34404
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
34405
|
+
#
|
|
34406
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
34407
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
34408
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
34409
|
+
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)
|
|
34410
|
+
command = make_simple_command(:post, 'v1/{+name}:asyncQuery', options)
|
|
34411
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest::Representation
|
|
34412
|
+
command.request_object = google_cloud_aiplatform_v1_async_query_reasoning_engine_request_object
|
|
34413
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
34414
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
34415
|
+
command.params['name'] = name unless name.nil?
|
|
34416
|
+
command.query['fields'] = fields unless fields.nil?
|
|
34417
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
34418
|
+
execute_or_queue_command(command, &block)
|
|
34419
|
+
end
|
|
34420
|
+
|
|
34421
|
+
# Cancels an AsyncQueryReasoningEngine operation.
|
|
34422
|
+
# @param [String] name
|
|
34423
|
+
# Required. The name of the ReasoningEngine resource to use. Format: `projects/`
|
|
34424
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
|
34425
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest] google_cloud_aiplatform_v1_cancel_async_query_reasoning_engine_request_object
|
|
34426
|
+
# @param [String] fields
|
|
34427
|
+
# Selector specifying which fields to include in a partial response.
|
|
34428
|
+
# @param [String] quota_user
|
|
34429
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
34430
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
34431
|
+
# @param [Google::Apis::RequestOptions] options
|
|
34432
|
+
# Request-specific options
|
|
34433
|
+
#
|
|
34434
|
+
# @yield [result, err] Result & error if block supplied
|
|
34435
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse] parsed result object
|
|
34436
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
34437
|
+
#
|
|
34438
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse]
|
|
34439
|
+
#
|
|
34440
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
34441
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
34442
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
34443
|
+
def cancel_reasoning_engine_async_query(name, google_cloud_aiplatform_v1_cancel_async_query_reasoning_engine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
34444
|
+
command = make_simple_command(:post, 'v1/{+name}:cancelAsyncQuery', options)
|
|
34445
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest::Representation
|
|
34446
|
+
command.request_object = google_cloud_aiplatform_v1_cancel_async_query_reasoning_engine_request_object
|
|
34447
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse::Representation
|
|
34448
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse
|
|
34449
|
+
command.params['name'] = name unless name.nil?
|
|
34450
|
+
command.query['fields'] = fields unless fields.nil?
|
|
34451
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
34452
|
+
execute_or_queue_command(command, &block)
|
|
34453
|
+
end
|
|
34454
|
+
|
|
34127
34455
|
# Creates a reasoning engine.
|
|
34128
34456
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine] google_cloud_aiplatform_v1_reasoning_engine_object
|
|
34129
34457
|
# @param [String] parent
|
|
@@ -36141,6 +36469,198 @@ module Google
|
|
|
36141
36469
|
execute_or_queue_command(command, &block)
|
|
36142
36470
|
end
|
|
36143
36471
|
|
|
36472
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
36473
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
36474
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
36475
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
36476
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
36477
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
36478
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
36479
|
+
# , corresponding to `Code.CANCELLED`.
|
|
36480
|
+
# @param [String] name
|
|
36481
|
+
# The name of the operation resource to be cancelled.
|
|
36482
|
+
# @param [String] fields
|
|
36483
|
+
# Selector specifying which fields to include in a partial response.
|
|
36484
|
+
# @param [String] quota_user
|
|
36485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
36486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
36487
|
+
# @param [Google::Apis::RequestOptions] options
|
|
36488
|
+
# Request-specific options
|
|
36489
|
+
#
|
|
36490
|
+
# @yield [result, err] Result & error if block supplied
|
|
36491
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
36492
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
36493
|
+
#
|
|
36494
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
36495
|
+
#
|
|
36496
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
36497
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
36498
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
36499
|
+
def cancel_skill_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
36500
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
36501
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
36502
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
36503
|
+
command.params['name'] = name unless name.nil?
|
|
36504
|
+
command.query['fields'] = fields unless fields.nil?
|
|
36505
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
36506
|
+
execute_or_queue_command(command, &block)
|
|
36507
|
+
end
|
|
36508
|
+
|
|
36509
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
36510
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
36511
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
36512
|
+
# UNIMPLEMENTED`.
|
|
36513
|
+
# @param [String] name
|
|
36514
|
+
# The name of the operation resource to be deleted.
|
|
36515
|
+
# @param [String] fields
|
|
36516
|
+
# Selector specifying which fields to include in a partial response.
|
|
36517
|
+
# @param [String] quota_user
|
|
36518
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
36519
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
36520
|
+
# @param [Google::Apis::RequestOptions] options
|
|
36521
|
+
# Request-specific options
|
|
36522
|
+
#
|
|
36523
|
+
# @yield [result, err] Result & error if block supplied
|
|
36524
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
36525
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
36526
|
+
#
|
|
36527
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
36528
|
+
#
|
|
36529
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
36530
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
36531
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
36532
|
+
def delete_skill_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
36533
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
36534
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
36535
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
36536
|
+
command.params['name'] = name unless name.nil?
|
|
36537
|
+
command.query['fields'] = fields unless fields.nil?
|
|
36538
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
36539
|
+
execute_or_queue_command(command, &block)
|
|
36540
|
+
end
|
|
36541
|
+
|
|
36542
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
36543
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
36544
|
+
# @param [String] name
|
|
36545
|
+
# The name of the operation resource.
|
|
36546
|
+
# @param [String] fields
|
|
36547
|
+
# Selector specifying which fields to include in a partial response.
|
|
36548
|
+
# @param [String] quota_user
|
|
36549
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
36550
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
36551
|
+
# @param [Google::Apis::RequestOptions] options
|
|
36552
|
+
# Request-specific options
|
|
36553
|
+
#
|
|
36554
|
+
# @yield [result, err] Result & error if block supplied
|
|
36555
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
36556
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
36557
|
+
#
|
|
36558
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
36559
|
+
#
|
|
36560
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
36561
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
36562
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
36563
|
+
def get_skill_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
36564
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
36565
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
36566
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
36567
|
+
command.params['name'] = name unless name.nil?
|
|
36568
|
+
command.query['fields'] = fields unless fields.nil?
|
|
36569
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
36570
|
+
execute_or_queue_command(command, &block)
|
|
36571
|
+
end
|
|
36572
|
+
|
|
36573
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
36574
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
36575
|
+
# @param [String] name
|
|
36576
|
+
# The name of the operation's parent resource.
|
|
36577
|
+
# @param [String] filter
|
|
36578
|
+
# The standard list filter.
|
|
36579
|
+
# @param [Fixnum] page_size
|
|
36580
|
+
# The standard list page size.
|
|
36581
|
+
# @param [String] page_token
|
|
36582
|
+
# The standard list page token.
|
|
36583
|
+
# @param [Boolean] return_partial_success
|
|
36584
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
36585
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
36586
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
36587
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
36588
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
36589
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
36590
|
+
# documentation.
|
|
36591
|
+
# @param [String] fields
|
|
36592
|
+
# Selector specifying which fields to include in a partial response.
|
|
36593
|
+
# @param [String] quota_user
|
|
36594
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
36595
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
36596
|
+
# @param [Google::Apis::RequestOptions] options
|
|
36597
|
+
# Request-specific options
|
|
36598
|
+
#
|
|
36599
|
+
# @yield [result, err] Result & error if block supplied
|
|
36600
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
|
|
36601
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
36602
|
+
#
|
|
36603
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
|
|
36604
|
+
#
|
|
36605
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
36606
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
36607
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
36608
|
+
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)
|
|
36609
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
36610
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
|
|
36611
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
|
|
36612
|
+
command.params['name'] = name unless name.nil?
|
|
36613
|
+
command.query['filter'] = filter unless filter.nil?
|
|
36614
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
36615
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
36616
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
36617
|
+
command.query['fields'] = fields unless fields.nil?
|
|
36618
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
36619
|
+
execute_or_queue_command(command, &block)
|
|
36620
|
+
end
|
|
36621
|
+
|
|
36622
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
|
36623
|
+
# specified timeout, returning the latest state. If the operation is already
|
|
36624
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
|
36625
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
|
36626
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
|
36627
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
|
36628
|
+
# the latest state before the specified timeout (including immediately), meaning
|
|
36629
|
+
# even an immediate response is no guarantee that the operation is done.
|
|
36630
|
+
# @param [String] name
|
|
36631
|
+
# The name of the operation resource to wait on.
|
|
36632
|
+
# @param [String] timeout
|
|
36633
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
|
36634
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
|
36635
|
+
# context deadline is also specified, the shorter one will be used.
|
|
36636
|
+
# @param [String] fields
|
|
36637
|
+
# Selector specifying which fields to include in a partial response.
|
|
36638
|
+
# @param [String] quota_user
|
|
36639
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
36640
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
36641
|
+
# @param [Google::Apis::RequestOptions] options
|
|
36642
|
+
# Request-specific options
|
|
36643
|
+
#
|
|
36644
|
+
# @yield [result, err] Result & error if block supplied
|
|
36645
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
36646
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
36647
|
+
#
|
|
36648
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
36649
|
+
#
|
|
36650
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
36651
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
36652
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
36653
|
+
def wait_skill_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
36654
|
+
command = make_simple_command(:post, 'v1/{+name}:wait', options)
|
|
36655
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
36656
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
36657
|
+
command.params['name'] = name unless name.nil?
|
|
36658
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
|
36659
|
+
command.query['fields'] = fields unless fields.nil?
|
|
36660
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
36661
|
+
execute_or_queue_command(command, &block)
|
|
36662
|
+
end
|
|
36663
|
+
|
|
36144
36664
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
36145
36665
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
36146
36666
|
# 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.87.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.87.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: []
|