google-apis-aiplatform_v1 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2709,6 +2709,187 @@ module Google
2709
2709
  execute_or_queue_command(command, &block)
2710
2710
  end
2711
2711
 
2712
+ # Create a DeploymentResourcePool.
2713
+ # @param [String] parent
2714
+ # Required. The parent location resource where this DeploymentResourcePool will
2715
+ # be created. Format: `projects/`project`/locations/`location``
2716
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest] google_cloud_aiplatform_v1_create_deployment_resource_pool_request_object
2717
+ # @param [String] fields
2718
+ # Selector specifying which fields to include in a partial response.
2719
+ # @param [String] quota_user
2720
+ # Available to use for quota purposes for server-side applications. Can be any
2721
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2722
+ # @param [Google::Apis::RequestOptions] options
2723
+ # Request-specific options
2724
+ #
2725
+ # @yield [result, err] Result & error if block supplied
2726
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
2727
+ # @yieldparam err [StandardError] error object if request failed
2728
+ #
2729
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
2730
+ #
2731
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2732
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2733
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2734
+ def create_project_location_deployment_resource_pool(parent, google_cloud_aiplatform_v1_create_deployment_resource_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2735
+ command = make_simple_command(:post, 'v1/{+parent}/deploymentResourcePools', options)
2736
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest::Representation
2737
+ command.request_object = google_cloud_aiplatform_v1_create_deployment_resource_pool_request_object
2738
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
2739
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
2740
+ command.params['parent'] = parent unless parent.nil?
2741
+ command.query['fields'] = fields unless fields.nil?
2742
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2743
+ execute_or_queue_command(command, &block)
2744
+ end
2745
+
2746
+ # Delete a DeploymentResourcePool.
2747
+ # @param [String] name
2748
+ # Required. The name of the DeploymentResourcePool to delete. Format: `projects/`
2749
+ # project`/locations/`location`/deploymentResourcePools/`
2750
+ # deployment_resource_pool``
2751
+ # @param [String] fields
2752
+ # Selector specifying which fields to include in a partial response.
2753
+ # @param [String] quota_user
2754
+ # Available to use for quota purposes for server-side applications. Can be any
2755
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2756
+ # @param [Google::Apis::RequestOptions] options
2757
+ # Request-specific options
2758
+ #
2759
+ # @yield [result, err] Result & error if block supplied
2760
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
2761
+ # @yieldparam err [StandardError] error object if request failed
2762
+ #
2763
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
2764
+ #
2765
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2766
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2767
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2768
+ def delete_project_location_deployment_resource_pool(name, fields: nil, quota_user: nil, options: nil, &block)
2769
+ command = make_simple_command(:delete, 'v1/{+name}', options)
2770
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
2771
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
2772
+ command.params['name'] = name unless name.nil?
2773
+ command.query['fields'] = fields unless fields.nil?
2774
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2775
+ execute_or_queue_command(command, &block)
2776
+ end
2777
+
2778
+ # Get a DeploymentResourcePool.
2779
+ # @param [String] name
2780
+ # Required. The name of the DeploymentResourcePool to retrieve. Format: `
2781
+ # projects/`project`/locations/`location`/deploymentResourcePools/`
2782
+ # deployment_resource_pool``
2783
+ # @param [String] fields
2784
+ # Selector specifying which fields to include in a partial response.
2785
+ # @param [String] quota_user
2786
+ # Available to use for quota purposes for server-side applications. Can be any
2787
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2788
+ # @param [Google::Apis::RequestOptions] options
2789
+ # Request-specific options
2790
+ #
2791
+ # @yield [result, err] Result & error if block supplied
2792
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool] parsed result object
2793
+ # @yieldparam err [StandardError] error object if request failed
2794
+ #
2795
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool]
2796
+ #
2797
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2798
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2799
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2800
+ def get_project_location_deployment_resource_pool(name, fields: nil, quota_user: nil, options: nil, &block)
2801
+ command = make_simple_command(:get, 'v1/{+name}', options)
2802
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool::Representation
2803
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool
2804
+ command.params['name'] = name unless name.nil?
2805
+ command.query['fields'] = fields unless fields.nil?
2806
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2807
+ execute_or_queue_command(command, &block)
2808
+ end
2809
+
2810
+ # List DeploymentResourcePools in a location.
2811
+ # @param [String] parent
2812
+ # Required. The parent Location which owns this collection of
2813
+ # DeploymentResourcePools. Format: `projects/`project`/locations/`location``
2814
+ # @param [Fixnum] page_size
2815
+ # The maximum number of DeploymentResourcePools to return. The service may
2816
+ # return fewer than this value.
2817
+ # @param [String] page_token
2818
+ # A page token, received from a previous `ListDeploymentResourcePools` call.
2819
+ # Provide this to retrieve the subsequent page. When paginating, all other
2820
+ # parameters provided to `ListDeploymentResourcePools` must match the call that
2821
+ # provided the page token.
2822
+ # @param [String] fields
2823
+ # Selector specifying which fields to include in a partial response.
2824
+ # @param [String] quota_user
2825
+ # Available to use for quota purposes for server-side applications. Can be any
2826
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2827
+ # @param [Google::Apis::RequestOptions] options
2828
+ # Request-specific options
2829
+ #
2830
+ # @yield [result, err] Result & error if block supplied
2831
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse] parsed result object
2832
+ # @yieldparam err [StandardError] error object if request failed
2833
+ #
2834
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse]
2835
+ #
2836
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2837
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2838
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2839
+ def list_project_location_deployment_resource_pools(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2840
+ command = make_simple_command(:get, 'v1/{+parent}/deploymentResourcePools', options)
2841
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse::Representation
2842
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse
2843
+ command.params['parent'] = parent unless parent.nil?
2844
+ command.query['pageSize'] = page_size unless page_size.nil?
2845
+ command.query['pageToken'] = page_token unless page_token.nil?
2846
+ command.query['fields'] = fields unless fields.nil?
2847
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2848
+ execute_or_queue_command(command, &block)
2849
+ end
2850
+
2851
+ # List DeployedModels that have been deployed on this DeploymentResourcePool.
2852
+ # @param [String] deployment_resource_pool
2853
+ # Required. The name of the target DeploymentResourcePool to query. Format: `
2854
+ # projects/`project`/locations/`location`/deploymentResourcePools/`
2855
+ # deployment_resource_pool``
2856
+ # @param [Fixnum] page_size
2857
+ # The maximum number of DeployedModels to return. The service may return fewer
2858
+ # than this value.
2859
+ # @param [String] page_token
2860
+ # A page token, received from a previous `QueryDeployedModels` call. Provide
2861
+ # this to retrieve the subsequent page. When paginating, all other parameters
2862
+ # provided to `QueryDeployedModels` must match the call that provided the page
2863
+ # token.
2864
+ # @param [String] fields
2865
+ # Selector specifying which fields to include in a partial response.
2866
+ # @param [String] quota_user
2867
+ # Available to use for quota purposes for server-side applications. Can be any
2868
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2869
+ # @param [Google::Apis::RequestOptions] options
2870
+ # Request-specific options
2871
+ #
2872
+ # @yield [result, err] Result & error if block supplied
2873
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryDeployedModelsResponse] parsed result object
2874
+ # @yieldparam err [StandardError] error object if request failed
2875
+ #
2876
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryDeployedModelsResponse]
2877
+ #
2878
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2879
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2880
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2881
+ def query_project_location_deployment_resource_pool_deployed_models(deployment_resource_pool, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2882
+ command = make_simple_command(:get, 'v1/{+deploymentResourcePool}:queryDeployedModels', options)
2883
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryDeployedModelsResponse::Representation
2884
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryDeployedModelsResponse
2885
+ command.params['deploymentResourcePool'] = deployment_resource_pool unless deployment_resource_pool.nil?
2886
+ command.query['pageSize'] = page_size unless page_size.nil?
2887
+ command.query['pageToken'] = page_token unless page_token.nil?
2888
+ command.query['fields'] = fields unless fields.nil?
2889
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2890
+ execute_or_queue_command(command, &block)
2891
+ end
2892
+
2712
2893
  # Starts asynchronous cancellation on a long-running operation. The server makes
2713
2894
  # a best effort to cancel the operation, but success is not guaranteed. If the
2714
2895
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -2892,6 +3073,74 @@ module Google
2892
3073
  execute_or_queue_command(command, &block)
2893
3074
  end
2894
3075
 
3076
+ # Return a list of tokens based on the input text.
3077
+ # @param [String] endpoint
3078
+ # Required. The name of the Endpoint requested to get lists of tokens and token
3079
+ # ids.
3080
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensRequest] google_cloud_aiplatform_v1_compute_tokens_request_object
3081
+ # @param [String] fields
3082
+ # Selector specifying which fields to include in a partial response.
3083
+ # @param [String] quota_user
3084
+ # Available to use for quota purposes for server-side applications. Can be any
3085
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3086
+ # @param [Google::Apis::RequestOptions] options
3087
+ # Request-specific options
3088
+ #
3089
+ # @yield [result, err] Result & error if block supplied
3090
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse] parsed result object
3091
+ # @yieldparam err [StandardError] error object if request failed
3092
+ #
3093
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse]
3094
+ #
3095
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3096
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3097
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3098
+ def compute_project_location_endpoint_tokens(endpoint, google_cloud_aiplatform_v1_compute_tokens_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3099
+ command = make_simple_command(:post, 'v1/{+endpoint}:computeTokens', options)
3100
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensRequest::Representation
3101
+ command.request_object = google_cloud_aiplatform_v1_compute_tokens_request_object
3102
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse::Representation
3103
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse
3104
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3105
+ command.query['fields'] = fields unless fields.nil?
3106
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3107
+ execute_or_queue_command(command, &block)
3108
+ end
3109
+
3110
+ # Perform a token counting.
3111
+ # @param [String] endpoint
3112
+ # Required. The name of the Endpoint requested to perform token counting. Format:
3113
+ # `projects/`project`/locations/`location`/endpoints/`endpoint``
3114
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensRequest] google_cloud_aiplatform_v1_count_tokens_request_object
3115
+ # @param [String] fields
3116
+ # Selector specifying which fields to include in a partial response.
3117
+ # @param [String] quota_user
3118
+ # Available to use for quota purposes for server-side applications. Can be any
3119
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3120
+ # @param [Google::Apis::RequestOptions] options
3121
+ # Request-specific options
3122
+ #
3123
+ # @yield [result, err] Result & error if block supplied
3124
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse] parsed result object
3125
+ # @yieldparam err [StandardError] error object if request failed
3126
+ #
3127
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse]
3128
+ #
3129
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3130
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3131
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3132
+ def count_project_location_endpoint_tokens(endpoint, google_cloud_aiplatform_v1_count_tokens_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3133
+ command = make_simple_command(:post, 'v1/{+endpoint}:countTokens', options)
3134
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensRequest::Representation
3135
+ command.request_object = google_cloud_aiplatform_v1_count_tokens_request_object
3136
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse::Representation
3137
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse
3138
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3139
+ command.query['fields'] = fields unless fields.nil?
3140
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3141
+ execute_or_queue_command(command, &block)
3142
+ end
3143
+
2895
3144
  # Creates an Endpoint.
2896
3145
  # @param [String] parent
2897
3146
  # Required. The resource name of the Location to create the Endpoint in. Format:
@@ -3112,30 +3361,1571 @@ module Google
3112
3361
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3113
3362
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3114
3363
  # @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
3364
+ 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)
3365
+ command = make_simple_command(:get, 'v1/{+parent}/endpoints', options)
3366
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListEndpointsResponse::Representation
3367
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListEndpointsResponse
3368
+ command.params['parent'] = parent unless parent.nil?
3369
+ command.query['filter'] = filter unless filter.nil?
3370
+ command.query['orderBy'] = order_by unless order_by.nil?
3371
+ command.query['pageSize'] = page_size unless page_size.nil?
3372
+ command.query['pageToken'] = page_token unless page_token.nil?
3373
+ command.query['readMask'] = read_mask unless read_mask.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
+ # Updates an existing deployed model. Updatable fields include `
3380
+ # min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, `
3381
+ # disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1
3382
+ # only).
3383
+ # @param [String] endpoint
3384
+ # Required. The name of the Endpoint resource into which to mutate a
3385
+ # DeployedModel. Format: `projects/`project`/locations/`location`/endpoints/`
3386
+ # endpoint``
3387
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MutateDeployedModelRequest] google_cloud_aiplatform_v1_mutate_deployed_model_request_object
3388
+ # @param [String] fields
3389
+ # Selector specifying which fields to include in a partial response.
3390
+ # @param [String] quota_user
3391
+ # Available to use for quota purposes for server-side applications. Can be any
3392
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3393
+ # @param [Google::Apis::RequestOptions] options
3394
+ # Request-specific options
3395
+ #
3396
+ # @yield [result, err] Result & error if block supplied
3397
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3398
+ # @yieldparam err [StandardError] error object if request failed
3399
+ #
3400
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3401
+ #
3402
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3403
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3404
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3405
+ 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)
3406
+ command = make_simple_command(:post, 'v1/{+endpoint}:mutateDeployedModel', options)
3407
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MutateDeployedModelRequest::Representation
3408
+ command.request_object = google_cloud_aiplatform_v1_mutate_deployed_model_request_object
3409
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3410
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3411
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3412
+ command.query['fields'] = fields unless fields.nil?
3413
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3414
+ execute_or_queue_command(command, &block)
3415
+ end
3416
+
3417
+ # Updates an Endpoint.
3418
+ # @param [String] name
3419
+ # Output only. The resource name of the Endpoint.
3420
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint] google_cloud_aiplatform_v1_endpoint_object
3421
+ # @param [String] update_mask
3422
+ # Required. The update mask applies to the resource. See google.protobuf.
3423
+ # FieldMask.
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::GoogleCloudAiplatformV1Endpoint] parsed result object
3434
+ # @yieldparam err [StandardError] error object if request failed
3435
+ #
3436
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint]
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 patch_project_location_endpoint(name, google_cloud_aiplatform_v1_endpoint_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3442
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3443
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint::Representation
3444
+ command.request_object = google_cloud_aiplatform_v1_endpoint_object
3445
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint::Representation
3446
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint
3447
+ command.params['name'] = name unless name.nil?
3448
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3449
+ command.query['fields'] = fields unless fields.nil?
3450
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3451
+ execute_or_queue_command(command, &block)
3452
+ end
3453
+
3454
+ # Perform an online prediction.
3455
+ # @param [String] endpoint
3456
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
3457
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
3458
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequest] google_cloud_aiplatform_v1_predict_request_object
3459
+ # @param [String] fields
3460
+ # Selector specifying which fields to include in a partial response.
3461
+ # @param [String] quota_user
3462
+ # Available to use for quota purposes for server-side applications. Can be any
3463
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3464
+ # @param [Google::Apis::RequestOptions] options
3465
+ # Request-specific options
3466
+ #
3467
+ # @yield [result, err] Result & error if block supplied
3468
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse] parsed result object
3469
+ # @yieldparam err [StandardError] error object if request failed
3470
+ #
3471
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse]
3472
+ #
3473
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3474
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3475
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3476
+ def predict_project_location_endpoint(endpoint, google_cloud_aiplatform_v1_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3477
+ command = make_simple_command(:post, 'v1/{+endpoint}:predict', options)
3478
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequest::Representation
3479
+ command.request_object = google_cloud_aiplatform_v1_predict_request_object
3480
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse::Representation
3481
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse
3482
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3483
+ command.query['fields'] = fields unless fields.nil?
3484
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3485
+ execute_or_queue_command(command, &block)
3486
+ end
3487
+
3488
+ # Perform an online prediction with an arbitrary HTTP payload. The response
3489
+ # includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the
3490
+ # Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID of
3491
+ # the Endpoint's DeployedModel that served this prediction.
3492
+ # @param [String] endpoint
3493
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
3494
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
3495
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RawPredictRequest] google_cloud_aiplatform_v1_raw_predict_request_object
3496
+ # @param [String] fields
3497
+ # Selector specifying which fields to include in a partial response.
3498
+ # @param [String] quota_user
3499
+ # Available to use for quota purposes for server-side applications. Can be any
3500
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3501
+ # @param [Google::Apis::RequestOptions] options
3502
+ # Request-specific options
3503
+ #
3504
+ # @yield [result, err] Result & error if block supplied
3505
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
3506
+ # @yieldparam err [StandardError] error object if request failed
3507
+ #
3508
+ # @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
3509
+ #
3510
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3511
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3512
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3513
+ def raw_project_location_endpoint_predict(endpoint, google_cloud_aiplatform_v1_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3514
+ command = make_simple_command(:post, 'v1/{+endpoint}:rawPredict', options)
3515
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RawPredictRequest::Representation
3516
+ command.request_object = google_cloud_aiplatform_v1_raw_predict_request_object
3517
+ command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
3518
+ command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
3519
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3520
+ command.query['fields'] = fields unless fields.nil?
3521
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3522
+ execute_or_queue_command(command, &block)
3523
+ end
3524
+
3525
+ # Perform a server-side streaming online prediction request for Vertex LLM
3526
+ # streaming.
3527
+ # @param [String] endpoint
3528
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
3529
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
3530
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictRequest] google_cloud_aiplatform_v1_streaming_predict_request_object
3531
+ # @param [String] fields
3532
+ # Selector specifying which fields to include in a partial response.
3533
+ # @param [String] quota_user
3534
+ # Available to use for quota purposes for server-side applications. Can be any
3535
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3536
+ # @param [Google::Apis::RequestOptions] options
3537
+ # Request-specific options
3538
+ #
3539
+ # @yield [result, err] Result & error if block supplied
3540
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse] parsed result object
3541
+ # @yieldparam err [StandardError] error object if request failed
3542
+ #
3543
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse]
3544
+ #
3545
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3546
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3547
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3548
+ 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)
3549
+ command = make_simple_command(:post, 'v1/{+endpoint}:serverStreamingPredict', options)
3550
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictRequest::Representation
3551
+ command.request_object = google_cloud_aiplatform_v1_streaming_predict_request_object
3552
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse::Representation
3553
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse
3554
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3555
+ command.query['fields'] = fields unless fields.nil?
3556
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3557
+ execute_or_queue_command(command, &block)
3558
+ end
3559
+
3560
+ # Undeploys a Model from an Endpoint, removing a DeployedModel from it, and
3561
+ # freeing all resources it's using.
3562
+ # @param [String] endpoint
3563
+ # Required. The name of the Endpoint resource from which to undeploy a Model.
3564
+ # Format: `projects/`project`/locations/`location`/endpoints/`endpoint``
3565
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UndeployModelRequest] google_cloud_aiplatform_v1_undeploy_model_request_object
3566
+ # @param [String] fields
3567
+ # Selector specifying which fields to include in a partial response.
3568
+ # @param [String] quota_user
3569
+ # Available to use for quota purposes for server-side applications. Can be any
3570
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3571
+ # @param [Google::Apis::RequestOptions] options
3572
+ # Request-specific options
3573
+ #
3574
+ # @yield [result, err] Result & error if block supplied
3575
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3576
+ # @yieldparam err [StandardError] error object if request failed
3577
+ #
3578
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3579
+ #
3580
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3581
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3582
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3583
+ def undeploy_project_location_endpoint_model(endpoint, google_cloud_aiplatform_v1_undeploy_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3584
+ command = make_simple_command(:post, 'v1/{+endpoint}:undeployModel', options)
3585
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UndeployModelRequest::Representation
3586
+ command.request_object = google_cloud_aiplatform_v1_undeploy_model_request_object
3587
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3588
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3589
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3590
+ command.query['fields'] = fields unless fields.nil?
3591
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3592
+ execute_or_queue_command(command, &block)
3593
+ end
3594
+
3595
+ # Starts asynchronous cancellation on a long-running operation. The server makes
3596
+ # a best effort to cancel the operation, but success is not guaranteed. If the
3597
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
3598
+ # Clients can use Operations.GetOperation or other methods to check whether the
3599
+ # cancellation succeeded or whether the operation completed despite cancellation.
3600
+ # On successful cancellation, the operation is not deleted; instead, it becomes
3601
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
3602
+ # corresponding to `Code.CANCELLED`.
3603
+ # @param [String] name
3604
+ # The name of the operation resource to be cancelled.
3605
+ # @param [String] fields
3606
+ # Selector specifying which fields to include in a partial response.
3607
+ # @param [String] quota_user
3608
+ # Available to use for quota purposes for server-side applications. Can be any
3609
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3610
+ # @param [Google::Apis::RequestOptions] options
3611
+ # Request-specific options
3612
+ #
3613
+ # @yield [result, err] Result & error if block supplied
3614
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
3615
+ # @yieldparam err [StandardError] error object if request failed
3616
+ #
3617
+ # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
3618
+ #
3619
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3620
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3621
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3622
+ def cancel_project_location_endpoint_operation(name, fields: nil, quota_user: nil, options: nil, &block)
3623
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
3624
+ command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
3625
+ command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
3626
+ command.params['name'] = name unless name.nil?
3627
+ command.query['fields'] = fields unless fields.nil?
3628
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3629
+ execute_or_queue_command(command, &block)
3630
+ end
3631
+
3632
+ # Deletes a long-running operation. This method indicates that the client is no
3633
+ # longer interested in the operation result. It does not cancel the operation.
3634
+ # If the server doesn't support this method, it returns `google.rpc.Code.
3635
+ # UNIMPLEMENTED`.
3636
+ # @param [String] name
3637
+ # The name of the operation resource to be deleted.
3638
+ # @param [String] fields
3639
+ # Selector specifying which fields to include in a partial response.
3640
+ # @param [String] quota_user
3641
+ # Available to use for quota purposes for server-side applications. Can be any
3642
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3643
+ # @param [Google::Apis::RequestOptions] options
3644
+ # Request-specific options
3645
+ #
3646
+ # @yield [result, err] Result & error if block supplied
3647
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
3648
+ # @yieldparam err [StandardError] error object if request failed
3649
+ #
3650
+ # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
3651
+ #
3652
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3653
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3654
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3655
+ def delete_project_location_endpoint_operation(name, fields: nil, quota_user: nil, options: nil, &block)
3656
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3657
+ command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
3658
+ command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
3659
+ command.params['name'] = name unless name.nil?
3660
+ command.query['fields'] = fields unless fields.nil?
3661
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3662
+ execute_or_queue_command(command, &block)
3663
+ end
3664
+
3665
+ # Gets the latest state of a long-running operation. Clients can use this method
3666
+ # to poll the operation result at intervals as recommended by the API service.
3667
+ # @param [String] name
3668
+ # The name of the operation resource.
3669
+ # @param [String] fields
3670
+ # Selector specifying which fields to include in a partial response.
3671
+ # @param [String] quota_user
3672
+ # Available to use for quota purposes for server-side applications. Can be any
3673
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3674
+ # @param [Google::Apis::RequestOptions] options
3675
+ # Request-specific options
3676
+ #
3677
+ # @yield [result, err] Result & error if block supplied
3678
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3679
+ # @yieldparam err [StandardError] error object if request failed
3680
+ #
3681
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3682
+ #
3683
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3684
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3685
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3686
+ def get_project_location_endpoint_operation(name, fields: nil, quota_user: nil, options: nil, &block)
3687
+ command = make_simple_command(:get, 'v1/{+name}', options)
3688
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3689
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3690
+ command.params['name'] = name unless name.nil?
3691
+ command.query['fields'] = fields unless fields.nil?
3692
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3693
+ execute_or_queue_command(command, &block)
3694
+ end
3695
+
3696
+ # Lists operations that match the specified filter in the request. If the server
3697
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
3698
+ # @param [String] name
3699
+ # The name of the operation's parent resource.
3700
+ # @param [String] filter
3701
+ # The standard list filter.
3702
+ # @param [Fixnum] page_size
3703
+ # The standard list page size.
3704
+ # @param [String] page_token
3705
+ # The standard list page token.
3706
+ # @param [String] fields
3707
+ # Selector specifying which fields to include in a partial response.
3708
+ # @param [String] quota_user
3709
+ # Available to use for quota purposes for server-side applications. Can be any
3710
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3711
+ # @param [Google::Apis::RequestOptions] options
3712
+ # Request-specific options
3713
+ #
3714
+ # @yield [result, err] Result & error if block supplied
3715
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
3716
+ # @yieldparam err [StandardError] error object if request failed
3717
+ #
3718
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
3719
+ #
3720
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3721
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3722
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3723
+ def list_project_location_endpoint_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3724
+ command = make_simple_command(:get, 'v1/{+name}/operations', options)
3725
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
3726
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
3727
+ command.params['name'] = name unless name.nil?
3728
+ command.query['filter'] = filter unless filter.nil?
3729
+ command.query['pageSize'] = page_size unless page_size.nil?
3730
+ command.query['pageToken'] = page_token unless page_token.nil?
3731
+ command.query['fields'] = fields unless fields.nil?
3732
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3733
+ execute_or_queue_command(command, &block)
3734
+ end
3735
+
3736
+ # Waits until the specified long-running operation is done or reaches at most a
3737
+ # specified timeout, returning the latest state. If the operation is already
3738
+ # done, the latest state is immediately returned. If the timeout specified is
3739
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
3740
+ # the server does not support this method, it returns `google.rpc.Code.
3741
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
3742
+ # the latest state before the specified timeout (including immediately), meaning
3743
+ # even an immediate response is no guarantee that the operation is done.
3744
+ # @param [String] name
3745
+ # The name of the operation resource to wait on.
3746
+ # @param [String] timeout
3747
+ # The maximum duration to wait before timing out. If left blank, the wait will
3748
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
3749
+ # context deadline is also specified, the shorter one will be used.
3750
+ # @param [String] fields
3751
+ # Selector specifying which fields to include in a partial response.
3752
+ # @param [String] quota_user
3753
+ # Available to use for quota purposes for server-side applications. Can be any
3754
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3755
+ # @param [Google::Apis::RequestOptions] options
3756
+ # Request-specific options
3757
+ #
3758
+ # @yield [result, err] Result & error if block supplied
3759
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3760
+ # @yieldparam err [StandardError] error object if request failed
3761
+ #
3762
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3763
+ #
3764
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3765
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3766
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3767
+ def wait_project_location_endpoint_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
3768
+ command = make_simple_command(:post, 'v1/{+name}:wait', options)
3769
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3770
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3771
+ command.params['name'] = name unless name.nil?
3772
+ command.query['timeout'] = timeout unless timeout.nil?
3773
+ command.query['fields'] = fields unless fields.nil?
3774
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3775
+ execute_or_queue_command(command, &block)
3776
+ end
3777
+
3778
+ # Creates a new FeatureGroup in a given project and location.
3779
+ # @param [String] parent
3780
+ # Required. The resource name of the Location to create FeatureGroups. Format: `
3781
+ # projects/`project`/locations/`location`'`
3782
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] google_cloud_aiplatform_v1_feature_group_object
3783
+ # @param [String] feature_group_id
3784
+ # Required. The ID to use for this FeatureGroup, which will become the final
3785
+ # component of the FeatureGroup's resource name. This value may be up to 60
3786
+ # characters, and valid characters are `[a-z0-9_]`. The first character cannot
3787
+ # be a number. The value must be unique within the project and location.
3788
+ # @param [String] fields
3789
+ # Selector specifying which fields to include in a partial response.
3790
+ # @param [String] quota_user
3791
+ # Available to use for quota purposes for server-side applications. Can be any
3792
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3793
+ # @param [Google::Apis::RequestOptions] options
3794
+ # Request-specific options
3795
+ #
3796
+ # @yield [result, err] Result & error if block supplied
3797
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3798
+ # @yieldparam err [StandardError] error object if request failed
3799
+ #
3800
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3801
+ #
3802
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3803
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3804
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3805
+ 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)
3806
+ command = make_simple_command(:post, 'v1/{+parent}/featureGroups', options)
3807
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup::Representation
3808
+ command.request_object = google_cloud_aiplatform_v1_feature_group_object
3809
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3810
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3811
+ command.params['parent'] = parent unless parent.nil?
3812
+ command.query['featureGroupId'] = feature_group_id unless feature_group_id.nil?
3813
+ command.query['fields'] = fields unless fields.nil?
3814
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3815
+ execute_or_queue_command(command, &block)
3816
+ end
3817
+
3818
+ # Deletes a single FeatureGroup.
3819
+ # @param [String] name
3820
+ # Required. The name of the FeatureGroup to be deleted. Format: `projects/`
3821
+ # project`/locations/`location`/featureGroups/`feature_group``
3822
+ # @param [Boolean] force
3823
+ # If set to true, any Features under this FeatureGroup will also be deleted. (
3824
+ # Otherwise, the request will only work if the FeatureGroup has no Features.)
3825
+ # @param [String] fields
3826
+ # Selector specifying which fields to include in a partial response.
3827
+ # @param [String] quota_user
3828
+ # Available to use for quota purposes for server-side applications. Can be any
3829
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3830
+ # @param [Google::Apis::RequestOptions] options
3831
+ # Request-specific options
3832
+ #
3833
+ # @yield [result, err] Result & error if block supplied
3834
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3835
+ # @yieldparam err [StandardError] error object if request failed
3836
+ #
3837
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3838
+ #
3839
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3840
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3841
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3842
+ def delete_project_location_feature_group(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
3843
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3844
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3845
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3846
+ command.params['name'] = name unless name.nil?
3847
+ command.query['force'] = force unless force.nil?
3848
+ command.query['fields'] = fields unless fields.nil?
3849
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3850
+ execute_or_queue_command(command, &block)
3851
+ end
3852
+
3853
+ # Gets details of a single FeatureGroup.
3854
+ # @param [String] name
3855
+ # Required. The name of the FeatureGroup resource.
3856
+ # @param [String] fields
3857
+ # Selector specifying which fields to include in a partial response.
3858
+ # @param [String] quota_user
3859
+ # Available to use for quota purposes for server-side applications. Can be any
3860
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3861
+ # @param [Google::Apis::RequestOptions] options
3862
+ # Request-specific options
3863
+ #
3864
+ # @yield [result, err] Result & error if block supplied
3865
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] parsed result object
3866
+ # @yieldparam err [StandardError] error object if request failed
3867
+ #
3868
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup]
3869
+ #
3870
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3871
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3872
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3873
+ def get_project_location_feature_group(name, fields: nil, quota_user: nil, options: nil, &block)
3874
+ command = make_simple_command(:get, 'v1/{+name}', options)
3875
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup::Representation
3876
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup
3877
+ command.params['name'] = name unless name.nil?
3878
+ command.query['fields'] = fields unless fields.nil?
3879
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3880
+ execute_or_queue_command(command, &block)
3881
+ end
3882
+
3883
+ # Lists FeatureGroups in a given project and location.
3884
+ # @param [String] parent
3885
+ # Required. The resource name of the Location to list FeatureGroups. Format: `
3886
+ # projects/`project`/locations/`location``
3887
+ # @param [String] filter
3888
+ # Lists the FeatureGroups that match the filter expression. The following fields
3889
+ # are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=`
3890
+ # comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`,
3891
+ # `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format.
3892
+ # * `labels`: Supports key-value equality and key presence. Examples: * `
3893
+ # create_time > "2020-01-01" OR update_time > "2020-01-01"` FeatureGroups
3894
+ # created or updated after 2020-01-01. * `labels.env = "prod"` FeatureGroups
3895
+ # with label "env" set to "prod".
3896
+ # @param [String] order_by
3897
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
3898
+ # desc" after a field name for descending. Supported Fields: * `create_time` * `
3899
+ # update_time`
3900
+ # @param [Fixnum] page_size
3901
+ # The maximum number of FeatureGroups to return. The service may return fewer
3902
+ # than this value. If unspecified, at most 100 FeatureGroups will be returned.
3903
+ # The maximum value is 100; any value greater than 100 will be coerced to 100.
3904
+ # @param [String] page_token
3905
+ # A page token, received from a previous FeatureGroupAdminService.
3906
+ # ListFeatureGroups call. Provide this to retrieve the subsequent page. When
3907
+ # paginating, all other parameters provided to FeatureGroupAdminService.
3908
+ # ListFeatureGroups must match the call that provided the page token.
3909
+ # @param [String] fields
3910
+ # Selector specifying which fields to include in a partial response.
3911
+ # @param [String] quota_user
3912
+ # Available to use for quota purposes for server-side applications. Can be any
3913
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3914
+ # @param [Google::Apis::RequestOptions] options
3915
+ # Request-specific options
3916
+ #
3917
+ # @yield [result, err] Result & error if block supplied
3918
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureGroupsResponse] parsed result object
3919
+ # @yieldparam err [StandardError] error object if request failed
3920
+ #
3921
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureGroupsResponse]
3922
+ #
3923
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3924
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3925
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3926
+ 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)
3927
+ command = make_simple_command(:get, 'v1/{+parent}/featureGroups', options)
3928
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureGroupsResponse::Representation
3929
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureGroupsResponse
3930
+ command.params['parent'] = parent unless parent.nil?
3931
+ command.query['filter'] = filter unless filter.nil?
3932
+ command.query['orderBy'] = order_by unless order_by.nil?
3933
+ command.query['pageSize'] = page_size unless page_size.nil?
3934
+ command.query['pageToken'] = page_token unless page_token.nil?
3935
+ command.query['fields'] = fields unless fields.nil?
3936
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3937
+ execute_or_queue_command(command, &block)
3938
+ end
3939
+
3940
+ # Updates the parameters of a single FeatureGroup.
3941
+ # @param [String] name
3942
+ # Output only. Name of the FeatureGroup. Format: `projects/`project`/locations/`
3943
+ # location`/featureGroups/`featureGroup``
3944
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] google_cloud_aiplatform_v1_feature_group_object
3945
+ # @param [String] update_mask
3946
+ # Field mask is used to specify the fields to be overwritten in the FeatureGroup
3947
+ # resource by the update. The fields specified in the update_mask are relative
3948
+ # to the resource, not the full request. A field will be overwritten if it is in
3949
+ # the mask. If the user does not provide a mask then only the non-empty fields
3950
+ # present in the request will be overwritten. Set the update_mask to `*` to
3951
+ # override all fields. Updatable fields: * `labels`
3952
+ # @param [String] fields
3953
+ # Selector specifying which fields to include in a partial response.
3954
+ # @param [String] quota_user
3955
+ # Available to use for quota purposes for server-side applications. Can be any
3956
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3957
+ # @param [Google::Apis::RequestOptions] options
3958
+ # Request-specific options
3959
+ #
3960
+ # @yield [result, err] Result & error if block supplied
3961
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
3962
+ # @yieldparam err [StandardError] error object if request failed
3963
+ #
3964
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
3965
+ #
3966
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3967
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3968
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3969
+ 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)
3970
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3971
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup::Representation
3972
+ command.request_object = google_cloud_aiplatform_v1_feature_group_object
3973
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3974
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3975
+ command.params['name'] = name unless name.nil?
3976
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3977
+ command.query['fields'] = fields unless fields.nil?
3978
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3979
+ execute_or_queue_command(command, &block)
3980
+ end
3981
+
3982
+ # Creates a new Feature in a given FeatureGroup.
3983
+ # @param [String] parent
3984
+ # Required. The resource name of the EntityType or FeatureGroup to create a
3985
+ # Feature. Format for entity_type as parent: `projects/`project`/locations/`
3986
+ # location`/featurestores/`featurestore`/entityTypes/`entity_type`` Format for
3987
+ # feature_group as parent: `projects/`project`/locations/`location`/
3988
+ # featureGroups/`feature_group``
3989
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature] google_cloud_aiplatform_v1_feature_object
3990
+ # @param [String] feature_id
3991
+ # Required. The ID to use for the Feature, which will become the final component
3992
+ # of the Feature's resource name. This value may be up to 128 characters, and
3993
+ # valid characters are `[a-z0-9_]`. The first character cannot be a number. The
3994
+ # value must be unique within an EntityType/FeatureGroup.
3995
+ # @param [String] fields
3996
+ # Selector specifying which fields to include in a partial response.
3997
+ # @param [String] quota_user
3998
+ # Available to use for quota purposes for server-side applications. Can be any
3999
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4000
+ # @param [Google::Apis::RequestOptions] options
4001
+ # Request-specific options
4002
+ #
4003
+ # @yield [result, err] Result & error if block supplied
4004
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4005
+ # @yieldparam err [StandardError] error object if request failed
4006
+ #
4007
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4008
+ #
4009
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4010
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4011
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4012
+ 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)
4013
+ command = make_simple_command(:post, 'v1/{+parent}/features', options)
4014
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature::Representation
4015
+ command.request_object = google_cloud_aiplatform_v1_feature_object
4016
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4017
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4018
+ command.params['parent'] = parent unless parent.nil?
4019
+ command.query['featureId'] = feature_id unless feature_id.nil?
4020
+ command.query['fields'] = fields unless fields.nil?
4021
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4022
+ execute_or_queue_command(command, &block)
4023
+ end
4024
+
4025
+ # Deletes a single Feature.
4026
+ # @param [String] name
4027
+ # Required. The name of the Features to be deleted. Format: `projects/`project`/
4028
+ # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type`/
4029
+ # features/`feature`` `projects/`project`/locations/`location`/featureGroups/`
4030
+ # feature_group`/features/`feature``
4031
+ # @param [String] fields
4032
+ # Selector specifying which fields to include in a partial response.
4033
+ # @param [String] quota_user
4034
+ # Available to use for quota purposes for server-side applications. Can be any
4035
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4036
+ # @param [Google::Apis::RequestOptions] options
4037
+ # Request-specific options
4038
+ #
4039
+ # @yield [result, err] Result & error if block supplied
4040
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4041
+ # @yieldparam err [StandardError] error object if request failed
4042
+ #
4043
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4044
+ #
4045
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4046
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4047
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4048
+ def delete_project_location_feature_group_feature(name, fields: nil, quota_user: nil, options: nil, &block)
4049
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4050
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4051
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4052
+ command.params['name'] = name unless name.nil?
4053
+ command.query['fields'] = fields unless fields.nil?
4054
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4055
+ execute_or_queue_command(command, &block)
4056
+ end
4057
+
4058
+ # Gets details of a single Feature.
4059
+ # @param [String] name
4060
+ # Required. The name of the Feature resource. Format for entity_type as parent: `
4061
+ # projects/`project`/locations/`location`/featurestores/`featurestore`/
4062
+ # entityTypes/`entity_type`` Format for feature_group as parent: `projects/`
4063
+ # project`/locations/`location`/featureGroups/`feature_group``
4064
+ # @param [String] fields
4065
+ # Selector specifying which fields to include in a partial response.
4066
+ # @param [String] quota_user
4067
+ # Available to use for quota purposes for server-side applications. Can be any
4068
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4069
+ # @param [Google::Apis::RequestOptions] options
4070
+ # Request-specific options
4071
+ #
4072
+ # @yield [result, err] Result & error if block supplied
4073
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature] parsed result object
4074
+ # @yieldparam err [StandardError] error object if request failed
4075
+ #
4076
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature]
4077
+ #
4078
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4079
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4080
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4081
+ def get_project_location_feature_group_feature(name, fields: nil, quota_user: nil, options: nil, &block)
4082
+ command = make_simple_command(:get, 'v1/{+name}', options)
4083
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature::Representation
4084
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature
4085
+ command.params['name'] = name unless name.nil?
4086
+ command.query['fields'] = fields unless fields.nil?
4087
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4088
+ execute_or_queue_command(command, &block)
4089
+ end
4090
+
4091
+ # Lists Features in a given FeatureGroup.
4092
+ # @param [String] parent
4093
+ # Required. The resource name of the Location to list Features. Format for
4094
+ # entity_type as parent: `projects/`project`/locations/`location`/featurestores/`
4095
+ # featurestore`/entityTypes/`entity_type`` Format for feature_group as parent: `
4096
+ # projects/`project`/locations/`location`/featureGroups/`feature_group``
4097
+ # @param [String] filter
4098
+ # Lists the Features that match the filter expression. The following filters are
4099
+ # supported: * `value_type`: Supports = and != comparisons. * `create_time`:
4100
+ # Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339
4101
+ # format. * `update_time`: Supports =, !=, <, >, >=, and <= comparisons. Values
4102
+ # must be in RFC 3339 format. * `labels`: Supports key-value equality as well as
4103
+ # key presence. Examples: * `value_type = DOUBLE` --> Features whose type is
4104
+ # DOUBLE. * `create_time > \"2020-01-31T15:30:00.000000Z\" OR update_time > \"
4105
+ # 2020-01-31T15:30:00.000000Z\"` --> EntityTypes created or updated after 2020-
4106
+ # 01-31T15:30:00.000000Z. * `labels.active = yes AND labels.env = prod` -->
4107
+ # Features having both (active: yes) and (env: prod) labels. * `labels.env: *` --
4108
+ # > Any Feature which has a label with 'env' as the key.
4109
+ # @param [Fixnum] latest_stats_count
4110
+ # Only applicable for Vertex AI Feature Store (Legacy). If set, return the most
4111
+ # recent ListFeaturesRequest.latest_stats_count of stats for each Feature in
4112
+ # response. Valid value is [0, 10]. If number of stats exists <
4113
+ # ListFeaturesRequest.latest_stats_count, return all existing stats.
4114
+ # @param [String] order_by
4115
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
4116
+ # desc" after a field name for descending. Supported fields: * `feature_id` * `
4117
+ # value_type` (Not supported for FeatureRegistry Feature) * `create_time` * `
4118
+ # update_time`
4119
+ # @param [Fixnum] page_size
4120
+ # The maximum number of Features to return. The service may return fewer than
4121
+ # this value. If unspecified, at most 1000 Features will be returned. The
4122
+ # maximum value is 1000; any value greater than 1000 will be coerced to 1000.
4123
+ # @param [String] page_token
4124
+ # A page token, received from a previous FeaturestoreService.ListFeatures call
4125
+ # or FeatureRegistryService.ListFeatures call. Provide this to retrieve the
4126
+ # subsequent page. When paginating, all other parameters provided to
4127
+ # FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures
4128
+ # must match the call that provided the page token.
4129
+ # @param [String] read_mask
4130
+ # Mask specifying which fields to read.
4131
+ # @param [String] fields
4132
+ # Selector specifying which fields to include in a partial response.
4133
+ # @param [String] quota_user
4134
+ # Available to use for quota purposes for server-side applications. Can be any
4135
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4136
+ # @param [Google::Apis::RequestOptions] options
4137
+ # Request-specific options
4138
+ #
4139
+ # @yield [result, err] Result & error if block supplied
4140
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeaturesResponse] parsed result object
4141
+ # @yieldparam err [StandardError] error object if request failed
4142
+ #
4143
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeaturesResponse]
4144
+ #
4145
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4146
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4147
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4148
+ 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)
4149
+ command = make_simple_command(:get, 'v1/{+parent}/features', options)
4150
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeaturesResponse::Representation
4151
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeaturesResponse
4152
+ command.params['parent'] = parent unless parent.nil?
4153
+ command.query['filter'] = filter unless filter.nil?
4154
+ command.query['latestStatsCount'] = latest_stats_count unless latest_stats_count.nil?
4155
+ command.query['orderBy'] = order_by unless order_by.nil?
4156
+ command.query['pageSize'] = page_size unless page_size.nil?
4157
+ command.query['pageToken'] = page_token unless page_token.nil?
4158
+ command.query['readMask'] = read_mask unless read_mask.nil?
4159
+ command.query['fields'] = fields unless fields.nil?
4160
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4161
+ execute_or_queue_command(command, &block)
4162
+ end
4163
+
4164
+ # Updates the parameters of a single Feature.
4165
+ # @param [String] name
4166
+ # Immutable. Name of the Feature. Format: `projects/`project`/locations/`
4167
+ # location`/featurestores/`featurestore`/entityTypes/`entity_type`/features/`
4168
+ # feature`` `projects/`project`/locations/`location`/featureGroups/`
4169
+ # feature_group`/features/`feature`` The last part feature is assigned by the
4170
+ # client. The feature can be up to 64 characters long and can consist only of
4171
+ # ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting
4172
+ # with a letter. The value will be unique given an entity type.
4173
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature] google_cloud_aiplatform_v1_feature_object
4174
+ # @param [String] update_mask
4175
+ # Field mask is used to specify the fields to be overwritten in the Features
4176
+ # resource by the update. The fields specified in the update_mask are relative
4177
+ # to the resource, not the full request. A field will be overwritten if it is in
4178
+ # the mask. If the user does not provide a mask then only the non-empty fields
4179
+ # present in the request will be overwritten. Set the update_mask to `*` to
4180
+ # override all fields. Updatable fields: * `description` * `labels` * `
4181
+ # disable_monitoring` (Not supported for FeatureRegistry Feature)
4182
+ # @param [String] fields
4183
+ # Selector specifying which fields to include in a partial response.
4184
+ # @param [String] quota_user
4185
+ # Available to use for quota purposes for server-side applications. Can be any
4186
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4187
+ # @param [Google::Apis::RequestOptions] options
4188
+ # Request-specific options
4189
+ #
4190
+ # @yield [result, err] Result & error if block supplied
4191
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4192
+ # @yieldparam err [StandardError] error object if request failed
4193
+ #
4194
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4195
+ #
4196
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4197
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4198
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4199
+ 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)
4200
+ command = make_simple_command(:patch, 'v1/{+name}', options)
4201
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature::Representation
4202
+ command.request_object = google_cloud_aiplatform_v1_feature_object
4203
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4204
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4205
+ command.params['name'] = name unless name.nil?
4206
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4207
+ command.query['fields'] = fields unless fields.nil?
4208
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4209
+ execute_or_queue_command(command, &block)
4210
+ end
4211
+
4212
+ # Deletes a long-running operation. This method indicates that the client is no
4213
+ # longer interested in the operation result. It does not cancel the operation.
4214
+ # If the server doesn't support this method, it returns `google.rpc.Code.
4215
+ # UNIMPLEMENTED`.
4216
+ # @param [String] name
4217
+ # The name of the operation resource to be deleted.
4218
+ # @param [String] fields
4219
+ # Selector specifying which fields to include in a partial response.
4220
+ # @param [String] quota_user
4221
+ # Available to use for quota purposes for server-side applications. Can be any
4222
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4223
+ # @param [Google::Apis::RequestOptions] options
4224
+ # Request-specific options
4225
+ #
4226
+ # @yield [result, err] Result & error if block supplied
4227
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
4228
+ # @yieldparam err [StandardError] error object if request failed
4229
+ #
4230
+ # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
4231
+ #
4232
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4233
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4234
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4235
+ def delete_project_location_feature_group_feature_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4236
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4237
+ command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
4238
+ command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
4239
+ command.params['name'] = name unless name.nil?
4240
+ command.query['fields'] = fields unless fields.nil?
4241
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4242
+ execute_or_queue_command(command, &block)
4243
+ end
4244
+
4245
+ # Gets the latest state of a long-running operation. Clients can use this method
4246
+ # to poll the operation result at intervals as recommended by the API service.
4247
+ # @param [String] name
4248
+ # The name of the operation resource.
4249
+ # @param [String] fields
4250
+ # Selector specifying which fields to include in a partial response.
4251
+ # @param [String] quota_user
4252
+ # Available to use for quota purposes for server-side applications. Can be any
4253
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4254
+ # @param [Google::Apis::RequestOptions] options
4255
+ # Request-specific options
4256
+ #
4257
+ # @yield [result, err] Result & error if block supplied
4258
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4259
+ # @yieldparam err [StandardError] error object if request failed
4260
+ #
4261
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4262
+ #
4263
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4264
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4265
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4266
+ def get_project_location_feature_group_feature_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4267
+ command = make_simple_command(:get, 'v1/{+name}', options)
4268
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4269
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4270
+ command.params['name'] = name unless name.nil?
4271
+ command.query['fields'] = fields unless fields.nil?
4272
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4273
+ execute_or_queue_command(command, &block)
4274
+ end
4275
+
4276
+ # Lists operations that match the specified filter in the request. If the server
4277
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
4278
+ # @param [String] name
4279
+ # The name of the operation's parent resource.
4280
+ # @param [String] filter
4281
+ # The standard list filter.
4282
+ # @param [Fixnum] page_size
4283
+ # The standard list page size.
4284
+ # @param [String] page_token
4285
+ # The standard list page token.
4286
+ # @param [String] fields
4287
+ # Selector specifying which fields to include in a partial response.
4288
+ # @param [String] quota_user
4289
+ # Available to use for quota purposes for server-side applications. Can be any
4290
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4291
+ # @param [Google::Apis::RequestOptions] options
4292
+ # Request-specific options
4293
+ #
4294
+ # @yield [result, err] Result & error if block supplied
4295
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
4296
+ # @yieldparam err [StandardError] error object if request failed
4297
+ #
4298
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
4299
+ #
4300
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4301
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4302
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4303
+ 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)
4304
+ command = make_simple_command(:get, 'v1/{+name}:wait', options)
4305
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
4306
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
4307
+ command.params['name'] = name unless name.nil?
4308
+ command.query['filter'] = filter unless filter.nil?
4309
+ command.query['pageSize'] = page_size unless page_size.nil?
4310
+ command.query['pageToken'] = page_token unless page_token.nil?
4311
+ command.query['fields'] = fields unless fields.nil?
4312
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4313
+ execute_or_queue_command(command, &block)
4314
+ end
4315
+
4316
+ # Waits until the specified long-running operation is done or reaches at most a
4317
+ # specified timeout, returning the latest state. If the operation is already
4318
+ # done, the latest state is immediately returned. If the timeout specified is
4319
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
4320
+ # the server does not support this method, it returns `google.rpc.Code.
4321
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
4322
+ # the latest state before the specified timeout (including immediately), meaning
4323
+ # even an immediate response is no guarantee that the operation is done.
4324
+ # @param [String] name
4325
+ # The name of the operation resource to wait on.
4326
+ # @param [String] timeout
4327
+ # The maximum duration to wait before timing out. If left blank, the wait will
4328
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
4329
+ # context deadline is also specified, the shorter one will be used.
4330
+ # @param [String] fields
4331
+ # Selector specifying which fields to include in a partial response.
4332
+ # @param [String] quota_user
4333
+ # Available to use for quota purposes for server-side applications. Can be any
4334
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4335
+ # @param [Google::Apis::RequestOptions] options
4336
+ # Request-specific options
4337
+ #
4338
+ # @yield [result, err] Result & error if block supplied
4339
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4340
+ # @yieldparam err [StandardError] error object if request failed
4341
+ #
4342
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4343
+ #
4344
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4345
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4346
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4347
+ def wait_project_location_feature_group_feature_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
4348
+ command = make_simple_command(:post, 'v1/{+name}:wait', options)
4349
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4350
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4351
+ command.params['name'] = name unless name.nil?
4352
+ command.query['timeout'] = timeout unless timeout.nil?
4353
+ command.query['fields'] = fields unless fields.nil?
4354
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4355
+ execute_or_queue_command(command, &block)
4356
+ end
4357
+
4358
+ # Deletes a long-running operation. This method indicates that the client is no
4359
+ # longer interested in the operation result. It does not cancel the operation.
4360
+ # If the server doesn't support this method, it returns `google.rpc.Code.
4361
+ # UNIMPLEMENTED`.
4362
+ # @param [String] name
4363
+ # The name of the operation resource to be deleted.
4364
+ # @param [String] fields
4365
+ # Selector specifying which fields to include in a partial response.
4366
+ # @param [String] quota_user
4367
+ # Available to use for quota purposes for server-side applications. Can be any
4368
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4369
+ # @param [Google::Apis::RequestOptions] options
4370
+ # Request-specific options
4371
+ #
4372
+ # @yield [result, err] Result & error if block supplied
4373
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
4374
+ # @yieldparam err [StandardError] error object if request failed
4375
+ #
4376
+ # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
4377
+ #
4378
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4379
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4380
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4381
+ def delete_project_location_feature_group_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4382
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4383
+ command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
4384
+ command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
4385
+ command.params['name'] = name unless name.nil?
4386
+ command.query['fields'] = fields unless fields.nil?
4387
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4388
+ execute_or_queue_command(command, &block)
4389
+ end
4390
+
4391
+ # Gets the latest state of a long-running operation. Clients can use this method
4392
+ # to poll the operation result at intervals as recommended by the API service.
4393
+ # @param [String] name
4394
+ # The name of the operation resource.
4395
+ # @param [String] fields
4396
+ # Selector specifying which fields to include in a partial response.
4397
+ # @param [String] quota_user
4398
+ # Available to use for quota purposes for server-side applications. Can be any
4399
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4400
+ # @param [Google::Apis::RequestOptions] options
4401
+ # Request-specific options
4402
+ #
4403
+ # @yield [result, err] Result & error if block supplied
4404
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4405
+ # @yieldparam err [StandardError] error object if request failed
4406
+ #
4407
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4408
+ #
4409
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4410
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4411
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4412
+ def get_project_location_feature_group_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4413
+ command = make_simple_command(:get, 'v1/{+name}', options)
4414
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4415
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4416
+ command.params['name'] = name unless name.nil?
4417
+ command.query['fields'] = fields unless fields.nil?
4418
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4419
+ execute_or_queue_command(command, &block)
4420
+ end
4421
+
4422
+ # Lists operations that match the specified filter in the request. If the server
4423
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
4424
+ # @param [String] name
4425
+ # The name of the operation's parent resource.
4426
+ # @param [String] filter
4427
+ # The standard list filter.
4428
+ # @param [Fixnum] page_size
4429
+ # The standard list page size.
4430
+ # @param [String] page_token
4431
+ # The standard list page token.
4432
+ # @param [String] fields
4433
+ # Selector specifying which fields to include in a partial response.
4434
+ # @param [String] quota_user
4435
+ # Available to use for quota purposes for server-side applications. Can be any
4436
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4437
+ # @param [Google::Apis::RequestOptions] options
4438
+ # Request-specific options
4439
+ #
4440
+ # @yield [result, err] Result & error if block supplied
4441
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
4442
+ # @yieldparam err [StandardError] error object if request failed
4443
+ #
4444
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
4445
+ #
4446
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4447
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4448
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4449
+ 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)
4450
+ command = make_simple_command(:get, 'v1/{+name}:wait', options)
4451
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
4452
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
4453
+ command.params['name'] = name unless name.nil?
4454
+ command.query['filter'] = filter unless filter.nil?
4455
+ command.query['pageSize'] = page_size unless page_size.nil?
4456
+ command.query['pageToken'] = page_token unless page_token.nil?
4457
+ command.query['fields'] = fields unless fields.nil?
4458
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4459
+ execute_or_queue_command(command, &block)
4460
+ end
4461
+
4462
+ # Waits until the specified long-running operation is done or reaches at most a
4463
+ # specified timeout, returning the latest state. If the operation is already
4464
+ # done, the latest state is immediately returned. If the timeout specified is
4465
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
4466
+ # the server does not support this method, it returns `google.rpc.Code.
4467
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
4468
+ # the latest state before the specified timeout (including immediately), meaning
4469
+ # even an immediate response is no guarantee that the operation is done.
4470
+ # @param [String] name
4471
+ # The name of the operation resource to wait on.
4472
+ # @param [String] timeout
4473
+ # The maximum duration to wait before timing out. If left blank, the wait will
4474
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
4475
+ # context deadline is also specified, the shorter one will be used.
4476
+ # @param [String] fields
4477
+ # Selector specifying which fields to include in a partial response.
4478
+ # @param [String] quota_user
4479
+ # Available to use for quota purposes for server-side applications. Can be any
4480
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4481
+ # @param [Google::Apis::RequestOptions] options
4482
+ # Request-specific options
4483
+ #
4484
+ # @yield [result, err] Result & error if block supplied
4485
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4486
+ # @yieldparam err [StandardError] error object if request failed
4487
+ #
4488
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4489
+ #
4490
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4491
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4492
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4493
+ def wait_project_location_feature_group_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
4494
+ command = make_simple_command(:post, 'v1/{+name}:wait', options)
4495
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4496
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4497
+ command.params['name'] = name unless name.nil?
4498
+ command.query['timeout'] = timeout unless timeout.nil?
4499
+ command.query['fields'] = fields unless fields.nil?
4500
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4501
+ execute_or_queue_command(command, &block)
4502
+ end
4503
+
4504
+ # Creates a new FeatureOnlineStore in a given project and location.
4505
+ # @param [String] parent
4506
+ # Required. The resource name of the Location to create FeatureOnlineStores.
4507
+ # Format: `projects/`project`/locations/`location`'`
4508
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore] google_cloud_aiplatform_v1_feature_online_store_object
4509
+ # @param [String] feature_online_store_id
4510
+ # Required. The ID to use for this FeatureOnlineStore, which will become the
4511
+ # final component of the FeatureOnlineStore's resource name. This value may be
4512
+ # up to 60 characters, and valid characters are `[a-z0-9_]`. The first character
4513
+ # cannot be a number. The value must be unique within the project and location.
4514
+ # @param [String] fields
4515
+ # Selector specifying which fields to include in a partial response.
4516
+ # @param [String] quota_user
4517
+ # Available to use for quota purposes for server-side applications. Can be any
4518
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4519
+ # @param [Google::Apis::RequestOptions] options
4520
+ # Request-specific options
4521
+ #
4522
+ # @yield [result, err] Result & error if block supplied
4523
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4524
+ # @yieldparam err [StandardError] error object if request failed
4525
+ #
4526
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4527
+ #
4528
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4529
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4530
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4531
+ 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)
4532
+ command = make_simple_command(:post, 'v1/{+parent}/featureOnlineStores', options)
4533
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore::Representation
4534
+ command.request_object = google_cloud_aiplatform_v1_feature_online_store_object
4535
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4536
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4537
+ command.params['parent'] = parent unless parent.nil?
4538
+ command.query['featureOnlineStoreId'] = feature_online_store_id unless feature_online_store_id.nil?
4539
+ command.query['fields'] = fields unless fields.nil?
4540
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4541
+ execute_or_queue_command(command, &block)
4542
+ end
4543
+
4544
+ # Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain
4545
+ # any FeatureViews.
4546
+ # @param [String] name
4547
+ # Required. The name of the FeatureOnlineStore to be deleted. Format: `projects/`
4548
+ # project`/locations/`location`/featureOnlineStores/`feature_online_store``
4549
+ # @param [Boolean] force
4550
+ # If set to true, any FeatureViews and Features for this FeatureOnlineStore will
4551
+ # also be deleted. (Otherwise, the request will only work if the
4552
+ # FeatureOnlineStore has no FeatureViews.)
4553
+ # @param [String] fields
4554
+ # Selector specifying which fields to include in a partial response.
4555
+ # @param [String] quota_user
4556
+ # Available to use for quota purposes for server-side applications. Can be any
4557
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4558
+ # @param [Google::Apis::RequestOptions] options
4559
+ # Request-specific options
4560
+ #
4561
+ # @yield [result, err] Result & error if block supplied
4562
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4563
+ # @yieldparam err [StandardError] error object if request failed
4564
+ #
4565
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4566
+ #
4567
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4568
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4569
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4570
+ def delete_project_location_feature_online_store(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
4571
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4572
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4573
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4574
+ command.params['name'] = name unless name.nil?
4575
+ command.query['force'] = force unless force.nil?
4576
+ command.query['fields'] = fields unless fields.nil?
4577
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4578
+ execute_or_queue_command(command, &block)
4579
+ end
4580
+
4581
+ # Gets details of a single FeatureOnlineStore.
4582
+ # @param [String] name
4583
+ # Required. The name of the FeatureOnlineStore resource.
4584
+ # @param [String] fields
4585
+ # Selector specifying which fields to include in a partial response.
4586
+ # @param [String] quota_user
4587
+ # Available to use for quota purposes for server-side applications. Can be any
4588
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4589
+ # @param [Google::Apis::RequestOptions] options
4590
+ # Request-specific options
4591
+ #
4592
+ # @yield [result, err] Result & error if block supplied
4593
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore] parsed result object
4594
+ # @yieldparam err [StandardError] error object if request failed
4595
+ #
4596
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore]
4597
+ #
4598
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4599
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4600
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4601
+ def get_project_location_feature_online_store(name, fields: nil, quota_user: nil, options: nil, &block)
4602
+ command = make_simple_command(:get, 'v1/{+name}', options)
4603
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore::Representation
4604
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore
4605
+ command.params['name'] = name unless name.nil?
4606
+ command.query['fields'] = fields unless fields.nil?
4607
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4608
+ execute_or_queue_command(command, &block)
4609
+ end
4610
+
4611
+ # Lists FeatureOnlineStores in a given project and location.
4612
+ # @param [String] parent
4613
+ # Required. The resource name of the Location to list FeatureOnlineStores.
4614
+ # Format: `projects/`project`/locations/`location``
4615
+ # @param [String] filter
4616
+ # Lists the FeatureOnlineStores that match the filter expression. The following
4617
+ # fields are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and
4618
+ # `>=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports
4619
+ # `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339
4620
+ # format. * `labels`: Supports key-value equality and key presence. Examples: * `
4621
+ # create_time > "2020-01-01" OR update_time > "2020-01-01"` FeatureOnlineStores
4622
+ # created or updated after 2020-01-01. * `labels.env = "prod"`
4623
+ # FeatureOnlineStores with label "env" set to "prod".
4624
+ # @param [String] order_by
4625
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
4626
+ # desc" after a field name for descending. Supported Fields: * `create_time` * `
4627
+ # update_time`
4628
+ # @param [Fixnum] page_size
4629
+ # The maximum number of FeatureOnlineStores to return. The service may return
4630
+ # fewer than this value. If unspecified, at most 100 FeatureOnlineStores will be
4631
+ # returned. The maximum value is 100; any value greater than 100 will be coerced
4632
+ # to 100.
4633
+ # @param [String] page_token
4634
+ # A page token, received from a previous FeatureOnlineStoreAdminService.
4635
+ # ListFeatureOnlineStores call. Provide this to retrieve the subsequent page.
4636
+ # When paginating, all other parameters provided to
4637
+ # FeatureOnlineStoreAdminService.ListFeatureOnlineStores must match the call
4638
+ # that provided the page token.
4639
+ # @param [String] fields
4640
+ # Selector specifying which fields to include in a partial response.
4641
+ # @param [String] quota_user
4642
+ # Available to use for quota purposes for server-side applications. Can be any
4643
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4644
+ # @param [Google::Apis::RequestOptions] options
4645
+ # Request-specific options
4646
+ #
4647
+ # @yield [result, err] Result & error if block supplied
4648
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse] parsed result object
4649
+ # @yieldparam err [StandardError] error object if request failed
4650
+ #
4651
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse]
4652
+ #
4653
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4654
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4655
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4656
+ 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)
4657
+ command = make_simple_command(:get, 'v1/{+parent}/featureOnlineStores', options)
4658
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse::Representation
4659
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse
4660
+ command.params['parent'] = parent unless parent.nil?
4661
+ command.query['filter'] = filter unless filter.nil?
4662
+ command.query['orderBy'] = order_by unless order_by.nil?
4663
+ command.query['pageSize'] = page_size unless page_size.nil?
4664
+ command.query['pageToken'] = page_token unless page_token.nil?
4665
+ command.query['fields'] = fields unless fields.nil?
4666
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4667
+ execute_or_queue_command(command, &block)
4668
+ end
4669
+
4670
+ # Updates the parameters of a single FeatureOnlineStore.
4671
+ # @param [String] name
4672
+ # Output only. Name of the FeatureOnlineStore. Format: `projects/`project`/
4673
+ # locations/`location`/featureOnlineStores/`featureOnlineStore``
4674
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore] google_cloud_aiplatform_v1_feature_online_store_object
4675
+ # @param [String] update_mask
4676
+ # Field mask is used to specify the fields to be overwritten in the
4677
+ # FeatureOnlineStore resource by the update. The fields specified in the
4678
+ # update_mask are relative to the resource, not the full request. A field will
4679
+ # be overwritten if it is in the mask. If the user does not provide a mask then
4680
+ # only the non-empty fields present in the request will be overwritten. Set the
4681
+ # update_mask to `*` to override all fields. Updatable fields: * `
4682
+ # big_query_source` * `labels` * `sync_config`
4683
+ # @param [String] fields
4684
+ # Selector specifying which fields to include in a partial response.
4685
+ # @param [String] quota_user
4686
+ # Available to use for quota purposes for server-side applications. Can be any
4687
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4688
+ # @param [Google::Apis::RequestOptions] options
4689
+ # Request-specific options
4690
+ #
4691
+ # @yield [result, err] Result & error if block supplied
4692
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4693
+ # @yieldparam err [StandardError] error object if request failed
4694
+ #
4695
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4696
+ #
4697
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4698
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4699
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4700
+ 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)
4701
+ command = make_simple_command(:patch, 'v1/{+name}', options)
4702
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore::Representation
4703
+ command.request_object = google_cloud_aiplatform_v1_feature_online_store_object
4704
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4705
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4706
+ command.params['name'] = name unless name.nil?
4707
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4708
+ command.query['fields'] = fields unless fields.nil?
4709
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4710
+ execute_or_queue_command(command, &block)
4711
+ end
4712
+
4713
+ # Creates a new FeatureView in a given FeatureOnlineStore.
4714
+ # @param [String] parent
4715
+ # Required. The resource name of the FeatureOnlineStore to create FeatureViews.
4716
+ # Format: `projects/`project`/locations/`location`/featureOnlineStores/`
4717
+ # feature_online_store``
4718
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView] google_cloud_aiplatform_v1_feature_view_object
4719
+ # @param [String] feature_view_id
4720
+ # Required. The ID to use for the FeatureView, which will become the final
4721
+ # component of the FeatureView's resource name. This value may be up to 60
4722
+ # characters, and valid characters are `[a-z0-9_]`. The first character cannot
4723
+ # be a number. The value must be unique within a FeatureOnlineStore.
4724
+ # @param [Boolean] run_sync_immediately
4725
+ # Immutable. If set to true, one on demand sync will be run immediately,
4726
+ # regardless whether the FeatureView.sync_config is configured or not.
4727
+ # @param [String] fields
4728
+ # Selector specifying which fields to include in a partial response.
4729
+ # @param [String] quota_user
4730
+ # Available to use for quota purposes for server-side applications. Can be any
4731
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4732
+ # @param [Google::Apis::RequestOptions] options
4733
+ # Request-specific options
4734
+ #
4735
+ # @yield [result, err] Result & error if block supplied
4736
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4737
+ # @yieldparam err [StandardError] error object if request failed
4738
+ #
4739
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4740
+ #
4741
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4742
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4743
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4744
+ 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)
4745
+ command = make_simple_command(:post, 'v1/{+parent}/featureViews', options)
4746
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView::Representation
4747
+ command.request_object = google_cloud_aiplatform_v1_feature_view_object
4748
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4749
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4750
+ command.params['parent'] = parent unless parent.nil?
4751
+ command.query['featureViewId'] = feature_view_id unless feature_view_id.nil?
4752
+ command.query['runSyncImmediately'] = run_sync_immediately unless run_sync_immediately.nil?
4753
+ command.query['fields'] = fields unless fields.nil?
4754
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4755
+ execute_or_queue_command(command, &block)
4756
+ end
4757
+
4758
+ # Deletes a single FeatureView.
4759
+ # @param [String] name
4760
+ # Required. The name of the FeatureView to be deleted. Format: `projects/`
4761
+ # project`/locations/`location`/featureOnlineStores/`feature_online_store`/
4762
+ # featureViews/`feature_view``
4763
+ # @param [String] fields
4764
+ # Selector specifying which fields to include in a partial response.
4765
+ # @param [String] quota_user
4766
+ # Available to use for quota purposes for server-side applications. Can be any
4767
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4768
+ # @param [Google::Apis::RequestOptions] options
4769
+ # Request-specific options
4770
+ #
4771
+ # @yield [result, err] Result & error if block supplied
4772
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
4773
+ # @yieldparam err [StandardError] error object if request failed
4774
+ #
4775
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
4776
+ #
4777
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4778
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4779
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4780
+ def delete_project_location_feature_online_store_feature_view(name, fields: nil, quota_user: nil, options: nil, &block)
4781
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4782
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
4783
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
4784
+ command.params['name'] = name unless name.nil?
4785
+ command.query['fields'] = fields unless fields.nil?
4786
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4787
+ execute_or_queue_command(command, &block)
4788
+ end
4789
+
4790
+ # Fetch feature values under a FeatureView.
4791
+ # @param [String] feature_view
4792
+ # Required. FeatureView resource format `projects/`project`/locations/`location`/
4793
+ # featureOnlineStores/`featureOnlineStore`/featureViews/`featureView``
4794
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesRequest] google_cloud_aiplatform_v1_fetch_feature_values_request_object
4795
+ # @param [String] fields
4796
+ # Selector specifying which fields to include in a partial response.
4797
+ # @param [String] quota_user
4798
+ # Available to use for quota purposes for server-side applications. Can be any
4799
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4800
+ # @param [Google::Apis::RequestOptions] options
4801
+ # Request-specific options
4802
+ #
4803
+ # @yield [result, err] Result & error if block supplied
4804
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponse] parsed result object
4805
+ # @yieldparam err [StandardError] error object if request failed
4806
+ #
4807
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponse]
4808
+ #
4809
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4810
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4811
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4812
+ 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)
4813
+ command = make_simple_command(:post, 'v1/{+featureView}:fetchFeatureValues', options)
4814
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesRequest::Representation
4815
+ command.request_object = google_cloud_aiplatform_v1_fetch_feature_values_request_object
4816
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponse::Representation
4817
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponse
4818
+ command.params['featureView'] = feature_view unless feature_view.nil?
4819
+ command.query['fields'] = fields unless fields.nil?
4820
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4821
+ execute_or_queue_command(command, &block)
4822
+ end
4823
+
4824
+ # Gets details of a single FeatureView.
4825
+ # @param [String] name
4826
+ # Required. The name of the FeatureView resource. Format: `projects/`project`/
4827
+ # locations/`location`/featureOnlineStores/`feature_online_store`/featureViews/`
4828
+ # feature_view``
4829
+ # @param [String] fields
4830
+ # Selector specifying which fields to include in a partial response.
4831
+ # @param [String] quota_user
4832
+ # Available to use for quota purposes for server-side applications. Can be any
4833
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4834
+ # @param [Google::Apis::RequestOptions] options
4835
+ # Request-specific options
4836
+ #
4837
+ # @yield [result, err] Result & error if block supplied
4838
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView] parsed result object
4839
+ # @yieldparam err [StandardError] error object if request failed
4840
+ #
4841
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView]
4842
+ #
4843
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4844
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4845
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4846
+ def get_project_location_feature_online_store_feature_view(name, fields: nil, quota_user: nil, options: nil, &block)
4847
+ command = make_simple_command(:get, 'v1/{+name}', options)
4848
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView::Representation
4849
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView
4850
+ command.params['name'] = name unless name.nil?
4851
+ command.query['fields'] = fields unless fields.nil?
4852
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4853
+ execute_or_queue_command(command, &block)
4854
+ end
4855
+
4856
+ # Lists FeatureViews in a given FeatureOnlineStore.
4857
+ # @param [String] parent
4858
+ # Required. The resource name of the FeatureOnlineStore to list FeatureViews.
4859
+ # Format: `projects/`project`/locations/`location`/featureOnlineStores/`
4860
+ # feature_online_store``
4861
+ # @param [String] filter
4862
+ # Lists the FeatureViews that match the filter expression. The following filters
4863
+ # are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=`
4864
+ # comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`,
4865
+ # `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format.
4866
+ # * `labels`: Supports key-value equality as well as key presence. Examples: * `
4867
+ # create_time > \"2020-01-31T15:30:00.000000Z\" OR update_time > \"2020-01-31T15:
4868
+ # 30:00.000000Z\"` --> FeatureViews created or updated after 2020-01-31T15:30:00.
4869
+ # 000000Z. * `labels.active = yes AND labels.env = prod` --> FeatureViews having
4870
+ # both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any
4871
+ # FeatureView which has a label with 'env' as the key.
4872
+ # @param [String] order_by
4873
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
4874
+ # desc" after a field name for descending. Supported fields: * `feature_view_id`
4875
+ # * `create_time` * `update_time`
4876
+ # @param [Fixnum] page_size
4877
+ # The maximum number of FeatureViews to return. The service may return fewer
4878
+ # than this value. If unspecified, at most 1000 FeatureViews will be returned.
4879
+ # The maximum value is 1000; any value greater than 1000 will be coerced to 1000.
4880
+ # @param [String] page_token
4881
+ # A page token, received from a previous FeatureOnlineStoreAdminService.
4882
+ # ListFeatureViews call. Provide this to retrieve the subsequent page. When
4883
+ # paginating, all other parameters provided to FeatureOnlineStoreAdminService.
4884
+ # ListFeatureViews must match the call that provided the page token.
4885
+ # @param [String] fields
4886
+ # Selector specifying which fields to include in a partial response.
4887
+ # @param [String] quota_user
4888
+ # Available to use for quota purposes for server-side applications. Can be any
4889
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4890
+ # @param [Google::Apis::RequestOptions] options
4891
+ # Request-specific options
4892
+ #
4893
+ # @yield [result, err] Result & error if block supplied
4894
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewsResponse] parsed result object
4895
+ # @yieldparam err [StandardError] error object if request failed
4896
+ #
4897
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewsResponse]
4898
+ #
4899
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4900
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4901
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4902
+ 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)
4903
+ command = make_simple_command(:get, 'v1/{+parent}/featureViews', options)
4904
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewsResponse::Representation
4905
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewsResponse
3119
4906
  command.params['parent'] = parent unless parent.nil?
3120
4907
  command.query['filter'] = filter unless filter.nil?
3121
4908
  command.query['orderBy'] = order_by unless order_by.nil?
3122
4909
  command.query['pageSize'] = page_size unless page_size.nil?
3123
4910
  command.query['pageToken'] = page_token unless page_token.nil?
3124
- command.query['readMask'] = read_mask unless read_mask.nil?
3125
4911
  command.query['fields'] = fields unless fields.nil?
3126
4912
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3127
4913
  execute_or_queue_command(command, &block)
3128
4914
  end
3129
4915
 
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
4916
+ # Updates the parameters of a single FeatureView.
4917
+ # @param [String] name
4918
+ # Output only. Name of the FeatureView. Format: `projects/`project`/locations/`
4919
+ # location`/featureOnlineStores/`feature_online_store`/featureViews/`
4920
+ # feature_view``
4921
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView] google_cloud_aiplatform_v1_feature_view_object
4922
+ # @param [String] update_mask
4923
+ # Field mask is used to specify the fields to be overwritten in the FeatureView
4924
+ # resource by the update. The fields specified in the update_mask are relative
4925
+ # to the resource, not the full request. A field will be overwritten if it is in
4926
+ # the mask. If the user does not provide a mask then only the non-empty fields
4927
+ # present in the request will be overwritten. Set the update_mask to `*` to
4928
+ # override all fields. Updatable fields: * `labels`
3139
4929
  # @param [String] fields
3140
4930
  # Selector specifying which fields to include in a partial response.
3141
4931
  # @param [String] quota_user
@@ -3153,25 +4943,24 @@ module Google
3153
4943
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3154
4944
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3155
4945
  # @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
4946
+ 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)
4947
+ command = make_simple_command(:patch, 'v1/{+name}', options)
4948
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView::Representation
4949
+ command.request_object = google_cloud_aiplatform_v1_feature_view_object
3160
4950
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3161
4951
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3162
- command.params['endpoint'] = endpoint unless endpoint.nil?
4952
+ command.params['name'] = name unless name.nil?
4953
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3163
4954
  command.query['fields'] = fields unless fields.nil?
3164
4955
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3165
4956
  execute_or_queue_command(command, &block)
3166
4957
  end
3167
4958
 
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.
4959
+ # Triggers on-demand sync for the FeatureView.
4960
+ # @param [String] feature_view
4961
+ # Required. Format: `projects/`project`/locations/`location`/featureOnlineStores/
4962
+ # `feature_online_store`/featureViews/`feature_view``
4963
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyncFeatureViewRequest] google_cloud_aiplatform_v1_sync_feature_view_request_object
3175
4964
  # @param [String] fields
3176
4965
  # Selector specifying which fields to include in a partial response.
3177
4966
  # @param [String] quota_user
@@ -3181,32 +4970,31 @@ module Google
3181
4970
  # Request-specific options
3182
4971
  #
3183
4972
  # @yield [result, err] Result & error if block supplied
3184
- # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint] parsed result object
4973
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyncFeatureViewResponse] parsed result object
3185
4974
  # @yieldparam err [StandardError] error object if request failed
3186
4975
  #
3187
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint]
4976
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyncFeatureViewResponse]
3188
4977
  #
3189
4978
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3190
4979
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3191
4980
  # @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?
4981
+ 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)
4982
+ command = make_simple_command(:post, 'v1/{+featureView}:sync', options)
4983
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyncFeatureViewRequest::Representation
4984
+ command.request_object = google_cloud_aiplatform_v1_sync_feature_view_request_object
4985
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyncFeatureViewResponse::Representation
4986
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyncFeatureViewResponse
4987
+ command.params['featureView'] = feature_view unless feature_view.nil?
3200
4988
  command.query['fields'] = fields unless fields.nil?
3201
4989
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3202
4990
  execute_or_queue_command(command, &block)
3203
4991
  end
3204
4992
 
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
4993
+ # Gets details of a single FeatureViewSync.
4994
+ # @param [String] name
4995
+ # Required. The name of the FeatureViewSync resource. Format: `projects/`project`
4996
+ # /locations/`location`/featureOnlineStores/`feature_online_store`/featureViews/`
4997
+ # feature_view`/featureViewSyncs/`feature_view_sync``
3210
4998
  # @param [String] fields
3211
4999
  # Selector specifying which fields to include in a partial response.
3212
5000
  # @param [String] quota_user
@@ -3216,34 +5004,48 @@ module Google
3216
5004
  # Request-specific options
3217
5005
  #
3218
5006
  # @yield [result, err] Result & error if block supplied
3219
- # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse] parsed result object
5007
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSync] parsed result object
3220
5008
  # @yieldparam err [StandardError] error object if request failed
3221
5009
  #
3222
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictResponse]
5010
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSync]
3223
5011
  #
3224
5012
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3225
5013
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3226
5014
  # @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?
5015
+ def get_project_location_feature_online_store_feature_view_feature_view_sync(name, fields: nil, quota_user: nil, options: nil, &block)
5016
+ command = make_simple_command(:get, 'v1/{+name}', options)
5017
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSync::Representation
5018
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSync
5019
+ command.params['name'] = name unless name.nil?
3234
5020
  command.query['fields'] = fields unless fields.nil?
3235
5021
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3236
5022
  execute_or_queue_command(command, &block)
3237
5023
  end
3238
5024
 
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
5025
+ # Lists FeatureViewSyncs in a given FeatureView.
5026
+ # @param [String] parent
5027
+ # Required. The resource name of the FeatureView to list FeatureViewSyncs.
5028
+ # Format: `projects/`project`/locations/`location`/featureOnlineStores/`
5029
+ # feature_online_store`/featureViews/`feature_view``
5030
+ # @param [String] filter
5031
+ # Lists the FeatureViewSyncs that match the filter expression. The following
5032
+ # filters are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`,
5033
+ # and `<=` comparisons. Values must be in RFC 3339 format. Examples: * `
5034
+ # create_time > \"2020-01-31T15:30:00.000000Z\"` --> FeatureViewSyncs created
5035
+ # after 2020-01-31T15:30:00.000000Z.
5036
+ # @param [String] order_by
5037
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
5038
+ # desc" after a field name for descending. Supported fields: * `create_time`
5039
+ # @param [Fixnum] page_size
5040
+ # The maximum number of FeatureViewSyncs to return. The service may return fewer
5041
+ # than this value. If unspecified, at most 1000 FeatureViewSyncs will be
5042
+ # returned. The maximum value is 1000; any value greater than 1000 will be
5043
+ # coerced to 1000.
5044
+ # @param [String] page_token
5045
+ # A page token, received from a previous FeatureOnlineStoreAdminService.
5046
+ # ListFeatureViewSyncs call. Provide this to retrieve the subsequent page. When
5047
+ # paginating, all other parameters provided to FeatureOnlineStoreAdminService.
5048
+ # ListFeatureViewSyncs must match the call that provided the page token.
3247
5049
  # @param [String] fields
3248
5050
  # Selector specifying which fields to include in a partial response.
3249
5051
  # @param [String] quota_user
@@ -3253,32 +5055,34 @@ module Google
3253
5055
  # Request-specific options
3254
5056
  #
3255
5057
  # @yield [result, err] Result & error if block supplied
3256
- # @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
5058
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewSyncsResponse] parsed result object
3257
5059
  # @yieldparam err [StandardError] error object if request failed
3258
5060
  #
3259
- # @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
5061
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewSyncsResponse]
3260
5062
  #
3261
5063
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3262
5064
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3263
5065
  # @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?
5066
+ 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)
5067
+ command = make_simple_command(:get, 'v1/{+parent}/featureViewSyncs', options)
5068
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewSyncsResponse::Representation
5069
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFeatureViewSyncsResponse
5070
+ command.params['parent'] = parent unless parent.nil?
5071
+ command.query['filter'] = filter unless filter.nil?
5072
+ command.query['orderBy'] = order_by unless order_by.nil?
5073
+ command.query['pageSize'] = page_size unless page_size.nil?
5074
+ command.query['pageToken'] = page_token unless page_token.nil?
3271
5075
  command.query['fields'] = fields unless fields.nil?
3272
5076
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3273
5077
  execute_or_queue_command(command, &block)
3274
5078
  end
3275
5079
 
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
5080
+ # Deletes a long-running operation. This method indicates that the client is no
5081
+ # longer interested in the operation result. It does not cancel the operation.
5082
+ # If the server doesn't support this method, it returns `google.rpc.Code.
5083
+ # UNIMPLEMENTED`.
5084
+ # @param [String] name
5085
+ # The name of the operation resource to be deleted.
3282
5086
  # @param [String] fields
3283
5087
  # Selector specifying which fields to include in a partial response.
3284
5088
  # @param [String] quota_user
@@ -3288,32 +5092,28 @@ module Google
3288
5092
  # Request-specific options
3289
5093
  #
3290
5094
  # @yield [result, err] Result & error if block supplied
3291
- # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse] parsed result object
5095
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
3292
5096
  # @yieldparam err [StandardError] error object if request failed
3293
5097
  #
3294
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingPredictResponse]
5098
+ # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
3295
5099
  #
3296
5100
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3297
5101
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3298
5102
  # @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?
5103
+ def delete_project_location_feature_online_store_feature_view_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5104
+ command = make_simple_command(:delete, 'v1/{+name}', options)
5105
+ command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
5106
+ command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
5107
+ command.params['name'] = name unless name.nil?
3306
5108
  command.query['fields'] = fields unless fields.nil?
3307
5109
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3308
5110
  execute_or_queue_command(command, &block)
3309
5111
  end
3310
5112
 
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
5113
+ # Gets the latest state of a long-running operation. Clients can use this method
5114
+ # to poll the operation result at intervals as recommended by the API service.
5115
+ # @param [String] name
5116
+ # The name of the operation resource.
3317
5117
  # @param [String] fields
3318
5118
  # Selector specifying which fields to include in a partial response.
3319
5119
  # @param [String] quota_user
@@ -3331,28 +5131,26 @@ module Google
3331
5131
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3332
5132
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3333
5133
  # @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
5134
+ def get_project_location_feature_online_store_feature_view_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5135
+ command = make_simple_command(:get, 'v1/{+name}', options)
3338
5136
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3339
5137
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3340
- command.params['endpoint'] = endpoint unless endpoint.nil?
5138
+ command.params['name'] = name unless name.nil?
3341
5139
  command.query['fields'] = fields unless fields.nil?
3342
5140
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3343
5141
  execute_or_queue_command(command, &block)
3344
5142
  end
3345
5143
 
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`.
5144
+ # Lists operations that match the specified filter in the request. If the server
5145
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
3354
5146
  # @param [String] name
3355
- # The name of the operation resource to be cancelled.
5147
+ # The name of the operation's parent resource.
5148
+ # @param [String] filter
5149
+ # The standard list filter.
5150
+ # @param [Fixnum] page_size
5151
+ # The standard list page size.
5152
+ # @param [String] page_token
5153
+ # The standard list page token.
3356
5154
  # @param [String] fields
3357
5155
  # Selector specifying which fields to include in a partial response.
3358
5156
  # @param [String] quota_user
@@ -3362,19 +5160,64 @@ module Google
3362
5160
  # Request-specific options
3363
5161
  #
3364
5162
  # @yield [result, err] Result & error if block supplied
3365
- # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
5163
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
3366
5164
  # @yieldparam err [StandardError] error object if request failed
3367
5165
  #
3368
- # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
5166
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
3369
5167
  #
3370
5168
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3371
5169
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3372
5170
  # @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
5171
+ 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)
5172
+ command = make_simple_command(:get, 'v1/{+name}:wait', options)
5173
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
5174
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
5175
+ command.params['name'] = name unless name.nil?
5176
+ command.query['filter'] = filter unless filter.nil?
5177
+ command.query['pageSize'] = page_size unless page_size.nil?
5178
+ command.query['pageToken'] = page_token unless page_token.nil?
5179
+ command.query['fields'] = fields unless fields.nil?
5180
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5181
+ execute_or_queue_command(command, &block)
5182
+ end
5183
+
5184
+ # Waits until the specified long-running operation is done or reaches at most a
5185
+ # specified timeout, returning the latest state. If the operation is already
5186
+ # done, the latest state is immediately returned. If the timeout specified is
5187
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
5188
+ # the server does not support this method, it returns `google.rpc.Code.
5189
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
5190
+ # the latest state before the specified timeout (including immediately), meaning
5191
+ # even an immediate response is no guarantee that the operation is done.
5192
+ # @param [String] name
5193
+ # The name of the operation resource to wait on.
5194
+ # @param [String] timeout
5195
+ # The maximum duration to wait before timing out. If left blank, the wait will
5196
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
5197
+ # context deadline is also specified, the shorter one will be used.
5198
+ # @param [String] fields
5199
+ # Selector specifying which fields to include in a partial response.
5200
+ # @param [String] quota_user
5201
+ # Available to use for quota purposes for server-side applications. Can be any
5202
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5203
+ # @param [Google::Apis::RequestOptions] options
5204
+ # Request-specific options
5205
+ #
5206
+ # @yield [result, err] Result & error if block supplied
5207
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
5208
+ # @yieldparam err [StandardError] error object if request failed
5209
+ #
5210
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
5211
+ #
5212
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5213
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5214
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5215
+ def wait_project_location_feature_online_store_feature_view_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
5216
+ command = make_simple_command(:post, 'v1/{+name}:wait', options)
5217
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
5218
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
3377
5219
  command.params['name'] = name unless name.nil?
5220
+ command.query['timeout'] = timeout unless timeout.nil?
3378
5221
  command.query['fields'] = fields unless fields.nil?
3379
5222
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3380
5223
  execute_or_queue_command(command, &block)
@@ -3403,7 +5246,7 @@ module Google
3403
5246
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3404
5247
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3405
5248
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3406
- def delete_project_location_endpoint_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5249
+ def delete_project_location_feature_online_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
3407
5250
  command = make_simple_command(:delete, 'v1/{+name}', options)
3408
5251
  command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
3409
5252
  command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
@@ -3434,7 +5277,7 @@ module Google
3434
5277
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3435
5278
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3436
5279
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3437
- def get_project_location_endpoint_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5280
+ def get_project_location_feature_online_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
3438
5281
  command = make_simple_command(:get, 'v1/{+name}', options)
3439
5282
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3440
5283
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
@@ -3471,8 +5314,8 @@ module Google
3471
5314
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3472
5315
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3473
5316
  # @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)
5317
+ 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)
5318
+ command = make_simple_command(:get, 'v1/{+name}:wait', options)
3476
5319
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
3477
5320
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
3478
5321
  command.params['name'] = name unless name.nil?
@@ -3515,7 +5358,7 @@ module Google
3515
5358
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3516
5359
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3517
5360
  # @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)
5361
+ def wait_project_location_feature_online_store_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
3519
5362
  command = make_simple_command(:post, 'v1/{+name}:wait', options)
3520
5363
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
3521
5364
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
@@ -11129,6 +12972,74 @@ module Google
11129
12972
  execute_or_queue_command(command, &block)
11130
12973
  end
11131
12974
 
12975
+ # Return a list of tokens based on the input text.
12976
+ # @param [String] endpoint
12977
+ # Required. The name of the Endpoint requested to get lists of tokens and token
12978
+ # ids.
12979
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensRequest] google_cloud_aiplatform_v1_compute_tokens_request_object
12980
+ # @param [String] fields
12981
+ # Selector specifying which fields to include in a partial response.
12982
+ # @param [String] quota_user
12983
+ # Available to use for quota purposes for server-side applications. Can be any
12984
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12985
+ # @param [Google::Apis::RequestOptions] options
12986
+ # Request-specific options
12987
+ #
12988
+ # @yield [result, err] Result & error if block supplied
12989
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse] parsed result object
12990
+ # @yieldparam err [StandardError] error object if request failed
12991
+ #
12992
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse]
12993
+ #
12994
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12995
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12996
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12997
+ 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)
12998
+ command = make_simple_command(:post, 'v1/{+endpoint}:computeTokens', options)
12999
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensRequest::Representation
13000
+ command.request_object = google_cloud_aiplatform_v1_compute_tokens_request_object
13001
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse::Representation
13002
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputeTokensResponse
13003
+ command.params['endpoint'] = endpoint unless endpoint.nil?
13004
+ command.query['fields'] = fields unless fields.nil?
13005
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13006
+ execute_or_queue_command(command, &block)
13007
+ end
13008
+
13009
+ # Perform a token counting.
13010
+ # @param [String] endpoint
13011
+ # Required. The name of the Endpoint requested to perform token counting. Format:
13012
+ # `projects/`project`/locations/`location`/endpoints/`endpoint``
13013
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensRequest] google_cloud_aiplatform_v1_count_tokens_request_object
13014
+ # @param [String] fields
13015
+ # Selector specifying which fields to include in a partial response.
13016
+ # @param [String] quota_user
13017
+ # Available to use for quota purposes for server-side applications. Can be any
13018
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13019
+ # @param [Google::Apis::RequestOptions] options
13020
+ # Request-specific options
13021
+ #
13022
+ # @yield [result, err] Result & error if block supplied
13023
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse] parsed result object
13024
+ # @yieldparam err [StandardError] error object if request failed
13025
+ #
13026
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse]
13027
+ #
13028
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13029
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13030
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13031
+ 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)
13032
+ command = make_simple_command(:post, 'v1/{+endpoint}:countTokens', options)
13033
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensRequest::Representation
13034
+ command.request_object = google_cloud_aiplatform_v1_count_tokens_request_object
13035
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse::Representation
13036
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CountTokensResponse
13037
+ command.params['endpoint'] = endpoint unless endpoint.nil?
13038
+ command.query['fields'] = fields unless fields.nil?
13039
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13040
+ execute_or_queue_command(command, &block)
13041
+ end
13042
+
11132
13043
  # Perform an online prediction.
11133
13044
  # @param [String] endpoint
11134
13045
  # Required. The name of the Endpoint requested to serve the prediction. Format: `