google-apis-aiplatform_v1 0.33.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2254,7 +2254,9 @@ module Google
|
|
2254
2254
|
execute_or_queue_command(command, &block)
|
2255
2255
|
end
|
2256
2256
|
|
2257
|
-
# Lists Annotations belongs to a dataitem
|
2257
|
+
# Lists Annotations belongs to a dataitem This RPC is only available in
|
2258
|
+
# InternalDatasetService. It is only used for exporting conversation data to
|
2259
|
+
# CCAI Insights.
|
2258
2260
|
# @param [String] parent
|
2259
2261
|
# Required. The resource name of the DataItem to list Annotations from. Format: `
|
2260
2262
|
# projects/`project`/locations/`location`/datasets/`dataset`/dataItems/`
|
@@ -4616,7 +4618,7 @@ module Google
|
|
4616
4618
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] google_cloud_aiplatform_v1_feature_group_object
|
4617
4619
|
# @param [String] feature_group_id
|
4618
4620
|
# Required. The ID to use for this FeatureGroup, which will become the final
|
4619
|
-
# component of the FeatureGroup's resource name. This value may be up to
|
4621
|
+
# component of the FeatureGroup's resource name. This value may be up to 128
|
4620
4622
|
# characters, and valid characters are `[a-z0-9_]`. The first character cannot
|
4621
4623
|
# be a number. The value must be unique within the project and location.
|
4622
4624
|
# @param [String] fields
|
@@ -5444,6 +5446,51 @@ module Google
|
|
5444
5446
|
execute_or_queue_command(command, &block)
|
5445
5447
|
end
|
5446
5448
|
|
5449
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
5450
|
+
# resource exists and does not have a policy set.
|
5451
|
+
# @param [String] resource
|
5452
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
5453
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
5454
|
+
# appropriate value for this field.
|
5455
|
+
# @param [Fixnum] options_requested_policy_version
|
5456
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
5457
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
5458
|
+
# rejected. Requests for policies with any conditional role bindings must
|
5459
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
5460
|
+
# valid value or leave the field unset. The policy in the response might use the
|
5461
|
+
# policy version that you specified, or it might use a lower policy version. For
|
5462
|
+
# example, if you specify version 3, but the policy has no conditional role
|
5463
|
+
# bindings, the response uses version 1. To learn which resources support
|
5464
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
5465
|
+
# google.com/iam/help/conditions/resource-policies).
|
5466
|
+
# @param [String] fields
|
5467
|
+
# Selector specifying which fields to include in a partial response.
|
5468
|
+
# @param [String] quota_user
|
5469
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5470
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5471
|
+
# @param [Google::Apis::RequestOptions] options
|
5472
|
+
# Request-specific options
|
5473
|
+
#
|
5474
|
+
# @yield [result, err] Result & error if block supplied
|
5475
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
|
5476
|
+
# @yieldparam err [StandardError] error object if request failed
|
5477
|
+
#
|
5478
|
+
# @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
|
5479
|
+
#
|
5480
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5481
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5482
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5483
|
+
def get_project_location_feature_online_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5484
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
5485
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
|
5486
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
|
5487
|
+
command.params['resource'] = resource unless resource.nil?
|
5488
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
5489
|
+
command.query['fields'] = fields unless fields.nil?
|
5490
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5491
|
+
execute_or_queue_command(command, &block)
|
5492
|
+
end
|
5493
|
+
|
5447
5494
|
# Lists FeatureOnlineStores in a given project and location.
|
5448
5495
|
# @param [String] parent
|
5449
5496
|
# Required. The resource name of the Location to list FeatureOnlineStores.
|
@@ -5547,6 +5594,84 @@ module Google
|
|
5547
5594
|
execute_or_queue_command(command, &block)
|
5548
5595
|
end
|
5549
5596
|
|
5597
|
+
# Sets the access control policy on the specified resource. Replaces any
|
5598
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
5599
|
+
# PERMISSION_DENIED` errors.
|
5600
|
+
# @param [String] resource
|
5601
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
5602
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
5603
|
+
# appropriate value for this field.
|
5604
|
+
# @param [Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
5605
|
+
# @param [String] fields
|
5606
|
+
# Selector specifying which fields to include in a partial response.
|
5607
|
+
# @param [String] quota_user
|
5608
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5609
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5610
|
+
# @param [Google::Apis::RequestOptions] options
|
5611
|
+
# Request-specific options
|
5612
|
+
#
|
5613
|
+
# @yield [result, err] Result & error if block supplied
|
5614
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
|
5615
|
+
# @yieldparam err [StandardError] error object if request failed
|
5616
|
+
#
|
5617
|
+
# @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
|
5618
|
+
#
|
5619
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5620
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5621
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5622
|
+
def set_project_location_feature_online_store_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
5623
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
5624
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest::Representation
|
5625
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
5626
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
|
5627
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
|
5628
|
+
command.params['resource'] = resource unless resource.nil?
|
5629
|
+
command.query['fields'] = fields unless fields.nil?
|
5630
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5631
|
+
execute_or_queue_command(command, &block)
|
5632
|
+
end
|
5633
|
+
|
5634
|
+
# Returns permissions that a caller has on the specified resource. If the
|
5635
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
5636
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
5637
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
5638
|
+
# This operation may "fail open" without warning.
|
5639
|
+
# @param [String] resource
|
5640
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
5641
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
5642
|
+
# appropriate value for this field.
|
5643
|
+
# @param [Array<String>, String] permissions
|
5644
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
5645
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
5646
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
5647
|
+
# @param [String] fields
|
5648
|
+
# Selector specifying which fields to include in a partial response.
|
5649
|
+
# @param [String] quota_user
|
5650
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5651
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5652
|
+
# @param [Google::Apis::RequestOptions] options
|
5653
|
+
# Request-specific options
|
5654
|
+
#
|
5655
|
+
# @yield [result, err] Result & error if block supplied
|
5656
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
5657
|
+
# @yieldparam err [StandardError] error object if request failed
|
5658
|
+
#
|
5659
|
+
# @return [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse]
|
5660
|
+
#
|
5661
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5662
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5663
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5664
|
+
def test_project_location_feature_online_store_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5665
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
5666
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
5667
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse
|
5668
|
+
command.params['resource'] = resource unless resource.nil?
|
5669
|
+
command.query['permissions'] = permissions unless permissions.nil?
|
5670
|
+
command.query['fields'] = fields unless fields.nil?
|
5671
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5672
|
+
execute_or_queue_command(command, &block)
|
5673
|
+
end
|
5674
|
+
|
5550
5675
|
# Creates a new FeatureView in a given FeatureOnlineStore.
|
5551
5676
|
# @param [String] parent
|
5552
5677
|
# Required. The resource name of the FeatureOnlineStore to create FeatureViews.
|
@@ -5690,6 +5815,51 @@ module Google
|
|
5690
5815
|
execute_or_queue_command(command, &block)
|
5691
5816
|
end
|
5692
5817
|
|
5818
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
5819
|
+
# resource exists and does not have a policy set.
|
5820
|
+
# @param [String] resource
|
5821
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
5822
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
5823
|
+
# appropriate value for this field.
|
5824
|
+
# @param [Fixnum] options_requested_policy_version
|
5825
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
5826
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
5827
|
+
# rejected. Requests for policies with any conditional role bindings must
|
5828
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
5829
|
+
# valid value or leave the field unset. The policy in the response might use the
|
5830
|
+
# policy version that you specified, or it might use a lower policy version. For
|
5831
|
+
# example, if you specify version 3, but the policy has no conditional role
|
5832
|
+
# bindings, the response uses version 1. To learn which resources support
|
5833
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
5834
|
+
# google.com/iam/help/conditions/resource-policies).
|
5835
|
+
# @param [String] fields
|
5836
|
+
# Selector specifying which fields to include in a partial response.
|
5837
|
+
# @param [String] quota_user
|
5838
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5839
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5840
|
+
# @param [Google::Apis::RequestOptions] options
|
5841
|
+
# Request-specific options
|
5842
|
+
#
|
5843
|
+
# @yield [result, err] Result & error if block supplied
|
5844
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
|
5845
|
+
# @yieldparam err [StandardError] error object if request failed
|
5846
|
+
#
|
5847
|
+
# @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
|
5848
|
+
#
|
5849
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5850
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5851
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5852
|
+
def get_project_location_feature_online_store_feature_view_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5853
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
5854
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
|
5855
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
|
5856
|
+
command.params['resource'] = resource unless resource.nil?
|
5857
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
5858
|
+
command.query['fields'] = fields unless fields.nil?
|
5859
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5860
|
+
execute_or_queue_command(command, &block)
|
5861
|
+
end
|
5862
|
+
|
5693
5863
|
# Lists FeatureViews in a given FeatureOnlineStore.
|
5694
5864
|
# @param [String] parent
|
5695
5865
|
# Required. The resource name of the FeatureOnlineStore to list FeatureViews.
|
@@ -5832,6 +6002,43 @@ module Google
|
|
5832
6002
|
execute_or_queue_command(command, &block)
|
5833
6003
|
end
|
5834
6004
|
|
6005
|
+
# Sets the access control policy on the specified resource. Replaces any
|
6006
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
6007
|
+
# PERMISSION_DENIED` errors.
|
6008
|
+
# @param [String] resource
|
6009
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
6010
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
6011
|
+
# appropriate value for this field.
|
6012
|
+
# @param [Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
6013
|
+
# @param [String] fields
|
6014
|
+
# Selector specifying which fields to include in a partial response.
|
6015
|
+
# @param [String] quota_user
|
6016
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6017
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6018
|
+
# @param [Google::Apis::RequestOptions] options
|
6019
|
+
# Request-specific options
|
6020
|
+
#
|
6021
|
+
# @yield [result, err] Result & error if block supplied
|
6022
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
|
6023
|
+
# @yieldparam err [StandardError] error object if request failed
|
6024
|
+
#
|
6025
|
+
# @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
|
6026
|
+
#
|
6027
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6028
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6029
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6030
|
+
def set_project_location_feature_online_store_feature_view_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6031
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
6032
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest::Representation
|
6033
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
6034
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
|
6035
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
|
6036
|
+
command.params['resource'] = resource unless resource.nil?
|
6037
|
+
command.query['fields'] = fields unless fields.nil?
|
6038
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6039
|
+
execute_or_queue_command(command, &block)
|
6040
|
+
end
|
6041
|
+
|
5835
6042
|
# Triggers on-demand sync for the FeatureView.
|
5836
6043
|
# @param [String] feature_view
|
5837
6044
|
# Required. Format: `projects/`project`/locations/`location`/featureOnlineStores/
|
@@ -5866,6 +6073,47 @@ module Google
|
|
5866
6073
|
execute_or_queue_command(command, &block)
|
5867
6074
|
end
|
5868
6075
|
|
6076
|
+
# Returns permissions that a caller has on the specified resource. If the
|
6077
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
6078
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
6079
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
6080
|
+
# This operation may "fail open" without warning.
|
6081
|
+
# @param [String] resource
|
6082
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
6083
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
6084
|
+
# appropriate value for this field.
|
6085
|
+
# @param [Array<String>, String] permissions
|
6086
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
6087
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
6088
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
6089
|
+
# @param [String] fields
|
6090
|
+
# Selector specifying which fields to include in a partial response.
|
6091
|
+
# @param [String] quota_user
|
6092
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6093
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6094
|
+
# @param [Google::Apis::RequestOptions] options
|
6095
|
+
# Request-specific options
|
6096
|
+
#
|
6097
|
+
# @yield [result, err] Result & error if block supplied
|
6098
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
6099
|
+
# @yieldparam err [StandardError] error object if request failed
|
6100
|
+
#
|
6101
|
+
# @return [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse]
|
6102
|
+
#
|
6103
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6104
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6105
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6106
|
+
def test_project_location_feature_online_store_feature_view_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6107
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
6108
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
6109
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse
|
6110
|
+
command.params['resource'] = resource unless resource.nil?
|
6111
|
+
command.query['permissions'] = permissions unless permissions.nil?
|
6112
|
+
command.query['fields'] = fields unless fields.nil?
|
6113
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6114
|
+
execute_or_queue_command(command, &block)
|
6115
|
+
end
|
6116
|
+
|
5869
6117
|
# Gets details of a single FeatureViewSync.
|
5870
6118
|
# @param [String] name
|
5871
6119
|
# Required. The name of the FeatureViewSync resource. Format: `projects/`project`
|
@@ -20335,6 +20583,40 @@ module Google
|
|
20335
20583
|
execute_or_queue_command(command, &block)
|
20336
20584
|
end
|
20337
20585
|
|
20586
|
+
# Rebase a TunedModel.
|
20587
|
+
# @param [String] parent
|
20588
|
+
# Required. The resource name of the Location into which to rebase the Model.
|
20589
|
+
# Format: `projects/`project`/locations/`location``
|
20590
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RebaseTunedModelRequest] google_cloud_aiplatform_v1_rebase_tuned_model_request_object
|
20591
|
+
# @param [String] fields
|
20592
|
+
# Selector specifying which fields to include in a partial response.
|
20593
|
+
# @param [String] quota_user
|
20594
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
20595
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
20596
|
+
# @param [Google::Apis::RequestOptions] options
|
20597
|
+
# Request-specific options
|
20598
|
+
#
|
20599
|
+
# @yield [result, err] Result & error if block supplied
|
20600
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
20601
|
+
# @yieldparam err [StandardError] error object if request failed
|
20602
|
+
#
|
20603
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
20604
|
+
#
|
20605
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
20606
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
20607
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
20608
|
+
def rebase_project_location_tuning_job_tuned_model(parent, google_cloud_aiplatform_v1_rebase_tuned_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
20609
|
+
command = make_simple_command(:post, 'v1/{+parent}/tuningJobs:rebaseTunedModel', options)
|
20610
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RebaseTunedModelRequest::Representation
|
20611
|
+
command.request_object = google_cloud_aiplatform_v1_rebase_tuned_model_request_object
|
20612
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
20613
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
20614
|
+
command.params['parent'] = parent unless parent.nil?
|
20615
|
+
command.query['fields'] = fields unless fields.nil?
|
20616
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
20617
|
+
execute_or_queue_command(command, &block)
|
20618
|
+
end
|
20619
|
+
|
20338
20620
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
20339
20621
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
20340
20622
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -20372,6 +20654,39 @@ module Google
|
|
20372
20654
|
execute_or_queue_command(command, &block)
|
20373
20655
|
end
|
20374
20656
|
|
20657
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
20658
|
+
# longer interested in the operation result. It does not cancel the operation.
|
20659
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
20660
|
+
# UNIMPLEMENTED`.
|
20661
|
+
# @param [String] name
|
20662
|
+
# The name of the operation resource to be deleted.
|
20663
|
+
# @param [String] fields
|
20664
|
+
# Selector specifying which fields to include in a partial response.
|
20665
|
+
# @param [String] quota_user
|
20666
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
20667
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
20668
|
+
# @param [Google::Apis::RequestOptions] options
|
20669
|
+
# Request-specific options
|
20670
|
+
#
|
20671
|
+
# @yield [result, err] Result & error if block supplied
|
20672
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
20673
|
+
# @yieldparam err [StandardError] error object if request failed
|
20674
|
+
#
|
20675
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
20676
|
+
#
|
20677
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
20678
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
20679
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
20680
|
+
def delete_project_location_tuning_job_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
20681
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
20682
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
20683
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
20684
|
+
command.params['name'] = name unless name.nil?
|
20685
|
+
command.query['fields'] = fields unless fields.nil?
|
20686
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
20687
|
+
execute_or_queue_command(command, &block)
|
20688
|
+
end
|
20689
|
+
|
20375
20690
|
# Gets the latest state of a long-running operation. Clients can use this method
|
20376
20691
|
# to poll the operation result at intervals as recommended by the API service.
|
20377
20692
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.35.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.35.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|