google-apis-aiplatform_v1beta1 0.45.0 → 0.46.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 +39 -11
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +6 -1
- data/lib/google/apis/aiplatform_v1beta1/service.rb +185 -1
- 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: e1a530b3ef0090a1b885256b8c64db02f6525d7ed2e1df0d9ea7cf399425897c
|
4
|
+
data.tar.gz: a41833c879f917f82ba59dea9e99bcb11b41aafe96fe9578282627caf3cee618
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1577d8aed097fd13187a3dbe0cefb35645a44695ce4e05a730d81e01ab59f7289e9be6be84f776554f0269edd645b23d0771a2c201787625bb36529ada8c64a4
|
7
|
+
data.tar.gz: f28cc4a03e210dfbee1447853722bd4d7235e167445d201174128632d74489aad332e4c0ae66399bf8b6cb9d7981e2e6d4b2a0a52ad570252b85204011369515
|
data/CHANGELOG.md
CHANGED
@@ -3166,6 +3166,12 @@ module Google
|
|
3166
3166
|
# @return [String]
|
3167
3167
|
attr_accessor :display_name
|
3168
3168
|
|
3169
|
+
# Represents a customer-managed encryption key spec that can be applied to a top-
|
3170
|
+
# level resource.
|
3171
|
+
# Corresponds to the JSON property `encryptionSpec`
|
3172
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
3173
|
+
attr_accessor :encryption_spec
|
3174
|
+
|
3169
3175
|
# Timestamp of when this resource is considered expired. This is *always*
|
3170
3176
|
# provided on output, regardless of what was sent on input.
|
3171
3177
|
# Corresponds to the JSON property `expireTime`
|
@@ -3230,6 +3236,7 @@ module Google
|
|
3230
3236
|
@contents = args[:contents] if args.key?(:contents)
|
3231
3237
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3232
3238
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3239
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
3233
3240
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
3234
3241
|
@model = args[:model] if args.key?(:model)
|
3235
3242
|
@name = args[:name] if args.key?(:name)
|
@@ -7370,6 +7377,11 @@ module Google
|
|
7370
7377
|
class GoogleCloudAiplatformV1beta1DeployedModelRef
|
7371
7378
|
include Google::Apis::Core::Hashable
|
7372
7379
|
|
7380
|
+
# Immutable. The ID of the Checkpoint deployed in the DeployedModel.
|
7381
|
+
# Corresponds to the JSON property `checkpointId`
|
7382
|
+
# @return [String]
|
7383
|
+
attr_accessor :checkpoint_id
|
7384
|
+
|
7373
7385
|
# Immutable. An ID of a DeployedModel in the above Endpoint.
|
7374
7386
|
# Corresponds to the JSON property `deployedModelId`
|
7375
7387
|
# @return [String]
|
@@ -7386,6 +7398,7 @@ module Google
|
|
7386
7398
|
|
7387
7399
|
# Update properties of this object
|
7388
7400
|
def update!(**args)
|
7401
|
+
@checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
|
7389
7402
|
@deployed_model_id = args[:deployed_model_id] if args.key?(:deployed_model_id)
|
7390
7403
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
7391
7404
|
end
|
@@ -9115,7 +9128,7 @@ module Google
|
|
9115
9128
|
end
|
9116
9129
|
end
|
9117
9130
|
|
9118
|
-
#
|
9131
|
+
#
|
9119
9132
|
class GoogleCloudAiplatformV1beta1Example
|
9120
9133
|
include Google::Apis::Core::Hashable
|
9121
9134
|
|
@@ -9135,12 +9148,6 @@ module Google
|
|
9135
9148
|
# @return [String]
|
9136
9149
|
attr_accessor :example_id
|
9137
9150
|
|
9138
|
-
# Identifier. The resource name of the Example. Format: `projects/`project`/
|
9139
|
-
# locations/`location`/reasoningEngines/`reasoning_engine`/examples/`example``
|
9140
|
-
# Corresponds to the JSON property `name`
|
9141
|
-
# @return [String]
|
9142
|
-
attr_accessor :name
|
9143
|
-
|
9144
9151
|
# A ContentsExample to be used with GenerateContent alongside information
|
9145
9152
|
# required for storage and retrieval with Example Store.
|
9146
9153
|
# Corresponds to the JSON property `storedContentsExample`
|
@@ -9156,7 +9163,6 @@ module Google
|
|
9156
9163
|
@create_time = args[:create_time] if args.key?(:create_time)
|
9157
9164
|
@display_name = args[:display_name] if args.key?(:display_name)
|
9158
9165
|
@example_id = args[:example_id] if args.key?(:example_id)
|
9159
|
-
@name = args[:name] if args.key?(:name)
|
9160
9166
|
@stored_contents_example = args[:stored_contents_example] if args.key?(:stored_contents_example)
|
9161
9167
|
end
|
9162
9168
|
end
|
@@ -15034,6 +15040,13 @@ module Google
|
|
15034
15040
|
class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig
|
15035
15041
|
include Google::Apis::Core::Hashable
|
15036
15042
|
|
15043
|
+
# Optional. Indicates whether to include thoughts in the response. If true,
|
15044
|
+
# thoughts are returned only when available.
|
15045
|
+
# Corresponds to the JSON property `includeThoughts`
|
15046
|
+
# @return [Boolean]
|
15047
|
+
attr_accessor :include_thoughts
|
15048
|
+
alias_method :include_thoughts?, :include_thoughts
|
15049
|
+
|
15037
15050
|
# Optional. Indicates the thinking budget in tokens. This is only applied when
|
15038
15051
|
# enable_thinking is true.
|
15039
15052
|
# Corresponds to the JSON property `thinkingBudget`
|
@@ -15046,6 +15059,7 @@ module Google
|
|
15046
15059
|
|
15047
15060
|
# Update properties of this object
|
15048
15061
|
def update!(**args)
|
15062
|
+
@include_thoughts = args[:include_thoughts] if args.key?(:include_thoughts)
|
15049
15063
|
@thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
|
15050
15064
|
end
|
15051
15065
|
end
|
@@ -29823,7 +29837,8 @@ module Google
|
|
29823
29837
|
# @return [String]
|
29824
29838
|
attr_accessor :etag
|
29825
29839
|
|
29826
|
-
# Identifier. The resource name of the ReasoningEngine.
|
29840
|
+
# Identifier. The resource name of the ReasoningEngine. Format: `projects/`
|
29841
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
29827
29842
|
# Corresponds to the JSON property `name`
|
29828
29843
|
# @return [String]
|
29829
29844
|
attr_accessor :name
|
@@ -38700,7 +38715,7 @@ module Google
|
|
38700
38715
|
class GoogleCloudAiplatformV1beta1SearchExamplesResponseSimilarExample
|
38701
38716
|
include Google::Apis::Core::Hashable
|
38702
38717
|
|
38703
|
-
#
|
38718
|
+
# The example that is similar to the searched query.
|
38704
38719
|
# Corresponds to the JSON property `example`
|
38705
38720
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Example]
|
38706
38721
|
attr_accessor :example
|
@@ -45411,7 +45426,7 @@ module Google
|
|
45411
45426
|
class GoogleCloudAiplatformV1beta1UpsertExamplesResponseUpsertResult
|
45412
45427
|
include Google::Apis::Core::Hashable
|
45413
45428
|
|
45414
|
-
#
|
45429
|
+
# The example created/updated successfully.
|
45415
45430
|
# Corresponds to the JSON property `example`
|
45416
45431
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Example]
|
45417
45432
|
attr_accessor :example
|
@@ -45525,6 +45540,17 @@ module Google
|
|
45525
45540
|
# @return [String]
|
45526
45541
|
attr_accessor :engine
|
45527
45542
|
|
45543
|
+
# Optional. Filter strings to be passed to the search API.
|
45544
|
+
# Corresponds to the JSON property `filter`
|
45545
|
+
# @return [String]
|
45546
|
+
attr_accessor :filter
|
45547
|
+
|
45548
|
+
# Optional. Number of search results to return per query. The default value is
|
45549
|
+
# 10. The maximumm allowed value is 10.
|
45550
|
+
# Corresponds to the JSON property `maxResults`
|
45551
|
+
# @return [Fixnum]
|
45552
|
+
attr_accessor :max_results
|
45553
|
+
|
45528
45554
|
def initialize(**args)
|
45529
45555
|
update!(**args)
|
45530
45556
|
end
|
@@ -45533,6 +45559,8 @@ module Google
|
|
45533
45559
|
def update!(**args)
|
45534
45560
|
@datastore = args[:datastore] if args.key?(:datastore)
|
45535
45561
|
@engine = args[:engine] if args.key?(:engine)
|
45562
|
+
@filter = args[:filter] if args.key?(:filter)
|
45563
|
+
@max_results = args[:max_results] if args.key?(:max_results)
|
45536
45564
|
end
|
45537
45565
|
end
|
45538
45566
|
|
@@ -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.46.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250502"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -8869,6 +8869,8 @@ module Google
|
|
8869
8869
|
|
8870
8870
|
property :create_time, as: 'createTime'
|
8871
8871
|
property :display_name, as: 'displayName'
|
8872
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec::Representation
|
8873
|
+
|
8872
8874
|
property :expire_time, as: 'expireTime'
|
8873
8875
|
property :model, as: 'model'
|
8874
8876
|
property :name, as: 'name'
|
@@ -10080,6 +10082,7 @@ module Google
|
|
10080
10082
|
class GoogleCloudAiplatformV1beta1DeployedModelRef
|
10081
10083
|
# @private
|
10082
10084
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10085
|
+
property :checkpoint_id, as: 'checkpointId'
|
10083
10086
|
property :deployed_model_id, as: 'deployedModelId'
|
10084
10087
|
property :endpoint, as: 'endpoint'
|
10085
10088
|
end
|
@@ -10584,7 +10587,6 @@ module Google
|
|
10584
10587
|
property :create_time, as: 'createTime'
|
10585
10588
|
property :display_name, as: 'displayName'
|
10586
10589
|
property :example_id, as: 'exampleId'
|
10587
|
-
property :name, as: 'name'
|
10588
10590
|
property :stored_contents_example, as: 'storedContentsExample', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StoredContentsExample, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StoredContentsExample::Representation
|
10589
10591
|
|
10590
10592
|
end
|
@@ -12220,6 +12222,7 @@ module Google
|
|
12220
12222
|
class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig
|
12221
12223
|
# @private
|
12222
12224
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12225
|
+
property :include_thoughts, as: 'includeThoughts'
|
12223
12226
|
property :thinking_budget, as: 'thinkingBudget'
|
12224
12227
|
end
|
12225
12228
|
end
|
@@ -21028,6 +21031,8 @@ module Google
|
|
21028
21031
|
class Representation < Google::Apis::Core::JsonRepresentation
|
21029
21032
|
property :datastore, as: 'datastore'
|
21030
21033
|
property :engine, as: 'engine'
|
21034
|
+
property :filter, as: 'filter'
|
21035
|
+
property :max_results, as: 'maxResults'
|
21031
21036
|
end
|
21032
21037
|
end
|
21033
21038
|
|
@@ -22132,7 +22132,8 @@ module Google
|
|
22132
22132
|
|
22133
22133
|
# Updates a reasoning engine.
|
22134
22134
|
# @param [String] name
|
22135
|
-
# Identifier. The resource name of the ReasoningEngine.
|
22135
|
+
# Identifier. The resource name of the ReasoningEngine. Format: `projects/`
|
22136
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
22136
22137
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine] google_cloud_aiplatform_v1beta1_reasoning_engine_object
|
22137
22138
|
# @param [String] update_mask
|
22138
22139
|
# Optional. Mask specifying which fields to update.
|
@@ -22417,6 +22418,189 @@ module Google
|
|
22417
22418
|
execute_or_queue_command(command, &block)
|
22418
22419
|
end
|
22419
22420
|
|
22421
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
22422
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
22423
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
22424
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
22425
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
22426
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
22427
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
22428
|
+
# , corresponding to `Code.CANCELLED`.
|
22429
|
+
# @param [String] name
|
22430
|
+
# The name of the operation resource to be cancelled.
|
22431
|
+
# @param [String] fields
|
22432
|
+
# Selector specifying which fields to include in a partial response.
|
22433
|
+
# @param [String] quota_user
|
22434
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22435
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22436
|
+
# @param [Google::Apis::RequestOptions] options
|
22437
|
+
# Request-specific options
|
22438
|
+
#
|
22439
|
+
# @yield [result, err] Result & error if block supplied
|
22440
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
22441
|
+
# @yieldparam err [StandardError] error object if request failed
|
22442
|
+
#
|
22443
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
22444
|
+
#
|
22445
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22446
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22447
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22448
|
+
def cancel_project_location_reasoning_engine_sandbox_environment_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
22449
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
22450
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
22451
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
22452
|
+
command.params['name'] = name unless name.nil?
|
22453
|
+
command.query['fields'] = fields unless fields.nil?
|
22454
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22455
|
+
execute_or_queue_command(command, &block)
|
22456
|
+
end
|
22457
|
+
|
22458
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
22459
|
+
# longer interested in the operation result. It does not cancel the operation.
|
22460
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
22461
|
+
# UNIMPLEMENTED`.
|
22462
|
+
# @param [String] name
|
22463
|
+
# The name of the operation resource to be deleted.
|
22464
|
+
# @param [String] fields
|
22465
|
+
# Selector specifying which fields to include in a partial response.
|
22466
|
+
# @param [String] quota_user
|
22467
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22468
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22469
|
+
# @param [Google::Apis::RequestOptions] options
|
22470
|
+
# Request-specific options
|
22471
|
+
#
|
22472
|
+
# @yield [result, err] Result & error if block supplied
|
22473
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
22474
|
+
# @yieldparam err [StandardError] error object if request failed
|
22475
|
+
#
|
22476
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
22477
|
+
#
|
22478
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22479
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22480
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22481
|
+
def delete_project_location_reasoning_engine_sandbox_environment_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
22482
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
22483
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
22484
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
22485
|
+
command.params['name'] = name unless name.nil?
|
22486
|
+
command.query['fields'] = fields unless fields.nil?
|
22487
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22488
|
+
execute_or_queue_command(command, &block)
|
22489
|
+
end
|
22490
|
+
|
22491
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
22492
|
+
# to poll the operation result at intervals as recommended by the API service.
|
22493
|
+
# @param [String] name
|
22494
|
+
# The name of the operation resource.
|
22495
|
+
# @param [String] fields
|
22496
|
+
# Selector specifying which fields to include in a partial response.
|
22497
|
+
# @param [String] quota_user
|
22498
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22499
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22500
|
+
# @param [Google::Apis::RequestOptions] options
|
22501
|
+
# Request-specific options
|
22502
|
+
#
|
22503
|
+
# @yield [result, err] Result & error if block supplied
|
22504
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22505
|
+
# @yieldparam err [StandardError] error object if request failed
|
22506
|
+
#
|
22507
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22508
|
+
#
|
22509
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22510
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22511
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22512
|
+
def get_project_location_reasoning_engine_sandbox_environment_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
22513
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
22514
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22515
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22516
|
+
command.params['name'] = name unless name.nil?
|
22517
|
+
command.query['fields'] = fields unless fields.nil?
|
22518
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22519
|
+
execute_or_queue_command(command, &block)
|
22520
|
+
end
|
22521
|
+
|
22522
|
+
# Lists operations that match the specified filter in the request. If the server
|
22523
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
22524
|
+
# @param [String] name
|
22525
|
+
# The name of the operation's parent resource.
|
22526
|
+
# @param [String] filter
|
22527
|
+
# The standard list filter.
|
22528
|
+
# @param [Fixnum] page_size
|
22529
|
+
# The standard list page size.
|
22530
|
+
# @param [String] page_token
|
22531
|
+
# The standard list page token.
|
22532
|
+
# @param [String] fields
|
22533
|
+
# Selector specifying which fields to include in a partial response.
|
22534
|
+
# @param [String] quota_user
|
22535
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22536
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22537
|
+
# @param [Google::Apis::RequestOptions] options
|
22538
|
+
# Request-specific options
|
22539
|
+
#
|
22540
|
+
# @yield [result, err] Result & error if block supplied
|
22541
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
22542
|
+
# @yieldparam err [StandardError] error object if request failed
|
22543
|
+
#
|
22544
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
22545
|
+
#
|
22546
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22547
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22548
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22549
|
+
def list_project_location_reasoning_engine_sandbox_environment_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
22550
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
22551
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
22552
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
22553
|
+
command.params['name'] = name unless name.nil?
|
22554
|
+
command.query['filter'] = filter unless filter.nil?
|
22555
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
22556
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
22557
|
+
command.query['fields'] = fields unless fields.nil?
|
22558
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22559
|
+
execute_or_queue_command(command, &block)
|
22560
|
+
end
|
22561
|
+
|
22562
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
22563
|
+
# specified timeout, returning the latest state. If the operation is already
|
22564
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
22565
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
22566
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
22567
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
22568
|
+
# the latest state before the specified timeout (including immediately), meaning
|
22569
|
+
# even an immediate response is no guarantee that the operation is done.
|
22570
|
+
# @param [String] name
|
22571
|
+
# The name of the operation resource to wait on.
|
22572
|
+
# @param [String] timeout
|
22573
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
22574
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
22575
|
+
# context deadline is also specified, the shorter one will be used.
|
22576
|
+
# @param [String] fields
|
22577
|
+
# Selector specifying which fields to include in a partial response.
|
22578
|
+
# @param [String] quota_user
|
22579
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22580
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22581
|
+
# @param [Google::Apis::RequestOptions] options
|
22582
|
+
# Request-specific options
|
22583
|
+
#
|
22584
|
+
# @yield [result, err] Result & error if block supplied
|
22585
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22586
|
+
# @yieldparam err [StandardError] error object if request failed
|
22587
|
+
#
|
22588
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22589
|
+
#
|
22590
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22591
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22592
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22593
|
+
def wait_project_location_reasoning_engine_sandbox_environment_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
22594
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
22595
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22596
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22597
|
+
command.params['name'] = name unless name.nil?
|
22598
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
22599
|
+
command.query['fields'] = fields unless fields.nil?
|
22600
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22601
|
+
execute_or_queue_command(command, &block)
|
22602
|
+
end
|
22603
|
+
|
22420
22604
|
# Appends an event to a given session.
|
22421
22605
|
# @param [String] name
|
22422
22606
|
# Required. The resource name of the session to append event to. Format: `
|
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.46.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.46.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:
|