google-apis-aiplatform_v1beta1 0.19.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c9005cf35cb12e6ce8462ce0bfd1026e34b58aa04eac289c0a4199fc1047d4e
4
- data.tar.gz: 8ca7b6dfae4e8429597ab8c2b50ab5f33b583ea7f1f741316f6f5e3a701aae7e
3
+ metadata.gz: ffc032e9e7c3c8e5ad67ae743c342af79605eb80b8963463a6a3d7b76ab86bcc
4
+ data.tar.gz: '040994cbe9652883cf8b3857b88b8a392c44e9aca032187a12a5dd676984f6cd'
5
5
  SHA512:
6
- metadata.gz: 63c17b413f5e66e9b02b34b1e7bdd80b4b473187dc1a18bc05f1fd12ba006c26145db83d461fc80218cbbaf23b2ec798faefa7e272d9f2723c7a480bb047ae87
7
- data.tar.gz: e4581c3fa1789276b93b3f399562e76fc6fa0a545df8d2027dff08d5efde63ad63cc9a63201e3fb66d4e7814cf3590cbc35abe5757515f6899792a66b5686f8f
6
+ metadata.gz: 47515ffa26860f7732ff8f20f1e1e2a226e9a955af04d13a6d776ddf557b7467b12fe10ae12619e40cb60dda3f5c61b2555b862e07a0e9e795fe6436ec687a75
7
+ data.tar.gz: 9c02ce1a2627de27a7ef7e79396d0311bc49929e007e89ac2a201b8069bd0109f77c1d0f484505a56be67d353d456e090ae19de87dcf1d965df838b79cfa87d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.21.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240301
6
+
7
+ ### v0.20.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240229
10
+
3
11
  ### v0.19.0 (2024-02-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20240219
@@ -777,6 +777,11 @@ module Google
777
777
  class CloudAiNlLlmProtoServicePart
778
778
  include Google::Apis::Core::Hashable
779
779
 
780
+ # Metadata describes the original input document content.
781
+ # Corresponds to the JSON property `documentMetadata`
782
+ # @return [Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartDocumentMetadata]
783
+ attr_accessor :document_metadata
784
+
780
785
  # Represents file data.
781
786
  # Corresponds to the JSON property `fileData`
782
787
  # @return [Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartFileData]
@@ -813,6 +818,7 @@ module Google
813
818
 
814
819
  # Update properties of this object
815
820
  def update!(**args)
821
+ @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
816
822
  @file_data = args[:file_data] if args.key?(:file_data)
817
823
  @function_call = args[:function_call] if args.key?(:function_call)
818
824
  @function_response = args[:function_response] if args.key?(:function_response)
@@ -854,6 +860,32 @@ module Google
854
860
  end
855
861
  end
856
862
 
863
+ # Metadata describes the original input document content.
864
+ class CloudAiNlLlmProtoServicePartDocumentMetadata
865
+ include Google::Apis::Core::Hashable
866
+
867
+ # Represents arbitrary blob data input.
868
+ # Corresponds to the JSON property `originalDocumentBlob`
869
+ # @return [Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartBlob]
870
+ attr_accessor :original_document_blob
871
+
872
+ # The (1-indexed) page number of the image in the original document. The first
873
+ # page carries the original document content and mime type.
874
+ # Corresponds to the JSON property `pageNumber`
875
+ # @return [Fixnum]
876
+ attr_accessor :page_number
877
+
878
+ def initialize(**args)
879
+ update!(**args)
880
+ end
881
+
882
+ # Update properties of this object
883
+ def update!(**args)
884
+ @original_document_blob = args[:original_document_blob] if args.key?(:original_document_blob)
885
+ @page_number = args[:page_number] if args.key?(:page_number)
886
+ end
887
+ end
888
+
857
889
  # Represents file data.
858
890
  class CloudAiNlLlmProtoServicePartFileData
859
891
  include Google::Apis::Core::Hashable
@@ -1028,6 +1060,11 @@ module Google
1028
1060
  attr_accessor :flagged
1029
1061
  alias_method :flagged?, :flagged
1030
1062
 
1063
+ # The influential terms that could potentially block the response.
1064
+ # Corresponds to the JSON property `influentialTerms`
1065
+ # @return [Array<Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm>]
1066
+ attr_accessor :influential_terms
1067
+
1031
1068
  # The RAI category.
1032
1069
  # Corresponds to the JSON property `raiCategory`
1033
1070
  # @return [String]
@@ -1046,11 +1083,49 @@ module Google
1046
1083
  def update!(**args)
1047
1084
  @confidence = args[:confidence] if args.key?(:confidence)
1048
1085
  @flagged = args[:flagged] if args.key?(:flagged)
1086
+ @influential_terms = args[:influential_terms] if args.key?(:influential_terms)
1049
1087
  @rai_category = args[:rai_category] if args.key?(:rai_category)
1050
1088
  @score = args[:score] if args.key?(:score)
1051
1089
  end
1052
1090
  end
1053
1091
 
1092
+ # The influential term that could potentially block the response.
1093
+ class CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm
1094
+ include Google::Apis::Core::Hashable
1095
+
1096
+ # The beginning offset of the influential term.
1097
+ # Corresponds to the JSON property `beginOffset`
1098
+ # @return [Fixnum]
1099
+ attr_accessor :begin_offset
1100
+
1101
+ # The confidence score of the influential term.
1102
+ # Corresponds to the JSON property `confidence`
1103
+ # @return [Float]
1104
+ attr_accessor :confidence
1105
+
1106
+ # The source of the influential term, prompt or response.
1107
+ # Corresponds to the JSON property `source`
1108
+ # @return [String]
1109
+ attr_accessor :source
1110
+
1111
+ # The influential term.
1112
+ # Corresponds to the JSON property `term`
1113
+ # @return [String]
1114
+ attr_accessor :term
1115
+
1116
+ def initialize(**args)
1117
+ update!(**args)
1118
+ end
1119
+
1120
+ # Update properties of this object
1121
+ def update!(**args)
1122
+ @begin_offset = args[:begin_offset] if args.key?(:begin_offset)
1123
+ @confidence = args[:confidence] if args.key?(:confidence)
1124
+ @source = args[:source] if args.key?(:source)
1125
+ @term = args[:term] if args.key?(:term)
1126
+ end
1127
+ end
1128
+
1054
1129
  # Safety rating corresponding to the generated content.
1055
1130
  class CloudAiNlLlmProtoServiceSafetyRating
1056
1131
  include Google::Apis::Core::Hashable
@@ -4987,7 +5062,7 @@ module Google
4987
5062
  # @return [String]
4988
5063
  attr_accessor :etag
4989
5064
 
4990
- # Required. Additional information about the DatasetVersion.
5065
+ # Required. Output only. Additional information about the DatasetVersion.
4991
5066
  # Corresponds to the JSON property `metadata`
4992
5067
  # @return [Object]
4993
5068
  attr_accessor :metadata
@@ -8710,8 +8785,7 @@ module Google
8710
8785
 
8711
8786
  # Optional. Service agent type used during data sync. By default, the Vertex AI
8712
8787
  # Service Agent is used. When using an IAM Policy to isolate this FeatureView
8713
- # within a project (https://cloud.google.com/vertex-ai/docs/featurestore/latest/
8714
- # resource-policy) a separate service account should be provisioned by setting
8788
+ # within a project, a separate service account should be provisioned by setting
8715
8789
  # this field to `SERVICE_AGENT_TYPE_FEATURE_VIEW`. This will generate a separate
8716
8790
  # service account to access the BigQuery source table.
8717
8791
  # Corresponds to the JSON property `serviceAgentType`
@@ -9563,7 +9637,7 @@ module Google
9563
9637
  end
9564
9638
  end
9565
9639
 
9566
- # The request message for MatchService.FindNeighbors.
9640
+ # LINT.IfChange The request message for MatchService.FindNeighbors.
9567
9641
  class GoogleCloudAiplatformV1beta1FindNeighborsRequest
9568
9642
  include Google::Apis::Core::Hashable
9569
9643
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1beta1
18
18
  # Version of the google-apis-aiplatform_v1beta1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240219"
25
+ REVISION = "20240301"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class CloudAiNlLlmProtoServicePartDocumentMetadata
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class CloudAiNlLlmProtoServicePartFileData
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -202,6 +208,12 @@ module Google
202
208
  include Google::Apis::Core::JsonObjectSupport
203
209
  end
204
210
 
211
+ class CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
205
217
  class CloudAiNlLlmProtoServiceSafetyRating
206
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
219
 
@@ -5655,6 +5667,8 @@ module Google
5655
5667
  class CloudAiNlLlmProtoServicePart
5656
5668
  # @private
5657
5669
  class Representation < Google::Apis::Core::JsonRepresentation
5670
+ property :document_metadata, as: 'documentMetadata', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartDocumentMetadata, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartDocumentMetadata::Representation
5671
+
5658
5672
  property :file_data, as: 'fileData', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartFileData, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartFileData::Representation
5659
5673
 
5660
5674
  property :function_call, as: 'functionCall', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceFunctionCall, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceFunctionCall::Representation
@@ -5679,6 +5693,15 @@ module Google
5679
5693
  end
5680
5694
  end
5681
5695
 
5696
+ class CloudAiNlLlmProtoServicePartDocumentMetadata
5697
+ # @private
5698
+ class Representation < Google::Apis::Core::JsonRepresentation
5699
+ property :original_document_blob, as: 'originalDocumentBlob', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartBlob, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartBlob::Representation
5700
+
5701
+ property :page_number, as: 'pageNumber'
5702
+ end
5703
+ end
5704
+
5682
5705
  class CloudAiNlLlmProtoServicePartFileData
5683
5706
  # @private
5684
5707
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5728,11 +5751,23 @@ module Google
5728
5751
  class Representation < Google::Apis::Core::JsonRepresentation
5729
5752
  property :confidence, as: 'confidence'
5730
5753
  property :flagged, as: 'flagged'
5754
+ collection :influential_terms, as: 'influentialTerms', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm::Representation
5755
+
5731
5756
  property :rai_category, as: 'raiCategory'
5732
5757
  property :score, as: 'score'
5733
5758
  end
5734
5759
  end
5735
5760
 
5761
+ class CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm
5762
+ # @private
5763
+ class Representation < Google::Apis::Core::JsonRepresentation
5764
+ property :begin_offset, as: 'beginOffset'
5765
+ property :confidence, as: 'confidence'
5766
+ property :source, as: 'source'
5767
+ property :term, as: 'term'
5768
+ end
5769
+ end
5770
+
5736
5771
  class CloudAiNlLlmProtoServiceSafetyRating
5737
5772
  # @private
5738
5773
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3664,8 +3664,9 @@ module Google
3664
3664
  # Endpoint's resource name. * `display_name` supports = and, != * `labels`
3665
3665
  # supports general map functions that is: * `labels.key=value` - key:value
3666
3666
  # equality * `labels.key:* or labels:key - key existence * A key including a
3667
- # space must be quoted. `labels."a key"`. Some examples: * `endpoint=1` * `
3668
- # displayName="myDisplayName"` * `labels.myKey="myValue"`
3667
+ # space must be quoted. `labels."a key"`. * `base_model_name` only supports =
3668
+ # Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="
3669
+ # myValue"` * `baseModelName="text-bison"`
3669
3670
  # @param [Fixnum] page_size
3670
3671
  # Optional. The standard list page size.
3671
3672
  # @param [String] page_token
@@ -5927,6 +5928,51 @@ module Google
5927
5928
  execute_or_queue_command(command, &block)
5928
5929
  end
5929
5930
 
5931
+ # Gets the access control policy for a resource. Returns an empty policy if the
5932
+ # resource exists and does not have a policy set.
5933
+ # @param [String] resource
5934
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
5935
+ # names](https://cloud.google.com/apis/design/resource_names) for the
5936
+ # appropriate value for this field.
5937
+ # @param [Fixnum] options_requested_policy_version
5938
+ # Optional. The maximum policy version that will be used to format the policy.
5939
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
5940
+ # rejected. Requests for policies with any conditional role bindings must
5941
+ # specify version 3. Policies with no conditional role bindings may specify any
5942
+ # valid value or leave the field unset. The policy in the response might use the
5943
+ # policy version that you specified, or it might use a lower policy version. For
5944
+ # example, if you specify version 3, but the policy has no conditional role
5945
+ # bindings, the response uses version 1. To learn which resources support
5946
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
5947
+ # google.com/iam/help/conditions/resource-policies).
5948
+ # @param [String] fields
5949
+ # Selector specifying which fields to include in a partial response.
5950
+ # @param [String] quota_user
5951
+ # Available to use for quota purposes for server-side applications. Can be any
5952
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5953
+ # @param [Google::Apis::RequestOptions] options
5954
+ # Request-specific options
5955
+ #
5956
+ # @yield [result, err] Result & error if block supplied
5957
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
5958
+ # @yieldparam err [StandardError] error object if request failed
5959
+ #
5960
+ # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
5961
+ #
5962
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5963
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5964
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5965
+ def get_project_location_feature_online_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
5966
+ command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
5967
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
5968
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
5969
+ command.params['resource'] = resource unless resource.nil?
5970
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
5971
+ command.query['fields'] = fields unless fields.nil?
5972
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5973
+ execute_or_queue_command(command, &block)
5974
+ end
5975
+
5930
5976
  # Lists FeatureOnlineStores in a given project and location.
5931
5977
  # @param [String] parent
5932
5978
  # Required. The resource name of the Location to list FeatureOnlineStores.
@@ -6029,6 +6075,84 @@ module Google
6029
6075
  execute_or_queue_command(command, &block)
6030
6076
  end
6031
6077
 
6078
+ # Sets the access control policy on the specified resource. Replaces any
6079
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
6080
+ # PERMISSION_DENIED` errors.
6081
+ # @param [String] resource
6082
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
6083
+ # names](https://cloud.google.com/apis/design/resource_names) for the
6084
+ # appropriate value for this field.
6085
+ # @param [Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
6086
+ # @param [String] fields
6087
+ # Selector specifying which fields to include in a partial response.
6088
+ # @param [String] quota_user
6089
+ # Available to use for quota purposes for server-side applications. Can be any
6090
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6091
+ # @param [Google::Apis::RequestOptions] options
6092
+ # Request-specific options
6093
+ #
6094
+ # @yield [result, err] Result & error if block supplied
6095
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
6096
+ # @yieldparam err [StandardError] error object if request failed
6097
+ #
6098
+ # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
6099
+ #
6100
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6101
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6102
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6103
+ 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)
6104
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
6105
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
6106
+ command.request_object = google_iam_v1_set_iam_policy_request_object
6107
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
6108
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
6109
+ command.params['resource'] = resource unless resource.nil?
6110
+ command.query['fields'] = fields unless fields.nil?
6111
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6112
+ execute_or_queue_command(command, &block)
6113
+ end
6114
+
6115
+ # Returns permissions that a caller has on the specified resource. If the
6116
+ # resource does not exist, this will return an empty set of permissions, not a `
6117
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
6118
+ # permission-aware UIs and command-line tools, not for authorization checking.
6119
+ # This operation may "fail open" without warning.
6120
+ # @param [String] resource
6121
+ # REQUIRED: The resource for which the policy detail is being requested. See [
6122
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
6123
+ # appropriate value for this field.
6124
+ # @param [Array<String>, String] permissions
6125
+ # The set of permissions to check for the `resource`. Permissions with wildcards
6126
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
6127
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
6128
+ # @param [String] fields
6129
+ # Selector specifying which fields to include in a partial response.
6130
+ # @param [String] quota_user
6131
+ # Available to use for quota purposes for server-side applications. Can be any
6132
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6133
+ # @param [Google::Apis::RequestOptions] options
6134
+ # Request-specific options
6135
+ #
6136
+ # @yield [result, err] Result & error if block supplied
6137
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
6138
+ # @yieldparam err [StandardError] error object if request failed
6139
+ #
6140
+ # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse]
6141
+ #
6142
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6143
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6144
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6145
+ def test_project_location_feature_online_store_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
6146
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
6147
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
6148
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse
6149
+ command.params['resource'] = resource unless resource.nil?
6150
+ command.query['permissions'] = permissions unless permissions.nil?
6151
+ command.query['fields'] = fields unless fields.nil?
6152
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6153
+ execute_or_queue_command(command, &block)
6154
+ end
6155
+
6032
6156
  # Creates a new FeatureView in a given FeatureOnlineStore.
6033
6157
  # @param [String] parent
6034
6158
  # Required. The resource name of the FeatureOnlineStore to create FeatureViews.
@@ -6172,6 +6296,51 @@ module Google
6172
6296
  execute_or_queue_command(command, &block)
6173
6297
  end
6174
6298
 
6299
+ # Gets the access control policy for a resource. Returns an empty policy if the
6300
+ # resource exists and does not have a policy set.
6301
+ # @param [String] resource
6302
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
6303
+ # names](https://cloud.google.com/apis/design/resource_names) for the
6304
+ # appropriate value for this field.
6305
+ # @param [Fixnum] options_requested_policy_version
6306
+ # Optional. The maximum policy version that will be used to format the policy.
6307
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
6308
+ # rejected. Requests for policies with any conditional role bindings must
6309
+ # specify version 3. Policies with no conditional role bindings may specify any
6310
+ # valid value or leave the field unset. The policy in the response might use the
6311
+ # policy version that you specified, or it might use a lower policy version. For
6312
+ # example, if you specify version 3, but the policy has no conditional role
6313
+ # bindings, the response uses version 1. To learn which resources support
6314
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
6315
+ # google.com/iam/help/conditions/resource-policies).
6316
+ # @param [String] fields
6317
+ # Selector specifying which fields to include in a partial response.
6318
+ # @param [String] quota_user
6319
+ # Available to use for quota purposes for server-side applications. Can be any
6320
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6321
+ # @param [Google::Apis::RequestOptions] options
6322
+ # Request-specific options
6323
+ #
6324
+ # @yield [result, err] Result & error if block supplied
6325
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
6326
+ # @yieldparam err [StandardError] error object if request failed
6327
+ #
6328
+ # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
6329
+ #
6330
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6331
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6332
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6333
+ 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)
6334
+ command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
6335
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
6336
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
6337
+ command.params['resource'] = resource unless resource.nil?
6338
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
6339
+ command.query['fields'] = fields unless fields.nil?
6340
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6341
+ execute_or_queue_command(command, &block)
6342
+ end
6343
+
6175
6344
  # Lists FeatureViews in a given FeatureOnlineStore.
6176
6345
  # @param [String] parent
6177
6346
  # Required. The resource name of the FeatureOnlineStore to list FeatureViews.
@@ -6311,6 +6480,43 @@ module Google
6311
6480
  execute_or_queue_command(command, &block)
6312
6481
  end
6313
6482
 
6483
+ # Sets the access control policy on the specified resource. Replaces any
6484
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
6485
+ # PERMISSION_DENIED` errors.
6486
+ # @param [String] resource
6487
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
6488
+ # names](https://cloud.google.com/apis/design/resource_names) for the
6489
+ # appropriate value for this field.
6490
+ # @param [Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
6491
+ # @param [String] fields
6492
+ # Selector specifying which fields to include in a partial response.
6493
+ # @param [String] quota_user
6494
+ # Available to use for quota purposes for server-side applications. Can be any
6495
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6496
+ # @param [Google::Apis::RequestOptions] options
6497
+ # Request-specific options
6498
+ #
6499
+ # @yield [result, err] Result & error if block supplied
6500
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
6501
+ # @yieldparam err [StandardError] error object if request failed
6502
+ #
6503
+ # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
6504
+ #
6505
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6506
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6507
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6508
+ 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)
6509
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
6510
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
6511
+ command.request_object = google_iam_v1_set_iam_policy_request_object
6512
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
6513
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
6514
+ command.params['resource'] = resource unless resource.nil?
6515
+ command.query['fields'] = fields unless fields.nil?
6516
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6517
+ execute_or_queue_command(command, &block)
6518
+ end
6519
+
6314
6520
  # Triggers on-demand sync for the FeatureView.
6315
6521
  # @param [String] feature_view
6316
6522
  # Required. Format: `projects/`project`/locations/`location`/featureOnlineStores/
@@ -6345,6 +6551,47 @@ module Google
6345
6551
  execute_or_queue_command(command, &block)
6346
6552
  end
6347
6553
 
6554
+ # Returns permissions that a caller has on the specified resource. If the
6555
+ # resource does not exist, this will return an empty set of permissions, not a `
6556
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
6557
+ # permission-aware UIs and command-line tools, not for authorization checking.
6558
+ # This operation may "fail open" without warning.
6559
+ # @param [String] resource
6560
+ # REQUIRED: The resource for which the policy detail is being requested. See [
6561
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
6562
+ # appropriate value for this field.
6563
+ # @param [Array<String>, String] permissions
6564
+ # The set of permissions to check for the `resource`. Permissions with wildcards
6565
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
6566
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
6567
+ # @param [String] fields
6568
+ # Selector specifying which fields to include in a partial response.
6569
+ # @param [String] quota_user
6570
+ # Available to use for quota purposes for server-side applications. Can be any
6571
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6572
+ # @param [Google::Apis::RequestOptions] options
6573
+ # Request-specific options
6574
+ #
6575
+ # @yield [result, err] Result & error if block supplied
6576
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
6577
+ # @yieldparam err [StandardError] error object if request failed
6578
+ #
6579
+ # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse]
6580
+ #
6581
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6582
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6583
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6584
+ def test_project_location_feature_online_store_feature_view_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
6585
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
6586
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
6587
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse
6588
+ command.params['resource'] = resource unless resource.nil?
6589
+ command.query['permissions'] = permissions unless permissions.nil?
6590
+ command.query['fields'] = fields unless fields.nil?
6591
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6592
+ execute_or_queue_command(command, &block)
6593
+ end
6594
+
6348
6595
  # Gets details of a single FeatureViewSync.
6349
6596
  # @param [String] name
6350
6597
  # Required. The name of the FeatureViewSync resource. Format: `projects/`project`
@@ -13118,8 +13365,9 @@ module Google
13118
13365
  # `display_name` supports = and != * `labels` supports general map functions
13119
13366
  # that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:
13120
13367
  # key - key existence * A key including a space must be quoted. `labels."a key"`.
13121
- # Some examples: * `model=1234` * `displayName="myDisplayName"` * `labels.myKey=
13122
- # "myValue"`
13368
+ # * `base_model_name` only supports = Some examples: * `model=1234` * `
13369
+ # displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-
13370
+ # bison"`
13123
13371
  # @param [Fixnum] page_size
13124
13372
  # The standard list page size.
13125
13373
  # @param [String] page_token
@@ -16250,6 +16498,372 @@ module Google
16250
16498
  execute_or_queue_command(command, &block)
16251
16499
  end
16252
16500
 
16501
+ # Starts asynchronous cancellation on a long-running operation. The server makes
16502
+ # a best effort to cancel the operation, but success is not guaranteed. If the
16503
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
16504
+ # Clients can use Operations.GetOperation or other methods to check whether the
16505
+ # cancellation succeeded or whether the operation completed despite cancellation.
16506
+ # On successful cancellation, the operation is not deleted; instead, it becomes
16507
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
16508
+ # corresponding to `Code.CANCELLED`.
16509
+ # @param [String] name
16510
+ # The name of the operation resource to be cancelled.
16511
+ # @param [String] fields
16512
+ # Selector specifying which fields to include in a partial response.
16513
+ # @param [String] quota_user
16514
+ # Available to use for quota purposes for server-side applications. Can be any
16515
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16516
+ # @param [Google::Apis::RequestOptions] options
16517
+ # Request-specific options
16518
+ #
16519
+ # @yield [result, err] Result & error if block supplied
16520
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
16521
+ # @yieldparam err [StandardError] error object if request failed
16522
+ #
16523
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
16524
+ #
16525
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16526
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16527
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16528
+ def cancel_project_location_rag_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
16529
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
16530
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
16531
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
16532
+ command.params['name'] = name unless name.nil?
16533
+ command.query['fields'] = fields unless fields.nil?
16534
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16535
+ execute_or_queue_command(command, &block)
16536
+ end
16537
+
16538
+ # Deletes a long-running operation. This method indicates that the client is no
16539
+ # longer interested in the operation result. It does not cancel the operation.
16540
+ # If the server doesn't support this method, it returns `google.rpc.Code.
16541
+ # UNIMPLEMENTED`.
16542
+ # @param [String] name
16543
+ # The name of the operation resource to be deleted.
16544
+ # @param [String] fields
16545
+ # Selector specifying which fields to include in a partial response.
16546
+ # @param [String] quota_user
16547
+ # Available to use for quota purposes for server-side applications. Can be any
16548
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16549
+ # @param [Google::Apis::RequestOptions] options
16550
+ # Request-specific options
16551
+ #
16552
+ # @yield [result, err] Result & error if block supplied
16553
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
16554
+ # @yieldparam err [StandardError] error object if request failed
16555
+ #
16556
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
16557
+ #
16558
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16559
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16560
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16561
+ def delete_project_location_rag_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
16562
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
16563
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
16564
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
16565
+ command.params['name'] = name unless name.nil?
16566
+ command.query['fields'] = fields unless fields.nil?
16567
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16568
+ execute_or_queue_command(command, &block)
16569
+ end
16570
+
16571
+ # Gets the latest state of a long-running operation. Clients can use this method
16572
+ # to poll the operation result at intervals as recommended by the API service.
16573
+ # @param [String] name
16574
+ # The name of the operation resource.
16575
+ # @param [String] fields
16576
+ # Selector specifying which fields to include in a partial response.
16577
+ # @param [String] quota_user
16578
+ # Available to use for quota purposes for server-side applications. Can be any
16579
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16580
+ # @param [Google::Apis::RequestOptions] options
16581
+ # Request-specific options
16582
+ #
16583
+ # @yield [result, err] Result & error if block supplied
16584
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
16585
+ # @yieldparam err [StandardError] error object if request failed
16586
+ #
16587
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
16588
+ #
16589
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16590
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16591
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16592
+ def get_project_location_rag_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
16593
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
16594
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
16595
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
16596
+ command.params['name'] = name unless name.nil?
16597
+ command.query['fields'] = fields unless fields.nil?
16598
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16599
+ execute_or_queue_command(command, &block)
16600
+ end
16601
+
16602
+ # Lists operations that match the specified filter in the request. If the server
16603
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
16604
+ # @param [String] name
16605
+ # The name of the operation's parent resource.
16606
+ # @param [String] filter
16607
+ # The standard list filter.
16608
+ # @param [Fixnum] page_size
16609
+ # The standard list page size.
16610
+ # @param [String] page_token
16611
+ # The standard list page token.
16612
+ # @param [String] fields
16613
+ # Selector specifying which fields to include in a partial response.
16614
+ # @param [String] quota_user
16615
+ # Available to use for quota purposes for server-side applications. Can be any
16616
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16617
+ # @param [Google::Apis::RequestOptions] options
16618
+ # Request-specific options
16619
+ #
16620
+ # @yield [result, err] Result & error if block supplied
16621
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
16622
+ # @yieldparam err [StandardError] error object if request failed
16623
+ #
16624
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
16625
+ #
16626
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16627
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16628
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16629
+ def list_project_location_rag_corpora_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
16630
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
16631
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
16632
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
16633
+ command.params['name'] = name unless name.nil?
16634
+ command.query['filter'] = filter unless filter.nil?
16635
+ command.query['pageSize'] = page_size unless page_size.nil?
16636
+ command.query['pageToken'] = page_token unless page_token.nil?
16637
+ command.query['fields'] = fields unless fields.nil?
16638
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16639
+ execute_or_queue_command(command, &block)
16640
+ end
16641
+
16642
+ # Waits until the specified long-running operation is done or reaches at most a
16643
+ # specified timeout, returning the latest state. If the operation is already
16644
+ # done, the latest state is immediately returned. If the timeout specified is
16645
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
16646
+ # the server does not support this method, it returns `google.rpc.Code.
16647
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
16648
+ # the latest state before the specified timeout (including immediately), meaning
16649
+ # even an immediate response is no guarantee that the operation is done.
16650
+ # @param [String] name
16651
+ # The name of the operation resource to wait on.
16652
+ # @param [String] timeout
16653
+ # The maximum duration to wait before timing out. If left blank, the wait will
16654
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
16655
+ # context deadline is also specified, the shorter one will be used.
16656
+ # @param [String] fields
16657
+ # Selector specifying which fields to include in a partial response.
16658
+ # @param [String] quota_user
16659
+ # Available to use for quota purposes for server-side applications. Can be any
16660
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16661
+ # @param [Google::Apis::RequestOptions] options
16662
+ # Request-specific options
16663
+ #
16664
+ # @yield [result, err] Result & error if block supplied
16665
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
16666
+ # @yieldparam err [StandardError] error object if request failed
16667
+ #
16668
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
16669
+ #
16670
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16671
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16672
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16673
+ def wait_project_location_rag_corpora_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
16674
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
16675
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
16676
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
16677
+ command.params['name'] = name unless name.nil?
16678
+ command.query['timeout'] = timeout unless timeout.nil?
16679
+ command.query['fields'] = fields unless fields.nil?
16680
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16681
+ execute_or_queue_command(command, &block)
16682
+ end
16683
+
16684
+ # Starts asynchronous cancellation on a long-running operation. The server makes
16685
+ # a best effort to cancel the operation, but success is not guaranteed. If the
16686
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
16687
+ # Clients can use Operations.GetOperation or other methods to check whether the
16688
+ # cancellation succeeded or whether the operation completed despite cancellation.
16689
+ # On successful cancellation, the operation is not deleted; instead, it becomes
16690
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
16691
+ # corresponding to `Code.CANCELLED`.
16692
+ # @param [String] name
16693
+ # The name of the operation resource to be cancelled.
16694
+ # @param [String] fields
16695
+ # Selector specifying which fields to include in a partial response.
16696
+ # @param [String] quota_user
16697
+ # Available to use for quota purposes for server-side applications. Can be any
16698
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16699
+ # @param [Google::Apis::RequestOptions] options
16700
+ # Request-specific options
16701
+ #
16702
+ # @yield [result, err] Result & error if block supplied
16703
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
16704
+ # @yieldparam err [StandardError] error object if request failed
16705
+ #
16706
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
16707
+ #
16708
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16709
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16710
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16711
+ def cancel_project_location_rag_corpora_rag_file_operation(name, fields: nil, quota_user: nil, options: nil, &block)
16712
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
16713
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
16714
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
16715
+ command.params['name'] = name unless name.nil?
16716
+ command.query['fields'] = fields unless fields.nil?
16717
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16718
+ execute_or_queue_command(command, &block)
16719
+ end
16720
+
16721
+ # Deletes a long-running operation. This method indicates that the client is no
16722
+ # longer interested in the operation result. It does not cancel the operation.
16723
+ # If the server doesn't support this method, it returns `google.rpc.Code.
16724
+ # UNIMPLEMENTED`.
16725
+ # @param [String] name
16726
+ # The name of the operation resource to be deleted.
16727
+ # @param [String] fields
16728
+ # Selector specifying which fields to include in a partial response.
16729
+ # @param [String] quota_user
16730
+ # Available to use for quota purposes for server-side applications. Can be any
16731
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16732
+ # @param [Google::Apis::RequestOptions] options
16733
+ # Request-specific options
16734
+ #
16735
+ # @yield [result, err] Result & error if block supplied
16736
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
16737
+ # @yieldparam err [StandardError] error object if request failed
16738
+ #
16739
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
16740
+ #
16741
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16742
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16743
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16744
+ def delete_project_location_rag_corpora_rag_file_operation(name, fields: nil, quota_user: nil, options: nil, &block)
16745
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
16746
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
16747
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
16748
+ command.params['name'] = name unless name.nil?
16749
+ command.query['fields'] = fields unless fields.nil?
16750
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16751
+ execute_or_queue_command(command, &block)
16752
+ end
16753
+
16754
+ # Gets the latest state of a long-running operation. Clients can use this method
16755
+ # to poll the operation result at intervals as recommended by the API service.
16756
+ # @param [String] name
16757
+ # The name of the operation resource.
16758
+ # @param [String] fields
16759
+ # Selector specifying which fields to include in a partial response.
16760
+ # @param [String] quota_user
16761
+ # Available to use for quota purposes for server-side applications. Can be any
16762
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16763
+ # @param [Google::Apis::RequestOptions] options
16764
+ # Request-specific options
16765
+ #
16766
+ # @yield [result, err] Result & error if block supplied
16767
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
16768
+ # @yieldparam err [StandardError] error object if request failed
16769
+ #
16770
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
16771
+ #
16772
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16773
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16774
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16775
+ def get_project_location_rag_corpora_rag_file_operation(name, fields: nil, quota_user: nil, options: nil, &block)
16776
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
16777
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
16778
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
16779
+ command.params['name'] = name unless name.nil?
16780
+ command.query['fields'] = fields unless fields.nil?
16781
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16782
+ execute_or_queue_command(command, &block)
16783
+ end
16784
+
16785
+ # Lists operations that match the specified filter in the request. If the server
16786
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
16787
+ # @param [String] name
16788
+ # The name of the operation's parent resource.
16789
+ # @param [String] filter
16790
+ # The standard list filter.
16791
+ # @param [Fixnum] page_size
16792
+ # The standard list page size.
16793
+ # @param [String] page_token
16794
+ # The standard list page token.
16795
+ # @param [String] fields
16796
+ # Selector specifying which fields to include in a partial response.
16797
+ # @param [String] quota_user
16798
+ # Available to use for quota purposes for server-side applications. Can be any
16799
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16800
+ # @param [Google::Apis::RequestOptions] options
16801
+ # Request-specific options
16802
+ #
16803
+ # @yield [result, err] Result & error if block supplied
16804
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
16805
+ # @yieldparam err [StandardError] error object if request failed
16806
+ #
16807
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
16808
+ #
16809
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16810
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16811
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16812
+ def list_project_location_rag_corpora_rag_file_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
16813
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
16814
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
16815
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
16816
+ command.params['name'] = name unless name.nil?
16817
+ command.query['filter'] = filter unless filter.nil?
16818
+ command.query['pageSize'] = page_size unless page_size.nil?
16819
+ command.query['pageToken'] = page_token unless page_token.nil?
16820
+ command.query['fields'] = fields unless fields.nil?
16821
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16822
+ execute_or_queue_command(command, &block)
16823
+ end
16824
+
16825
+ # Waits until the specified long-running operation is done or reaches at most a
16826
+ # specified timeout, returning the latest state. If the operation is already
16827
+ # done, the latest state is immediately returned. If the timeout specified is
16828
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
16829
+ # the server does not support this method, it returns `google.rpc.Code.
16830
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
16831
+ # the latest state before the specified timeout (including immediately), meaning
16832
+ # even an immediate response is no guarantee that the operation is done.
16833
+ # @param [String] name
16834
+ # The name of the operation resource to wait on.
16835
+ # @param [String] timeout
16836
+ # The maximum duration to wait before timing out. If left blank, the wait will
16837
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
16838
+ # context deadline is also specified, the shorter one will be used.
16839
+ # @param [String] fields
16840
+ # Selector specifying which fields to include in a partial response.
16841
+ # @param [String] quota_user
16842
+ # Available to use for quota purposes for server-side applications. Can be any
16843
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16844
+ # @param [Google::Apis::RequestOptions] options
16845
+ # Request-specific options
16846
+ #
16847
+ # @yield [result, err] Result & error if block supplied
16848
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
16849
+ # @yieldparam err [StandardError] error object if request failed
16850
+ #
16851
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
16852
+ #
16853
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16854
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16855
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16856
+ def wait_project_location_rag_corpora_rag_file_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
16857
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
16858
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
16859
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
16860
+ command.params['name'] = name unless name.nil?
16861
+ command.query['timeout'] = timeout unless timeout.nil?
16862
+ command.query['fields'] = fields unless fields.nil?
16863
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16864
+ execute_or_queue_command(command, &block)
16865
+ end
16866
+
16253
16867
  # Starts asynchronous cancellation on a long-running operation. The server makes
16254
16868
  # a best effort to cancel the operation, but success is not guaranteed. If the
16255
16869
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.21.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-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-17 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []