google-apis-aiplatform_v1 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2892,6 +2892,74 @@ module Google
2892
2892
  execute_or_queue_command(command, &block)
2893
2893
  end
2894
2894
 
2895
+ # Return a list of tokens based on the input text.
2896
+ # @param [String] endpoint
2897
+ # Required. The name of the Endpoint requested to get lists of tokens and token
2898
+ # ids.
2899
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensRequest] google_cloud_aiplatform_v1_compute_tokens_request_object
2900
+ # @param [String] fields
2901
+ # Selector specifying which fields to include in a partial response.
2902
+ # @param [String] quota_user
2903
+ # Available to use for quota purposes for server-side applications. Can be any
2904
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2905
+ # @param [Google::Apis::RequestOptions] options
2906
+ # Request-specific options
2907
+ #
2908
+ # @yield [result, err] Result & error if block supplied
2909
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse] parsed result object
2910
+ # @yieldparam err [StandardError] error object if request failed
2911
+ #
2912
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse]
2913
+ #
2914
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2915
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2916
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2917
+ def compute_project_location_endpoint_tokens(endpoint, google_cloud_aiplatform_v1_compute_tokens_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2918
+ command = make_simple_command(:post, 'v1/{+endpoint}:computeTokens', options)
2919
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensRequest::Representation
2920
+ command.request_object = google_cloud_aiplatform_v1_compute_tokens_request_object
2921
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse::Representation
2922
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse
2923
+ command.params['endpoint'] = endpoint unless endpoint.nil?
2924
+ command.query['fields'] = fields unless fields.nil?
2925
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2926
+ execute_or_queue_command(command, &block)
2927
+ end
2928
+
2929
+ # Perform a token counting.
2930
+ # @param [String] endpoint
2931
+ # Required. The name of the Endpoint requested to perform token counting. Format:
2932
+ # `projects/`project`/locations/`location`/endpoints/`endpoint``
2933
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensRequest] google_cloud_aiplatform_v1_count_tokens_request_object
2934
+ # @param [String] fields
2935
+ # Selector specifying which fields to include in a partial response.
2936
+ # @param [String] quota_user
2937
+ # Available to use for quota purposes for server-side applications. Can be any
2938
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2939
+ # @param [Google::Apis::RequestOptions] options
2940
+ # Request-specific options
2941
+ #
2942
+ # @yield [result, err] Result & error if block supplied
2943
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse] parsed result object
2944
+ # @yieldparam err [StandardError] error object if request failed
2945
+ #
2946
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse]
2947
+ #
2948
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2949
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2950
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2951
+ def count_project_location_endpoint_tokens(endpoint, google_cloud_aiplatform_v1_count_tokens_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2952
+ command = make_simple_command(:post, 'v1/{+endpoint}:countTokens', options)
2953
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensRequest::Representation
2954
+ command.request_object = google_cloud_aiplatform_v1_count_tokens_request_object
2955
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse::Representation
2956
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse
2957
+ command.params['endpoint'] = endpoint unless endpoint.nil?
2958
+ command.query['fields'] = fields unless fields.nil?
2959
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2960
+ execute_or_queue_command(command, &block)
2961
+ end
2962
+
2895
2963
  # Creates an Endpoint.
2896
2964
  # @param [String] parent
2897
2965
  # Required. The resource name of the Location to create the Endpoint in. Format:
@@ -3112,30 +3180,1571 @@ module Google
3112
3180
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3113
3181
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3114
3182
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3115
- def list_project_location_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3116
- command = make_simple_command(:get, 'v1/{+parent}/endpoints', options)
3117
- command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListEndpointsResponse::Representation
3118
- command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListEndpointsResponse
3183
+ def list_project_location_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3184
+ command = make_simple_command(:get, 'v1/{+parent}/endpoints', options)
3185
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListEndpointsResponse::Representation
3186
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListEndpointsResponse
3187
+ command.params['parent'] = parent unless parent.nil?
3188
+ command.query['filter'] = filter unless filter.nil?
3189
+ command.query['orderBy'] = order_by unless order_by.nil?
3190
+ command.query['pageSize'] = page_size unless page_size.nil?
3191
+ command.query['pageToken'] = page_token unless page_token.nil?
3192
+ command.query['readMask'] = read_mask unless read_mask.nil?
3193
+ command.query['fields'] = fields unless fields.nil?
3194
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3195
+ execute_or_queue_command(command, &block)
3196
+ end
3197
+
3198
+ # Updates an existing deployed model. Updatable fields include `
3199
+ # min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, `
3200
+ # disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1
3201
+ # only).
3202
+ # @param [String] endpoint
3203
+ # Required. The name of the Endpoint resource into which to mutate a
3204
+ # DeployedModel. Format: `projects/`project`/locations/`location`/endpoints/`
3205
+ # endpoint``
3206
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MutateDeployedModelRequest] google_cloud_aiplatform_v1_mutate_deployed_model_request_object
3207
+ # @param [String] fields
3208
+ # Selector specifying which fields to include in a partial response.
3209
+ # @param [String] quota_user
3210
+ # Available to use for quota purposes for server-side applications. Can be any
3211
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3212
+ # @param [Google::Apis::RequestOptions] options
3213
+ # Request-specific options
3214
+ #
3215
+ # @yield [result, err] Result & error if block supplied
3216
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3217
+ # @yieldparam err [StandardError] error object if request failed
3218
+ #
3219
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3220
+ #
3221
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3222
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3223
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3224
+ def mutate_project_location_endpoint_deployed_model(endpoint, google_cloud_aiplatform_v1_mutate_deployed_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3225
+ command = make_simple_command(:post, 'v1/{+endpoint}:mutateDeployedModel', options)
3226
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MutateDeployedModelRequest::Representation
3227
+ command.request_object = google_cloud_aiplatform_v1_mutate_deployed_model_request_object
3228
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3229
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3230
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3231
+ command.query['fields'] = fields unless fields.nil?
3232
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3233
+ execute_or_queue_command(command, &block)
3234
+ end
3235
+
3236
+ # Updates an Endpoint.
3237
+ # @param [String] name
3238
+ # Output only. The resource name of the Endpoint.
3239
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint] google_cloud_aiplatform_v1_endpoint_object
3240
+ # @param [String] update_mask
3241
+ # Required. The update mask applies to the resource. See google.protobuf.
3242
+ # FieldMask.
3243
+ # @param [String] fields
3244
+ # Selector specifying which fields to include in a partial response.
3245
+ # @param [String] quota_user
3246
+ # Available to use for quota purposes for server-side applications. Can be any
3247
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3248
+ # @param [Google::Apis::RequestOptions] options
3249
+ # Request-specific options
3250
+ #
3251
+ # @yield [result, err] Result & error if block supplied
3252
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint] parsed result object
3253
+ # @yieldparam err [StandardError] error object if request failed
3254
+ #
3255
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint]
3256
+ #
3257
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3258
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3259
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3260
+ def patch_project_location_endpoint(name, google_cloud_aiplatform_v1_endpoint_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3261
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3262
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint::Representation
3263
+ command.request_object = google_cloud_aiplatform_v1_endpoint_object
3264
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint::Representation
3265
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint
3266
+ command.params['name'] = name unless name.nil?
3267
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3268
+ command.query['fields'] = fields unless fields.nil?
3269
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3270
+ execute_or_queue_command(command, &block)
3271
+ end
3272
+
3273
+ # Perform an online prediction.
3274
+ # @param [String] endpoint
3275
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
3276
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
3277
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequest] google_cloud_aiplatform_v1_predict_request_object
3278
+ # @param [String] fields
3279
+ # Selector specifying which fields to include in a partial response.
3280
+ # @param [String] quota_user
3281
+ # Available to use for quota purposes for server-side applications. Can be any
3282
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3283
+ # @param [Google::Apis::RequestOptions] options
3284
+ # Request-specific options
3285
+ #
3286
+ # @yield [result, err] Result & error if block supplied
3287
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse] parsed result object
3288
+ # @yieldparam err [StandardError] error object if request failed
3289
+ #
3290
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse]
3291
+ #
3292
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3293
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3294
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3295
+ def predict_project_location_endpoint(endpoint, google_cloud_aiplatform_v1_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3296
+ command = make_simple_command(:post, 'v1/{+endpoint}:predict', options)
3297
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequest::Representation
3298
+ command.request_object = google_cloud_aiplatform_v1_predict_request_object
3299
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse::Representation
3300
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse
3301
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3302
+ command.query['fields'] = fields unless fields.nil?
3303
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3304
+ execute_or_queue_command(command, &block)
3305
+ end
3306
+
3307
+ # Perform an online prediction with an arbitrary HTTP payload. The response
3308
+ # includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the
3309
+ # Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID of
3310
+ # the Endpoint's DeployedModel that served this prediction.
3311
+ # @param [String] endpoint
3312
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
3313
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
3314
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RawPredictRequest] google_cloud_aiplatform_v1_raw_predict_request_object
3315
+ # @param [String] fields
3316
+ # Selector specifying which fields to include in a partial response.
3317
+ # @param [String] quota_user
3318
+ # Available to use for quota purposes for server-side applications. Can be any
3319
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3320
+ # @param [Google::Apis::RequestOptions] options
3321
+ # Request-specific options
3322
+ #
3323
+ # @yield [result, err] Result & error if block supplied
3324
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
3325
+ # @yieldparam err [StandardError] error object if request failed
3326
+ #
3327
+ # @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
3328
+ #
3329
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3330
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3331
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3332
+ def raw_project_location_endpoint_predict(endpoint, google_cloud_aiplatform_v1_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3333
+ command = make_simple_command(:post, 'v1/{+endpoint}:rawPredict', options)
3334
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RawPredictRequest::Representation
3335
+ command.request_object = google_cloud_aiplatform_v1_raw_predict_request_object
3336
+ command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
3337
+ command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
3338
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3339
+ command.query['fields'] = fields unless fields.nil?
3340
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3341
+ execute_or_queue_command(command, &block)
3342
+ end
3343
+
3344
+ # Perform a server-side streaming online prediction request for Vertex LLM
3345
+ # streaming.
3346
+ # @param [String] endpoint
3347
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
3348
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
3349
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictRequest] google_cloud_aiplatform_v1_streaming_predict_request_object
3350
+ # @param [String] fields
3351
+ # Selector specifying which fields to include in a partial response.
3352
+ # @param [String] quota_user
3353
+ # Available to use for quota purposes for server-side applications. Can be any
3354
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3355
+ # @param [Google::Apis::RequestOptions] options
3356
+ # Request-specific options
3357
+ #
3358
+ # @yield [result, err] Result & error if block supplied
3359
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse] parsed result object
3360
+ # @yieldparam err [StandardError] error object if request failed
3361
+ #
3362
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse]
3363
+ #
3364
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3365
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3366
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3367
+ def server_project_location_endpoint_streaming_predict(endpoint, google_cloud_aiplatform_v1_streaming_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3368
+ command = make_simple_command(:post, 'v1/{+endpoint}:serverStreamingPredict', options)
3369
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictRequest::Representation
3370
+ command.request_object = google_cloud_aiplatform_v1_streaming_predict_request_object
3371
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse::Representation
3372
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse
3373
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3374
+ command.query['fields'] = fields unless fields.nil?
3375
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3376
+ execute_or_queue_command(command, &block)
3377
+ end
3378
+
3379
+ # Undeploys a Model from an Endpoint, removing a DeployedModel from it, and
3380
+ # freeing all resources it's using.
3381
+ # @param [String] endpoint
3382
+ # Required. The name of the Endpoint resource from which to undeploy a Model.
3383
+ # Format: `projects/`project`/locations/`location`/endpoints/`endpoint``
3384
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UndeployModelRequest] google_cloud_aiplatform_v1_undeploy_model_request_object
3385
+ # @param [String] fields
3386
+ # Selector specifying which fields to include in a partial response.
3387
+ # @param [String] quota_user
3388
+ # Available to use for quota purposes for server-side applications. Can be any
3389
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3390
+ # @param [Google::Apis::RequestOptions] options
3391
+ # Request-specific options
3392
+ #
3393
+ # @yield [result, err] Result & error if block supplied
3394
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3395
+ # @yieldparam err [StandardError] error object if request failed
3396
+ #
3397
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3398
+ #
3399
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3400
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3401
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3402
+ def undeploy_project_location_endpoint_model(endpoint, google_cloud_aiplatform_v1_undeploy_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3403
+ command = make_simple_command(:post, 'v1/{+endpoint}:undeployModel', options)
3404
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UndeployModelRequest::Representation
3405
+ command.request_object = google_cloud_aiplatform_v1_undeploy_model_request_object
3406
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3407
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3408
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3409
+ command.query['fields'] = fields unless fields.nil?
3410
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3411
+ execute_or_queue_command(command, &block)
3412
+ end
3413
+
3414
+ # Starts asynchronous cancellation on a long-running operation. The server makes
3415
+ # a best effort to cancel the operation, but success is not guaranteed. If the
3416
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
3417
+ # Clients can use Operations.GetOperation or other methods to check whether the
3418
+ # cancellation succeeded or whether the operation completed despite cancellation.
3419
+ # On successful cancellation, the operation is not deleted; instead, it becomes
3420
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
3421
+ # corresponding to `Code.CANCELLED`.
3422
+ # @param [String] name
3423
+ # The name of the operation resource to be cancelled.
3424
+ # @param [String] fields
3425
+ # Selector specifying which fields to include in a partial response.
3426
+ # @param [String] quota_user
3427
+ # Available to use for quota purposes for server-side applications. Can be any
3428
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3429
+ # @param [Google::Apis::RequestOptions] options
3430
+ # Request-specific options
3431
+ #
3432
+ # @yield [result, err] Result & error if block supplied
3433
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
3434
+ # @yieldparam err [StandardError] error object if request failed
3435
+ #
3436
+ # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
3437
+ #
3438
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3439
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3440
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3441
+ def cancel_project_location_endpoint_operation(name, fields: nil, quota_user: nil, options: nil, &block)
3442
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
3443
+ command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
3444
+ command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
3445
+ command.params['name'] = name unless name.nil?
3446
+ command.query['fields'] = fields unless fields.nil?
3447
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3448
+ execute_or_queue_command(command, &block)
3449
+ end
3450
+
3451
+ # Deletes a long-running operation. This method indicates that the client is no
3452
+ # longer interested in the operation result. It does not cancel the operation.
3453
+ # If the server doesn't support this method, it returns `google.rpc.Code.
3454
+ # UNIMPLEMENTED`.
3455
+ # @param [String] name
3456
+ # The name of the operation resource to be deleted.
3457
+ # @param [String] fields
3458
+ # Selector specifying which fields to include in a partial response.
3459
+ # @param [String] quota_user
3460
+ # Available to use for quota purposes for server-side applications. Can be any
3461
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3462
+ # @param [Google::Apis::RequestOptions] options
3463
+ # Request-specific options
3464
+ #
3465
+ # @yield [result, err] Result & error if block supplied
3466
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
3467
+ # @yieldparam err [StandardError] error object if request failed
3468
+ #
3469
+ # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
3470
+ #
3471
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3472
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3473
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3474
+ def delete_project_location_endpoint_operation(name, fields: nil, quota_user: nil, options: nil, &block)
3475
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3476
+ command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
3477
+ command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
3478
+ command.params['name'] = name unless name.nil?
3479
+ command.query['fields'] = fields unless fields.nil?
3480
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3481
+ execute_or_queue_command(command, &block)
3482
+ end
3483
+
3484
+ # Gets the latest state of a long-running operation. Clients can use this method
3485
+ # to poll the operation result at intervals as recommended by the API service.
3486
+ # @param [String] name
3487
+ # The name of the operation resource.
3488
+ # @param [String] fields
3489
+ # Selector specifying which fields to include in a partial response.
3490
+ # @param [String] quota_user
3491
+ # Available to use for quota purposes for server-side applications. Can be any
3492
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3493
+ # @param [Google::Apis::RequestOptions] options
3494
+ # Request-specific options
3495
+ #
3496
+ # @yield [result, err] Result & error if block supplied
3497
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3498
+ # @yieldparam err [StandardError] error object if request failed
3499
+ #
3500
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3501
+ #
3502
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3503
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3504
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3505
+ def get_project_location_endpoint_operation(name, fields: nil, quota_user: nil, options: nil, &block)
3506
+ command = make_simple_command(:get, 'v1/{+name}', options)
3507
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3508
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3509
+ command.params['name'] = name unless name.nil?
3510
+ command.query['fields'] = fields unless fields.nil?
3511
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3512
+ execute_or_queue_command(command, &block)
3513
+ end
3514
+
3515
+ # Lists operations that match the specified filter in the request. If the server
3516
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
3517
+ # @param [String] name
3518
+ # The name of the operation's parent resource.
3519
+ # @param [String] filter
3520
+ # The standard list filter.
3521
+ # @param [Fixnum] page_size
3522
+ # The standard list page size.
3523
+ # @param [String] page_token
3524
+ # The standard list page token.
3525
+ # @param [String] fields
3526
+ # Selector specifying which fields to include in a partial response.
3527
+ # @param [String] quota_user
3528
+ # Available to use for quota purposes for server-side applications. Can be any
3529
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3530
+ # @param [Google::Apis::RequestOptions] options
3531
+ # Request-specific options
3532
+ #
3533
+ # @yield [result, err] Result & error if block supplied
3534
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
3535
+ # @yieldparam err [StandardError] error object if request failed
3536
+ #
3537
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
3538
+ #
3539
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3540
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3541
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3542
+ def list_project_location_endpoint_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3543
+ command = make_simple_command(:get, 'v1/{+name}/operations', options)
3544
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
3545
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
3546
+ command.params['name'] = name unless name.nil?
3547
+ command.query['filter'] = filter unless filter.nil?
3548
+ command.query['pageSize'] = page_size unless page_size.nil?
3549
+ command.query['pageToken'] = page_token unless page_token.nil?
3550
+ command.query['fields'] = fields unless fields.nil?
3551
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3552
+ execute_or_queue_command(command, &block)
3553
+ end
3554
+
3555
+ # Waits until the specified long-running operation is done or reaches at most a
3556
+ # specified timeout, returning the latest state. If the operation is already
3557
+ # done, the latest state is immediately returned. If the timeout specified is
3558
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
3559
+ # the server does not support this method, it returns `google.rpc.Code.
3560
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
3561
+ # the latest state before the specified timeout (including immediately), meaning
3562
+ # even an immediate response is no guarantee that the operation is done.
3563
+ # @param [String] name
3564
+ # The name of the operation resource to wait on.
3565
+ # @param [String] timeout
3566
+ # The maximum duration to wait before timing out. If left blank, the wait will
3567
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
3568
+ # context deadline is also specified, the shorter one will be used.
3569
+ # @param [String] fields
3570
+ # Selector specifying which fields to include in a partial response.
3571
+ # @param [String] quota_user
3572
+ # Available to use for quota purposes for server-side applications. Can be any
3573
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3574
+ # @param [Google::Apis::RequestOptions] options
3575
+ # Request-specific options
3576
+ #
3577
+ # @yield [result, err] Result & error if block supplied
3578
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3579
+ # @yieldparam err [StandardError] error object if request failed
3580
+ #
3581
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3582
+ #
3583
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3584
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3585
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3586
+ def wait_project_location_endpoint_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
3587
+ command = make_simple_command(:post, 'v1/{+name}:wait', options)
3588
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3589
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3590
+ command.params['name'] = name unless name.nil?
3591
+ command.query['timeout'] = timeout unless timeout.nil?
3592
+ command.query['fields'] = fields unless fields.nil?
3593
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3594
+ execute_or_queue_command(command, &block)
3595
+ end
3596
+
3597
+ # Creates a new FeatureGroup in a given project and location.
3598
+ # @param [String] parent
3599
+ # Required. The resource name of the Location to create FeatureGroups. Format: `
3600
+ # projects/`project`/locations/`location`'`
3601
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] google_cloud_aiplatform_v1_feature_group_object
3602
+ # @param [String] feature_group_id
3603
+ # Required. The ID to use for this FeatureGroup, which will become the final
3604
+ # component of the FeatureGroup's resource name. This value may be up to 60
3605
+ # characters, and valid characters are `[a-z0-9_]`. The first character cannot
3606
+ # be a number. The value must be unique within the project and location.
3607
+ # @param [String] fields
3608
+ # Selector specifying which fields to include in a partial response.
3609
+ # @param [String] quota_user
3610
+ # Available to use for quota purposes for server-side applications. Can be any
3611
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3612
+ # @param [Google::Apis::RequestOptions] options
3613
+ # Request-specific options
3614
+ #
3615
+ # @yield [result, err] Result & error if block supplied
3616
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3617
+ # @yieldparam err [StandardError] error object if request failed
3618
+ #
3619
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3620
+ #
3621
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3622
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3623
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3624
+ def create_project_location_feature_group(parent, google_cloud_aiplatform_v1_feature_group_object = nil, feature_group_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3625
+ command = make_simple_command(:post, 'v1/{+parent}/featureGroups', options)
3626
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup::Representation
3627
+ command.request_object = google_cloud_aiplatform_v1_feature_group_object
3628
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3629
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3630
+ command.params['parent'] = parent unless parent.nil?
3631
+ command.query['featureGroupId'] = feature_group_id unless feature_group_id.nil?
3632
+ command.query['fields'] = fields unless fields.nil?
3633
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3634
+ execute_or_queue_command(command, &block)
3635
+ end
3636
+
3637
+ # Deletes a single FeatureGroup.
3638
+ # @param [String] name
3639
+ # Required. The name of the FeatureGroup to be deleted. Format: `projects/`
3640
+ # project`/locations/`location`/featureGroups/`feature_group``
3641
+ # @param [Boolean] force
3642
+ # If set to true, any Features under this FeatureGroup will also be deleted. (
3643
+ # Otherwise, the request will only work if the FeatureGroup has no Features.)
3644
+ # @param [String] fields
3645
+ # Selector specifying which fields to include in a partial response.
3646
+ # @param [String] quota_user
3647
+ # Available to use for quota purposes for server-side applications. Can be any
3648
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3649
+ # @param [Google::Apis::RequestOptions] options
3650
+ # Request-specific options
3651
+ #
3652
+ # @yield [result, err] Result & error if block supplied
3653
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3654
+ # @yieldparam err [StandardError] error object if request failed
3655
+ #
3656
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3657
+ #
3658
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3659
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3660
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3661
+ def delete_project_location_feature_group(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
3662
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3663
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3664
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3665
+ command.params['name'] = name unless name.nil?
3666
+ command.query['force'] = force unless force.nil?
3667
+ command.query['fields'] = fields unless fields.nil?
3668
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3669
+ execute_or_queue_command(command, &block)
3670
+ end
3671
+
3672
+ # Gets details of a single FeatureGroup.
3673
+ # @param [String] name
3674
+ # Required. The name of the FeatureGroup resource.
3675
+ # @param [String] fields
3676
+ # Selector specifying which fields to include in a partial response.
3677
+ # @param [String] quota_user
3678
+ # Available to use for quota purposes for server-side applications. Can be any
3679
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3680
+ # @param [Google::Apis::RequestOptions] options
3681
+ # Request-specific options
3682
+ #
3683
+ # @yield [result, err] Result & error if block supplied
3684
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] parsed result object
3685
+ # @yieldparam err [StandardError] error object if request failed
3686
+ #
3687
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup]
3688
+ #
3689
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3690
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3691
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3692
+ def get_project_location_feature_group(name, fields: nil, quota_user: nil, options: nil, &block)
3693
+ command = make_simple_command(:get, 'v1/{+name}', options)
3694
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup::Representation
3695
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup
3696
+ command.params['name'] = name unless name.nil?
3697
+ command.query['fields'] = fields unless fields.nil?
3698
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3699
+ execute_or_queue_command(command, &block)
3700
+ end
3701
+
3702
+ # Lists FeatureGroups in a given project and location.
3703
+ # @param [String] parent
3704
+ # Required. The resource name of the Location to list FeatureGroups. Format: `
3705
+ # projects/`project`/locations/`location``
3706
+ # @param [String] filter
3707
+ # Lists the FeatureGroups that match the filter expression. The following fields
3708
+ # are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=`
3709
+ # comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`,
3710
+ # `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format.
3711
+ # * `labels`: Supports key-value equality and key presence. Examples: * `
3712
+ # create_time > "2020-01-01" OR update_time > "2020-01-01"` FeatureGroups
3713
+ # created or updated after 2020-01-01. * `labels.env = "prod"` FeatureGroups
3714
+ # with label "env" set to "prod".
3715
+ # @param [String] order_by
3716
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
3717
+ # desc" after a field name for descending. Supported Fields: * `create_time` * `
3718
+ # update_time`
3719
+ # @param [Fixnum] page_size
3720
+ # The maximum number of FeatureGroups to return. The service may return fewer
3721
+ # than this value. If unspecified, at most 100 FeatureGroups will be returned.
3722
+ # The maximum value is 100; any value greater than 100 will be coerced to 100.
3723
+ # @param [String] page_token
3724
+ # A page token, received from a previous FeatureGroupAdminService.
3725
+ # ListFeatureGroups call. Provide this to retrieve the subsequent page. When
3726
+ # paginating, all other parameters provided to FeatureGroupAdminService.
3727
+ # ListFeatureGroups must match the call that provided the page token.
3728
+ # @param [String] fields
3729
+ # Selector specifying which fields to include in a partial response.
3730
+ # @param [String] quota_user
3731
+ # Available to use for quota purposes for server-side applications. Can be any
3732
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3733
+ # @param [Google::Apis::RequestOptions] options
3734
+ # Request-specific options
3735
+ #
3736
+ # @yield [result, err] Result & error if block supplied
3737
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureGroupsResponse] parsed result object
3738
+ # @yieldparam err [StandardError] error object if request failed
3739
+ #
3740
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureGroupsResponse]
3741
+ #
3742
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3743
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3744
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3745
+ def list_project_location_feature_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3746
+ command = make_simple_command(:get, 'v1/{+parent}/featureGroups', options)
3747
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureGroupsResponse::Representation
3748
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureGroupsResponse
3749
+ command.params['parent'] = parent unless parent.nil?
3750
+ command.query['filter'] = filter unless filter.nil?
3751
+ command.query['orderBy'] = order_by unless order_by.nil?
3752
+ command.query['pageSize'] = page_size unless page_size.nil?
3753
+ command.query['pageToken'] = page_token unless page_token.nil?
3754
+ command.query['fields'] = fields unless fields.nil?
3755
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3756
+ execute_or_queue_command(command, &block)
3757
+ end
3758
+
3759
+ # Updates the parameters of a single FeatureGroup.
3760
+ # @param [String] name
3761
+ # Output only. Name of the FeatureGroup. Format: `projects/`project`/locations/`
3762
+ # location`/featureGroups/`featureGroup``
3763
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] google_cloud_aiplatform_v1_feature_group_object
3764
+ # @param [String] update_mask
3765
+ # Field mask is used to specify the fields to be overwritten in the FeatureGroup
3766
+ # resource by the update. The fields specified in the update_mask are relative
3767
+ # to the resource, not the full request. A field will be overwritten if it is in
3768
+ # the mask. If the user does not provide a mask then only the non-empty fields
3769
+ # present in the request will be overwritten. Set the update_mask to `*` to
3770
+ # override all fields. Updatable fields: * `labels`
3771
+ # @param [String] fields
3772
+ # Selector specifying which fields to include in a partial response.
3773
+ # @param [String] quota_user
3774
+ # Available to use for quota purposes for server-side applications. Can be any
3775
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3776
+ # @param [Google::Apis::RequestOptions] options
3777
+ # Request-specific options
3778
+ #
3779
+ # @yield [result, err] Result & error if block supplied
3780
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3781
+ # @yieldparam err [StandardError] error object if request failed
3782
+ #
3783
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3784
+ #
3785
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3786
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3787
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3788
+ def patch_project_location_feature_group(name, google_cloud_aiplatform_v1_feature_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3789
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3790
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup::Representation
3791
+ command.request_object = google_cloud_aiplatform_v1_feature_group_object
3792
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3793
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3794
+ command.params['name'] = name unless name.nil?
3795
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3796
+ command.query['fields'] = fields unless fields.nil?
3797
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3798
+ execute_or_queue_command(command, &block)
3799
+ end
3800
+
3801
+ # Creates a new Feature in a given FeatureGroup.
3802
+ # @param [String] parent
3803
+ # Required. The resource name of the EntityType or FeatureGroup to create a
3804
+ # Feature. Format for entity_type as parent: `projects/`project`/locations/`
3805
+ # location`/featurestores/`featurestore`/entityTypes/`entity_type`` Format for
3806
+ # feature_group as parent: `projects/`project`/locations/`location`/
3807
+ # featureGroups/`feature_group``
3808
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature] google_cloud_aiplatform_v1_feature_object
3809
+ # @param [String] feature_id
3810
+ # Required. The ID to use for the Feature, which will become the final component
3811
+ # of the Feature's resource name. This value may be up to 128 characters, and
3812
+ # valid characters are `[a-z0-9_]`. The first character cannot be a number. The
3813
+ # value must be unique within an EntityType/FeatureGroup.
3814
+ # @param [String] fields
3815
+ # Selector specifying which fields to include in a partial response.
3816
+ # @param [String] quota_user
3817
+ # Available to use for quota purposes for server-side applications. Can be any
3818
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3819
+ # @param [Google::Apis::RequestOptions] options
3820
+ # Request-specific options
3821
+ #
3822
+ # @yield [result, err] Result & error if block supplied
3823
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3824
+ # @yieldparam err [StandardError] error object if request failed
3825
+ #
3826
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3827
+ #
3828
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3829
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3830
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3831
+ def create_project_location_feature_group_feature(parent, google_cloud_aiplatform_v1_feature_object = nil, feature_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3832
+ command = make_simple_command(:post, 'v1/{+parent}/features', options)
3833
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature::Representation
3834
+ command.request_object = google_cloud_aiplatform_v1_feature_object
3835
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3836
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3837
+ command.params['parent'] = parent unless parent.nil?
3838
+ command.query['featureId'] = feature_id unless feature_id.nil?
3839
+ command.query['fields'] = fields unless fields.nil?
3840
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3841
+ execute_or_queue_command(command, &block)
3842
+ end
3843
+
3844
+ # Deletes a single Feature.
3845
+ # @param [String] name
3846
+ # Required. The name of the Features to be deleted. Format: `projects/`project`/
3847
+ # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type`/
3848
+ # features/`feature`` `projects/`project`/locations/`location`/featureGroups/`
3849
+ # feature_group`/features/`feature``
3850
+ # @param [String] fields
3851
+ # Selector specifying which fields to include in a partial response.
3852
+ # @param [String] quota_user
3853
+ # Available to use for quota purposes for server-side applications. Can be any
3854
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3855
+ # @param [Google::Apis::RequestOptions] options
3856
+ # Request-specific options
3857
+ #
3858
+ # @yield [result, err] Result & error if block supplied
3859
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3860
+ # @yieldparam err [StandardError] error object if request failed
3861
+ #
3862
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3863
+ #
3864
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3865
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3866
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3867
+ def delete_project_location_feature_group_feature(name, fields: nil, quota_user: nil, options: nil, &block)
3868
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3869
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3870
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3871
+ command.params['name'] = name unless name.nil?
3872
+ command.query['fields'] = fields unless fields.nil?
3873
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3874
+ execute_or_queue_command(command, &block)
3875
+ end
3876
+
3877
+ # Gets details of a single Feature.
3878
+ # @param [String] name
3879
+ # Required. The name of the Feature resource. Format for entity_type as parent: `
3880
+ # projects/`project`/locations/`location`/featurestores/`featurestore`/
3881
+ # entityTypes/`entity_type`` Format for feature_group as parent: `projects/`
3882
+ # project`/locations/`location`/featureGroups/`feature_group``
3883
+ # @param [String] fields
3884
+ # Selector specifying which fields to include in a partial response.
3885
+ # @param [String] quota_user
3886
+ # Available to use for quota purposes for server-side applications. Can be any
3887
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3888
+ # @param [Google::Apis::RequestOptions] options
3889
+ # Request-specific options
3890
+ #
3891
+ # @yield [result, err] Result & error if block supplied
3892
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature] parsed result object
3893
+ # @yieldparam err [StandardError] error object if request failed
3894
+ #
3895
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature]
3896
+ #
3897
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3898
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3899
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3900
+ def get_project_location_feature_group_feature(name, fields: nil, quota_user: nil, options: nil, &block)
3901
+ command = make_simple_command(:get, 'v1/{+name}', options)
3902
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature::Representation
3903
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature
3904
+ command.params['name'] = name unless name.nil?
3905
+ command.query['fields'] = fields unless fields.nil?
3906
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3907
+ execute_or_queue_command(command, &block)
3908
+ end
3909
+
3910
+ # Lists Features in a given FeatureGroup.
3911
+ # @param [String] parent
3912
+ # Required. The resource name of the Location to list Features. Format for
3913
+ # entity_type as parent: `projects/`project`/locations/`location`/featurestores/`
3914
+ # featurestore`/entityTypes/`entity_type`` Format for feature_group as parent: `
3915
+ # projects/`project`/locations/`location`/featureGroups/`feature_group``
3916
+ # @param [String] filter
3917
+ # Lists the Features that match the filter expression. The following filters are
3918
+ # supported: * `value_type`: Supports = and != comparisons. * `create_time`:
3919
+ # Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339
3920
+ # format. * `update_time`: Supports =, !=, <, >, >=, and <= comparisons. Values
3921
+ # must be in RFC 3339 format. * `labels`: Supports key-value equality as well as
3922
+ # key presence. Examples: * `value_type = DOUBLE` --> Features whose type is
3923
+ # DOUBLE. * `create_time > \"2020-01-31T15:30:00.000000Z\" OR update_time > \"
3924
+ # 2020-01-31T15:30:00.000000Z\"` --> EntityTypes created or updated after 2020-
3925
+ # 01-31T15:30:00.000000Z. * `labels.active = yes AND labels.env = prod` -->
3926
+ # Features having both (active: yes) and (env: prod) labels. * `labels.env: *` --
3927
+ # > Any Feature which has a label with 'env' as the key.
3928
+ # @param [Fixnum] latest_stats_count
3929
+ # Only applicable for Vertex AI Feature Store (Legacy). If set, return the most
3930
+ # recent ListFeaturesRequest.latest_stats_count of stats for each Feature in
3931
+ # response. Valid value is [0, 10]. If number of stats exists <
3932
+ # ListFeaturesRequest.latest_stats_count, return all existing stats.
3933
+ # @param [String] order_by
3934
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
3935
+ # desc" after a field name for descending. Supported fields: * `feature_id` * `
3936
+ # value_type` (Not supported for FeatureRegistry Feature) * `create_time` * `
3937
+ # update_time`
3938
+ # @param [Fixnum] page_size
3939
+ # The maximum number of Features to return. The service may return fewer than
3940
+ # this value. If unspecified, at most 1000 Features will be returned. The
3941
+ # maximum value is 1000; any value greater than 1000 will be coerced to 1000.
3942
+ # @param [String] page_token
3943
+ # A page token, received from a previous FeaturestoreService.ListFeatures call
3944
+ # or FeatureRegistryService.ListFeatures call. Provide this to retrieve the
3945
+ # subsequent page. When paginating, all other parameters provided to
3946
+ # FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures
3947
+ # must match the call that provided the page token.
3948
+ # @param [String] read_mask
3949
+ # Mask specifying which fields to read.
3950
+ # @param [String] fields
3951
+ # Selector specifying which fields to include in a partial response.
3952
+ # @param [String] quota_user
3953
+ # Available to use for quota purposes for server-side applications. Can be any
3954
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3955
+ # @param [Google::Apis::RequestOptions] options
3956
+ # Request-specific options
3957
+ #
3958
+ # @yield [result, err] Result & error if block supplied
3959
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeaturesResponse] parsed result object
3960
+ # @yieldparam err [StandardError] error object if request failed
3961
+ #
3962
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeaturesResponse]
3963
+ #
3964
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3965
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3966
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3967
+ def list_project_location_feature_group_features(parent, filter: nil, latest_stats_count: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3968
+ command = make_simple_command(:get, 'v1/{+parent}/features', options)
3969
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeaturesResponse::Representation
3970
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeaturesResponse
3971
+ command.params['parent'] = parent unless parent.nil?
3972
+ command.query['filter'] = filter unless filter.nil?
3973
+ command.query['latestStatsCount'] = latest_stats_count unless latest_stats_count.nil?
3974
+ command.query['orderBy'] = order_by unless order_by.nil?
3975
+ command.query['pageSize'] = page_size unless page_size.nil?
3976
+ command.query['pageToken'] = page_token unless page_token.nil?
3977
+ command.query['readMask'] = read_mask unless read_mask.nil?
3978
+ command.query['fields'] = fields unless fields.nil?
3979
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3980
+ execute_or_queue_command(command, &block)
3981
+ end
3982
+
3983
+ # Updates the parameters of a single Feature.
3984
+ # @param [String] name
3985
+ # Immutable. Name of the Feature. Format: `projects/`project`/locations/`
3986
+ # location`/featurestores/`featurestore`/entityTypes/`entity_type`/features/`
3987
+ # feature`` `projects/`project`/locations/`location`/featureGroups/`
3988
+ # feature_group`/features/`feature`` The last part feature is assigned by the
3989
+ # client. The feature can be up to 64 characters long and can consist only of
3990
+ # ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting
3991
+ # with a letter. The value will be unique given an entity type.
3992
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature] google_cloud_aiplatform_v1_feature_object
3993
+ # @param [String] update_mask
3994
+ # Field mask is used to specify the fields to be overwritten in the Features
3995
+ # resource by the update. The fields specified in the update_mask are relative
3996
+ # to the resource, not the full request. A field will be overwritten if it is in
3997
+ # the mask. If the user does not provide a mask then only the non-empty fields
3998
+ # present in the request will be overwritten. Set the update_mask to `*` to
3999
+ # override all fields. Updatable fields: * `description` * `labels` * `
4000
+ # disable_monitoring` (Not supported for FeatureRegistry Feature)
4001
+ # @param [String] fields
4002
+ # Selector specifying which fields to include in a partial response.
4003
+ # @param [String] quota_user
4004
+ # Available to use for quota purposes for server-side applications. Can be any
4005
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4006
+ # @param [Google::Apis::RequestOptions] options
4007
+ # Request-specific options
4008
+ #
4009
+ # @yield [result, err] Result & error if block supplied
4010
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4011
+ # @yieldparam err [StandardError] error object if request failed
4012
+ #
4013
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4014
+ #
4015
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4016
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4017
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4018
+ def patch_project_location_feature_group_feature(name, google_cloud_aiplatform_v1_feature_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4019
+ command = make_simple_command(:patch, 'v1/{+name}', options)
4020
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature::Representation
4021
+ command.request_object = google_cloud_aiplatform_v1_feature_object
4022
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4023
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4024
+ command.params['name'] = name unless name.nil?
4025
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4026
+ command.query['fields'] = fields unless fields.nil?
4027
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4028
+ execute_or_queue_command(command, &block)
4029
+ end
4030
+
4031
+ # Deletes a long-running operation. This method indicates that the client is no
4032
+ # longer interested in the operation result. It does not cancel the operation.
4033
+ # If the server doesn't support this method, it returns `google.rpc.Code.
4034
+ # UNIMPLEMENTED`.
4035
+ # @param [String] name
4036
+ # The name of the operation resource to be deleted.
4037
+ # @param [String] fields
4038
+ # Selector specifying which fields to include in a partial response.
4039
+ # @param [String] quota_user
4040
+ # Available to use for quota purposes for server-side applications. Can be any
4041
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4042
+ # @param [Google::Apis::RequestOptions] options
4043
+ # Request-specific options
4044
+ #
4045
+ # @yield [result, err] Result & error if block supplied
4046
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
4047
+ # @yieldparam err [StandardError] error object if request failed
4048
+ #
4049
+ # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
4050
+ #
4051
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4052
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4053
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4054
+ def delete_project_location_feature_group_feature_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4055
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4056
+ command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
4057
+ command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
4058
+ command.params['name'] = name unless name.nil?
4059
+ command.query['fields'] = fields unless fields.nil?
4060
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4061
+ execute_or_queue_command(command, &block)
4062
+ end
4063
+
4064
+ # Gets the latest state of a long-running operation. Clients can use this method
4065
+ # to poll the operation result at intervals as recommended by the API service.
4066
+ # @param [String] name
4067
+ # The name of the operation resource.
4068
+ # @param [String] fields
4069
+ # Selector specifying which fields to include in a partial response.
4070
+ # @param [String] quota_user
4071
+ # Available to use for quota purposes for server-side applications. Can be any
4072
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4073
+ # @param [Google::Apis::RequestOptions] options
4074
+ # Request-specific options
4075
+ #
4076
+ # @yield [result, err] Result & error if block supplied
4077
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4078
+ # @yieldparam err [StandardError] error object if request failed
4079
+ #
4080
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4081
+ #
4082
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4083
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4084
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4085
+ def get_project_location_feature_group_feature_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4086
+ command = make_simple_command(:get, 'v1/{+name}', options)
4087
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4088
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4089
+ command.params['name'] = name unless name.nil?
4090
+ command.query['fields'] = fields unless fields.nil?
4091
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4092
+ execute_or_queue_command(command, &block)
4093
+ end
4094
+
4095
+ # Lists operations that match the specified filter in the request. If the server
4096
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
4097
+ # @param [String] name
4098
+ # The name of the operation's parent resource.
4099
+ # @param [String] filter
4100
+ # The standard list filter.
4101
+ # @param [Fixnum] page_size
4102
+ # The standard list page size.
4103
+ # @param [String] page_token
4104
+ # The standard list page token.
4105
+ # @param [String] fields
4106
+ # Selector specifying which fields to include in a partial response.
4107
+ # @param [String] quota_user
4108
+ # Available to use for quota purposes for server-side applications. Can be any
4109
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4110
+ # @param [Google::Apis::RequestOptions] options
4111
+ # Request-specific options
4112
+ #
4113
+ # @yield [result, err] Result & error if block supplied
4114
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
4115
+ # @yieldparam err [StandardError] error object if request failed
4116
+ #
4117
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
4118
+ #
4119
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4120
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4121
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4122
+ def list_project_location_feature_group_feature_operation_wait(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4123
+ command = make_simple_command(:get, 'v1/{+name}:wait', options)
4124
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
4125
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
4126
+ command.params['name'] = name unless name.nil?
4127
+ command.query['filter'] = filter unless filter.nil?
4128
+ command.query['pageSize'] = page_size unless page_size.nil?
4129
+ command.query['pageToken'] = page_token unless page_token.nil?
4130
+ command.query['fields'] = fields unless fields.nil?
4131
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4132
+ execute_or_queue_command(command, &block)
4133
+ end
4134
+
4135
+ # Waits until the specified long-running operation is done or reaches at most a
4136
+ # specified timeout, returning the latest state. If the operation is already
4137
+ # done, the latest state is immediately returned. If the timeout specified is
4138
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
4139
+ # the server does not support this method, it returns `google.rpc.Code.
4140
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
4141
+ # the latest state before the specified timeout (including immediately), meaning
4142
+ # even an immediate response is no guarantee that the operation is done.
4143
+ # @param [String] name
4144
+ # The name of the operation resource to wait on.
4145
+ # @param [String] timeout
4146
+ # The maximum duration to wait before timing out. If left blank, the wait will
4147
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
4148
+ # context deadline is also specified, the shorter one will be used.
4149
+ # @param [String] fields
4150
+ # Selector specifying which fields to include in a partial response.
4151
+ # @param [String] quota_user
4152
+ # Available to use for quota purposes for server-side applications. Can be any
4153
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4154
+ # @param [Google::Apis::RequestOptions] options
4155
+ # Request-specific options
4156
+ #
4157
+ # @yield [result, err] Result & error if block supplied
4158
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4159
+ # @yieldparam err [StandardError] error object if request failed
4160
+ #
4161
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4162
+ #
4163
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4164
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4165
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4166
+ def wait_project_location_feature_group_feature_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
4167
+ command = make_simple_command(:post, 'v1/{+name}:wait', options)
4168
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4169
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4170
+ command.params['name'] = name unless name.nil?
4171
+ command.query['timeout'] = timeout unless timeout.nil?
4172
+ command.query['fields'] = fields unless fields.nil?
4173
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4174
+ execute_or_queue_command(command, &block)
4175
+ end
4176
+
4177
+ # Deletes a long-running operation. This method indicates that the client is no
4178
+ # longer interested in the operation result. It does not cancel the operation.
4179
+ # If the server doesn't support this method, it returns `google.rpc.Code.
4180
+ # UNIMPLEMENTED`.
4181
+ # @param [String] name
4182
+ # The name of the operation resource to be deleted.
4183
+ # @param [String] fields
4184
+ # Selector specifying which fields to include in a partial response.
4185
+ # @param [String] quota_user
4186
+ # Available to use for quota purposes for server-side applications. Can be any
4187
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4188
+ # @param [Google::Apis::RequestOptions] options
4189
+ # Request-specific options
4190
+ #
4191
+ # @yield [result, err] Result & error if block supplied
4192
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
4193
+ # @yieldparam err [StandardError] error object if request failed
4194
+ #
4195
+ # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
4196
+ #
4197
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4198
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4199
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4200
+ def delete_project_location_feature_group_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4201
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4202
+ command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
4203
+ command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
4204
+ command.params['name'] = name unless name.nil?
4205
+ command.query['fields'] = fields unless fields.nil?
4206
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4207
+ execute_or_queue_command(command, &block)
4208
+ end
4209
+
4210
+ # Gets the latest state of a long-running operation. Clients can use this method
4211
+ # to poll the operation result at intervals as recommended by the API service.
4212
+ # @param [String] name
4213
+ # The name of the operation resource.
4214
+ # @param [String] fields
4215
+ # Selector specifying which fields to include in a partial response.
4216
+ # @param [String] quota_user
4217
+ # Available to use for quota purposes for server-side applications. Can be any
4218
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4219
+ # @param [Google::Apis::RequestOptions] options
4220
+ # Request-specific options
4221
+ #
4222
+ # @yield [result, err] Result & error if block supplied
4223
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4224
+ # @yieldparam err [StandardError] error object if request failed
4225
+ #
4226
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4227
+ #
4228
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4229
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4230
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4231
+ def get_project_location_feature_group_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4232
+ command = make_simple_command(:get, 'v1/{+name}', options)
4233
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4234
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4235
+ command.params['name'] = name unless name.nil?
4236
+ command.query['fields'] = fields unless fields.nil?
4237
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4238
+ execute_or_queue_command(command, &block)
4239
+ end
4240
+
4241
+ # Lists operations that match the specified filter in the request. If the server
4242
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
4243
+ # @param [String] name
4244
+ # The name of the operation's parent resource.
4245
+ # @param [String] filter
4246
+ # The standard list filter.
4247
+ # @param [Fixnum] page_size
4248
+ # The standard list page size.
4249
+ # @param [String] page_token
4250
+ # The standard list page token.
4251
+ # @param [String] fields
4252
+ # Selector specifying which fields to include in a partial response.
4253
+ # @param [String] quota_user
4254
+ # Available to use for quota purposes for server-side applications. Can be any
4255
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4256
+ # @param [Google::Apis::RequestOptions] options
4257
+ # Request-specific options
4258
+ #
4259
+ # @yield [result, err] Result & error if block supplied
4260
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
4261
+ # @yieldparam err [StandardError] error object if request failed
4262
+ #
4263
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
4264
+ #
4265
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4266
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4267
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4268
+ def list_project_location_feature_group_operation_wait(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4269
+ command = make_simple_command(:get, 'v1/{+name}:wait', options)
4270
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
4271
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
4272
+ command.params['name'] = name unless name.nil?
4273
+ command.query['filter'] = filter unless filter.nil?
4274
+ command.query['pageSize'] = page_size unless page_size.nil?
4275
+ command.query['pageToken'] = page_token unless page_token.nil?
4276
+ command.query['fields'] = fields unless fields.nil?
4277
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4278
+ execute_or_queue_command(command, &block)
4279
+ end
4280
+
4281
+ # Waits until the specified long-running operation is done or reaches at most a
4282
+ # specified timeout, returning the latest state. If the operation is already
4283
+ # done, the latest state is immediately returned. If the timeout specified is
4284
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
4285
+ # the server does not support this method, it returns `google.rpc.Code.
4286
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
4287
+ # the latest state before the specified timeout (including immediately), meaning
4288
+ # even an immediate response is no guarantee that the operation is done.
4289
+ # @param [String] name
4290
+ # The name of the operation resource to wait on.
4291
+ # @param [String] timeout
4292
+ # The maximum duration to wait before timing out. If left blank, the wait will
4293
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
4294
+ # context deadline is also specified, the shorter one will be used.
4295
+ # @param [String] fields
4296
+ # Selector specifying which fields to include in a partial response.
4297
+ # @param [String] quota_user
4298
+ # Available to use for quota purposes for server-side applications. Can be any
4299
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4300
+ # @param [Google::Apis::RequestOptions] options
4301
+ # Request-specific options
4302
+ #
4303
+ # @yield [result, err] Result & error if block supplied
4304
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4305
+ # @yieldparam err [StandardError] error object if request failed
4306
+ #
4307
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4308
+ #
4309
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4310
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4311
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4312
+ def wait_project_location_feature_group_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
4313
+ command = make_simple_command(:post, 'v1/{+name}:wait', options)
4314
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4315
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4316
+ command.params['name'] = name unless name.nil?
4317
+ command.query['timeout'] = timeout unless timeout.nil?
4318
+ command.query['fields'] = fields unless fields.nil?
4319
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4320
+ execute_or_queue_command(command, &block)
4321
+ end
4322
+
4323
+ # Creates a new FeatureOnlineStore in a given project and location.
4324
+ # @param [String] parent
4325
+ # Required. The resource name of the Location to create FeatureOnlineStores.
4326
+ # Format: `projects/`project`/locations/`location`'`
4327
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore] google_cloud_aiplatform_v1_feature_online_store_object
4328
+ # @param [String] feature_online_store_id
4329
+ # Required. The ID to use for this FeatureOnlineStore, which will become the
4330
+ # final component of the FeatureOnlineStore's resource name. This value may be
4331
+ # up to 60 characters, and valid characters are `[a-z0-9_]`. The first character
4332
+ # cannot be a number. The value must be unique within the project and location.
4333
+ # @param [String] fields
4334
+ # Selector specifying which fields to include in a partial response.
4335
+ # @param [String] quota_user
4336
+ # Available to use for quota purposes for server-side applications. Can be any
4337
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4338
+ # @param [Google::Apis::RequestOptions] options
4339
+ # Request-specific options
4340
+ #
4341
+ # @yield [result, err] Result & error if block supplied
4342
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4343
+ # @yieldparam err [StandardError] error object if request failed
4344
+ #
4345
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4346
+ #
4347
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4348
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4349
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4350
+ def create_project_location_feature_online_store(parent, google_cloud_aiplatform_v1_feature_online_store_object = nil, feature_online_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4351
+ command = make_simple_command(:post, 'v1/{+parent}/featureOnlineStores', options)
4352
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore::Representation
4353
+ command.request_object = google_cloud_aiplatform_v1_feature_online_store_object
4354
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4355
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4356
+ command.params['parent'] = parent unless parent.nil?
4357
+ command.query['featureOnlineStoreId'] = feature_online_store_id unless feature_online_store_id.nil?
4358
+ command.query['fields'] = fields unless fields.nil?
4359
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4360
+ execute_or_queue_command(command, &block)
4361
+ end
4362
+
4363
+ # Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain
4364
+ # any FeatureViews.
4365
+ # @param [String] name
4366
+ # Required. The name of the FeatureOnlineStore to be deleted. Format: `projects/`
4367
+ # project`/locations/`location`/featureOnlineStores/`feature_online_store``
4368
+ # @param [Boolean] force
4369
+ # If set to true, any FeatureViews and Features for this FeatureOnlineStore will
4370
+ # also be deleted. (Otherwise, the request will only work if the
4371
+ # FeatureOnlineStore has no FeatureViews.)
4372
+ # @param [String] fields
4373
+ # Selector specifying which fields to include in a partial response.
4374
+ # @param [String] quota_user
4375
+ # Available to use for quota purposes for server-side applications. Can be any
4376
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4377
+ # @param [Google::Apis::RequestOptions] options
4378
+ # Request-specific options
4379
+ #
4380
+ # @yield [result, err] Result & error if block supplied
4381
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4382
+ # @yieldparam err [StandardError] error object if request failed
4383
+ #
4384
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4385
+ #
4386
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4387
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4388
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4389
+ def delete_project_location_feature_online_store(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
4390
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4391
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4392
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4393
+ command.params['name'] = name unless name.nil?
4394
+ command.query['force'] = force unless force.nil?
4395
+ command.query['fields'] = fields unless fields.nil?
4396
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4397
+ execute_or_queue_command(command, &block)
4398
+ end
4399
+
4400
+ # Gets details of a single FeatureOnlineStore.
4401
+ # @param [String] name
4402
+ # Required. The name of the FeatureOnlineStore resource.
4403
+ # @param [String] fields
4404
+ # Selector specifying which fields to include in a partial response.
4405
+ # @param [String] quota_user
4406
+ # Available to use for quota purposes for server-side applications. Can be any
4407
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4408
+ # @param [Google::Apis::RequestOptions] options
4409
+ # Request-specific options
4410
+ #
4411
+ # @yield [result, err] Result & error if block supplied
4412
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore] parsed result object
4413
+ # @yieldparam err [StandardError] error object if request failed
4414
+ #
4415
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore]
4416
+ #
4417
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4418
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4419
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4420
+ def get_project_location_feature_online_store(name, fields: nil, quota_user: nil, options: nil, &block)
4421
+ command = make_simple_command(:get, 'v1/{+name}', options)
4422
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore::Representation
4423
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore
4424
+ command.params['name'] = name unless name.nil?
4425
+ command.query['fields'] = fields unless fields.nil?
4426
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4427
+ execute_or_queue_command(command, &block)
4428
+ end
4429
+
4430
+ # Lists FeatureOnlineStores in a given project and location.
4431
+ # @param [String] parent
4432
+ # Required. The resource name of the Location to list FeatureOnlineStores.
4433
+ # Format: `projects/`project`/locations/`location``
4434
+ # @param [String] filter
4435
+ # Lists the FeatureOnlineStores that match the filter expression. The following
4436
+ # fields are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and
4437
+ # `>=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports
4438
+ # `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339
4439
+ # format. * `labels`: Supports key-value equality and key presence. Examples: * `
4440
+ # create_time > "2020-01-01" OR update_time > "2020-01-01"` FeatureOnlineStores
4441
+ # created or updated after 2020-01-01. * `labels.env = "prod"`
4442
+ # FeatureOnlineStores with label "env" set to "prod".
4443
+ # @param [String] order_by
4444
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
4445
+ # desc" after a field name for descending. Supported Fields: * `create_time` * `
4446
+ # update_time`
4447
+ # @param [Fixnum] page_size
4448
+ # The maximum number of FeatureOnlineStores to return. The service may return
4449
+ # fewer than this value. If unspecified, at most 100 FeatureOnlineStores will be
4450
+ # returned. The maximum value is 100; any value greater than 100 will be coerced
4451
+ # to 100.
4452
+ # @param [String] page_token
4453
+ # A page token, received from a previous FeatureOnlineStoreAdminService.
4454
+ # ListFeatureOnlineStores call. Provide this to retrieve the subsequent page.
4455
+ # When paginating, all other parameters provided to
4456
+ # FeatureOnlineStoreAdminService.ListFeatureOnlineStores must match the call
4457
+ # that provided the page token.
4458
+ # @param [String] fields
4459
+ # Selector specifying which fields to include in a partial response.
4460
+ # @param [String] quota_user
4461
+ # Available to use for quota purposes for server-side applications. Can be any
4462
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4463
+ # @param [Google::Apis::RequestOptions] options
4464
+ # Request-specific options
4465
+ #
4466
+ # @yield [result, err] Result & error if block supplied
4467
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse] parsed result object
4468
+ # @yieldparam err [StandardError] error object if request failed
4469
+ #
4470
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse]
4471
+ #
4472
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4473
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4474
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4475
+ def list_project_location_feature_online_stores(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4476
+ command = make_simple_command(:get, 'v1/{+parent}/featureOnlineStores', options)
4477
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse::Representation
4478
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse
4479
+ command.params['parent'] = parent unless parent.nil?
4480
+ command.query['filter'] = filter unless filter.nil?
4481
+ command.query['orderBy'] = order_by unless order_by.nil?
4482
+ command.query['pageSize'] = page_size unless page_size.nil?
4483
+ command.query['pageToken'] = page_token unless page_token.nil?
4484
+ command.query['fields'] = fields unless fields.nil?
4485
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4486
+ execute_or_queue_command(command, &block)
4487
+ end
4488
+
4489
+ # Updates the parameters of a single FeatureOnlineStore.
4490
+ # @param [String] name
4491
+ # Output only. Name of the FeatureOnlineStore. Format: `projects/`project`/
4492
+ # locations/`location`/featureOnlineStores/`featureOnlineStore``
4493
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore] google_cloud_aiplatform_v1_feature_online_store_object
4494
+ # @param [String] update_mask
4495
+ # Field mask is used to specify the fields to be overwritten in the
4496
+ # FeatureOnlineStore resource by the update. The fields specified in the
4497
+ # update_mask are relative to the resource, not the full request. A field will
4498
+ # be overwritten if it is in the mask. If the user does not provide a mask then
4499
+ # only the non-empty fields present in the request will be overwritten. Set the
4500
+ # update_mask to `*` to override all fields. Updatable fields: * `
4501
+ # big_query_source` * `labels` * `sync_config`
4502
+ # @param [String] fields
4503
+ # Selector specifying which fields to include in a partial response.
4504
+ # @param [String] quota_user
4505
+ # Available to use for quota purposes for server-side applications. Can be any
4506
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4507
+ # @param [Google::Apis::RequestOptions] options
4508
+ # Request-specific options
4509
+ #
4510
+ # @yield [result, err] Result & error if block supplied
4511
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4512
+ # @yieldparam err [StandardError] error object if request failed
4513
+ #
4514
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4515
+ #
4516
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4517
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4518
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4519
+ def patch_project_location_feature_online_store(name, google_cloud_aiplatform_v1_feature_online_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4520
+ command = make_simple_command(:patch, 'v1/{+name}', options)
4521
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore::Representation
4522
+ command.request_object = google_cloud_aiplatform_v1_feature_online_store_object
4523
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4524
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4525
+ command.params['name'] = name unless name.nil?
4526
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4527
+ command.query['fields'] = fields unless fields.nil?
4528
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4529
+ execute_or_queue_command(command, &block)
4530
+ end
4531
+
4532
+ # Creates a new FeatureView in a given FeatureOnlineStore.
4533
+ # @param [String] parent
4534
+ # Required. The resource name of the FeatureOnlineStore to create FeatureViews.
4535
+ # Format: `projects/`project`/locations/`location`/featureOnlineStores/`
4536
+ # feature_online_store``
4537
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView] google_cloud_aiplatform_v1_feature_view_object
4538
+ # @param [String] feature_view_id
4539
+ # Required. The ID to use for the FeatureView, which will become the final
4540
+ # component of the FeatureView's resource name. This value may be up to 60
4541
+ # characters, and valid characters are `[a-z0-9_]`. The first character cannot
4542
+ # be a number. The value must be unique within a FeatureOnlineStore.
4543
+ # @param [Boolean] run_sync_immediately
4544
+ # Immutable. If set to true, one on demand sync will be run immediately,
4545
+ # regardless whether the FeatureView.sync_config is configured or not.
4546
+ # @param [String] fields
4547
+ # Selector specifying which fields to include in a partial response.
4548
+ # @param [String] quota_user
4549
+ # Available to use for quota purposes for server-side applications. Can be any
4550
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4551
+ # @param [Google::Apis::RequestOptions] options
4552
+ # Request-specific options
4553
+ #
4554
+ # @yield [result, err] Result & error if block supplied
4555
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4556
+ # @yieldparam err [StandardError] error object if request failed
4557
+ #
4558
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4559
+ #
4560
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4561
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4562
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4563
+ def create_project_location_feature_online_store_feature_view(parent, google_cloud_aiplatform_v1_feature_view_object = nil, feature_view_id: nil, run_sync_immediately: nil, fields: nil, quota_user: nil, options: nil, &block)
4564
+ command = make_simple_command(:post, 'v1/{+parent}/featureViews', options)
4565
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView::Representation
4566
+ command.request_object = google_cloud_aiplatform_v1_feature_view_object
4567
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4568
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4569
+ command.params['parent'] = parent unless parent.nil?
4570
+ command.query['featureViewId'] = feature_view_id unless feature_view_id.nil?
4571
+ command.query['runSyncImmediately'] = run_sync_immediately unless run_sync_immediately.nil?
4572
+ command.query['fields'] = fields unless fields.nil?
4573
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4574
+ execute_or_queue_command(command, &block)
4575
+ end
4576
+
4577
+ # Deletes a single FeatureView.
4578
+ # @param [String] name
4579
+ # Required. The name of the FeatureView to be deleted. Format: `projects/`
4580
+ # project`/locations/`location`/featureOnlineStores/`feature_online_store`/
4581
+ # featureViews/`feature_view``
4582
+ # @param [String] fields
4583
+ # Selector specifying which fields to include in a partial response.
4584
+ # @param [String] quota_user
4585
+ # Available to use for quota purposes for server-side applications. Can be any
4586
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4587
+ # @param [Google::Apis::RequestOptions] options
4588
+ # Request-specific options
4589
+ #
4590
+ # @yield [result, err] Result & error if block supplied
4591
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4592
+ # @yieldparam err [StandardError] error object if request failed
4593
+ #
4594
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4595
+ #
4596
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4597
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4598
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4599
+ def delete_project_location_feature_online_store_feature_view(name, fields: nil, quota_user: nil, options: nil, &block)
4600
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4601
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4602
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4603
+ command.params['name'] = name unless name.nil?
4604
+ command.query['fields'] = fields unless fields.nil?
4605
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4606
+ execute_or_queue_command(command, &block)
4607
+ end
4608
+
4609
+ # Fetch feature values under a FeatureView.
4610
+ # @param [String] feature_view
4611
+ # Required. FeatureView resource format `projects/`project`/locations/`location`/
4612
+ # featureOnlineStores/`featureOnlineStore`/featureViews/`featureView``
4613
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesRequest] google_cloud_aiplatform_v1_fetch_feature_values_request_object
4614
+ # @param [String] fields
4615
+ # Selector specifying which fields to include in a partial response.
4616
+ # @param [String] quota_user
4617
+ # Available to use for quota purposes for server-side applications. Can be any
4618
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4619
+ # @param [Google::Apis::RequestOptions] options
4620
+ # Request-specific options
4621
+ #
4622
+ # @yield [result, err] Result & error if block supplied
4623
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponse] parsed result object
4624
+ # @yieldparam err [StandardError] error object if request failed
4625
+ #
4626
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponse]
4627
+ #
4628
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4629
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4630
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4631
+ def fetch_project_location_feature_online_store_feature_view_feature_values(feature_view, google_cloud_aiplatform_v1_fetch_feature_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4632
+ command = make_simple_command(:post, 'v1/{+featureView}:fetchFeatureValues', options)
4633
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesRequest::Representation
4634
+ command.request_object = google_cloud_aiplatform_v1_fetch_feature_values_request_object
4635
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponse::Representation
4636
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponse
4637
+ command.params['featureView'] = feature_view unless feature_view.nil?
4638
+ command.query['fields'] = fields unless fields.nil?
4639
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4640
+ execute_or_queue_command(command, &block)
4641
+ end
4642
+
4643
+ # Gets details of a single FeatureView.
4644
+ # @param [String] name
4645
+ # Required. The name of the FeatureView resource. Format: `projects/`project`/
4646
+ # locations/`location`/featureOnlineStores/`feature_online_store`/featureViews/`
4647
+ # feature_view``
4648
+ # @param [String] fields
4649
+ # Selector specifying which fields to include in a partial response.
4650
+ # @param [String] quota_user
4651
+ # Available to use for quota purposes for server-side applications. Can be any
4652
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4653
+ # @param [Google::Apis::RequestOptions] options
4654
+ # Request-specific options
4655
+ #
4656
+ # @yield [result, err] Result & error if block supplied
4657
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView] parsed result object
4658
+ # @yieldparam err [StandardError] error object if request failed
4659
+ #
4660
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView]
4661
+ #
4662
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4663
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4664
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4665
+ def get_project_location_feature_online_store_feature_view(name, fields: nil, quota_user: nil, options: nil, &block)
4666
+ command = make_simple_command(:get, 'v1/{+name}', options)
4667
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView::Representation
4668
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView
4669
+ command.params['name'] = name unless name.nil?
4670
+ command.query['fields'] = fields unless fields.nil?
4671
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4672
+ execute_or_queue_command(command, &block)
4673
+ end
4674
+
4675
+ # Lists FeatureViews in a given FeatureOnlineStore.
4676
+ # @param [String] parent
4677
+ # Required. The resource name of the FeatureOnlineStore to list FeatureViews.
4678
+ # Format: `projects/`project`/locations/`location`/featureOnlineStores/`
4679
+ # feature_online_store``
4680
+ # @param [String] filter
4681
+ # Lists the FeatureViews that match the filter expression. The following filters
4682
+ # are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=`
4683
+ # comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`,
4684
+ # `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format.
4685
+ # * `labels`: Supports key-value equality as well as key presence. Examples: * `
4686
+ # create_time > \"2020-01-31T15:30:00.000000Z\" OR update_time > \"2020-01-31T15:
4687
+ # 30:00.000000Z\"` --> FeatureViews created or updated after 2020-01-31T15:30:00.
4688
+ # 000000Z. * `labels.active = yes AND labels.env = prod` --> FeatureViews having
4689
+ # both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any
4690
+ # FeatureView which has a label with 'env' as the key.
4691
+ # @param [String] order_by
4692
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
4693
+ # desc" after a field name for descending. Supported fields: * `feature_view_id`
4694
+ # * `create_time` * `update_time`
4695
+ # @param [Fixnum] page_size
4696
+ # The maximum number of FeatureViews to return. The service may return fewer
4697
+ # than this value. If unspecified, at most 1000 FeatureViews will be returned.
4698
+ # The maximum value is 1000; any value greater than 1000 will be coerced to 1000.
4699
+ # @param [String] page_token
4700
+ # A page token, received from a previous FeatureOnlineStoreAdminService.
4701
+ # ListFeatureViews call. Provide this to retrieve the subsequent page. When
4702
+ # paginating, all other parameters provided to FeatureOnlineStoreAdminService.
4703
+ # ListFeatureViews must match the call that provided the page token.
4704
+ # @param [String] fields
4705
+ # Selector specifying which fields to include in a partial response.
4706
+ # @param [String] quota_user
4707
+ # Available to use for quota purposes for server-side applications. Can be any
4708
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4709
+ # @param [Google::Apis::RequestOptions] options
4710
+ # Request-specific options
4711
+ #
4712
+ # @yield [result, err] Result & error if block supplied
4713
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewsResponse] parsed result object
4714
+ # @yieldparam err [StandardError] error object if request failed
4715
+ #
4716
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewsResponse]
4717
+ #
4718
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4719
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4720
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4721
+ def list_project_location_feature_online_store_feature_views(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4722
+ command = make_simple_command(:get, 'v1/{+parent}/featureViews', options)
4723
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewsResponse::Representation
4724
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewsResponse
3119
4725
  command.params['parent'] = parent unless parent.nil?
3120
4726
  command.query['filter'] = filter unless filter.nil?
3121
4727
  command.query['orderBy'] = order_by unless order_by.nil?
3122
4728
  command.query['pageSize'] = page_size unless page_size.nil?
3123
4729
  command.query['pageToken'] = page_token unless page_token.nil?
3124
- command.query['readMask'] = read_mask unless read_mask.nil?
3125
4730
  command.query['fields'] = fields unless fields.nil?
3126
4731
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3127
4732
  execute_or_queue_command(command, &block)
3128
4733
  end
3129
4734
 
3130
- # Updates an existing deployed model. Updatable fields include `
3131
- # min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, `
3132
- # disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1
3133
- # only).
3134
- # @param [String] endpoint
3135
- # Required. The name of the Endpoint resource into which to mutate a
3136
- # DeployedModel. Format: `projects/`project`/locations/`location`/endpoints/`
3137
- # endpoint``
3138
- # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MutateDeployedModelRequest] google_cloud_aiplatform_v1_mutate_deployed_model_request_object
4735
+ # Updates the parameters of a single FeatureView.
4736
+ # @param [String] name
4737
+ # Output only. Name of the FeatureView. Format: `projects/`project`/locations/`
4738
+ # location`/featureOnlineStores/`feature_online_store`/featureViews/`
4739
+ # feature_view``
4740
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView] google_cloud_aiplatform_v1_feature_view_object
4741
+ # @param [String] update_mask
4742
+ # Field mask is used to specify the fields to be overwritten in the FeatureView
4743
+ # resource by the update. The fields specified in the update_mask are relative
4744
+ # to the resource, not the full request. A field will be overwritten if it is in
4745
+ # the mask. If the user does not provide a mask then only the non-empty fields
4746
+ # present in the request will be overwritten. Set the update_mask to `*` to
4747
+ # override all fields. Updatable fields: * `labels`
3139
4748
  # @param [String] fields
3140
4749
  # Selector specifying which fields to include in a partial response.
3141
4750
  # @param [String] quota_user
@@ -3153,25 +4762,24 @@ module Google
3153
4762
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3154
4763
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3155
4764
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3156
- def mutate_project_location_endpoint_deployed_model(endpoint, google_cloud_aiplatform_v1_mutate_deployed_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3157
- command = make_simple_command(:post, 'v1/{+endpoint}:mutateDeployedModel', options)
3158
- command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MutateDeployedModelRequest::Representation
3159
- command.request_object = google_cloud_aiplatform_v1_mutate_deployed_model_request_object
4765
+ def patch_project_location_feature_online_store_feature_view(name, google_cloud_aiplatform_v1_feature_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4766
+ command = make_simple_command(:patch, 'v1/{+name}', options)
4767
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView::Representation
4768
+ command.request_object = google_cloud_aiplatform_v1_feature_view_object
3160
4769
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3161
4770
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3162
- command.params['endpoint'] = endpoint unless endpoint.nil?
4771
+ command.params['name'] = name unless name.nil?
4772
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3163
4773
  command.query['fields'] = fields unless fields.nil?
3164
4774
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3165
4775
  execute_or_queue_command(command, &block)
3166
4776
  end
3167
4777
 
3168
- # Updates an Endpoint.
3169
- # @param [String] name
3170
- # Output only. The resource name of the Endpoint.
3171
- # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint] google_cloud_aiplatform_v1_endpoint_object
3172
- # @param [String] update_mask
3173
- # Required. The update mask applies to the resource. See google.protobuf.
3174
- # FieldMask.
4778
+ # Triggers on-demand sync for the FeatureView.
4779
+ # @param [String] feature_view
4780
+ # Required. Format: `projects/`project`/locations/`location`/featureOnlineStores/
4781
+ # `feature_online_store`/featureViews/`feature_view``
4782
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyncFeatureViewRequest] google_cloud_aiplatform_v1_sync_feature_view_request_object
3175
4783
  # @param [String] fields
3176
4784
  # Selector specifying which fields to include in a partial response.
3177
4785
  # @param [String] quota_user
@@ -3181,32 +4789,31 @@ module Google
3181
4789
  # Request-specific options
3182
4790
  #
3183
4791
  # @yield [result, err] Result & error if block supplied
3184
- # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint] parsed result object
4792
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyncFeatureViewResponse] parsed result object
3185
4793
  # @yieldparam err [StandardError] error object if request failed
3186
4794
  #
3187
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint]
4795
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyncFeatureViewResponse]
3188
4796
  #
3189
4797
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3190
4798
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3191
4799
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3192
- def patch_project_location_endpoint(name, google_cloud_aiplatform_v1_endpoint_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3193
- command = make_simple_command(:patch, 'v1/{+name}', options)
3194
- command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint::Representation
3195
- command.request_object = google_cloud_aiplatform_v1_endpoint_object
3196
- command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint::Representation
3197
- command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint
3198
- command.params['name'] = name unless name.nil?
3199
- command.query['updateMask'] = update_mask unless update_mask.nil?
4800
+ def sync_project_location_feature_online_store_feature_view(feature_view, google_cloud_aiplatform_v1_sync_feature_view_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4801
+ command = make_simple_command(:post, 'v1/{+featureView}:sync', options)
4802
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyncFeatureViewRequest::Representation
4803
+ command.request_object = google_cloud_aiplatform_v1_sync_feature_view_request_object
4804
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyncFeatureViewResponse::Representation
4805
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyncFeatureViewResponse
4806
+ command.params['featureView'] = feature_view unless feature_view.nil?
3200
4807
  command.query['fields'] = fields unless fields.nil?
3201
4808
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3202
4809
  execute_or_queue_command(command, &block)
3203
4810
  end
3204
4811
 
3205
- # Perform an online prediction.
3206
- # @param [String] endpoint
3207
- # Required. The name of the Endpoint requested to serve the prediction. Format: `
3208
- # projects/`project`/locations/`location`/endpoints/`endpoint``
3209
- # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequest] google_cloud_aiplatform_v1_predict_request_object
4812
+ # Gets details of a single FeatureViewSync.
4813
+ # @param [String] name
4814
+ # Required. The name of the FeatureViewSync resource. Format: `projects/`project`
4815
+ # /locations/`location`/featureOnlineStores/`feature_online_store`/featureViews/`
4816
+ # feature_view`/featureViewSyncs/`feature_view_sync``
3210
4817
  # @param [String] fields
3211
4818
  # Selector specifying which fields to include in a partial response.
3212
4819
  # @param [String] quota_user
@@ -3216,34 +4823,48 @@ module Google
3216
4823
  # Request-specific options
3217
4824
  #
3218
4825
  # @yield [result, err] Result & error if block supplied
3219
- # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse] parsed result object
4826
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSync] parsed result object
3220
4827
  # @yieldparam err [StandardError] error object if request failed
3221
4828
  #
3222
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse]
4829
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSync]
3223
4830
  #
3224
4831
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3225
4832
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3226
4833
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3227
- def predict_project_location_endpoint(endpoint, google_cloud_aiplatform_v1_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3228
- command = make_simple_command(:post, 'v1/{+endpoint}:predict', options)
3229
- command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequest::Representation
3230
- command.request_object = google_cloud_aiplatform_v1_predict_request_object
3231
- command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse::Representation
3232
- command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse
3233
- command.params['endpoint'] = endpoint unless endpoint.nil?
4834
+ def get_project_location_feature_online_store_feature_view_feature_view_sync(name, fields: nil, quota_user: nil, options: nil, &block)
4835
+ command = make_simple_command(:get, 'v1/{+name}', options)
4836
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSync::Representation
4837
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSync
4838
+ command.params['name'] = name unless name.nil?
3234
4839
  command.query['fields'] = fields unless fields.nil?
3235
4840
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3236
4841
  execute_or_queue_command(command, &block)
3237
4842
  end
3238
4843
 
3239
- # Perform an online prediction with an arbitrary HTTP payload. The response
3240
- # includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the
3241
- # Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID of
3242
- # the Endpoint's DeployedModel that served this prediction.
3243
- # @param [String] endpoint
3244
- # Required. The name of the Endpoint requested to serve the prediction. Format: `
3245
- # projects/`project`/locations/`location`/endpoints/`endpoint``
3246
- # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RawPredictRequest] google_cloud_aiplatform_v1_raw_predict_request_object
4844
+ # Lists FeatureViewSyncs in a given FeatureView.
4845
+ # @param [String] parent
4846
+ # Required. The resource name of the FeatureView to list FeatureViewSyncs.
4847
+ # Format: `projects/`project`/locations/`location`/featureOnlineStores/`
4848
+ # feature_online_store`/featureViews/`feature_view``
4849
+ # @param [String] filter
4850
+ # Lists the FeatureViewSyncs that match the filter expression. The following
4851
+ # filters are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`,
4852
+ # and `<=` comparisons. Values must be in RFC 3339 format. Examples: * `
4853
+ # create_time > \"2020-01-31T15:30:00.000000Z\"` --> FeatureViewSyncs created
4854
+ # after 2020-01-31T15:30:00.000000Z.
4855
+ # @param [String] order_by
4856
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
4857
+ # desc" after a field name for descending. Supported fields: * `create_time`
4858
+ # @param [Fixnum] page_size
4859
+ # The maximum number of FeatureViewSyncs to return. The service may return fewer
4860
+ # than this value. If unspecified, at most 1000 FeatureViewSyncs will be
4861
+ # returned. The maximum value is 1000; any value greater than 1000 will be
4862
+ # coerced to 1000.
4863
+ # @param [String] page_token
4864
+ # A page token, received from a previous FeatureOnlineStoreAdminService.
4865
+ # ListFeatureViewSyncs call. Provide this to retrieve the subsequent page. When
4866
+ # paginating, all other parameters provided to FeatureOnlineStoreAdminService.
4867
+ # ListFeatureViewSyncs must match the call that provided the page token.
3247
4868
  # @param [String] fields
3248
4869
  # Selector specifying which fields to include in a partial response.
3249
4870
  # @param [String] quota_user
@@ -3253,32 +4874,34 @@ module Google
3253
4874
  # Request-specific options
3254
4875
  #
3255
4876
  # @yield [result, err] Result & error if block supplied
3256
- # @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
4877
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewSyncsResponse] parsed result object
3257
4878
  # @yieldparam err [StandardError] error object if request failed
3258
4879
  #
3259
- # @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
4880
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewSyncsResponse]
3260
4881
  #
3261
4882
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3262
4883
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3263
4884
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3264
- def raw_project_location_endpoint_predict(endpoint, google_cloud_aiplatform_v1_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3265
- command = make_simple_command(:post, 'v1/{+endpoint}:rawPredict', options)
3266
- command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RawPredictRequest::Representation
3267
- command.request_object = google_cloud_aiplatform_v1_raw_predict_request_object
3268
- command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
3269
- command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
3270
- command.params['endpoint'] = endpoint unless endpoint.nil?
4885
+ def list_project_location_feature_online_store_feature_view_feature_view_syncs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4886
+ command = make_simple_command(:get, 'v1/{+parent}/featureViewSyncs', options)
4887
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewSyncsResponse::Representation
4888
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewSyncsResponse
4889
+ command.params['parent'] = parent unless parent.nil?
4890
+ command.query['filter'] = filter unless filter.nil?
4891
+ command.query['orderBy'] = order_by unless order_by.nil?
4892
+ command.query['pageSize'] = page_size unless page_size.nil?
4893
+ command.query['pageToken'] = page_token unless page_token.nil?
3271
4894
  command.query['fields'] = fields unless fields.nil?
3272
4895
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3273
4896
  execute_or_queue_command(command, &block)
3274
4897
  end
3275
4898
 
3276
- # Perform a server-side streaming online prediction request for Vertex LLM
3277
- # streaming.
3278
- # @param [String] endpoint
3279
- # Required. The name of the Endpoint requested to serve the prediction. Format: `
3280
- # projects/`project`/locations/`location`/endpoints/`endpoint``
3281
- # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictRequest] google_cloud_aiplatform_v1_streaming_predict_request_object
4899
+ # Deletes a long-running operation. This method indicates that the client is no
4900
+ # longer interested in the operation result. It does not cancel the operation.
4901
+ # If the server doesn't support this method, it returns `google.rpc.Code.
4902
+ # UNIMPLEMENTED`.
4903
+ # @param [String] name
4904
+ # The name of the operation resource to be deleted.
3282
4905
  # @param [String] fields
3283
4906
  # Selector specifying which fields to include in a partial response.
3284
4907
  # @param [String] quota_user
@@ -3288,32 +4911,28 @@ module Google
3288
4911
  # Request-specific options
3289
4912
  #
3290
4913
  # @yield [result, err] Result & error if block supplied
3291
- # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse] parsed result object
4914
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
3292
4915
  # @yieldparam err [StandardError] error object if request failed
3293
4916
  #
3294
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse]
4917
+ # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
3295
4918
  #
3296
4919
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3297
4920
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3298
4921
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3299
- def server_project_location_endpoint_streaming_predict(endpoint, google_cloud_aiplatform_v1_streaming_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3300
- command = make_simple_command(:post, 'v1/{+endpoint}:serverStreamingPredict', options)
3301
- command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictRequest::Representation
3302
- command.request_object = google_cloud_aiplatform_v1_streaming_predict_request_object
3303
- command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse::Representation
3304
- command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse
3305
- command.params['endpoint'] = endpoint unless endpoint.nil?
4922
+ def delete_project_location_feature_online_store_feature_view_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4923
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4924
+ command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
4925
+ command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
4926
+ command.params['name'] = name unless name.nil?
3306
4927
  command.query['fields'] = fields unless fields.nil?
3307
4928
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3308
4929
  execute_or_queue_command(command, &block)
3309
4930
  end
3310
4931
 
3311
- # Undeploys a Model from an Endpoint, removing a DeployedModel from it, and
3312
- # freeing all resources it's using.
3313
- # @param [String] endpoint
3314
- # Required. The name of the Endpoint resource from which to undeploy a Model.
3315
- # Format: `projects/`project`/locations/`location`/endpoints/`endpoint``
3316
- # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UndeployModelRequest] google_cloud_aiplatform_v1_undeploy_model_request_object
4932
+ # Gets the latest state of a long-running operation. Clients can use this method
4933
+ # to poll the operation result at intervals as recommended by the API service.
4934
+ # @param [String] name
4935
+ # The name of the operation resource.
3317
4936
  # @param [String] fields
3318
4937
  # Selector specifying which fields to include in a partial response.
3319
4938
  # @param [String] quota_user
@@ -3331,28 +4950,26 @@ module Google
3331
4950
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3332
4951
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3333
4952
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3334
- def undeploy_project_location_endpoint_model(endpoint, google_cloud_aiplatform_v1_undeploy_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3335
- command = make_simple_command(:post, 'v1/{+endpoint}:undeployModel', options)
3336
- command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UndeployModelRequest::Representation
3337
- command.request_object = google_cloud_aiplatform_v1_undeploy_model_request_object
4953
+ def get_project_location_feature_online_store_feature_view_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4954
+ command = make_simple_command(:get, 'v1/{+name}', options)
3338
4955
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3339
4956
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3340
- command.params['endpoint'] = endpoint unless endpoint.nil?
4957
+ command.params['name'] = name unless name.nil?
3341
4958
  command.query['fields'] = fields unless fields.nil?
3342
4959
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3343
4960
  execute_or_queue_command(command, &block)
3344
4961
  end
3345
4962
 
3346
- # Starts asynchronous cancellation on a long-running operation. The server makes
3347
- # a best effort to cancel the operation, but success is not guaranteed. If the
3348
- # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
3349
- # Clients can use Operations.GetOperation or other methods to check whether the
3350
- # cancellation succeeded or whether the operation completed despite cancellation.
3351
- # On successful cancellation, the operation is not deleted; instead, it becomes
3352
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
3353
- # corresponding to `Code.CANCELLED`.
4963
+ # Lists operations that match the specified filter in the request. If the server
4964
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
3354
4965
  # @param [String] name
3355
- # The name of the operation resource to be cancelled.
4966
+ # The name of the operation's parent resource.
4967
+ # @param [String] filter
4968
+ # The standard list filter.
4969
+ # @param [Fixnum] page_size
4970
+ # The standard list page size.
4971
+ # @param [String] page_token
4972
+ # The standard list page token.
3356
4973
  # @param [String] fields
3357
4974
  # Selector specifying which fields to include in a partial response.
3358
4975
  # @param [String] quota_user
@@ -3362,19 +4979,64 @@ module Google
3362
4979
  # Request-specific options
3363
4980
  #
3364
4981
  # @yield [result, err] Result & error if block supplied
3365
- # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
4982
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
3366
4983
  # @yieldparam err [StandardError] error object if request failed
3367
4984
  #
3368
- # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
4985
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
3369
4986
  #
3370
4987
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3371
4988
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3372
4989
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3373
- def cancel_project_location_endpoint_operation(name, fields: nil, quota_user: nil, options: nil, &block)
3374
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
3375
- command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
3376
- command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
4990
+ def list_project_location_feature_online_store_feature_view_operation_wait(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4991
+ command = make_simple_command(:get, 'v1/{+name}:wait', options)
4992
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
4993
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
4994
+ command.params['name'] = name unless name.nil?
4995
+ command.query['filter'] = filter unless filter.nil?
4996
+ command.query['pageSize'] = page_size unless page_size.nil?
4997
+ command.query['pageToken'] = page_token unless page_token.nil?
4998
+ command.query['fields'] = fields unless fields.nil?
4999
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5000
+ execute_or_queue_command(command, &block)
5001
+ end
5002
+
5003
+ # Waits until the specified long-running operation is done or reaches at most a
5004
+ # specified timeout, returning the latest state. If the operation is already
5005
+ # done, the latest state is immediately returned. If the timeout specified is
5006
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
5007
+ # the server does not support this method, it returns `google.rpc.Code.
5008
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
5009
+ # the latest state before the specified timeout (including immediately), meaning
5010
+ # even an immediate response is no guarantee that the operation is done.
5011
+ # @param [String] name
5012
+ # The name of the operation resource to wait on.
5013
+ # @param [String] timeout
5014
+ # The maximum duration to wait before timing out. If left blank, the wait will
5015
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
5016
+ # context deadline is also specified, the shorter one will be used.
5017
+ # @param [String] fields
5018
+ # Selector specifying which fields to include in a partial response.
5019
+ # @param [String] quota_user
5020
+ # Available to use for quota purposes for server-side applications. Can be any
5021
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5022
+ # @param [Google::Apis::RequestOptions] options
5023
+ # Request-specific options
5024
+ #
5025
+ # @yield [result, err] Result & error if block supplied
5026
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
5027
+ # @yieldparam err [StandardError] error object if request failed
5028
+ #
5029
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
5030
+ #
5031
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5032
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5033
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5034
+ def wait_project_location_feature_online_store_feature_view_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
5035
+ command = make_simple_command(:post, 'v1/{+name}:wait', options)
5036
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
5037
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3377
5038
  command.params['name'] = name unless name.nil?
5039
+ command.query['timeout'] = timeout unless timeout.nil?
3378
5040
  command.query['fields'] = fields unless fields.nil?
3379
5041
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3380
5042
  execute_or_queue_command(command, &block)
@@ -3403,7 +5065,7 @@ module Google
3403
5065
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3404
5066
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3405
5067
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3406
- def delete_project_location_endpoint_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5068
+ def delete_project_location_feature_online_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
3407
5069
  command = make_simple_command(:delete, 'v1/{+name}', options)
3408
5070
  command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
3409
5071
  command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
@@ -3434,7 +5096,7 @@ module Google
3434
5096
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3435
5097
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3436
5098
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3437
- def get_project_location_endpoint_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5099
+ def get_project_location_feature_online_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
3438
5100
  command = make_simple_command(:get, 'v1/{+name}', options)
3439
5101
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3440
5102
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
@@ -3471,8 +5133,8 @@ module Google
3471
5133
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3472
5134
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3473
5135
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3474
- def list_project_location_endpoint_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3475
- command = make_simple_command(:get, 'v1/{+name}/operations', options)
5136
+ def list_project_location_feature_online_store_operation_wait(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5137
+ command = make_simple_command(:get, 'v1/{+name}:wait', options)
3476
5138
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
3477
5139
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
3478
5140
  command.params['name'] = name unless name.nil?
@@ -3515,7 +5177,7 @@ module Google
3515
5177
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3516
5178
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3517
5179
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3518
- def wait_project_location_endpoint_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
5180
+ def wait_project_location_feature_online_store_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
3519
5181
  command = make_simple_command(:post, 'v1/{+name}:wait', options)
3520
5182
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3521
5183
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
@@ -11129,6 +12791,74 @@ module Google
11129
12791
  execute_or_queue_command(command, &block)
11130
12792
  end
11131
12793
 
12794
+ # Return a list of tokens based on the input text.
12795
+ # @param [String] endpoint
12796
+ # Required. The name of the Endpoint requested to get lists of tokens and token
12797
+ # ids.
12798
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensRequest] google_cloud_aiplatform_v1_compute_tokens_request_object
12799
+ # @param [String] fields
12800
+ # Selector specifying which fields to include in a partial response.
12801
+ # @param [String] quota_user
12802
+ # Available to use for quota purposes for server-side applications. Can be any
12803
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12804
+ # @param [Google::Apis::RequestOptions] options
12805
+ # Request-specific options
12806
+ #
12807
+ # @yield [result, err] Result & error if block supplied
12808
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse] parsed result object
12809
+ # @yieldparam err [StandardError] error object if request failed
12810
+ #
12811
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse]
12812
+ #
12813
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12814
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12815
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12816
+ def compute_project_location_publisher_model_tokens(endpoint, google_cloud_aiplatform_v1_compute_tokens_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
12817
+ command = make_simple_command(:post, 'v1/{+endpoint}:computeTokens', options)
12818
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensRequest::Representation
12819
+ command.request_object = google_cloud_aiplatform_v1_compute_tokens_request_object
12820
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse::Representation
12821
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse
12822
+ command.params['endpoint'] = endpoint unless endpoint.nil?
12823
+ command.query['fields'] = fields unless fields.nil?
12824
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12825
+ execute_or_queue_command(command, &block)
12826
+ end
12827
+
12828
+ # Perform a token counting.
12829
+ # @param [String] endpoint
12830
+ # Required. The name of the Endpoint requested to perform token counting. Format:
12831
+ # `projects/`project`/locations/`location`/endpoints/`endpoint``
12832
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensRequest] google_cloud_aiplatform_v1_count_tokens_request_object
12833
+ # @param [String] fields
12834
+ # Selector specifying which fields to include in a partial response.
12835
+ # @param [String] quota_user
12836
+ # Available to use for quota purposes for server-side applications. Can be any
12837
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12838
+ # @param [Google::Apis::RequestOptions] options
12839
+ # Request-specific options
12840
+ #
12841
+ # @yield [result, err] Result & error if block supplied
12842
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse] parsed result object
12843
+ # @yieldparam err [StandardError] error object if request failed
12844
+ #
12845
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse]
12846
+ #
12847
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12848
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12849
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12850
+ def count_project_location_publisher_model_tokens(endpoint, google_cloud_aiplatform_v1_count_tokens_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
12851
+ command = make_simple_command(:post, 'v1/{+endpoint}:countTokens', options)
12852
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensRequest::Representation
12853
+ command.request_object = google_cloud_aiplatform_v1_count_tokens_request_object
12854
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse::Representation
12855
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse
12856
+ command.params['endpoint'] = endpoint unless endpoint.nil?
12857
+ command.query['fields'] = fields unless fields.nil?
12858
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12859
+ execute_or_queue_command(command, &block)
12860
+ end
12861
+
11132
12862
  # Perform an online prediction.
11133
12863
  # @param [String] endpoint
11134
12864
  # Required. The name of the Endpoint requested to serve the prediction. Format: `