google-apis-aiplatform_v1beta1 0.65.0 → 0.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +624 -309
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +65 -1
- data/lib/google/apis/aiplatform_v1beta1/service.rb +384 -4
- metadata +2 -2
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module AiplatformV1beta1
|
|
18
18
|
# Version of the google-apis-aiplatform_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.66.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 = "20251101"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1132,6 +1132,18 @@ module Google
|
|
|
1132
1132
|
include Google::Apis::Core::JsonObjectSupport
|
|
1133
1133
|
end
|
|
1134
1134
|
|
|
1135
|
+
class GoogleCloudAiplatformV1beta1CustomCodeExecutionResult
|
|
1136
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1137
|
+
|
|
1138
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1139
|
+
end
|
|
1140
|
+
|
|
1141
|
+
class GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec
|
|
1142
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1143
|
+
|
|
1144
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1145
|
+
end
|
|
1146
|
+
|
|
1135
1147
|
class GoogleCloudAiplatformV1beta1CustomJob
|
|
1136
1148
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1137
1149
|
|
|
@@ -1894,6 +1906,18 @@ module Google
|
|
|
1894
1906
|
include Google::Apis::Core::JsonObjectSupport
|
|
1895
1907
|
end
|
|
1896
1908
|
|
|
1909
|
+
class GoogleCloudAiplatformV1beta1ExecuteCodeRequest
|
|
1910
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1911
|
+
|
|
1912
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1913
|
+
end
|
|
1914
|
+
|
|
1915
|
+
class GoogleCloudAiplatformV1beta1ExecuteCodeResponse
|
|
1916
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1917
|
+
|
|
1918
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1919
|
+
end
|
|
1920
|
+
|
|
1897
1921
|
class GoogleCloudAiplatformV1beta1ExecuteExtensionRequest
|
|
1898
1922
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1899
1923
|
|
|
@@ -9247,6 +9271,8 @@ module Google
|
|
|
9247
9271
|
property :aggregation_metric, as: 'aggregationMetric'
|
|
9248
9272
|
property :bleu_metric_value, as: 'bleuMetricValue', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BleuMetricValue, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BleuMetricValue::Representation
|
|
9249
9273
|
|
|
9274
|
+
property :custom_code_execution_result, as: 'customCodeExecutionResult', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CustomCodeExecutionResult, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CustomCodeExecutionResult::Representation
|
|
9275
|
+
|
|
9250
9276
|
property :exact_match_metric_value, as: 'exactMatchMetricValue', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExactMatchMetricValue, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExactMatchMetricValue::Representation
|
|
9251
9277
|
|
|
9252
9278
|
property :pairwise_metric_result, as: 'pairwiseMetricResult', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PairwiseMetricResult, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PairwiseMetricResult::Representation
|
|
@@ -10745,6 +10771,20 @@ module Google
|
|
|
10745
10771
|
end
|
|
10746
10772
|
end
|
|
10747
10773
|
|
|
10774
|
+
class GoogleCloudAiplatformV1beta1CustomCodeExecutionResult
|
|
10775
|
+
# @private
|
|
10776
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10777
|
+
property :score, as: 'score'
|
|
10778
|
+
end
|
|
10779
|
+
end
|
|
10780
|
+
|
|
10781
|
+
class GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec
|
|
10782
|
+
# @private
|
|
10783
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10784
|
+
property :evaluation_function, as: 'evaluationFunction'
|
|
10785
|
+
end
|
|
10786
|
+
end
|
|
10787
|
+
|
|
10748
10788
|
class GoogleCloudAiplatformV1beta1CustomJob
|
|
10749
10789
|
# @private
|
|
10750
10790
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -11841,7 +11881,6 @@ module Google
|
|
|
11841
11881
|
|
|
11842
11882
|
property :events, as: 'events', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataEvents, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataEvents::Representation
|
|
11843
11883
|
|
|
11844
|
-
property :events_text, as: 'eventsText'
|
|
11845
11884
|
property :tools, as: 'tools', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataTools, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataTools::Representation
|
|
11846
11885
|
|
|
11847
11886
|
property :tools_text, as: 'toolsText'
|
|
@@ -12323,6 +12362,22 @@ module Google
|
|
|
12323
12362
|
end
|
|
12324
12363
|
end
|
|
12325
12364
|
|
|
12365
|
+
class GoogleCloudAiplatformV1beta1ExecuteCodeRequest
|
|
12366
|
+
# @private
|
|
12367
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12368
|
+
collection :inputs, as: 'inputs', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Chunk, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Chunk::Representation
|
|
12369
|
+
|
|
12370
|
+
end
|
|
12371
|
+
end
|
|
12372
|
+
|
|
12373
|
+
class GoogleCloudAiplatformV1beta1ExecuteCodeResponse
|
|
12374
|
+
# @private
|
|
12375
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12376
|
+
collection :outputs, as: 'outputs', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Chunk, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Chunk::Representation
|
|
12377
|
+
|
|
12378
|
+
end
|
|
12379
|
+
end
|
|
12380
|
+
|
|
12326
12381
|
class GoogleCloudAiplatformV1beta1ExecuteExtensionRequest
|
|
12327
12382
|
# @private
|
|
12328
12383
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -15535,6 +15590,7 @@ module Google
|
|
|
15535
15590
|
property :fact, as: 'fact'
|
|
15536
15591
|
property :name, as: 'name'
|
|
15537
15592
|
property :revision_expire_time, as: 'revisionExpireTime'
|
|
15593
|
+
hash :revision_labels, as: 'revisionLabels'
|
|
15538
15594
|
property :revision_ttl, as: 'revisionTtl'
|
|
15539
15595
|
hash :scope, as: 'scope'
|
|
15540
15596
|
collection :topics, as: 'topics', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryTopicId, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryTopicId::Representation
|
|
@@ -15698,6 +15754,8 @@ module Google
|
|
|
15698
15754
|
collection :aggregation_metrics, as: 'aggregationMetrics'
|
|
15699
15755
|
property :bleu_spec, as: 'bleuSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BleuSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BleuSpec::Representation
|
|
15700
15756
|
|
|
15757
|
+
property :custom_code_execution_spec, as: 'customCodeExecutionSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec::Representation
|
|
15758
|
+
|
|
15701
15759
|
property :exact_match_spec, as: 'exactMatchSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExactMatchSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExactMatchSpec::Representation
|
|
15702
15760
|
|
|
15703
15761
|
property :llm_based_metric_spec, as: 'llmBasedMetricSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1LlmBasedMetricSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1LlmBasedMetricSpec::Representation
|
|
@@ -18454,6 +18512,8 @@ module Google
|
|
|
18454
18512
|
property :rag_files_count, as: 'ragFilesCount'
|
|
18455
18513
|
property :rag_vector_db_config, as: 'ragVectorDbConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfig::Representation
|
|
18456
18514
|
|
|
18515
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
|
18516
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
|
18457
18517
|
property :update_time, as: 'updateTime'
|
|
18458
18518
|
property :vector_db_config, as: 'vectorDbConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfig::Representation
|
|
18459
18519
|
|
|
@@ -19073,10 +19133,13 @@ module Google
|
|
|
19073
19133
|
class GoogleCloudAiplatformV1beta1ReasoningEngineSpec
|
|
19074
19134
|
# @private
|
|
19075
19135
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
19136
|
+
hash :agent_card, as: 'agentCard'
|
|
19076
19137
|
property :agent_framework, as: 'agentFramework'
|
|
19077
19138
|
collection :class_methods, as: 'classMethods'
|
|
19078
19139
|
property :deployment_spec, as: 'deploymentSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec::Representation
|
|
19079
19140
|
|
|
19141
|
+
property :effective_identity, as: 'effectiveIdentity'
|
|
19142
|
+
property :identity_type, as: 'identityType'
|
|
19080
19143
|
property :package_spec, as: 'packageSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec::Representation
|
|
19081
19144
|
|
|
19082
19145
|
property :service_account, as: 'serviceAccount'
|
|
@@ -21927,6 +21990,7 @@ module Google
|
|
|
21927
21990
|
property :create_time, as: 'createTime'
|
|
21928
21991
|
property :display_name, as: 'displayName'
|
|
21929
21992
|
property :expire_time, as: 'expireTime'
|
|
21993
|
+
hash :labels, as: 'labels'
|
|
21930
21994
|
property :name, as: 'name'
|
|
21931
21995
|
hash :session_state, as: 'sessionState'
|
|
21932
21996
|
property :ttl, as: 'ttl'
|
|
@@ -9165,6 +9165,51 @@ module Google
|
|
|
9165
9165
|
execute_or_queue_command(command, &block)
|
|
9166
9166
|
end
|
|
9167
9167
|
|
|
9168
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
9169
|
+
# resource exists and does not have a policy set.
|
|
9170
|
+
# @param [String] resource
|
|
9171
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
9172
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
9173
|
+
# appropriate value for this field.
|
|
9174
|
+
# @param [Fixnum] options_requested_policy_version
|
|
9175
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
|
9176
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
9177
|
+
# rejected. Requests for policies with any conditional role bindings must
|
|
9178
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
|
9179
|
+
# valid value or leave the field unset. The policy in the response might use the
|
|
9180
|
+
# policy version that you specified, or it might use a lower policy version. For
|
|
9181
|
+
# example, if you specify version 3, but the policy has no conditional role
|
|
9182
|
+
# bindings, the response uses version 1. To learn which resources support
|
|
9183
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
9184
|
+
# google.com/iam/help/conditions/resource-policies).
|
|
9185
|
+
# @param [String] fields
|
|
9186
|
+
# Selector specifying which fields to include in a partial response.
|
|
9187
|
+
# @param [String] quota_user
|
|
9188
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9189
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9190
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9191
|
+
# Request-specific options
|
|
9192
|
+
#
|
|
9193
|
+
# @yield [result, err] Result & error if block supplied
|
|
9194
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
|
|
9195
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9196
|
+
#
|
|
9197
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
|
|
9198
|
+
#
|
|
9199
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9200
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9201
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9202
|
+
def get_project_location_dataset_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
9203
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
|
9204
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
|
|
9205
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
|
|
9206
|
+
command.params['resource'] = resource unless resource.nil?
|
|
9207
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
9208
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9209
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9210
|
+
execute_or_queue_command(command, &block)
|
|
9211
|
+
end
|
|
9212
|
+
|
|
9168
9213
|
# Fetches the configs of publisher models.
|
|
9169
9214
|
# @param [String] name
|
|
9170
9215
|
# Required. The name of the publisher model, in the format of `projects/`project`
|
|
@@ -9640,8 +9685,8 @@ module Google
|
|
|
9640
9685
|
# @param [String] name
|
|
9641
9686
|
# The resource that owns the locations collection, if applicable.
|
|
9642
9687
|
# @param [Array<String>, String] extra_location_types
|
|
9643
|
-
# Optional.
|
|
9644
|
-
#
|
|
9688
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
|
9689
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
|
9645
9690
|
# @param [String] filter
|
|
9646
9691
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
9647
9692
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -11715,6 +11760,84 @@ module Google
|
|
|
11715
11760
|
execute_or_queue_command(command, &block)
|
|
11716
11761
|
end
|
|
11717
11762
|
|
|
11763
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
11764
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
|
11765
|
+
# PERMISSION_DENIED` errors.
|
|
11766
|
+
# @param [String] resource
|
|
11767
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
11768
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
11769
|
+
# appropriate value for this field.
|
|
11770
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
|
11771
|
+
# @param [String] fields
|
|
11772
|
+
# Selector specifying which fields to include in a partial response.
|
|
11773
|
+
# @param [String] quota_user
|
|
11774
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
11775
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
11776
|
+
# @param [Google::Apis::RequestOptions] options
|
|
11777
|
+
# Request-specific options
|
|
11778
|
+
#
|
|
11779
|
+
# @yield [result, err] Result & error if block supplied
|
|
11780
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
|
|
11781
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
11782
|
+
#
|
|
11783
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
|
|
11784
|
+
#
|
|
11785
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
11786
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11787
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11788
|
+
def set_project_location_dataset_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
11789
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
|
11790
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
|
|
11791
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
|
11792
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
|
|
11793
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
|
|
11794
|
+
command.params['resource'] = resource unless resource.nil?
|
|
11795
|
+
command.query['fields'] = fields unless fields.nil?
|
|
11796
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
11797
|
+
execute_or_queue_command(command, &block)
|
|
11798
|
+
end
|
|
11799
|
+
|
|
11800
|
+
# Returns permissions that a caller has on the specified resource. If the
|
|
11801
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
|
11802
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
|
11803
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
11804
|
+
# This operation may "fail open" without warning.
|
|
11805
|
+
# @param [String] resource
|
|
11806
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
11807
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
|
11808
|
+
# appropriate value for this field.
|
|
11809
|
+
# @param [Array<String>, String] permissions
|
|
11810
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
|
11811
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
11812
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
11813
|
+
# @param [String] fields
|
|
11814
|
+
# Selector specifying which fields to include in a partial response.
|
|
11815
|
+
# @param [String] quota_user
|
|
11816
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
11817
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
11818
|
+
# @param [Google::Apis::RequestOptions] options
|
|
11819
|
+
# Request-specific options
|
|
11820
|
+
#
|
|
11821
|
+
# @yield [result, err] Result & error if block supplied
|
|
11822
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
|
11823
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
11824
|
+
#
|
|
11825
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse]
|
|
11826
|
+
#
|
|
11827
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
11828
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11829
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11830
|
+
def test_project_location_dataset_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
11831
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
|
11832
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
|
|
11833
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse
|
|
11834
|
+
command.params['resource'] = resource unless resource.nil?
|
|
11835
|
+
command.query['permissions'] = permissions unless permissions.nil?
|
|
11836
|
+
command.query['fields'] = fields unless fields.nil?
|
|
11837
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
11838
|
+
execute_or_queue_command(command, &block)
|
|
11839
|
+
end
|
|
11840
|
+
|
|
11718
11841
|
# Gets an AnnotationSpec.
|
|
11719
11842
|
# @param [String] name
|
|
11720
11843
|
# Required. The name of the AnnotationSpec resource. Format: `projects/`project`/
|
|
@@ -32117,6 +32240,40 @@ module Google
|
|
|
32117
32240
|
execute_or_queue_command(command, &block)
|
|
32118
32241
|
end
|
|
32119
32242
|
|
|
32243
|
+
# Executes code statelessly.
|
|
32244
|
+
# @param [String] name
|
|
32245
|
+
# Required. The resource name of the sandbox environment to execute. Format: `
|
|
32246
|
+
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
|
32247
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteCodeRequest] google_cloud_aiplatform_v1beta1_execute_code_request_object
|
|
32248
|
+
# @param [String] fields
|
|
32249
|
+
# Selector specifying which fields to include in a partial response.
|
|
32250
|
+
# @param [String] quota_user
|
|
32251
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
32252
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
32253
|
+
# @param [Google::Apis::RequestOptions] options
|
|
32254
|
+
# Request-specific options
|
|
32255
|
+
#
|
|
32256
|
+
# @yield [result, err] Result & error if block supplied
|
|
32257
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteCodeResponse] parsed result object
|
|
32258
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
32259
|
+
#
|
|
32260
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteCodeResponse]
|
|
32261
|
+
#
|
|
32262
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
32263
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
32264
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
32265
|
+
def execute_project_location_reasoning_engine_code(name, google_cloud_aiplatform_v1beta1_execute_code_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
32266
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:executeCode', options)
|
|
32267
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteCodeRequest::Representation
|
|
32268
|
+
command.request_object = google_cloud_aiplatform_v1beta1_execute_code_request_object
|
|
32269
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteCodeResponse::Representation
|
|
32270
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteCodeResponse
|
|
32271
|
+
command.params['name'] = name unless name.nil?
|
|
32272
|
+
command.query['fields'] = fields unless fields.nil?
|
|
32273
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
32274
|
+
execute_or_queue_command(command, &block)
|
|
32275
|
+
end
|
|
32276
|
+
|
|
32120
32277
|
# Gets a reasoning engine.
|
|
32121
32278
|
# @param [String] name
|
|
32122
32279
|
# Required. The name of the ReasoningEngine resource. Format: `projects/`project`
|
|
@@ -34067,6 +34224,10 @@ module Google
|
|
|
34067
34224
|
# Optional. The standard list filter. Supported fields: * `timestamp` range (i.e.
|
|
34068
34225
|
# `timestamp>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339
|
|
34069
34226
|
# format) More detail in [AIP-160](https://google.aip.dev/160).
|
|
34227
|
+
# @param [String] order_by
|
|
34228
|
+
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
|
34229
|
+
# order. Use "desc" after a field name for descending. Supported fields: * `
|
|
34230
|
+
# timestamp` Example: `timestamp desc`.
|
|
34070
34231
|
# @param [Fixnum] page_size
|
|
34071
34232
|
# Optional. The maximum number of events to return. The service may return fewer
|
|
34072
34233
|
# than this value. If unspecified, at most 100 events will be returned. These
|
|
@@ -34091,12 +34252,13 @@ module Google
|
|
|
34091
34252
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
34092
34253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
34093
34254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
34094
|
-
def list_project_location_reasoning_engine_session_events(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
34255
|
+
def list_project_location_reasoning_engine_session_events(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
34095
34256
|
command = make_simple_command(:get, 'v1beta1/{+parent}/events', options)
|
|
34096
34257
|
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse::Representation
|
|
34097
34258
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse
|
|
34098
34259
|
command.params['parent'] = parent unless parent.nil?
|
|
34099
34260
|
command.query['filter'] = filter unless filter.nil?
|
|
34261
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
34100
34262
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
34101
34263
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
34102
34264
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -39782,6 +39944,40 @@ module Google
|
|
|
39782
39944
|
execute_or_queue_command(command, &block)
|
|
39783
39945
|
end
|
|
39784
39946
|
|
|
39947
|
+
# Executes code statelessly.
|
|
39948
|
+
# @param [String] name
|
|
39949
|
+
# Required. The resource name of the sandbox environment to execute. Format: `
|
|
39950
|
+
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
|
39951
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteCodeRequest] google_cloud_aiplatform_v1beta1_execute_code_request_object
|
|
39952
|
+
# @param [String] fields
|
|
39953
|
+
# Selector specifying which fields to include in a partial response.
|
|
39954
|
+
# @param [String] quota_user
|
|
39955
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
39956
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
39957
|
+
# @param [Google::Apis::RequestOptions] options
|
|
39958
|
+
# Request-specific options
|
|
39959
|
+
#
|
|
39960
|
+
# @yield [result, err] Result & error if block supplied
|
|
39961
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteCodeResponse] parsed result object
|
|
39962
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
39963
|
+
#
|
|
39964
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteCodeResponse]
|
|
39965
|
+
#
|
|
39966
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
39967
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
39968
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
39969
|
+
def execute_reasoning_engine_code(name, google_cloud_aiplatform_v1beta1_execute_code_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
39970
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:executeCode', options)
|
|
39971
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteCodeRequest::Representation
|
|
39972
|
+
command.request_object = google_cloud_aiplatform_v1beta1_execute_code_request_object
|
|
39973
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteCodeResponse::Representation
|
|
39974
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteCodeResponse
|
|
39975
|
+
command.params['name'] = name unless name.nil?
|
|
39976
|
+
command.query['fields'] = fields unless fields.nil?
|
|
39977
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
39978
|
+
execute_or_queue_command(command, &block)
|
|
39979
|
+
end
|
|
39980
|
+
|
|
39785
39981
|
# Gets a reasoning engine.
|
|
39786
39982
|
# @param [String] name
|
|
39787
39983
|
# Required. The name of the ReasoningEngine resource. Format: `projects/`project`
|
|
@@ -41136,6 +41332,185 @@ module Google
|
|
|
41136
41332
|
execute_or_queue_command(command, &block)
|
|
41137
41333
|
end
|
|
41138
41334
|
|
|
41335
|
+
# Creates a SandboxEnvironment in a given reasoning engine.
|
|
41336
|
+
# @param [String] parent
|
|
41337
|
+
# Required. The resource name of the reasoning engine to create the
|
|
41338
|
+
# SandboxEnvironment in. Format: `projects/`project`/locations/`location`/
|
|
41339
|
+
# reasoningEngines/`reasoning_engine``.
|
|
41340
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironment] google_cloud_aiplatform_v1beta1_sandbox_environment_object
|
|
41341
|
+
# @param [String] fields
|
|
41342
|
+
# Selector specifying which fields to include in a partial response.
|
|
41343
|
+
# @param [String] quota_user
|
|
41344
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41345
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41346
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41347
|
+
# Request-specific options
|
|
41348
|
+
#
|
|
41349
|
+
# @yield [result, err] Result & error if block supplied
|
|
41350
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
|
41351
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41352
|
+
#
|
|
41353
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
|
41354
|
+
#
|
|
41355
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41356
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41357
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41358
|
+
def create_reasoning_engine_sandbox_environment(parent, google_cloud_aiplatform_v1beta1_sandbox_environment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
41359
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/sandboxEnvironments', options)
|
|
41360
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironment::Representation
|
|
41361
|
+
command.request_object = google_cloud_aiplatform_v1beta1_sandbox_environment_object
|
|
41362
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
41363
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
41364
|
+
command.params['parent'] = parent unless parent.nil?
|
|
41365
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41366
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41367
|
+
execute_or_queue_command(command, &block)
|
|
41368
|
+
end
|
|
41369
|
+
|
|
41370
|
+
# Deletes the specific SandboxEnvironment.
|
|
41371
|
+
# @param [String] name
|
|
41372
|
+
# Required. The resource name of the SandboxEnvironment to delete. Format: `
|
|
41373
|
+
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
|
|
41374
|
+
# sandboxEnvironments/`sandbox_environment``
|
|
41375
|
+
# @param [String] fields
|
|
41376
|
+
# Selector specifying which fields to include in a partial response.
|
|
41377
|
+
# @param [String] quota_user
|
|
41378
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41379
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41380
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41381
|
+
# Request-specific options
|
|
41382
|
+
#
|
|
41383
|
+
# @yield [result, err] Result & error if block supplied
|
|
41384
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
|
41385
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41386
|
+
#
|
|
41387
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
|
41388
|
+
#
|
|
41389
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41390
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41391
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41392
|
+
def delete_reasoning_engine_sandbox_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
41393
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
41394
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
|
41395
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
|
41396
|
+
command.params['name'] = name unless name.nil?
|
|
41397
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41398
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41399
|
+
execute_or_queue_command(command, &block)
|
|
41400
|
+
end
|
|
41401
|
+
|
|
41402
|
+
# Executes using a sandbox environment.
|
|
41403
|
+
# @param [String] name
|
|
41404
|
+
# Required. The resource name of the sandbox environment to execute. Format: `
|
|
41405
|
+
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
|
|
41406
|
+
# sandboxEnvironments/`sandbox_environment``
|
|
41407
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentRequest] google_cloud_aiplatform_v1beta1_execute_sandbox_environment_request_object
|
|
41408
|
+
# @param [String] fields
|
|
41409
|
+
# Selector specifying which fields to include in a partial response.
|
|
41410
|
+
# @param [String] quota_user
|
|
41411
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41412
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41413
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41414
|
+
# Request-specific options
|
|
41415
|
+
#
|
|
41416
|
+
# @yield [result, err] Result & error if block supplied
|
|
41417
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse] parsed result object
|
|
41418
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41419
|
+
#
|
|
41420
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse]
|
|
41421
|
+
#
|
|
41422
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41423
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41424
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41425
|
+
def execute_reasoning_engine_sandbox_environment(name, google_cloud_aiplatform_v1beta1_execute_sandbox_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
41426
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:execute', options)
|
|
41427
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentRequest::Representation
|
|
41428
|
+
command.request_object = google_cloud_aiplatform_v1beta1_execute_sandbox_environment_request_object
|
|
41429
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse::Representation
|
|
41430
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse
|
|
41431
|
+
command.params['name'] = name unless name.nil?
|
|
41432
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41433
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41434
|
+
execute_or_queue_command(command, &block)
|
|
41435
|
+
end
|
|
41436
|
+
|
|
41437
|
+
# Gets details of the specific SandboxEnvironment.
|
|
41438
|
+
# @param [String] name
|
|
41439
|
+
# Required. The resource name of the sandbox environment. Format: `projects/`
|
|
41440
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine`/
|
|
41441
|
+
# sandboxEnvironments/`sandbox_environment``
|
|
41442
|
+
# @param [String] fields
|
|
41443
|
+
# Selector specifying which fields to include in a partial response.
|
|
41444
|
+
# @param [String] quota_user
|
|
41445
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41446
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41447
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41448
|
+
# Request-specific options
|
|
41449
|
+
#
|
|
41450
|
+
# @yield [result, err] Result & error if block supplied
|
|
41451
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironment] parsed result object
|
|
41452
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41453
|
+
#
|
|
41454
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironment]
|
|
41455
|
+
#
|
|
41456
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41457
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41458
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41459
|
+
def get_reasoning_engine_sandbox_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
41460
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
41461
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironment::Representation
|
|
41462
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironment
|
|
41463
|
+
command.params['name'] = name unless name.nil?
|
|
41464
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41465
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41466
|
+
execute_or_queue_command(command, &block)
|
|
41467
|
+
end
|
|
41468
|
+
|
|
41469
|
+
# Lists SandboxEnvironments in a given reasoning engine.
|
|
41470
|
+
# @param [String] parent
|
|
41471
|
+
# Required. The resource name of the reasoning engine to list sandbox
|
|
41472
|
+
# environments from. Format: `projects/`project`/locations/`location`/
|
|
41473
|
+
# reasoningEngines/`reasoning_engine``
|
|
41474
|
+
# @param [String] filter
|
|
41475
|
+
# Optional. The standard list filter. More detail in [AIP-160](https://google.
|
|
41476
|
+
# aip.dev/160).
|
|
41477
|
+
# @param [Fixnum] page_size
|
|
41478
|
+
# Optional. The maximum number of SandboxEnvironments to return. The service may
|
|
41479
|
+
# return fewer than this value. If unspecified, at most 100 SandboxEnvironments
|
|
41480
|
+
# will be returned.
|
|
41481
|
+
# @param [String] page_token
|
|
41482
|
+
# Optional. The standard list page token, received from a previous `
|
|
41483
|
+
# ListSandboxEnvironments` call. Provide this to retrieve the subsequent page.
|
|
41484
|
+
# @param [String] fields
|
|
41485
|
+
# Selector specifying which fields to include in a partial response.
|
|
41486
|
+
# @param [String] quota_user
|
|
41487
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41488
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41489
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41490
|
+
# Request-specific options
|
|
41491
|
+
#
|
|
41492
|
+
# @yield [result, err] Result & error if block supplied
|
|
41493
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse] parsed result object
|
|
41494
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41495
|
+
#
|
|
41496
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse]
|
|
41497
|
+
#
|
|
41498
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41499
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41500
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41501
|
+
def list_reasoning_engine_sandbox_environments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
41502
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/sandboxEnvironments', options)
|
|
41503
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse::Representation
|
|
41504
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse
|
|
41505
|
+
command.params['parent'] = parent unless parent.nil?
|
|
41506
|
+
command.query['filter'] = filter unless filter.nil?
|
|
41507
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
41508
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
41509
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41510
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41511
|
+
execute_or_queue_command(command, &block)
|
|
41512
|
+
end
|
|
41513
|
+
|
|
41139
41514
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
41140
41515
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
41141
41516
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -41553,6 +41928,10 @@ module Google
|
|
|
41553
41928
|
# Optional. The standard list filter. Supported fields: * `timestamp` range (i.e.
|
|
41554
41929
|
# `timestamp>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339
|
|
41555
41930
|
# format) More detail in [AIP-160](https://google.aip.dev/160).
|
|
41931
|
+
# @param [String] order_by
|
|
41932
|
+
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
|
41933
|
+
# order. Use "desc" after a field name for descending. Supported fields: * `
|
|
41934
|
+
# timestamp` Example: `timestamp desc`.
|
|
41556
41935
|
# @param [Fixnum] page_size
|
|
41557
41936
|
# Optional. The maximum number of events to return. The service may return fewer
|
|
41558
41937
|
# than this value. If unspecified, at most 100 events will be returned. These
|
|
@@ -41577,12 +41956,13 @@ module Google
|
|
|
41577
41956
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41578
41957
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41579
41958
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41580
|
-
def list_reasoning_engine_session_events(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
41959
|
+
def list_reasoning_engine_session_events(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
41581
41960
|
command = make_simple_command(:get, 'v1beta1/{+parent}/events', options)
|
|
41582
41961
|
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse::Representation
|
|
41583
41962
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse
|
|
41584
41963
|
command.params['parent'] = parent unless parent.nil?
|
|
41585
41964
|
command.query['filter'] = filter unless filter.nil?
|
|
41965
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
41586
41966
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
41587
41967
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
41588
41968
|
command.query['fields'] = fields unless fields.nil?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-aiplatform_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.66.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.66.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|