google-apis-aiplatform_v1 0.94.0 → 0.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/aiplatform_v1/classes.rb +130 -26
- data/lib/google/apis/aiplatform_v1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1/representations.rb +58 -2
- data/lib/google/apis/aiplatform_v1/service.rb +631 -2
- data/lib/google/apis/aiplatform_v1.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39bdc89a013f4412c8cf54cc38ba07ec2dc9107def15ae09f584434124e118dc
|
|
4
|
+
data.tar.gz: 7c1924da926b4352d5a544f95f753a42786a5762a63653f903e3333006c9f80d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3cbb0501299589fb5ccf5f22368c64ce6305eb8931b30dd219034e9381f7845cebb6068c282e12f6a9a2894e3204102d40fe4914aa965693c7735f17ef295922
|
|
7
|
+
data.tar.gz: 265bb6aad9116fa4c36aa1f94d6f851caf4cdab3e6d8cd4eee9beab7bdd3be95dd53c0cc4bd23c819daad1dd81e4b9d15dc80d03a1a09de1995d3c19e3dad856
|
data/CHANGELOG.md
CHANGED
|
@@ -75,6 +75,12 @@ module Google
|
|
|
75
75
|
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionHumanPose]
|
|
76
76
|
attr_accessor :human_pose
|
|
77
77
|
|
|
78
|
+
# Optional. BNS override for model backend. Enabled only for local and autopush
|
|
79
|
+
# environments by the flag `lvm_allow_model_zoo_bns_override`.
|
|
80
|
+
# Corresponds to the JSON property `modelEndpointOverride`
|
|
81
|
+
# @return [String]
|
|
82
|
+
attr_accessor :model_endpoint_override
|
|
83
|
+
|
|
78
84
|
# Model names, as defined in: xyz
|
|
79
85
|
# Corresponds to the JSON property `modelName`
|
|
80
86
|
# @return [String]
|
|
@@ -172,6 +178,7 @@ module Google
|
|
|
172
178
|
@custom_parameters = args[:custom_parameters] if args.key?(:custom_parameters)
|
|
173
179
|
@exr_color_space_override = args[:exr_color_space_override] if args.key?(:exr_color_space_override)
|
|
174
180
|
@human_pose = args[:human_pose] if args.key?(:human_pose)
|
|
181
|
+
@model_endpoint_override = args[:model_endpoint_override] if args.key?(:model_endpoint_override)
|
|
175
182
|
@model_name = args[:model_name] if args.key?(:model_name)
|
|
176
183
|
@num_diffusion_steps = args[:num_diffusion_steps] if args.key?(:num_diffusion_steps)
|
|
177
184
|
@omni_rewriter = args[:omni_rewriter] if args.key?(:omni_rewriter)
|
|
@@ -1644,6 +1651,29 @@ module Google
|
|
|
1644
1651
|
end
|
|
1645
1652
|
end
|
|
1646
1653
|
|
|
1654
|
+
# Customizes the agent's response to the end user when a `
|
|
1655
|
+
# SemanticGovernancePolicy` is evaluated (for example, with a custom message
|
|
1656
|
+
# shown on denial).
|
|
1657
|
+
class GoogleCloudAiplatformV1AgentResponseCustomization
|
|
1658
|
+
include Google::Apis::Core::Hashable
|
|
1659
|
+
|
|
1660
|
+
# Optional. Custom message shown to the end user when the policy check results
|
|
1661
|
+
# in a denial. Use this to explain the rationale to the user. Max 1000
|
|
1662
|
+
# characters.
|
|
1663
|
+
# Corresponds to the JSON property `denialMessage`
|
|
1664
|
+
# @return [String]
|
|
1665
|
+
attr_accessor :denial_message
|
|
1666
|
+
|
|
1667
|
+
def initialize(**args)
|
|
1668
|
+
update!(**args)
|
|
1669
|
+
end
|
|
1670
|
+
|
|
1671
|
+
# Update properties of this object
|
|
1672
|
+
def update!(**args)
|
|
1673
|
+
@denial_message = args[:denial_message] if args.key?(:denial_message)
|
|
1674
|
+
end
|
|
1675
|
+
end
|
|
1676
|
+
|
|
1647
1677
|
# A tool provides a list of actions available to the Agent during the process of
|
|
1648
1678
|
# executing a task.
|
|
1649
1679
|
class GoogleCloudAiplatformV1AgentTool
|
|
@@ -1655,20 +1685,26 @@ module Google
|
|
|
1655
1685
|
# @return [Hash<String,String>]
|
|
1656
1686
|
attr_accessor :headers
|
|
1657
1687
|
|
|
1658
|
-
# Optional. The
|
|
1659
|
-
# mcp_server
|
|
1688
|
+
# Optional. The tool's GCP resource name, used to resolve the tool. Applicable
|
|
1689
|
+
# when `type` is `mcp_server` or `endpoint` (a tool registered in Agent Registry)
|
|
1690
|
+
# , for example `projects/`project`/locations/`location`/.../mcpServers/`id`` or
|
|
1691
|
+
# `projects/`project`/locations/`location`/.../endpoints/`id``.
|
|
1660
1692
|
# Corresponds to the JSON property `name`
|
|
1661
1693
|
# @return [String]
|
|
1662
1694
|
attr_accessor :name
|
|
1663
1695
|
|
|
1664
1696
|
# Required. The type of the tool. Supported types: * `code_execution` * `
|
|
1665
|
-
# filesystem` * `google_search` * `mcp_server` * `url_context`
|
|
1697
|
+
# endpoint` * `filesystem` * `google_search` * `mcp_server` * `url_context`
|
|
1666
1698
|
# Corresponds to the JSON property `type`
|
|
1667
1699
|
# @return [String]
|
|
1668
1700
|
attr_accessor :type
|
|
1669
1701
|
|
|
1670
|
-
# Optional.
|
|
1671
|
-
# mcp_server
|
|
1702
|
+
# Optional. Temporary: the tool's runtime reference, consumed by CreateAgent to
|
|
1703
|
+
# create the downstream AI App. Applicable when `type` is `mcp_server` or `
|
|
1704
|
+
# endpoint`. It is duplicated here (the resource name is already in `name`) only
|
|
1705
|
+
# because the Agent service is not yet connected to Agent Registry to derive it
|
|
1706
|
+
# from `name`; the Task Service instead resolves it from Agent Registry (
|
|
1707
|
+
# GetMcpServer / GetEndpoint) at task creation.
|
|
1672
1708
|
# Corresponds to the JSON property `url`
|
|
1673
1709
|
# @return [String]
|
|
1674
1710
|
attr_accessor :url
|
|
@@ -2425,16 +2461,6 @@ module Google
|
|
|
2425
2461
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints]
|
|
2426
2462
|
attr_accessor :language_hints
|
|
2427
2463
|
|
|
2428
|
-
# Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`.
|
|
2429
|
-
# If unspecified, defaults to `VERBATIM` transcription. In `SMART` mode, the
|
|
2430
|
-
# model performs disfluency removal (eliminating filler words, repetitions, and
|
|
2431
|
-
# false starts), light grammatical cleanup, automatic formatting (paragraphs,
|
|
2432
|
-
# bullet points, numbered lists), and minor user edits (inline self-corrections).
|
|
2433
|
-
# Timestamps and diarization are incompatible with mode `SMART`.
|
|
2434
|
-
# Corresponds to the JSON property `mode`
|
|
2435
|
-
# @return [String]
|
|
2436
|
-
attr_accessor :mode
|
|
2437
|
-
|
|
2438
2464
|
# Optional. Configures word-level timestamp generation.
|
|
2439
2465
|
# Corresponds to the JSON property `wordTimestamp`
|
|
2440
2466
|
# @return [Boolean]
|
|
@@ -2453,7 +2479,6 @@ module Google
|
|
|
2453
2479
|
@language_auto = args[:language_auto] if args.key?(:language_auto)
|
|
2454
2480
|
@language_codes = args[:language_codes] if args.key?(:language_codes)
|
|
2455
2481
|
@language_hints = args[:language_hints] if args.key?(:language_hints)
|
|
2456
|
-
@mode = args[:mode] if args.key?(:mode)
|
|
2457
2482
|
@word_timestamp = args[:word_timestamp] if args.key?(:word_timestamp)
|
|
2458
2483
|
end
|
|
2459
2484
|
end
|
|
@@ -2811,6 +2836,35 @@ module Google
|
|
|
2811
2836
|
end
|
|
2812
2837
|
end
|
|
2813
2838
|
|
|
2839
|
+
# Request message for SandboxEnvironmentExecutionService.
|
|
2840
|
+
# AuthorizeSandboxEnvironmentAccess.
|
|
2841
|
+
class GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessRequest
|
|
2842
|
+
include Google::Apis::Core::Hashable
|
|
2843
|
+
|
|
2844
|
+
def initialize(**args)
|
|
2845
|
+
update!(**args)
|
|
2846
|
+
end
|
|
2847
|
+
|
|
2848
|
+
# Update properties of this object
|
|
2849
|
+
def update!(**args)
|
|
2850
|
+
end
|
|
2851
|
+
end
|
|
2852
|
+
|
|
2853
|
+
# Response message for SandboxEnvironmentExecutionService.
|
|
2854
|
+
# AuthorizeSandboxEnvironmentAccess. Intentionally empty: a successful response
|
|
2855
|
+
# is the authorization result.
|
|
2856
|
+
class GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse
|
|
2857
|
+
include Google::Apis::Core::Hashable
|
|
2858
|
+
|
|
2859
|
+
def initialize(**args)
|
|
2860
|
+
update!(**args)
|
|
2861
|
+
end
|
|
2862
|
+
|
|
2863
|
+
# Update properties of this object
|
|
2864
|
+
def update!(**args)
|
|
2865
|
+
end
|
|
2866
|
+
end
|
|
2867
|
+
|
|
2814
2868
|
# A description of resources that to large degree are decided by Agent Platform,
|
|
2815
2869
|
# and require only a modest additional configuration. Each Model supporting
|
|
2816
2870
|
# these resources documents its specific guidelines.
|
|
@@ -18623,6 +18677,11 @@ module Google
|
|
|
18623
18677
|
# @return [Float]
|
|
18624
18678
|
attr_accessor :top_p
|
|
18625
18679
|
|
|
18680
|
+
# Config for translation features.
|
|
18681
|
+
# Corresponds to the JSON property `translationConfig`
|
|
18682
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TranslationConfig]
|
|
18683
|
+
attr_accessor :translation_config
|
|
18684
|
+
|
|
18626
18685
|
def initialize(**args)
|
|
18627
18686
|
update!(**args)
|
|
18628
18687
|
end
|
|
@@ -18653,6 +18712,7 @@ module Google
|
|
|
18653
18712
|
@thinking_config = args[:thinking_config] if args.key?(:thinking_config)
|
|
18654
18713
|
@top_k = args[:top_k] if args.key?(:top_k)
|
|
18655
18714
|
@top_p = args[:top_p] if args.key?(:top_p)
|
|
18715
|
+
@translation_config = args[:translation_config] if args.key?(:translation_config)
|
|
18656
18716
|
end
|
|
18657
18717
|
end
|
|
18658
18718
|
|
|
@@ -23783,6 +23843,11 @@ module Google
|
|
|
23783
23843
|
class GoogleCloudAiplatformV1Memory
|
|
23784
23844
|
include Google::Apis::Core::Hashable
|
|
23785
23845
|
|
|
23846
|
+
# Optional. Represents the context of the memory.
|
|
23847
|
+
# Corresponds to the JSON property `context`
|
|
23848
|
+
# @return [String]
|
|
23849
|
+
attr_accessor :context
|
|
23850
|
+
|
|
23786
23851
|
# Output only. Represents the timestamp when this Memory was created.
|
|
23787
23852
|
# Corresponds to the JSON property `createTime`
|
|
23788
23853
|
# @return [String]
|
|
@@ -23880,6 +23945,7 @@ module Google
|
|
|
23880
23945
|
|
|
23881
23946
|
# Update properties of this object
|
|
23882
23947
|
def update!(**args)
|
|
23948
|
+
@context = args[:context] if args.key?(:context)
|
|
23883
23949
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
23884
23950
|
@description = args[:description] if args.key?(:description)
|
|
23885
23951
|
@disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions)
|
|
@@ -24311,6 +24377,12 @@ module Google
|
|
|
24311
24377
|
class GoogleCloudAiplatformV1MemoryRevision
|
|
24312
24378
|
include Google::Apis::Core::Hashable
|
|
24313
24379
|
|
|
24380
|
+
# Output only. Represents the context of the Memory Revision. The context may
|
|
24381
|
+
# include context from both the historical revisions and the extracted content.
|
|
24382
|
+
# Corresponds to the JSON property `context`
|
|
24383
|
+
# @return [String]
|
|
24384
|
+
attr_accessor :context
|
|
24385
|
+
|
|
24314
24386
|
# Output only. Represents the timestamp when this Memory Revision was created.
|
|
24315
24387
|
# Corresponds to the JSON property `createTime`
|
|
24316
24388
|
# @return [String]
|
|
@@ -24361,6 +24433,7 @@ module Google
|
|
|
24361
24433
|
|
|
24362
24434
|
# Update properties of this object
|
|
24363
24435
|
def update!(**args)
|
|
24436
|
+
@context = args[:context] if args.key?(:context)
|
|
24364
24437
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
24365
24438
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
24366
24439
|
@extracted_memories = args[:extracted_memories] if args.key?(:extracted_memories)
|
|
@@ -29236,8 +29309,8 @@ module Google
|
|
|
29236
29309
|
class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability
|
|
29237
29310
|
include Google::Apis::Core::Hashable
|
|
29238
29311
|
|
|
29239
|
-
# Optional. Optional log view that will be used to query logs. If empty, the
|
|
29240
|
-
#
|
|
29312
|
+
# Optional. Optional log view that will be used to query logs. If empty, the
|
|
29313
|
+
# project's default view (`projects/`project_id``) will be used.
|
|
29241
29314
|
# Corresponds to the JSON property `logView`
|
|
29242
29315
|
# @return [String]
|
|
29243
29316
|
attr_accessor :log_view
|
|
@@ -29260,8 +29333,8 @@ module Google
|
|
|
29260
29333
|
attr_accessor :trace_scope
|
|
29261
29334
|
|
|
29262
29335
|
# Optional. Optional trace view that will be used to query traces. If empty, the
|
|
29263
|
-
# `
|
|
29264
|
-
#
|
|
29336
|
+
# `_AllSpans` view from `_Trace` US bucket will be used, i.e. `projects/`
|
|
29337
|
+
# project_id`/locations/us/buckets/_Trace/datasets/Spans/views/_AllSpans`.
|
|
29265
29338
|
# Corresponds to the JSON property `traceView`
|
|
29266
29339
|
# @return [String]
|
|
29267
29340
|
attr_accessor :trace_view
|
|
@@ -37867,11 +37940,6 @@ module Google
|
|
|
37867
37940
|
class GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig
|
|
37868
37941
|
include Google::Apis::Core::Hashable
|
|
37869
37942
|
|
|
37870
|
-
# Optional. The customer VPC network that sandbox egress is routed into.
|
|
37871
|
-
# Corresponds to the JSON property `customerVpcNetwork`
|
|
37872
|
-
# @return [String]
|
|
37873
|
-
attr_accessor :customer_vpc_network
|
|
37874
|
-
|
|
37875
37943
|
# Optional. DNS peering configurations that allow sandbox egress to resolve
|
|
37876
37944
|
# customer-internal domains via the customer VPC.
|
|
37877
37945
|
# Corresponds to the JSON property `dnsPeeringConfigs`
|
|
@@ -37896,7 +37964,6 @@ module Google
|
|
|
37896
37964
|
|
|
37897
37965
|
# Update properties of this object
|
|
37898
37966
|
def update!(**args)
|
|
37899
|
-
@customer_vpc_network = args[:customer_vpc_network] if args.key?(:customer_vpc_network)
|
|
37900
37967
|
@dns_peering_configs = args[:dns_peering_configs] if args.key?(:dns_peering_configs)
|
|
37901
37968
|
@internet_access = args[:internet_access] if args.key?(:internet_access)
|
|
37902
37969
|
@network_attachment = args[:network_attachment] if args.key?(:network_attachment)
|
|
@@ -45715,6 +45782,13 @@ module Google
|
|
|
45715
45782
|
# @return [String]
|
|
45716
45783
|
attr_accessor :agent_identity
|
|
45717
45784
|
|
|
45785
|
+
# Customizes the agent's response to the end user when a `
|
|
45786
|
+
# SemanticGovernancePolicy` is evaluated (for example, with a custom message
|
|
45787
|
+
# shown on denial).
|
|
45788
|
+
# Corresponds to the JSON property `agentResponseCustomization`
|
|
45789
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AgentResponseCustomization]
|
|
45790
|
+
attr_accessor :agent_response_customization
|
|
45791
|
+
|
|
45718
45792
|
# Output only. Timestamp when this SemanticGovernancePolicy was created.
|
|
45719
45793
|
# Corresponds to the JSON property `createTime`
|
|
45720
45794
|
# @return [String]
|
|
@@ -45765,6 +45839,7 @@ module Google
|
|
|
45765
45839
|
def update!(**args)
|
|
45766
45840
|
@agent = args[:agent] if args.key?(:agent)
|
|
45767
45841
|
@agent_identity = args[:agent_identity] if args.key?(:agent_identity)
|
|
45842
|
+
@agent_response_customization = args[:agent_response_customization] if args.key?(:agent_response_customization)
|
|
45768
45843
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
45769
45844
|
@description = args[:description] if args.key?(:description)
|
|
45770
45845
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
@@ -50799,6 +50874,35 @@ module Google
|
|
|
50799
50874
|
end
|
|
50800
50875
|
end
|
|
50801
50876
|
|
|
50877
|
+
# Config for translation features.
|
|
50878
|
+
class GoogleCloudAiplatformV1TranslationConfig
|
|
50879
|
+
include Google::Apis::Core::Hashable
|
|
50880
|
+
|
|
50881
|
+
# Optional. If `true`, the model will generate audio when the target language is
|
|
50882
|
+
# spoken, essentially it will parrot the input. If `false`, we will not produce
|
|
50883
|
+
# audio for the target language.
|
|
50884
|
+
# Corresponds to the JSON property `echoTargetLanguage`
|
|
50885
|
+
# @return [Boolean]
|
|
50886
|
+
attr_accessor :echo_target_language
|
|
50887
|
+
alias_method :echo_target_language?, :echo_target_language
|
|
50888
|
+
|
|
50889
|
+
# Required. The target language for translation. Supported values are BCP-47
|
|
50890
|
+
# language codes (e.g. "en", "es", "fr").
|
|
50891
|
+
# Corresponds to the JSON property `targetLanguageCode`
|
|
50892
|
+
# @return [String]
|
|
50893
|
+
attr_accessor :target_language_code
|
|
50894
|
+
|
|
50895
|
+
def initialize(**args)
|
|
50896
|
+
update!(**args)
|
|
50897
|
+
end
|
|
50898
|
+
|
|
50899
|
+
# Update properties of this object
|
|
50900
|
+
def update!(**args)
|
|
50901
|
+
@echo_target_language = args[:echo_target_language] if args.key?(:echo_target_language)
|
|
50902
|
+
@target_language_code = args[:target_language_code] if args.key?(:target_language_code)
|
|
50903
|
+
end
|
|
50904
|
+
end
|
|
50905
|
+
|
|
50802
50906
|
# A message representing a Trial. A Trial contains a unique set of Parameters
|
|
50803
50907
|
# that has been or will be evaluated, along with the objective metrics got by
|
|
50804
50908
|
# running the Trial.
|
|
@@ -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.95.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260831"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -292,6 +292,12 @@ module Google
|
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
|
293
293
|
end
|
|
294
294
|
|
|
295
|
+
class GoogleCloudAiplatformV1AgentResponseCustomization
|
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
|
+
|
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
299
|
+
end
|
|
300
|
+
|
|
295
301
|
class GoogleCloudAiplatformV1AgentTool
|
|
296
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
303
|
|
|
@@ -478,6 +484,18 @@ module Google
|
|
|
478
484
|
include Google::Apis::Core::JsonObjectSupport
|
|
479
485
|
end
|
|
480
486
|
|
|
487
|
+
class GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessRequest
|
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
|
+
|
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
class GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse
|
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
495
|
+
|
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
497
|
+
end
|
|
498
|
+
|
|
481
499
|
class GoogleCloudAiplatformV1AutomaticResources
|
|
482
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
483
501
|
|
|
@@ -8398,6 +8416,12 @@ module Google
|
|
|
8398
8416
|
include Google::Apis::Core::JsonObjectSupport
|
|
8399
8417
|
end
|
|
8400
8418
|
|
|
8419
|
+
class GoogleCloudAiplatformV1TranslationConfig
|
|
8420
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
8421
|
+
|
|
8422
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
8423
|
+
end
|
|
8424
|
+
|
|
8401
8425
|
class GoogleCloudAiplatformV1Trial
|
|
8402
8426
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
8403
8427
|
|
|
@@ -8918,6 +8942,7 @@ module Google
|
|
|
8918
8942
|
property :exr_color_space_override, as: 'exrColorSpaceOverride'
|
|
8919
8943
|
property :human_pose, as: 'humanPose', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionHumanPose, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionHumanPose::Representation
|
|
8920
8944
|
|
|
8945
|
+
property :model_endpoint_override, as: 'modelEndpointOverride'
|
|
8921
8946
|
property :model_name, as: 'modelName'
|
|
8922
8947
|
property :num_diffusion_steps, as: 'numDiffusionSteps'
|
|
8923
8948
|
property :omni_rewriter, as: 'omniRewriter', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOmniRewriterConfig, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOmniRewriterConfig::Representation
|
|
@@ -9367,6 +9392,13 @@ module Google
|
|
|
9367
9392
|
end
|
|
9368
9393
|
end
|
|
9369
9394
|
|
|
9395
|
+
class GoogleCloudAiplatformV1AgentResponseCustomization
|
|
9396
|
+
# @private
|
|
9397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9398
|
+
property :denial_message, as: 'denialMessage'
|
|
9399
|
+
end
|
|
9400
|
+
end
|
|
9401
|
+
|
|
9370
9402
|
class GoogleCloudAiplatformV1AgentTool
|
|
9371
9403
|
# @private
|
|
9372
9404
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9572,7 +9604,6 @@ module Google
|
|
|
9572
9604
|
collection :language_codes, as: 'languageCodes'
|
|
9573
9605
|
property :language_hints, as: 'languageHints', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints::Representation
|
|
9574
9606
|
|
|
9575
|
-
property :mode, as: 'mode'
|
|
9576
9607
|
property :word_timestamp, as: 'wordTimestamp'
|
|
9577
9608
|
end
|
|
9578
9609
|
end
|
|
@@ -9686,6 +9717,18 @@ module Google
|
|
|
9686
9717
|
end
|
|
9687
9718
|
end
|
|
9688
9719
|
|
|
9720
|
+
class GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessRequest
|
|
9721
|
+
# @private
|
|
9722
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9723
|
+
end
|
|
9724
|
+
end
|
|
9725
|
+
|
|
9726
|
+
class GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse
|
|
9727
|
+
# @private
|
|
9728
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9729
|
+
end
|
|
9730
|
+
end
|
|
9731
|
+
|
|
9689
9732
|
class GoogleCloudAiplatformV1AutomaticResources
|
|
9690
9733
|
# @private
|
|
9691
9734
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -14148,6 +14191,8 @@ module Google
|
|
|
14148
14191
|
|
|
14149
14192
|
property :top_k, as: 'topK'
|
|
14150
14193
|
property :top_p, as: 'topP'
|
|
14194
|
+
property :translation_config, as: 'translationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TranslationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TranslationConfig::Representation
|
|
14195
|
+
|
|
14151
14196
|
end
|
|
14152
14197
|
end
|
|
14153
14198
|
|
|
@@ -15681,6 +15726,7 @@ module Google
|
|
|
15681
15726
|
class GoogleCloudAiplatformV1Memory
|
|
15682
15727
|
# @private
|
|
15683
15728
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15729
|
+
property :context, as: 'context'
|
|
15684
15730
|
property :create_time, as: 'createTime'
|
|
15685
15731
|
property :description, as: 'description'
|
|
15686
15732
|
property :disable_memory_revisions, as: 'disableMemoryRevisions'
|
|
@@ -15833,6 +15879,7 @@ module Google
|
|
|
15833
15879
|
class GoogleCloudAiplatformV1MemoryRevision
|
|
15834
15880
|
# @private
|
|
15835
15881
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15882
|
+
property :context, as: 'context'
|
|
15836
15883
|
property :create_time, as: 'createTime'
|
|
15837
15884
|
property :expire_time, as: 'expireTime'
|
|
15838
15885
|
collection :extracted_memories, as: 'extractedMemories', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IntermediateExtractedMemory, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IntermediateExtractedMemory::Representation
|
|
@@ -19700,7 +19747,6 @@ module Google
|
|
|
19700
19747
|
class GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig
|
|
19701
19748
|
# @private
|
|
19702
19749
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
19703
|
-
property :customer_vpc_network, as: 'customerVpcNetwork'
|
|
19704
19750
|
collection :dns_peering_configs, as: 'dnsPeeringConfigs', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig::Representation
|
|
19705
19751
|
|
|
19706
19752
|
property :internet_access, as: 'internetAccess'
|
|
@@ -21775,6 +21821,8 @@ module Google
|
|
|
21775
21821
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
21776
21822
|
property :agent, as: 'agent'
|
|
21777
21823
|
property :agent_identity, as: 'agentIdentity'
|
|
21824
|
+
property :agent_response_customization, as: 'agentResponseCustomization', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AgentResponseCustomization, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AgentResponseCustomization::Representation
|
|
21825
|
+
|
|
21778
21826
|
property :create_time, as: 'createTime'
|
|
21779
21827
|
property :description, as: 'description'
|
|
21780
21828
|
property :display_name, as: 'displayName'
|
|
@@ -23289,6 +23337,14 @@ module Google
|
|
|
23289
23337
|
end
|
|
23290
23338
|
end
|
|
23291
23339
|
|
|
23340
|
+
class GoogleCloudAiplatformV1TranslationConfig
|
|
23341
|
+
# @private
|
|
23342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
23343
|
+
property :echo_target_language, as: 'echoTargetLanguage'
|
|
23344
|
+
property :target_language_code, as: 'targetLanguageCode'
|
|
23345
|
+
end
|
|
23346
|
+
end
|
|
23347
|
+
|
|
23292
23348
|
class GoogleCloudAiplatformV1Trial
|
|
23293
23349
|
# @private
|
|
23294
23350
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8416,6 +8416,14 @@ module Google
|
|
|
8416
8416
|
# @param [String] name
|
|
8417
8417
|
# Required. The resource name of the agent to delete. Format: `projects/`project`
|
|
8418
8418
|
# /locations/`location`/agents/`agent``.
|
|
8419
|
+
# @param [Boolean] force
|
|
8420
|
+
# Optional. If true, any `Task` belonging to this agent is deleted along with it.
|
|
8421
|
+
# If false or unset and the agent still has at least one `Task`, the request
|
|
8422
|
+
# fails with `FAILED_PRECONDITION` and nothing is deleted. This governs `Task`
|
|
8423
|
+
# and nothing else. Resources the agent owns but a caller never named -- its AI
|
|
8424
|
+
# Application and the tenant project bound to it, its Workspace identity, its
|
|
8425
|
+
# service-extension binding -- are torn down with the agent on every delete,
|
|
8426
|
+
# whatever this field says.
|
|
8419
8427
|
# @param [String] fields
|
|
8420
8428
|
# Selector specifying which fields to include in a partial response.
|
|
8421
8429
|
# @param [String] quota_user
|
|
@@ -8433,11 +8441,12 @@ module Google
|
|
|
8433
8441
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8434
8442
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8435
8443
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8436
|
-
def delete_project_location_agent(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
8444
|
+
def delete_project_location_agent(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
8437
8445
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
8438
8446
|
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
8439
8447
|
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
8440
8448
|
command.params['name'] = name unless name.nil?
|
|
8449
|
+
command.query['force'] = force unless force.nil?
|
|
8441
8450
|
command.query['fields'] = fields unless fields.nil?
|
|
8442
8451
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8443
8452
|
execute_or_queue_command(command, &block)
|
|
@@ -8474,6 +8483,51 @@ module Google
|
|
|
8474
8483
|
execute_or_queue_command(command, &block)
|
|
8475
8484
|
end
|
|
8476
8485
|
|
|
8486
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
8487
|
+
# resource exists and does not have a policy set.
|
|
8488
|
+
# @param [String] resource
|
|
8489
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
8490
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
8491
|
+
# appropriate value for this field.
|
|
8492
|
+
# @param [Fixnum] options_requested_policy_version
|
|
8493
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
|
8494
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
8495
|
+
# rejected. Requests for policies with any conditional role bindings must
|
|
8496
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
|
8497
|
+
# valid value or leave the field unset. The policy in the response might use the
|
|
8498
|
+
# policy version that you specified, or it might use a lower policy version. For
|
|
8499
|
+
# example, if you specify version 3, but the policy has no conditional role
|
|
8500
|
+
# bindings, the response uses version 1. To learn which resources support
|
|
8501
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
8502
|
+
# google.com/iam/help/conditions/resource-policies).
|
|
8503
|
+
# @param [String] fields
|
|
8504
|
+
# Selector specifying which fields to include in a partial response.
|
|
8505
|
+
# @param [String] quota_user
|
|
8506
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
8507
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
8508
|
+
# @param [Google::Apis::RequestOptions] options
|
|
8509
|
+
# Request-specific options
|
|
8510
|
+
#
|
|
8511
|
+
# @yield [result, err] Result & error if block supplied
|
|
8512
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
|
|
8513
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
8514
|
+
#
|
|
8515
|
+
# @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
|
|
8516
|
+
#
|
|
8517
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8518
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8519
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8520
|
+
def get_project_location_agent_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
8521
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
|
8522
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
|
|
8523
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
|
|
8524
|
+
command.params['resource'] = resource unless resource.nil?
|
|
8525
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
8526
|
+
command.query['fields'] = fields unless fields.nil?
|
|
8527
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8528
|
+
execute_or_queue_command(command, &block)
|
|
8529
|
+
end
|
|
8530
|
+
|
|
8477
8531
|
# Lists the agents in a location that belong to the caller. An agent belongs to
|
|
8478
8532
|
# the end user recorded as its owner when it was created, so the response holds
|
|
8479
8533
|
# that caller's agents and no others. It is empty for a caller that is not an
|
|
@@ -8481,6 +8535,38 @@ module Google
|
|
|
8481
8535
|
# @param [String] parent
|
|
8482
8536
|
# Required. The resource name of the location to list agents from. Format: `
|
|
8483
8537
|
# projects/`project`/locations/`location``.
|
|
8538
|
+
# @param [String] filter
|
|
8539
|
+
# Optional. An [AIP-160](https://google.aip.dev/160) filter over the returned
|
|
8540
|
+
# agents. An empty filter returns the unfiltered collection. Supported fields,
|
|
8541
|
+
# and the operators each accepts: * `created` * `updated` * `base_agent` * `
|
|
8542
|
+
# metadata.agent_type` `created` and `updated` are timestamps and take an RFC-
|
|
8543
|
+
# 3339 value, for example `2026-08-01T00:00:00Z`. Supported operators: `=`, `!=`,
|
|
8544
|
+
# `<`, `>`, `<=`, `>=`, `:`, `AND`, `OR`, `NOT` (equivalently `-`), and
|
|
8545
|
+
# parentheses. Note that `OR` binds more tightly than `AND`, so `a AND b OR c`
|
|
8546
|
+
# means `a AND (b OR c)`; parentheses are recommended, not required. `metadata.
|
|
8547
|
+
# agent_type` accepts only the value `"default_agent"`, matched exactly: `
|
|
8548
|
+
# metadata.agent_type:"default_agent"` selects the caller's default agent, of
|
|
8549
|
+
# which there is at most one, and the negated form selects the rest. Any other
|
|
8550
|
+
# value is `INVALID_ARGUMENT` rather than an empty page -- `metadata` is an
|
|
8551
|
+
# opaque blob, so only this one marker is indexed, and the server cannot answer
|
|
8552
|
+
# a question about the others. An agent designated before the server began
|
|
8553
|
+
# recording the marker is not matched by the positive form; there is no backfill.
|
|
8554
|
+
# `base_agent` accepts `=` and `!=` against the value an agent was created with,
|
|
8555
|
+
# and selects only among the agents you own: an agent that belongs to the
|
|
8556
|
+
# project rather than to a user is never returned by a filter naming it,
|
|
8557
|
+
# including the negated form. An agent created before the server began recording
|
|
8558
|
+
# the value is not matched either. Example: `created > "2026-08-01T00:00:00Z"
|
|
8559
|
+
# AND updated < "2026-08-09T00:00:00Z"`. IMPORTANT -- `base_agent` and `metadata.
|
|
8560
|
+
# agent_type` select only among the agents you own. An agent that belongs to the
|
|
8561
|
+
# project rather than to a user is never returned by a filter naming either of
|
|
8562
|
+
# them, including a negated one: `base_agent != "some-value"` returns your
|
|
8563
|
+
# matching agents and no project-owned agents at all. Filtering on `created` or `
|
|
8564
|
+
# updated` alone is unaffected and still spans both. If you want every agent in
|
|
8565
|
+
# the project, do not filter on these two fields. Not supported: any field other
|
|
8566
|
+
# than those listed above, wildcards other than `field:*`, bare literals with no
|
|
8567
|
+
# field name, functions, and the regular-expression operators `=~` and `!~`. A
|
|
8568
|
+
# filter that names an unsupported field, exceeds 1000 characters, or nests
|
|
8569
|
+
# parentheses more than 5 deep fails with `INVALID_ARGUMENT`.
|
|
8484
8570
|
# @param [String] order_by
|
|
8485
8571
|
# Optional. A comma-separated list of fields to order by. Supported fields: * `
|
|
8486
8572
|
# created` * `updated` Use `desc` after a field name for descending order.
|
|
@@ -8509,11 +8595,12 @@ module Google
|
|
|
8509
8595
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8510
8596
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8511
8597
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8512
|
-
def list_project_location_agents(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
8598
|
+
def list_project_location_agents(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
8513
8599
|
command = make_simple_command(:get, 'v1/{+parent}/agents', options)
|
|
8514
8600
|
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListAgentsResponse::Representation
|
|
8515
8601
|
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListAgentsResponse
|
|
8516
8602
|
command.params['parent'] = parent unless parent.nil?
|
|
8603
|
+
command.query['filter'] = filter unless filter.nil?
|
|
8517
8604
|
command.query['orderBy'] = order_by unless order_by.nil?
|
|
8518
8605
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
8519
8606
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
@@ -8559,6 +8646,84 @@ module Google
|
|
|
8559
8646
|
execute_or_queue_command(command, &block)
|
|
8560
8647
|
end
|
|
8561
8648
|
|
|
8649
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
8650
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
|
8651
|
+
# PERMISSION_DENIED` errors.
|
|
8652
|
+
# @param [String] resource
|
|
8653
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
8654
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
8655
|
+
# appropriate value for this field.
|
|
8656
|
+
# @param [Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
|
8657
|
+
# @param [String] fields
|
|
8658
|
+
# Selector specifying which fields to include in a partial response.
|
|
8659
|
+
# @param [String] quota_user
|
|
8660
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
8661
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
8662
|
+
# @param [Google::Apis::RequestOptions] options
|
|
8663
|
+
# Request-specific options
|
|
8664
|
+
#
|
|
8665
|
+
# @yield [result, err] Result & error if block supplied
|
|
8666
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
|
|
8667
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
8668
|
+
#
|
|
8669
|
+
# @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
|
|
8670
|
+
#
|
|
8671
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8672
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8673
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8674
|
+
def set_project_location_agent_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
8675
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
8676
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest::Representation
|
|
8677
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
|
8678
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
|
|
8679
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
|
|
8680
|
+
command.params['resource'] = resource unless resource.nil?
|
|
8681
|
+
command.query['fields'] = fields unless fields.nil?
|
|
8682
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8683
|
+
execute_or_queue_command(command, &block)
|
|
8684
|
+
end
|
|
8685
|
+
|
|
8686
|
+
# Returns permissions that a caller has on the specified resource. If the
|
|
8687
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
|
8688
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
|
8689
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
8690
|
+
# This operation may "fail open" without warning.
|
|
8691
|
+
# @param [String] resource
|
|
8692
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
8693
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
|
8694
|
+
# appropriate value for this field.
|
|
8695
|
+
# @param [Array<String>, String] permissions
|
|
8696
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
|
8697
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
8698
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
8699
|
+
# @param [String] fields
|
|
8700
|
+
# Selector specifying which fields to include in a partial response.
|
|
8701
|
+
# @param [String] quota_user
|
|
8702
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
8703
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
8704
|
+
# @param [Google::Apis::RequestOptions] options
|
|
8705
|
+
# Request-specific options
|
|
8706
|
+
#
|
|
8707
|
+
# @yield [result, err] Result & error if block supplied
|
|
8708
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
|
8709
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
8710
|
+
#
|
|
8711
|
+
# @return [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse]
|
|
8712
|
+
#
|
|
8713
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8714
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8715
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8716
|
+
def test_project_location_agent_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
8717
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
8718
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
|
8719
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse
|
|
8720
|
+
command.params['resource'] = resource unless resource.nil?
|
|
8721
|
+
command.query['permissions'] = permissions unless permissions.nil?
|
|
8722
|
+
command.query['fields'] = fields unless fields.nil?
|
|
8723
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8724
|
+
execute_or_queue_command(command, &block)
|
|
8725
|
+
end
|
|
8726
|
+
|
|
8562
8727
|
# Cancels a BatchPredictionJob. Starts asynchronous cancellation on the
|
|
8563
8728
|
# BatchPredictionJob. The server makes the best effort to cancel the job, but
|
|
8564
8729
|
# success is not guaranteed. Clients can use JobService.GetBatchPredictionJob or
|
|
@@ -30731,6 +30896,46 @@ module Google
|
|
|
30731
30896
|
execute_or_queue_command(command, &block)
|
|
30732
30897
|
end
|
|
30733
30898
|
|
|
30899
|
+
# Checks whether the caller is authorized to access the sandbox environment.
|
|
30900
|
+
# Authorization is performed entirely by the API infrastructure from the `
|
|
30901
|
+
# method_policy` below; the handler is a no-op. A successful response means the
|
|
30902
|
+
# caller holds `sandboxEnvironments.execute` on the named sandbox. Used by the
|
|
30903
|
+
# sandbox data-plane proxy, which forwards the caller's credential and proxies
|
|
30904
|
+
# traffic only on success.
|
|
30905
|
+
# @param [String] name
|
|
30906
|
+
# Required. The resource name of the sandbox environment to authorize access to.
|
|
30907
|
+
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
|
30908
|
+
# reasoning_engine`/sandboxEnvironments/`sandbox_environment``
|
|
30909
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessRequest] google_cloud_aiplatform_v1_authorize_sandbox_environment_access_request_object
|
|
30910
|
+
# @param [String] fields
|
|
30911
|
+
# Selector specifying which fields to include in a partial response.
|
|
30912
|
+
# @param [String] quota_user
|
|
30913
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
30914
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
30915
|
+
# @param [Google::Apis::RequestOptions] options
|
|
30916
|
+
# Request-specific options
|
|
30917
|
+
#
|
|
30918
|
+
# @yield [result, err] Result & error if block supplied
|
|
30919
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse] parsed result object
|
|
30920
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
30921
|
+
#
|
|
30922
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse]
|
|
30923
|
+
#
|
|
30924
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
30925
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
30926
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
30927
|
+
def authorize_project_location_reasoning_engine_sandbox_environment_access(name, google_cloud_aiplatform_v1_authorize_sandbox_environment_access_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
30928
|
+
command = make_simple_command(:post, 'v1/{+name}:authorizeAccess', options)
|
|
30929
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessRequest::Representation
|
|
30930
|
+
command.request_object = google_cloud_aiplatform_v1_authorize_sandbox_environment_access_request_object
|
|
30931
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse::Representation
|
|
30932
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse
|
|
30933
|
+
command.params['name'] = name unless name.nil?
|
|
30934
|
+
command.query['fields'] = fields unless fields.nil?
|
|
30935
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
30936
|
+
execute_or_queue_command(command, &block)
|
|
30937
|
+
end
|
|
30938
|
+
|
|
30734
30939
|
# Creates a SandboxEnvironment in a given reasoning engine.
|
|
30735
30940
|
# @param [String] parent
|
|
30736
30941
|
# Required. The resource name of the reasoning engine to create the
|
|
@@ -34210,6 +34415,198 @@ module Google
|
|
|
34210
34415
|
execute_or_queue_command(command, &block)
|
|
34211
34416
|
end
|
|
34212
34417
|
|
|
34418
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
34419
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
34420
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
34421
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
34422
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
34423
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
34424
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
34425
|
+
# , corresponding to `Code.CANCELLED`.
|
|
34426
|
+
# @param [String] name
|
|
34427
|
+
# The name of the operation resource to be cancelled.
|
|
34428
|
+
# @param [String] fields
|
|
34429
|
+
# Selector specifying which fields to include in a partial response.
|
|
34430
|
+
# @param [String] quota_user
|
|
34431
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
34432
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
34433
|
+
# @param [Google::Apis::RequestOptions] options
|
|
34434
|
+
# Request-specific options
|
|
34435
|
+
#
|
|
34436
|
+
# @yield [result, err] Result & error if block supplied
|
|
34437
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
34438
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
34439
|
+
#
|
|
34440
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
34441
|
+
#
|
|
34442
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
34443
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
34444
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
34445
|
+
def cancel_project_location_task_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
34446
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
34447
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
34448
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
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
|
+
|
|
34455
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
34456
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
34457
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
34458
|
+
# UNIMPLEMENTED`.
|
|
34459
|
+
# @param [String] name
|
|
34460
|
+
# The name of the operation resource to be deleted.
|
|
34461
|
+
# @param [String] fields
|
|
34462
|
+
# Selector specifying which fields to include in a partial response.
|
|
34463
|
+
# @param [String] quota_user
|
|
34464
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
34465
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
34466
|
+
# @param [Google::Apis::RequestOptions] options
|
|
34467
|
+
# Request-specific options
|
|
34468
|
+
#
|
|
34469
|
+
# @yield [result, err] Result & error if block supplied
|
|
34470
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
34471
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
34472
|
+
#
|
|
34473
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
34474
|
+
#
|
|
34475
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
34476
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
34477
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
34478
|
+
def delete_project_location_task_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
34479
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
34480
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
34481
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
34482
|
+
command.params['name'] = name unless name.nil?
|
|
34483
|
+
command.query['fields'] = fields unless fields.nil?
|
|
34484
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
34485
|
+
execute_or_queue_command(command, &block)
|
|
34486
|
+
end
|
|
34487
|
+
|
|
34488
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
34489
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
34490
|
+
# @param [String] name
|
|
34491
|
+
# The name of the operation resource.
|
|
34492
|
+
# @param [String] fields
|
|
34493
|
+
# Selector specifying which fields to include in a partial response.
|
|
34494
|
+
# @param [String] quota_user
|
|
34495
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
34496
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
34497
|
+
# @param [Google::Apis::RequestOptions] options
|
|
34498
|
+
# Request-specific options
|
|
34499
|
+
#
|
|
34500
|
+
# @yield [result, err] Result & error if block supplied
|
|
34501
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
34502
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
34503
|
+
#
|
|
34504
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
34505
|
+
#
|
|
34506
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
34507
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
34508
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
34509
|
+
def get_project_location_task_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
34510
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
34511
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
34512
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
34513
|
+
command.params['name'] = name unless name.nil?
|
|
34514
|
+
command.query['fields'] = fields unless fields.nil?
|
|
34515
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
34516
|
+
execute_or_queue_command(command, &block)
|
|
34517
|
+
end
|
|
34518
|
+
|
|
34519
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
34520
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
34521
|
+
# @param [String] name
|
|
34522
|
+
# The name of the operation's parent resource.
|
|
34523
|
+
# @param [String] filter
|
|
34524
|
+
# The standard list filter.
|
|
34525
|
+
# @param [Fixnum] page_size
|
|
34526
|
+
# The standard list page size.
|
|
34527
|
+
# @param [String] page_token
|
|
34528
|
+
# The standard list page token.
|
|
34529
|
+
# @param [Boolean] return_partial_success
|
|
34530
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
34531
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
34532
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
34533
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
34534
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
34535
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
34536
|
+
# documentation.
|
|
34537
|
+
# @param [String] fields
|
|
34538
|
+
# Selector specifying which fields to include in a partial response.
|
|
34539
|
+
# @param [String] quota_user
|
|
34540
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
34541
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
34542
|
+
# @param [Google::Apis::RequestOptions] options
|
|
34543
|
+
# Request-specific options
|
|
34544
|
+
#
|
|
34545
|
+
# @yield [result, err] Result & error if block supplied
|
|
34546
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
|
|
34547
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
34548
|
+
#
|
|
34549
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
|
|
34550
|
+
#
|
|
34551
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
34552
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
34553
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
34554
|
+
def list_project_location_task_store_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
34555
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
34556
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
|
|
34557
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
|
|
34558
|
+
command.params['name'] = name unless name.nil?
|
|
34559
|
+
command.query['filter'] = filter unless filter.nil?
|
|
34560
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
34561
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
34562
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
34563
|
+
command.query['fields'] = fields unless fields.nil?
|
|
34564
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
34565
|
+
execute_or_queue_command(command, &block)
|
|
34566
|
+
end
|
|
34567
|
+
|
|
34568
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
|
34569
|
+
# specified timeout, returning the latest state. If the operation is already
|
|
34570
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
|
34571
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
|
34572
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
|
34573
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
|
34574
|
+
# the latest state before the specified timeout (including immediately), meaning
|
|
34575
|
+
# even an immediate response is no guarantee that the operation is done.
|
|
34576
|
+
# @param [String] name
|
|
34577
|
+
# The name of the operation resource to wait on.
|
|
34578
|
+
# @param [String] timeout
|
|
34579
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
|
34580
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
|
34581
|
+
# context deadline is also specified, the shorter one will be used.
|
|
34582
|
+
# @param [String] fields
|
|
34583
|
+
# Selector specifying which fields to include in a partial response.
|
|
34584
|
+
# @param [String] quota_user
|
|
34585
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
34586
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
34587
|
+
# @param [Google::Apis::RequestOptions] options
|
|
34588
|
+
# Request-specific options
|
|
34589
|
+
#
|
|
34590
|
+
# @yield [result, err] Result & error if block supplied
|
|
34591
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
34592
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
34593
|
+
#
|
|
34594
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
34595
|
+
#
|
|
34596
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
34597
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
34598
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
34599
|
+
def wait_project_location_task_store_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
34600
|
+
command = make_simple_command(:post, 'v1/{+name}:wait', options)
|
|
34601
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
34602
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
34603
|
+
command.params['name'] = name unless name.nil?
|
|
34604
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
|
34605
|
+
command.query['fields'] = fields unless fields.nil?
|
|
34606
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
34607
|
+
execute_or_queue_command(command, &block)
|
|
34608
|
+
end
|
|
34609
|
+
|
|
34213
34610
|
# Reads multiple TensorboardTimeSeries' data. The data point number limit is
|
|
34214
34611
|
# 1000 for scalars, 100 for tensors and blob references. If the number of data
|
|
34215
34612
|
# points stored is less than the limit, all data is returned. Otherwise, the
|
|
@@ -39087,6 +39484,46 @@ module Google
|
|
|
39087
39484
|
execute_or_queue_command(command, &block)
|
|
39088
39485
|
end
|
|
39089
39486
|
|
|
39487
|
+
# Checks whether the caller is authorized to access the sandbox environment.
|
|
39488
|
+
# Authorization is performed entirely by the API infrastructure from the `
|
|
39489
|
+
# method_policy` below; the handler is a no-op. A successful response means the
|
|
39490
|
+
# caller holds `sandboxEnvironments.execute` on the named sandbox. Used by the
|
|
39491
|
+
# sandbox data-plane proxy, which forwards the caller's credential and proxies
|
|
39492
|
+
# traffic only on success.
|
|
39493
|
+
# @param [String] name
|
|
39494
|
+
# Required. The resource name of the sandbox environment to authorize access to.
|
|
39495
|
+
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
|
39496
|
+
# reasoning_engine`/sandboxEnvironments/`sandbox_environment``
|
|
39497
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessRequest] google_cloud_aiplatform_v1_authorize_sandbox_environment_access_request_object
|
|
39498
|
+
# @param [String] fields
|
|
39499
|
+
# Selector specifying which fields to include in a partial response.
|
|
39500
|
+
# @param [String] quota_user
|
|
39501
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
39502
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
39503
|
+
# @param [Google::Apis::RequestOptions] options
|
|
39504
|
+
# Request-specific options
|
|
39505
|
+
#
|
|
39506
|
+
# @yield [result, err] Result & error if block supplied
|
|
39507
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse] parsed result object
|
|
39508
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
39509
|
+
#
|
|
39510
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse]
|
|
39511
|
+
#
|
|
39512
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
39513
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
39514
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
39515
|
+
def authorize_reasoning_engine_sandbox_environment_access(name, google_cloud_aiplatform_v1_authorize_sandbox_environment_access_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
39516
|
+
command = make_simple_command(:post, 'v1/{+name}:authorizeAccess', options)
|
|
39517
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessRequest::Representation
|
|
39518
|
+
command.request_object = google_cloud_aiplatform_v1_authorize_sandbox_environment_access_request_object
|
|
39519
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse::Representation
|
|
39520
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse
|
|
39521
|
+
command.params['name'] = name unless name.nil?
|
|
39522
|
+
command.query['fields'] = fields unless fields.nil?
|
|
39523
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
39524
|
+
execute_or_queue_command(command, &block)
|
|
39525
|
+
end
|
|
39526
|
+
|
|
39090
39527
|
# Creates a SandboxEnvironment in a given reasoning engine.
|
|
39091
39528
|
# @param [String] parent
|
|
39092
39529
|
# Required. The resource name of the reasoning engine to create the
|
|
@@ -41051,6 +41488,198 @@ module Google
|
|
|
41051
41488
|
execute_or_queue_command(command, &block)
|
|
41052
41489
|
end
|
|
41053
41490
|
|
|
41491
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
41492
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
41493
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
41494
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
41495
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
41496
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
41497
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
41498
|
+
# , corresponding to `Code.CANCELLED`.
|
|
41499
|
+
# @param [String] name
|
|
41500
|
+
# The name of the operation resource to be cancelled.
|
|
41501
|
+
# @param [String] fields
|
|
41502
|
+
# Selector specifying which fields to include in a partial response.
|
|
41503
|
+
# @param [String] quota_user
|
|
41504
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41505
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41506
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41507
|
+
# Request-specific options
|
|
41508
|
+
#
|
|
41509
|
+
# @yield [result, err] Result & error if block supplied
|
|
41510
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
41511
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41512
|
+
#
|
|
41513
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
41514
|
+
#
|
|
41515
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41516
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41517
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41518
|
+
def cancel_task_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
41519
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
41520
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
41521
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
41522
|
+
command.params['name'] = name unless name.nil?
|
|
41523
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41524
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41525
|
+
execute_or_queue_command(command, &block)
|
|
41526
|
+
end
|
|
41527
|
+
|
|
41528
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
41529
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
41530
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
41531
|
+
# UNIMPLEMENTED`.
|
|
41532
|
+
# @param [String] name
|
|
41533
|
+
# The name of the operation resource to be deleted.
|
|
41534
|
+
# @param [String] fields
|
|
41535
|
+
# Selector specifying which fields to include in a partial response.
|
|
41536
|
+
# @param [String] quota_user
|
|
41537
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41538
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41539
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41540
|
+
# Request-specific options
|
|
41541
|
+
#
|
|
41542
|
+
# @yield [result, err] Result & error if block supplied
|
|
41543
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
41544
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41545
|
+
#
|
|
41546
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
41547
|
+
#
|
|
41548
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41549
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41550
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41551
|
+
def delete_task_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
41552
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
41553
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
41554
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
41555
|
+
command.params['name'] = name unless name.nil?
|
|
41556
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41557
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41558
|
+
execute_or_queue_command(command, &block)
|
|
41559
|
+
end
|
|
41560
|
+
|
|
41561
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
41562
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
41563
|
+
# @param [String] name
|
|
41564
|
+
# The name of the operation resource.
|
|
41565
|
+
# @param [String] fields
|
|
41566
|
+
# Selector specifying which fields to include in a partial response.
|
|
41567
|
+
# @param [String] quota_user
|
|
41568
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41569
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41570
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41571
|
+
# Request-specific options
|
|
41572
|
+
#
|
|
41573
|
+
# @yield [result, err] Result & error if block supplied
|
|
41574
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
41575
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41576
|
+
#
|
|
41577
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
41578
|
+
#
|
|
41579
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41580
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41581
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41582
|
+
def get_task_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
41583
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
41584
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
41585
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
41586
|
+
command.params['name'] = name unless name.nil?
|
|
41587
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41588
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41589
|
+
execute_or_queue_command(command, &block)
|
|
41590
|
+
end
|
|
41591
|
+
|
|
41592
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
41593
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
41594
|
+
# @param [String] name
|
|
41595
|
+
# The name of the operation's parent resource.
|
|
41596
|
+
# @param [String] filter
|
|
41597
|
+
# The standard list filter.
|
|
41598
|
+
# @param [Fixnum] page_size
|
|
41599
|
+
# The standard list page size.
|
|
41600
|
+
# @param [String] page_token
|
|
41601
|
+
# The standard list page token.
|
|
41602
|
+
# @param [Boolean] return_partial_success
|
|
41603
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
41604
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
41605
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
41606
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
41607
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
41608
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
41609
|
+
# documentation.
|
|
41610
|
+
# @param [String] fields
|
|
41611
|
+
# Selector specifying which fields to include in a partial response.
|
|
41612
|
+
# @param [String] quota_user
|
|
41613
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41614
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41615
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41616
|
+
# Request-specific options
|
|
41617
|
+
#
|
|
41618
|
+
# @yield [result, err] Result & error if block supplied
|
|
41619
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
|
|
41620
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41621
|
+
#
|
|
41622
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
|
|
41623
|
+
#
|
|
41624
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41625
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41626
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41627
|
+
def list_task_store_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
41628
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
41629
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
|
|
41630
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
|
|
41631
|
+
command.params['name'] = name unless name.nil?
|
|
41632
|
+
command.query['filter'] = filter unless filter.nil?
|
|
41633
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
41634
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
41635
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
41636
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41637
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41638
|
+
execute_or_queue_command(command, &block)
|
|
41639
|
+
end
|
|
41640
|
+
|
|
41641
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
|
41642
|
+
# specified timeout, returning the latest state. If the operation is already
|
|
41643
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
|
41644
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
|
41645
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
|
41646
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
|
41647
|
+
# the latest state before the specified timeout (including immediately), meaning
|
|
41648
|
+
# even an immediate response is no guarantee that the operation is done.
|
|
41649
|
+
# @param [String] name
|
|
41650
|
+
# The name of the operation resource to wait on.
|
|
41651
|
+
# @param [String] timeout
|
|
41652
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
|
41653
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
|
41654
|
+
# context deadline is also specified, the shorter one will be used.
|
|
41655
|
+
# @param [String] fields
|
|
41656
|
+
# Selector specifying which fields to include in a partial response.
|
|
41657
|
+
# @param [String] quota_user
|
|
41658
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41659
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41660
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41661
|
+
# Request-specific options
|
|
41662
|
+
#
|
|
41663
|
+
# @yield [result, err] Result & error if block supplied
|
|
41664
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
41665
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41666
|
+
#
|
|
41667
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
41668
|
+
#
|
|
41669
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41670
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41671
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41672
|
+
def wait_task_store_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
41673
|
+
command = make_simple_command(:post, 'v1/{+name}:wait', options)
|
|
41674
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
41675
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
41676
|
+
command.params['name'] = name unless name.nil?
|
|
41677
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
|
41678
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41679
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41680
|
+
execute_or_queue_command(command, &block)
|
|
41681
|
+
end
|
|
41682
|
+
|
|
41054
41683
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
41055
41684
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
41056
41685
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -29,6 +29,9 @@ module Google
|
|
|
29
29
|
# This is NOT the gem version.
|
|
30
30
|
VERSION = 'V1'
|
|
31
31
|
|
|
32
|
+
# See, edit, configure, and delete your Google Cloud Vertex AI data and see the email address for your Google Account
|
|
33
|
+
AUTH_AIPLATFORM = 'https://www.googleapis.com/auth/aiplatform'
|
|
34
|
+
|
|
32
35
|
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
|
33
36
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
34
37
|
|
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.95.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_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.95.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:
|