google-apis-aiplatform_v1beta1 0.40.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +1572 -4
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +809 -1
- data/lib/google/apis/aiplatform_v1beta1/service.rb +943 -15
- metadata +3 -3
@@ -985,6 +985,9 @@ module Google
|
|
985
985
|
# Lists information about the supported locations for this service.
|
986
986
|
# @param [String] name
|
987
987
|
# The resource that owns the locations collection, if applicable.
|
988
|
+
# @param [Array<String>, String] extra_location_types
|
989
|
+
# Optional. A list of extra location types that should be used as conditions for
|
990
|
+
# controlling the visibility of the locations.
|
988
991
|
# @param [String] filter
|
989
992
|
# A filter to narrow down results to a preferred subset. The filtering language
|
990
993
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -1012,11 +1015,12 @@ module Google
|
|
1012
1015
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1013
1016
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1014
1017
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1015
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1018
|
+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1016
1019
|
command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
|
1017
1020
|
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudLocationListLocationsResponse::Representation
|
1018
1021
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudLocationListLocationsResponse
|
1019
1022
|
command.params['name'] = name unless name.nil?
|
1023
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
1020
1024
|
command.query['filter'] = filter unless filter.nil?
|
1021
1025
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1022
1026
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -3219,9 +3223,7 @@ module Google
|
|
3219
3223
|
execute_or_queue_command(command, &block)
|
3220
3224
|
end
|
3221
3225
|
|
3222
|
-
# Lists Annotations belongs to a dataitem
|
3223
|
-
# InternalDatasetService. It is only used for exporting conversation data to
|
3224
|
-
# CCAI Insights.
|
3226
|
+
# Lists Annotations belongs to a dataitem.
|
3225
3227
|
# @param [String] parent
|
3226
3228
|
# Required. The resource name of the DataItem to list Annotations from. Format: `
|
3227
3229
|
# projects/`project`/locations/`location`/datasets/`dataset`/dataItems/`
|
@@ -6162,6 +6164,339 @@ module Google
|
|
6162
6164
|
execute_or_queue_command(command, &block)
|
6163
6165
|
end
|
6164
6166
|
|
6167
|
+
# Create an ExampleStore.
|
6168
|
+
# @param [String] parent
|
6169
|
+
# Required. The resource name of the Location to create the ExampleStore in.
|
6170
|
+
# Format: `projects/`project`/locations/`location``
|
6171
|
+
# @param [String] example_store_create_time
|
6172
|
+
# Output only. Timestamp when this ExampleStore was created.
|
6173
|
+
# @param [String] example_store_description
|
6174
|
+
# Optional. Description of the ExampleStore.
|
6175
|
+
# @param [String] example_store_display_name
|
6176
|
+
# Required. Display name of the ExampleStore.
|
6177
|
+
# @param [String] example_store_example_store_config_vertex_embedding_model
|
6178
|
+
# Required. The embedding model to be used for vector embedding. Immutable.
|
6179
|
+
# Supported models: * "textembedding-gecko@003" * "text-embedding-004" * "text-
|
6180
|
+
# embedding-005" * "text-multilingual-embedding-002"
|
6181
|
+
# @param [String] example_store_name
|
6182
|
+
# Identifier. The resource name of the ExampleStore. This is a unique identifier.
|
6183
|
+
# Format: projects/`project`/locations/`location`/exampleStores/`example_store`
|
6184
|
+
# @param [String] example_store_update_time
|
6185
|
+
# Output only. Timestamp when this ExampleStore was most recently updated.
|
6186
|
+
# @param [String] fields
|
6187
|
+
# Selector specifying which fields to include in a partial response.
|
6188
|
+
# @param [String] quota_user
|
6189
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6190
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6191
|
+
# @param [Google::Apis::RequestOptions] options
|
6192
|
+
# Request-specific options
|
6193
|
+
#
|
6194
|
+
# @yield [result, err] Result & error if block supplied
|
6195
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
6196
|
+
# @yieldparam err [StandardError] error object if request failed
|
6197
|
+
#
|
6198
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
6199
|
+
#
|
6200
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6201
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6202
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6203
|
+
def create_project_location_example_store(parent, example_store_create_time: nil, example_store_description: nil, example_store_display_name: nil, example_store_example_store_config_vertex_embedding_model: nil, example_store_name: nil, example_store_update_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6204
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/exampleStores:create', options)
|
6205
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
6206
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
6207
|
+
command.params['parent'] = parent unless parent.nil?
|
6208
|
+
command.query['exampleStore.createTime'] = example_store_create_time unless example_store_create_time.nil?
|
6209
|
+
command.query['exampleStore.description'] = example_store_description unless example_store_description.nil?
|
6210
|
+
command.query['exampleStore.displayName'] = example_store_display_name unless example_store_display_name.nil?
|
6211
|
+
command.query['exampleStore.exampleStoreConfig.vertexEmbeddingModel'] = example_store_example_store_config_vertex_embedding_model unless example_store_example_store_config_vertex_embedding_model.nil?
|
6212
|
+
command.query['exampleStore.name'] = example_store_name unless example_store_name.nil?
|
6213
|
+
command.query['exampleStore.updateTime'] = example_store_update_time unless example_store_update_time.nil?
|
6214
|
+
command.query['fields'] = fields unless fields.nil?
|
6215
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6216
|
+
execute_or_queue_command(command, &block)
|
6217
|
+
end
|
6218
|
+
|
6219
|
+
# Delete an ExampleStore.
|
6220
|
+
# @param [String] name
|
6221
|
+
# Required. The resource name of the ExampleStore to be deleted. Format: `
|
6222
|
+
# projects/`project`/locations/`location`/exampleStores/`example_store``
|
6223
|
+
# @param [String] fields
|
6224
|
+
# Selector specifying which fields to include in a partial response.
|
6225
|
+
# @param [String] quota_user
|
6226
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6227
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6228
|
+
# @param [Google::Apis::RequestOptions] options
|
6229
|
+
# Request-specific options
|
6230
|
+
#
|
6231
|
+
# @yield [result, err] Result & error if block supplied
|
6232
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
6233
|
+
# @yieldparam err [StandardError] error object if request failed
|
6234
|
+
#
|
6235
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
6236
|
+
#
|
6237
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6238
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6239
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6240
|
+
def delete_project_location_example_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
6241
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
6242
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
6243
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
6244
|
+
command.params['name'] = name unless name.nil?
|
6245
|
+
command.query['fields'] = fields unless fields.nil?
|
6246
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6247
|
+
execute_or_queue_command(command, &block)
|
6248
|
+
end
|
6249
|
+
|
6250
|
+
# Get Examples from the Example Store.
|
6251
|
+
# @param [String] example_store
|
6252
|
+
# Required. The name of the ExampleStore resource that the examples should be
|
6253
|
+
# fetched from. Format: `projects/`project`/locations/`location`/exampleStores/`
|
6254
|
+
# example_store``
|
6255
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchExamplesRequest] google_cloud_aiplatform_v1beta1_fetch_examples_request_object
|
6256
|
+
# @param [String] fields
|
6257
|
+
# Selector specifying which fields to include in a partial response.
|
6258
|
+
# @param [String] quota_user
|
6259
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6260
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6261
|
+
# @param [Google::Apis::RequestOptions] options
|
6262
|
+
# Request-specific options
|
6263
|
+
#
|
6264
|
+
# @yield [result, err] Result & error if block supplied
|
6265
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchExamplesResponse] parsed result object
|
6266
|
+
# @yieldparam err [StandardError] error object if request failed
|
6267
|
+
#
|
6268
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchExamplesResponse]
|
6269
|
+
#
|
6270
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6271
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6272
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6273
|
+
def fetch_project_location_example_store_examples(example_store, google_cloud_aiplatform_v1beta1_fetch_examples_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6274
|
+
command = make_simple_command(:post, 'v1beta1/{+exampleStore}:fetchExamples', options)
|
6275
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchExamplesRequest::Representation
|
6276
|
+
command.request_object = google_cloud_aiplatform_v1beta1_fetch_examples_request_object
|
6277
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchExamplesResponse::Representation
|
6278
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchExamplesResponse
|
6279
|
+
command.params['exampleStore'] = example_store unless example_store.nil?
|
6280
|
+
command.query['fields'] = fields unless fields.nil?
|
6281
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6282
|
+
execute_or_queue_command(command, &block)
|
6283
|
+
end
|
6284
|
+
|
6285
|
+
# Get an ExampleStore.
|
6286
|
+
# @param [String] name
|
6287
|
+
# Required. The resource name of the ExampleStore. Format: `projects/`project`/
|
6288
|
+
# locations/`location`/exampleStores/`example_store``
|
6289
|
+
# @param [String] fields
|
6290
|
+
# Selector specifying which fields to include in a partial response.
|
6291
|
+
# @param [String] quota_user
|
6292
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6293
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6294
|
+
# @param [Google::Apis::RequestOptions] options
|
6295
|
+
# Request-specific options
|
6296
|
+
#
|
6297
|
+
# @yield [result, err] Result & error if block supplied
|
6298
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExampleStore] parsed result object
|
6299
|
+
# @yieldparam err [StandardError] error object if request failed
|
6300
|
+
#
|
6301
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExampleStore]
|
6302
|
+
#
|
6303
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6304
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6305
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6306
|
+
def get_project_location_example_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
6307
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
6308
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExampleStore::Representation
|
6309
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExampleStore
|
6310
|
+
command.params['name'] = name unless name.nil?
|
6311
|
+
command.query['fields'] = fields unless fields.nil?
|
6312
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6313
|
+
execute_or_queue_command(command, &block)
|
6314
|
+
end
|
6315
|
+
|
6316
|
+
# List ExampleStores in a Location.
|
6317
|
+
# @param [String] parent
|
6318
|
+
# Required. The resource name of the Location to list the ExampleStores from.
|
6319
|
+
# Format: `projects/`project`/locations/`location``
|
6320
|
+
# @param [String] filter
|
6321
|
+
# Optional. The standard list filter. More detail in [AIP-160](https://google.
|
6322
|
+
# aip.dev/160).
|
6323
|
+
# @param [Fixnum] page_size
|
6324
|
+
# Optional. The standard list page size.
|
6325
|
+
# @param [String] page_token
|
6326
|
+
# Optional. The standard list page token.
|
6327
|
+
# @param [String] fields
|
6328
|
+
# Selector specifying which fields to include in a partial response.
|
6329
|
+
# @param [String] quota_user
|
6330
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6331
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6332
|
+
# @param [Google::Apis::RequestOptions] options
|
6333
|
+
# Request-specific options
|
6334
|
+
#
|
6335
|
+
# @yield [result, err] Result & error if block supplied
|
6336
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListExampleStoresResponse] parsed result object
|
6337
|
+
# @yieldparam err [StandardError] error object if request failed
|
6338
|
+
#
|
6339
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListExampleStoresResponse]
|
6340
|
+
#
|
6341
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6342
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6343
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6344
|
+
def list_project_location_example_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6345
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/exampleStores', options)
|
6346
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListExampleStoresResponse::Representation
|
6347
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListExampleStoresResponse
|
6348
|
+
command.params['parent'] = parent unless parent.nil?
|
6349
|
+
command.query['filter'] = filter unless filter.nil?
|
6350
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
6351
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
6352
|
+
command.query['fields'] = fields unless fields.nil?
|
6353
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6354
|
+
execute_or_queue_command(command, &block)
|
6355
|
+
end
|
6356
|
+
|
6357
|
+
# Update an ExampleStore.
|
6358
|
+
# @param [String] name
|
6359
|
+
# Identifier. The resource name of the ExampleStore. This is a unique identifier.
|
6360
|
+
# Format: projects/`project`/locations/`location`/exampleStores/`example_store`
|
6361
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExampleStore] google_cloud_aiplatform_v1beta1_example_store_object
|
6362
|
+
# @param [String] update_mask
|
6363
|
+
# Optional. Mask specifying which fields to update. Supported fields: * `
|
6364
|
+
# display_name` * `description`
|
6365
|
+
# @param [String] fields
|
6366
|
+
# Selector specifying which fields to include in a partial response.
|
6367
|
+
# @param [String] quota_user
|
6368
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6369
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6370
|
+
# @param [Google::Apis::RequestOptions] options
|
6371
|
+
# Request-specific options
|
6372
|
+
#
|
6373
|
+
# @yield [result, err] Result & error if block supplied
|
6374
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
6375
|
+
# @yieldparam err [StandardError] error object if request failed
|
6376
|
+
#
|
6377
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
6378
|
+
#
|
6379
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6380
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6381
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6382
|
+
def patch_project_location_example_store(name, google_cloud_aiplatform_v1beta1_example_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6383
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
6384
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExampleStore::Representation
|
6385
|
+
command.request_object = google_cloud_aiplatform_v1beta1_example_store_object
|
6386
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
6387
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
6388
|
+
command.params['name'] = name unless name.nil?
|
6389
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
6390
|
+
command.query['fields'] = fields unless fields.nil?
|
6391
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6392
|
+
execute_or_queue_command(command, &block)
|
6393
|
+
end
|
6394
|
+
|
6395
|
+
# Remove Examples from the Example Store.
|
6396
|
+
# @param [String] example_store
|
6397
|
+
# Required. The name of the ExampleStore resource that the examples should be
|
6398
|
+
# removed from. Format: `projects/`project`/locations/`location`/exampleStores/`
|
6399
|
+
# example_store``
|
6400
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RemoveExamplesRequest] google_cloud_aiplatform_v1beta1_remove_examples_request_object
|
6401
|
+
# @param [String] fields
|
6402
|
+
# Selector specifying which fields to include in a partial response.
|
6403
|
+
# @param [String] quota_user
|
6404
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6405
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6406
|
+
# @param [Google::Apis::RequestOptions] options
|
6407
|
+
# Request-specific options
|
6408
|
+
#
|
6409
|
+
# @yield [result, err] Result & error if block supplied
|
6410
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RemoveExamplesResponse] parsed result object
|
6411
|
+
# @yieldparam err [StandardError] error object if request failed
|
6412
|
+
#
|
6413
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RemoveExamplesResponse]
|
6414
|
+
#
|
6415
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6416
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6417
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6418
|
+
def remove_project_location_example_store_examples(example_store, google_cloud_aiplatform_v1beta1_remove_examples_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6419
|
+
command = make_simple_command(:post, 'v1beta1/{+exampleStore}:removeExamples', options)
|
6420
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RemoveExamplesRequest::Representation
|
6421
|
+
command.request_object = google_cloud_aiplatform_v1beta1_remove_examples_request_object
|
6422
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RemoveExamplesResponse::Representation
|
6423
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RemoveExamplesResponse
|
6424
|
+
command.params['exampleStore'] = example_store unless example_store.nil?
|
6425
|
+
command.query['fields'] = fields unless fields.nil?
|
6426
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6427
|
+
execute_or_queue_command(command, &block)
|
6428
|
+
end
|
6429
|
+
|
6430
|
+
# Search for similar Examples for given selection criteria.
|
6431
|
+
# @param [String] example_store
|
6432
|
+
# Required. The name of the ExampleStore resource that examples are retrieved
|
6433
|
+
# from. Format: `projects/`project`/locations/`location`/exampleStores/`
|
6434
|
+
# example_store``
|
6435
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchExamplesRequest] google_cloud_aiplatform_v1beta1_search_examples_request_object
|
6436
|
+
# @param [String] fields
|
6437
|
+
# Selector specifying which fields to include in a partial response.
|
6438
|
+
# @param [String] quota_user
|
6439
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6440
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6441
|
+
# @param [Google::Apis::RequestOptions] options
|
6442
|
+
# Request-specific options
|
6443
|
+
#
|
6444
|
+
# @yield [result, err] Result & error if block supplied
|
6445
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchExamplesResponse] parsed result object
|
6446
|
+
# @yieldparam err [StandardError] error object if request failed
|
6447
|
+
#
|
6448
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchExamplesResponse]
|
6449
|
+
#
|
6450
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6451
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6452
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6453
|
+
def search_project_location_example_store_examples(example_store, google_cloud_aiplatform_v1beta1_search_examples_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6454
|
+
command = make_simple_command(:post, 'v1beta1/{+exampleStore}:searchExamples', options)
|
6455
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchExamplesRequest::Representation
|
6456
|
+
command.request_object = google_cloud_aiplatform_v1beta1_search_examples_request_object
|
6457
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchExamplesResponse::Representation
|
6458
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchExamplesResponse
|
6459
|
+
command.params['exampleStore'] = example_store unless example_store.nil?
|
6460
|
+
command.query['fields'] = fields unless fields.nil?
|
6461
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6462
|
+
execute_or_queue_command(command, &block)
|
6463
|
+
end
|
6464
|
+
|
6465
|
+
# Create or update Examples in the Example Store.
|
6466
|
+
# @param [String] example_store
|
6467
|
+
# Required. The name of the ExampleStore resource that examples are added to or
|
6468
|
+
# updated in. Format: `projects/`project`/locations/`location`/exampleStores/`
|
6469
|
+
# example_store``
|
6470
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UpsertExamplesRequest] google_cloud_aiplatform_v1beta1_upsert_examples_request_object
|
6471
|
+
# @param [String] fields
|
6472
|
+
# Selector specifying which fields to include in a partial response.
|
6473
|
+
# @param [String] quota_user
|
6474
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6475
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6476
|
+
# @param [Google::Apis::RequestOptions] options
|
6477
|
+
# Request-specific options
|
6478
|
+
#
|
6479
|
+
# @yield [result, err] Result & error if block supplied
|
6480
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UpsertExamplesResponse] parsed result object
|
6481
|
+
# @yieldparam err [StandardError] error object if request failed
|
6482
|
+
#
|
6483
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UpsertExamplesResponse]
|
6484
|
+
#
|
6485
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6486
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6487
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6488
|
+
def upsert_project_location_example_store_examples(example_store, google_cloud_aiplatform_v1beta1_upsert_examples_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6489
|
+
command = make_simple_command(:post, 'v1beta1/{+exampleStore}:upsertExamples', options)
|
6490
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UpsertExamplesRequest::Representation
|
6491
|
+
command.request_object = google_cloud_aiplatform_v1beta1_upsert_examples_request_object
|
6492
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UpsertExamplesResponse::Representation
|
6493
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UpsertExamplesResponse
|
6494
|
+
command.params['exampleStore'] = example_store unless example_store.nil?
|
6495
|
+
command.query['fields'] = fields unless fields.nil?
|
6496
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6497
|
+
execute_or_queue_command(command, &block)
|
6498
|
+
end
|
6499
|
+
|
6165
6500
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
6166
6501
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
6167
6502
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -8745,6 +9080,42 @@ module Google
|
|
8745
9080
|
execute_or_queue_command(command, &block)
|
8746
9081
|
end
|
8747
9082
|
|
9083
|
+
# Bidirectional streaming RPC to directly write to feature values in a feature
|
9084
|
+
# view. Requests may not have a one-to-one mapping to responses and responses
|
9085
|
+
# may be returned out-of-order to reduce latency.
|
9086
|
+
# @param [String] feature_view
|
9087
|
+
# FeatureView resource format `projects/`project`/locations/`location`/
|
9088
|
+
# featureOnlineStores/`featureOnlineStore`/featureViews/`featureView``
|
9089
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequest] google_cloud_aiplatform_v1beta1_feature_view_direct_write_request_object
|
9090
|
+
# @param [String] fields
|
9091
|
+
# Selector specifying which fields to include in a partial response.
|
9092
|
+
# @param [String] quota_user
|
9093
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9094
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9095
|
+
# @param [Google::Apis::RequestOptions] options
|
9096
|
+
# Request-specific options
|
9097
|
+
#
|
9098
|
+
# @yield [result, err] Result & error if block supplied
|
9099
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponse] parsed result object
|
9100
|
+
# @yieldparam err [StandardError] error object if request failed
|
9101
|
+
#
|
9102
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponse]
|
9103
|
+
#
|
9104
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9105
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9106
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9107
|
+
def direct_project_location_feature_online_store_feature_view_write(feature_view, google_cloud_aiplatform_v1beta1_feature_view_direct_write_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
9108
|
+
command = make_simple_command(:post, 'v1beta1/{+featureView}:directWrite', options)
|
9109
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequest::Representation
|
9110
|
+
command.request_object = google_cloud_aiplatform_v1beta1_feature_view_direct_write_request_object
|
9111
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponse::Representation
|
9112
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponse
|
9113
|
+
command.params['featureView'] = feature_view unless feature_view.nil?
|
9114
|
+
command.query['fields'] = fields unless fields.nil?
|
9115
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9116
|
+
execute_or_queue_command(command, &block)
|
9117
|
+
end
|
9118
|
+
|
8748
9119
|
# Fetch feature values under a FeatureView.
|
8749
9120
|
# @param [String] feature_view
|
8750
9121
|
# Required. FeatureView resource format `projects/`project`/locations/`location`/
|
@@ -20111,12 +20482,15 @@ module Google
|
|
20111
20482
|
execute_or_queue_command(command, &block)
|
20112
20483
|
end
|
20113
20484
|
|
20114
|
-
#
|
20115
|
-
# @param [String]
|
20116
|
-
# Required. The
|
20117
|
-
#
|
20118
|
-
#
|
20119
|
-
#
|
20485
|
+
# Exports a publisher model to a user provided Google Cloud Storage bucket.
|
20486
|
+
# @param [String] parent
|
20487
|
+
# Required. The Location to export the model weights from Format: `projects/`
|
20488
|
+
# project`/locations/`location``
|
20489
|
+
# @param [String] name
|
20490
|
+
# Required. The name of the PublisherModel resource. Format: `publishers/`
|
20491
|
+
# publisher`/models/`publisher_model`@`version_id``, or `publishers/hf-`hugging-
|
20492
|
+
# face-author`/models/`hugging-face-model-name`@001`
|
20493
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExportPublisherModelRequest] google_cloud_aiplatform_v1beta1_export_publisher_model_request_object
|
20120
20494
|
# @param [String] fields
|
20121
20495
|
# Selector specifying which fields to include in a partial response.
|
20122
20496
|
# @param [String] quota_user
|
@@ -20134,10 +20508,46 @@ module Google
|
|
20134
20508
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
20135
20509
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
20136
20510
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
20137
|
-
def
|
20138
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
20139
|
-
command.request_representation = Google::Apis::AiplatformV1beta1::
|
20140
|
-
command.request_object =
|
20511
|
+
def export_project_location_publisher_model(parent, name, google_cloud_aiplatform_v1beta1_export_publisher_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
20512
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/{+name}:export', options)
|
20513
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExportPublisherModelRequest::Representation
|
20514
|
+
command.request_object = google_cloud_aiplatform_v1beta1_export_publisher_model_request_object
|
20515
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
20516
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
20517
|
+
command.params['parent'] = parent unless parent.nil?
|
20518
|
+
command.params['name'] = name unless name.nil?
|
20519
|
+
command.query['fields'] = fields unless fields.nil?
|
20520
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
20521
|
+
execute_or_queue_command(command, &block)
|
20522
|
+
end
|
20523
|
+
|
20524
|
+
# Fetch an asynchronous online prediction operation.
|
20525
|
+
# @param [String] endpoint
|
20526
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
20527
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/`
|
20528
|
+
# project`/locations/`location`/publishers/`publisher`/models/`model``
|
20529
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchPredictOperationRequest] google_cloud_aiplatform_v1beta1_fetch_predict_operation_request_object
|
20530
|
+
# @param [String] fields
|
20531
|
+
# Selector specifying which fields to include in a partial response.
|
20532
|
+
# @param [String] quota_user
|
20533
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
20534
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
20535
|
+
# @param [Google::Apis::RequestOptions] options
|
20536
|
+
# Request-specific options
|
20537
|
+
#
|
20538
|
+
# @yield [result, err] Result & error if block supplied
|
20539
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
20540
|
+
# @yieldparam err [StandardError] error object if request failed
|
20541
|
+
#
|
20542
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
20543
|
+
#
|
20544
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
20545
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
20546
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
20547
|
+
def fetch_project_location_publisher_model_predict_operation(endpoint, google_cloud_aiplatform_v1beta1_fetch_predict_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
20548
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}:fetchPredictOperation', options)
|
20549
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchPredictOperationRequest::Representation
|
20550
|
+
command.request_object = google_cloud_aiplatform_v1beta1_fetch_predict_operation_request_object
|
20141
20551
|
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
20142
20552
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
20143
20553
|
command.params['endpoint'] = endpoint unless endpoint.nil?
|
@@ -21149,6 +21559,10 @@ module Google
|
|
21149
21559
|
# @param [String] name
|
21150
21560
|
# Required. The name of the ReasoningEngine resource to be deleted. Format: `
|
21151
21561
|
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
21562
|
+
# @param [Boolean] force
|
21563
|
+
# Optional. If set to true, child resources of this reasoning engine will also
|
21564
|
+
# be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error
|
21565
|
+
# when the reasoning engine has undeleted child resources.
|
21152
21566
|
# @param [String] fields
|
21153
21567
|
# Selector specifying which fields to include in a partial response.
|
21154
21568
|
# @param [String] quota_user
|
@@ -21166,11 +21580,12 @@ module Google
|
|
21166
21580
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21167
21581
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21168
21582
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21169
|
-
def delete_project_location_reasoning_engine(name, fields: nil, quota_user: nil, options: nil, &block)
|
21583
|
+
def delete_project_location_reasoning_engine(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
21170
21584
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
21171
21585
|
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
21172
21586
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
21173
21587
|
command.params['name'] = name unless name.nil?
|
21588
|
+
command.query['force'] = force unless force.nil?
|
21174
21589
|
command.query['fields'] = fields unless fields.nil?
|
21175
21590
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
21176
21591
|
execute_or_queue_command(command, &block)
|
@@ -21535,6 +21950,266 @@ module Google
|
|
21535
21950
|
execute_or_queue_command(command, &block)
|
21536
21951
|
end
|
21537
21952
|
|
21953
|
+
# Appends an event to a given session.
|
21954
|
+
# @param [String] name
|
21955
|
+
# Required. The resource name of the session to append event to. Format: `
|
21956
|
+
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
|
21957
|
+
# sessions/`session``
|
21958
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SessionEvent] google_cloud_aiplatform_v1beta1_session_event_object
|
21959
|
+
# @param [String] fields
|
21960
|
+
# Selector specifying which fields to include in a partial response.
|
21961
|
+
# @param [String] quota_user
|
21962
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
21963
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
21964
|
+
# @param [Google::Apis::RequestOptions] options
|
21965
|
+
# Request-specific options
|
21966
|
+
#
|
21967
|
+
# @yield [result, err] Result & error if block supplied
|
21968
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AppendEventResponse] parsed result object
|
21969
|
+
# @yieldparam err [StandardError] error object if request failed
|
21970
|
+
#
|
21971
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AppendEventResponse]
|
21972
|
+
#
|
21973
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21974
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21975
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21976
|
+
def append_project_location_reasoning_engine_session_event(name, google_cloud_aiplatform_v1beta1_session_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
21977
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:appendEvent', options)
|
21978
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SessionEvent::Representation
|
21979
|
+
command.request_object = google_cloud_aiplatform_v1beta1_session_event_object
|
21980
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AppendEventResponse::Representation
|
21981
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AppendEventResponse
|
21982
|
+
command.params['name'] = name unless name.nil?
|
21983
|
+
command.query['fields'] = fields unless fields.nil?
|
21984
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
21985
|
+
execute_or_queue_command(command, &block)
|
21986
|
+
end
|
21987
|
+
|
21988
|
+
# Creates a new Session in a given project and location.
|
21989
|
+
# @param [String] parent
|
21990
|
+
# Required. The resource name of the location to create the session in. Format: `
|
21991
|
+
# projects/`project`/locations/`location`` or `projects/`project`/locations/`
|
21992
|
+
# location`/reasoningEngines/`reasoning_engine``
|
21993
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] google_cloud_aiplatform_v1beta1_session_object
|
21994
|
+
# @param [String] fields
|
21995
|
+
# Selector specifying which fields to include in a partial response.
|
21996
|
+
# @param [String] quota_user
|
21997
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
21998
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
21999
|
+
# @param [Google::Apis::RequestOptions] options
|
22000
|
+
# Request-specific options
|
22001
|
+
#
|
22002
|
+
# @yield [result, err] Result & error if block supplied
|
22003
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22004
|
+
# @yieldparam err [StandardError] error object if request failed
|
22005
|
+
#
|
22006
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22007
|
+
#
|
22008
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22009
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22010
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22011
|
+
def create_project_location_reasoning_engine_session(parent, google_cloud_aiplatform_v1beta1_session_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
22012
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/sessions', options)
|
22013
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
|
22014
|
+
command.request_object = google_cloud_aiplatform_v1beta1_session_object
|
22015
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22016
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22017
|
+
command.params['parent'] = parent unless parent.nil?
|
22018
|
+
command.query['fields'] = fields unless fields.nil?
|
22019
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22020
|
+
execute_or_queue_command(command, &block)
|
22021
|
+
end
|
22022
|
+
|
22023
|
+
# Deletes details of the specific Session.
|
22024
|
+
# @param [String] name
|
22025
|
+
# Required. The resource name of the session. Format: `projects/`project`/
|
22026
|
+
# locations/`location`/sessions/`session`` or `projects/`project`/locations/`
|
22027
|
+
# location`/reasoningEngines/`reasoning_engine`/sessions/`session``
|
22028
|
+
# @param [String] fields
|
22029
|
+
# Selector specifying which fields to include in a partial response.
|
22030
|
+
# @param [String] quota_user
|
22031
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22032
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22033
|
+
# @param [Google::Apis::RequestOptions] options
|
22034
|
+
# Request-specific options
|
22035
|
+
#
|
22036
|
+
# @yield [result, err] Result & error if block supplied
|
22037
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22038
|
+
# @yieldparam err [StandardError] error object if request failed
|
22039
|
+
#
|
22040
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22041
|
+
#
|
22042
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22043
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22044
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22045
|
+
def delete_project_location_reasoning_engine_session(name, fields: nil, quota_user: nil, options: nil, &block)
|
22046
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
22047
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22048
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22049
|
+
command.params['name'] = name unless name.nil?
|
22050
|
+
command.query['fields'] = fields unless fields.nil?
|
22051
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22052
|
+
execute_or_queue_command(command, &block)
|
22053
|
+
end
|
22054
|
+
|
22055
|
+
# Gets details of the specific Session.
|
22056
|
+
# @param [String] name
|
22057
|
+
# Required. The resource name of the session. Format: `projects/`project`/
|
22058
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session``
|
22059
|
+
# @param [String] fields
|
22060
|
+
# Selector specifying which fields to include in a partial response.
|
22061
|
+
# @param [String] quota_user
|
22062
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22063
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22064
|
+
# @param [Google::Apis::RequestOptions] options
|
22065
|
+
# Request-specific options
|
22066
|
+
#
|
22067
|
+
# @yield [result, err] Result & error if block supplied
|
22068
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] parsed result object
|
22069
|
+
# @yieldparam err [StandardError] error object if request failed
|
22070
|
+
#
|
22071
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session]
|
22072
|
+
#
|
22073
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22074
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22075
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22076
|
+
def get_project_location_reasoning_engine_session(name, fields: nil, quota_user: nil, options: nil, &block)
|
22077
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
22078
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
|
22079
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session
|
22080
|
+
command.params['name'] = name unless name.nil?
|
22081
|
+
command.query['fields'] = fields unless fields.nil?
|
22082
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22083
|
+
execute_or_queue_command(command, &block)
|
22084
|
+
end
|
22085
|
+
|
22086
|
+
# Lists Sessions in a given project and location.
|
22087
|
+
# @param [String] parent
|
22088
|
+
# Required. The resource name of the location to list sessions from. Format: `
|
22089
|
+
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
22090
|
+
# @param [String] filter
|
22091
|
+
# Optional. The standard list filter. Supported fields: * `display_name` Example:
|
22092
|
+
# `display_name=abc`.
|
22093
|
+
# @param [String] order_by
|
22094
|
+
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
22095
|
+
# order. Use "desc" after a field name for descending. Supported fields: * `
|
22096
|
+
# create_time` * `update_time` Example: `create_time desc`.
|
22097
|
+
# @param [Fixnum] page_size
|
22098
|
+
# Optional. The maximum number of sessions to return. The service may return
|
22099
|
+
# fewer than this value. If unspecified, at most 100 sessions will be returned.
|
22100
|
+
# @param [String] page_token
|
22101
|
+
# Optional. The next_page_token value returned from a previous list
|
22102
|
+
# SessionService.ListSessions call.
|
22103
|
+
# @param [String] fields
|
22104
|
+
# Selector specifying which fields to include in a partial response.
|
22105
|
+
# @param [String] quota_user
|
22106
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22107
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22108
|
+
# @param [Google::Apis::RequestOptions] options
|
22109
|
+
# Request-specific options
|
22110
|
+
#
|
22111
|
+
# @yield [result, err] Result & error if block supplied
|
22112
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse] parsed result object
|
22113
|
+
# @yieldparam err [StandardError] error object if request failed
|
22114
|
+
#
|
22115
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse]
|
22116
|
+
#
|
22117
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22118
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22119
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22120
|
+
def list_project_location_reasoning_engine_sessions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
22121
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/sessions', options)
|
22122
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse::Representation
|
22123
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse
|
22124
|
+
command.params['parent'] = parent unless parent.nil?
|
22125
|
+
command.query['filter'] = filter unless filter.nil?
|
22126
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
22127
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
22128
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
22129
|
+
command.query['fields'] = fields unless fields.nil?
|
22130
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22131
|
+
execute_or_queue_command(command, &block)
|
22132
|
+
end
|
22133
|
+
|
22134
|
+
# Updates the specific Session.
|
22135
|
+
# @param [String] name
|
22136
|
+
# Required. Identifier. The resource name of the session. Format: 'projects/`
|
22137
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`
|
22138
|
+
# session`'.
|
22139
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] google_cloud_aiplatform_v1beta1_session_object
|
22140
|
+
# @param [String] update_mask
|
22141
|
+
# Optional. Field mask is used to control which fields get updated. If the mask
|
22142
|
+
# is not present, all fields will be updated.
|
22143
|
+
# @param [String] fields
|
22144
|
+
# Selector specifying which fields to include in a partial response.
|
22145
|
+
# @param [String] quota_user
|
22146
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22147
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22148
|
+
# @param [Google::Apis::RequestOptions] options
|
22149
|
+
# Request-specific options
|
22150
|
+
#
|
22151
|
+
# @yield [result, err] Result & error if block supplied
|
22152
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] parsed result object
|
22153
|
+
# @yieldparam err [StandardError] error object if request failed
|
22154
|
+
#
|
22155
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session]
|
22156
|
+
#
|
22157
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22158
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22159
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22160
|
+
def patch_project_location_reasoning_engine_session(name, google_cloud_aiplatform_v1beta1_session_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
22161
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
22162
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
|
22163
|
+
command.request_object = google_cloud_aiplatform_v1beta1_session_object
|
22164
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
|
22165
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session
|
22166
|
+
command.params['name'] = name unless name.nil?
|
22167
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
22168
|
+
command.query['fields'] = fields unless fields.nil?
|
22169
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22170
|
+
execute_or_queue_command(command, &block)
|
22171
|
+
end
|
22172
|
+
|
22173
|
+
# Lists Events in a given session.
|
22174
|
+
# @param [String] parent
|
22175
|
+
# Required. The resource name of the session to list events from. Format: `
|
22176
|
+
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
|
22177
|
+
# sessions/`session``
|
22178
|
+
# @param [Fixnum] page_size
|
22179
|
+
# Optional. The maximum number of events to return. The service may return fewer
|
22180
|
+
# than this value. If unspecified, at most 100 events will be returned.
|
22181
|
+
# @param [String] page_token
|
22182
|
+
# Optional. The next_page_token value returned from a previous list
|
22183
|
+
# SessionService.ListEvents call.
|
22184
|
+
# @param [String] fields
|
22185
|
+
# Selector specifying which fields to include in a partial response.
|
22186
|
+
# @param [String] quota_user
|
22187
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22188
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22189
|
+
# @param [Google::Apis::RequestOptions] options
|
22190
|
+
# Request-specific options
|
22191
|
+
#
|
22192
|
+
# @yield [result, err] Result & error if block supplied
|
22193
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse] parsed result object
|
22194
|
+
# @yieldparam err [StandardError] error object if request failed
|
22195
|
+
#
|
22196
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse]
|
22197
|
+
#
|
22198
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22199
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22200
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22201
|
+
def list_project_location_reasoning_engine_session_events(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
22202
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/events', options)
|
22203
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse::Representation
|
22204
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse
|
22205
|
+
command.params['parent'] = parent unless parent.nil?
|
22206
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
22207
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
22208
|
+
command.query['fields'] = fields unless fields.nil?
|
22209
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22210
|
+
execute_or_queue_command(command, &block)
|
22211
|
+
end
|
22212
|
+
|
21538
22213
|
# Creates a Schedule.
|
21539
22214
|
# @param [String] parent
|
21540
22215
|
# Required. The resource name of the Location to create the Schedule in. Format:
|
@@ -21996,6 +22671,191 @@ module Google
|
|
21996
22671
|
execute_or_queue_command(command, &block)
|
21997
22672
|
end
|
21998
22673
|
|
22674
|
+
# Creates a new Session in a given project and location.
|
22675
|
+
# @param [String] parent
|
22676
|
+
# Required. The resource name of the location to create the session in. Format: `
|
22677
|
+
# projects/`project`/locations/`location`` or `projects/`project`/locations/`
|
22678
|
+
# location`/reasoningEngines/`reasoning_engine``
|
22679
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] google_cloud_aiplatform_v1beta1_session_object
|
22680
|
+
# @param [String] fields
|
22681
|
+
# Selector specifying which fields to include in a partial response.
|
22682
|
+
# @param [String] quota_user
|
22683
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22684
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22685
|
+
# @param [Google::Apis::RequestOptions] options
|
22686
|
+
# Request-specific options
|
22687
|
+
#
|
22688
|
+
# @yield [result, err] Result & error if block supplied
|
22689
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22690
|
+
# @yieldparam err [StandardError] error object if request failed
|
22691
|
+
#
|
22692
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22693
|
+
#
|
22694
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22695
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22696
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22697
|
+
def create_project_location_session(parent, google_cloud_aiplatform_v1beta1_session_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
22698
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/sessions', options)
|
22699
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
|
22700
|
+
command.request_object = google_cloud_aiplatform_v1beta1_session_object
|
22701
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22702
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22703
|
+
command.params['parent'] = parent unless parent.nil?
|
22704
|
+
command.query['fields'] = fields unless fields.nil?
|
22705
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22706
|
+
execute_or_queue_command(command, &block)
|
22707
|
+
end
|
22708
|
+
|
22709
|
+
# Deletes details of the specific Session.
|
22710
|
+
# @param [String] name
|
22711
|
+
# Required. The resource name of the session. Format: `projects/`project`/
|
22712
|
+
# locations/`location`/sessions/`session`` or `projects/`project`/locations/`
|
22713
|
+
# location`/reasoningEngines/`reasoning_engine`/sessions/`session``
|
22714
|
+
# @param [String] fields
|
22715
|
+
# Selector specifying which fields to include in a partial response.
|
22716
|
+
# @param [String] quota_user
|
22717
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22718
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22719
|
+
# @param [Google::Apis::RequestOptions] options
|
22720
|
+
# Request-specific options
|
22721
|
+
#
|
22722
|
+
# @yield [result, err] Result & error if block supplied
|
22723
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22724
|
+
# @yieldparam err [StandardError] error object if request failed
|
22725
|
+
#
|
22726
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22727
|
+
#
|
22728
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22729
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22730
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22731
|
+
def delete_project_location_session(name, fields: nil, quota_user: nil, options: nil, &block)
|
22732
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
22733
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22734
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22735
|
+
command.params['name'] = name unless name.nil?
|
22736
|
+
command.query['fields'] = fields unless fields.nil?
|
22737
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22738
|
+
execute_or_queue_command(command, &block)
|
22739
|
+
end
|
22740
|
+
|
22741
|
+
# Gets details of the specific Session.
|
22742
|
+
# @param [String] name
|
22743
|
+
# Required. The resource name of the session. Format: `projects/`project`/
|
22744
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session``
|
22745
|
+
# @param [String] fields
|
22746
|
+
# Selector specifying which fields to include in a partial response.
|
22747
|
+
# @param [String] quota_user
|
22748
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22749
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22750
|
+
# @param [Google::Apis::RequestOptions] options
|
22751
|
+
# Request-specific options
|
22752
|
+
#
|
22753
|
+
# @yield [result, err] Result & error if block supplied
|
22754
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] parsed result object
|
22755
|
+
# @yieldparam err [StandardError] error object if request failed
|
22756
|
+
#
|
22757
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session]
|
22758
|
+
#
|
22759
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22760
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22761
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22762
|
+
def get_project_location_session(name, fields: nil, quota_user: nil, options: nil, &block)
|
22763
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
22764
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
|
22765
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session
|
22766
|
+
command.params['name'] = name unless name.nil?
|
22767
|
+
command.query['fields'] = fields unless fields.nil?
|
22768
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22769
|
+
execute_or_queue_command(command, &block)
|
22770
|
+
end
|
22771
|
+
|
22772
|
+
# Lists Sessions in a given project and location.
|
22773
|
+
# @param [String] parent
|
22774
|
+
# Required. The resource name of the location to list sessions from. Format: `
|
22775
|
+
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
22776
|
+
# @param [String] filter
|
22777
|
+
# Optional. The standard list filter. Supported fields: * `display_name` Example:
|
22778
|
+
# `display_name=abc`.
|
22779
|
+
# @param [String] order_by
|
22780
|
+
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
22781
|
+
# order. Use "desc" after a field name for descending. Supported fields: * `
|
22782
|
+
# create_time` * `update_time` Example: `create_time desc`.
|
22783
|
+
# @param [Fixnum] page_size
|
22784
|
+
# Optional. The maximum number of sessions to return. The service may return
|
22785
|
+
# fewer than this value. If unspecified, at most 100 sessions will be returned.
|
22786
|
+
# @param [String] page_token
|
22787
|
+
# Optional. The next_page_token value returned from a previous list
|
22788
|
+
# SessionService.ListSessions call.
|
22789
|
+
# @param [String] fields
|
22790
|
+
# Selector specifying which fields to include in a partial response.
|
22791
|
+
# @param [String] quota_user
|
22792
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22793
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22794
|
+
# @param [Google::Apis::RequestOptions] options
|
22795
|
+
# Request-specific options
|
22796
|
+
#
|
22797
|
+
# @yield [result, err] Result & error if block supplied
|
22798
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse] parsed result object
|
22799
|
+
# @yieldparam err [StandardError] error object if request failed
|
22800
|
+
#
|
22801
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse]
|
22802
|
+
#
|
22803
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22804
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22805
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22806
|
+
def list_project_location_sessions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
22807
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/sessions', options)
|
22808
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse::Representation
|
22809
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse
|
22810
|
+
command.params['parent'] = parent unless parent.nil?
|
22811
|
+
command.query['filter'] = filter unless filter.nil?
|
22812
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
22813
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
22814
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
22815
|
+
command.query['fields'] = fields unless fields.nil?
|
22816
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22817
|
+
execute_or_queue_command(command, &block)
|
22818
|
+
end
|
22819
|
+
|
22820
|
+
# Updates the specific Session.
|
22821
|
+
# @param [String] name
|
22822
|
+
# Required. Identifier. The resource name of the session. Format: 'projects/`
|
22823
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`
|
22824
|
+
# session`'.
|
22825
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] google_cloud_aiplatform_v1beta1_session_object
|
22826
|
+
# @param [String] update_mask
|
22827
|
+
# Optional. Field mask is used to control which fields get updated. If the mask
|
22828
|
+
# is not present, all fields will be updated.
|
22829
|
+
# @param [String] fields
|
22830
|
+
# Selector specifying which fields to include in a partial response.
|
22831
|
+
# @param [String] quota_user
|
22832
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22833
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22834
|
+
# @param [Google::Apis::RequestOptions] options
|
22835
|
+
# Request-specific options
|
22836
|
+
#
|
22837
|
+
# @yield [result, err] Result & error if block supplied
|
22838
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] parsed result object
|
22839
|
+
# @yieldparam err [StandardError] error object if request failed
|
22840
|
+
#
|
22841
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session]
|
22842
|
+
#
|
22843
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22844
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22845
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22846
|
+
def patch_project_location_session(name, google_cloud_aiplatform_v1beta1_session_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
22847
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
22848
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
|
22849
|
+
command.request_object = google_cloud_aiplatform_v1beta1_session_object
|
22850
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
|
22851
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session
|
22852
|
+
command.params['name'] = name unless name.nil?
|
22853
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
22854
|
+
command.query['fields'] = fields unless fields.nil?
|
22855
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22856
|
+
execute_or_queue_command(command, &block)
|
22857
|
+
end
|
22858
|
+
|
21999
22859
|
# Deletes a long-running operation. This method indicates that the client is no
|
22000
22860
|
# longer interested in the operation result. It does not cancel the operation.
|
22001
22861
|
# If the server doesn't support this method, it returns `google.rpc.Code.
|
@@ -25808,6 +26668,74 @@ module Google
|
|
25808
26668
|
execute_or_queue_command(command, &block)
|
25809
26669
|
end
|
25810
26670
|
|
26671
|
+
# Accepts the EULA acceptance status of a publisher model.
|
26672
|
+
# @param [String] parent
|
26673
|
+
# Required. The project requesting access for named model. The format is `
|
26674
|
+
# projects/`project``.
|
26675
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest] google_cloud_aiplatform_v1beta1_accept_publisher_model_eula_request_object
|
26676
|
+
# @param [String] fields
|
26677
|
+
# Selector specifying which fields to include in a partial response.
|
26678
|
+
# @param [String] quota_user
|
26679
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
26680
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
26681
|
+
# @param [Google::Apis::RequestOptions] options
|
26682
|
+
# Request-specific options
|
26683
|
+
#
|
26684
|
+
# @yield [result, err] Result & error if block supplied
|
26685
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance] parsed result object
|
26686
|
+
# @yieldparam err [StandardError] error object if request failed
|
26687
|
+
#
|
26688
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance]
|
26689
|
+
#
|
26690
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
26691
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
26692
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
26693
|
+
def accept_project_model_garden_eula(parent, google_cloud_aiplatform_v1beta1_accept_publisher_model_eula_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
26694
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/modelGardenEula:accept', options)
|
26695
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest::Representation
|
26696
|
+
command.request_object = google_cloud_aiplatform_v1beta1_accept_publisher_model_eula_request_object
|
26697
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance::Representation
|
26698
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance
|
26699
|
+
command.params['parent'] = parent unless parent.nil?
|
26700
|
+
command.query['fields'] = fields unless fields.nil?
|
26701
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
26702
|
+
execute_or_queue_command(command, &block)
|
26703
|
+
end
|
26704
|
+
|
26705
|
+
# Checks the EULA acceptance status of a publisher model.
|
26706
|
+
# @param [String] parent
|
26707
|
+
# Required. The project requesting access for named model. The format is `
|
26708
|
+
# projects/`project``.
|
26709
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest] google_cloud_aiplatform_v1beta1_check_publisher_model_eula_acceptance_request_object
|
26710
|
+
# @param [String] fields
|
26711
|
+
# Selector specifying which fields to include in a partial response.
|
26712
|
+
# @param [String] quota_user
|
26713
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
26714
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
26715
|
+
# @param [Google::Apis::RequestOptions] options
|
26716
|
+
# Request-specific options
|
26717
|
+
#
|
26718
|
+
# @yield [result, err] Result & error if block supplied
|
26719
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance] parsed result object
|
26720
|
+
# @yieldparam err [StandardError] error object if request failed
|
26721
|
+
#
|
26722
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance]
|
26723
|
+
#
|
26724
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
26725
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
26726
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
26727
|
+
def check_project_model_garden_eula(parent, google_cloud_aiplatform_v1beta1_check_publisher_model_eula_acceptance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
26728
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/modelGardenEula:check', options)
|
26729
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest::Representation
|
26730
|
+
command.request_object = google_cloud_aiplatform_v1beta1_check_publisher_model_eula_acceptance_request_object
|
26731
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance::Representation
|
26732
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance
|
26733
|
+
command.params['parent'] = parent unless parent.nil?
|
26734
|
+
command.query['fields'] = fields unless fields.nil?
|
26735
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
26736
|
+
execute_or_queue_command(command, &block)
|
26737
|
+
end
|
26738
|
+
|
25811
26739
|
# Return a list of tokens based on the input text.
|
25812
26740
|
# @param [String] endpoint
|
25813
26741
|
# Required. The name of the Endpoint requested to get lists of tokens and token
|