google-apis-aiplatform_v1beta1 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b2f365e160029ab7c05daa259406a5837a0c7e7de42e679e90646ce4890f02b
4
- data.tar.gz: c4c9ed26bff636e26410b59f114ae22372403d8a1e66ca751300adf4128a8dea
3
+ metadata.gz: ffc032e9e7c3c8e5ad67ae743c342af79605eb80b8963463a6a3d7b76ab86bcc
4
+ data.tar.gz: '040994cbe9652883cf8b3857b88b8a392c44e9aca032187a12a5dd676984f6cd'
5
5
  SHA512:
6
- metadata.gz: e6a80a43204a700ccdbaaacb62be5e820a43257b06d5e39b142be673c7ec99455b6d9909b5fd19fefa83c28e8663ed5e4eb3c06c7394520831194da4cc5efa2d
7
- data.tar.gz: 24cae7d88e0721d9da6481dab4437cc994204982628ad5f1c01a74f17aa0853c0a666d4ac8fd095fb74d286354a29e79aee88c30972f0b00665770ef1c85e315
6
+ metadata.gz: 47515ffa26860f7732ff8f20f1e1e2a226e9a955af04d13a6d776ddf557b7467b12fe10ae12619e40cb60dda3f5c61b2555b862e07a0e9e795fe6436ec687a75
7
+ data.tar.gz: 9c02ce1a2627de27a7ef7e79396d0311bc49929e007e89ac2a201b8069bd0109f77c1d0f484505a56be67d353d456e090ae19de87dcf1d965df838b79cfa87d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.20.0 (2024-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20240229
@@ -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
@@ -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.20.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 = "20240229"
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
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.20.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-03-10 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.20.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: []