google-apis-metastore_v1beta 0.26.0 → 0.29.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: ea65e85e998f83cdb5aff20c30a07c88aef695a243618138d6e4f47b29098340
4
- data.tar.gz: 5fcc4e03268c6602ff3d1e1e0ade58b914ffd0893779ff9ee94fdeb2ba9ec0f4
3
+ metadata.gz: eef9eff2d919cf1dd9cebd8b3760cee0e0e31f257896f1158c1686dbf572d514
4
+ data.tar.gz: d6c1d46faf811047740e7fe970d9b00310b1887ea0bb16d44f1b0f815f6c925c
5
5
  SHA512:
6
- metadata.gz: 0eda4005d39893499f32c3eca34a6d25a5f4b4535d7f2bd4dbf5e3c1b19b9127e767636ecb0e3ef3ec93101e0fcf9c80a1972231dcfb60cf8dd73f262cf67381
7
- data.tar.gz: ef439ea50e98eede1709a4f1e8282e42748f558a5aa4bdc09fefcd36e3761fc5dedda94d71bdb9e1d631fa7e5e009f9685798c905ee34f93278d64da1028b42b
6
+ metadata.gz: 3bf4afb2e66f705616ba4d518afb2ba3a35c0098c481478908aa88a0347a7c3088034483dbd2b50336a7e79ef24983024cc3eb16cd11bd8e62dc32c2ede61418
7
+ data.tar.gz: f6480d3103882409b74ec771687220e690104a02d856c318d9425d785ff466f7da147f2f67b1a2fa003139187e64be7999a016c22090541002ab4ee3a517f0d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.29.0 (2022-06-02)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.28.0 (2022-05-25)
8
+
9
+ * Regenerated from discovery document revision 20220512
10
+
11
+ ### v0.27.0 (2022-05-03)
12
+
13
+ * Regenerated from discovery document revision 20220426
14
+
3
15
  ### v0.26.0 (2022-04-16)
4
16
 
5
17
  * Regenerated from discovery document revision 20220407
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1beta
18
18
  # Version of the google-apis-metastore_v1beta gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220407"
25
+ REVISION = "20220512"
26
26
  end
27
27
  end
28
28
  end
@@ -123,6 +123,127 @@ module Google
123
123
  execute_or_queue_command(command, &block)
124
124
  end
125
125
 
126
+ # Gets the access control policy for a resource. Returns an empty policy if the
127
+ # resource exists and does not have a policy set.
128
+ # @param [String] resource
129
+ # REQUIRED: The resource for which the policy is being requested. See Resource
130
+ # names (https://cloud.google.com/apis/design/resource_names) for the
131
+ # appropriate value for this field.
132
+ # @param [Fixnum] options_requested_policy_version
133
+ # Optional. The maximum policy version that will be used to format the policy.
134
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
135
+ # rejected.Requests for policies with any conditional role bindings must specify
136
+ # version 3. Policies with no conditional role bindings may specify any valid
137
+ # value or leave the field unset.The policy in the response might use the policy
138
+ # version that you specified, or it might use a lower policy version. For
139
+ # example, if you specify version 3, but the policy has no conditional role
140
+ # bindings, the response uses version 1.To learn which resources support
141
+ # conditions in their IAM policies, see the IAM documentation (https://cloud.
142
+ # google.com/iam/help/conditions/resource-policies).
143
+ # @param [String] fields
144
+ # Selector specifying which fields to include in a partial response.
145
+ # @param [String] quota_user
146
+ # Available to use for quota purposes for server-side applications. Can be any
147
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
148
+ # @param [Google::Apis::RequestOptions] options
149
+ # Request-specific options
150
+ #
151
+ # @yield [result, err] Result & error if block supplied
152
+ # @yieldparam result [Google::Apis::MetastoreV1beta::Policy] parsed result object
153
+ # @yieldparam err [StandardError] error object if request failed
154
+ #
155
+ # @return [Google::Apis::MetastoreV1beta::Policy]
156
+ #
157
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
158
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
159
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
160
+ def get_project_location_federation_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
161
+ command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
162
+ command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation
163
+ command.response_class = Google::Apis::MetastoreV1beta::Policy
164
+ command.params['resource'] = resource unless resource.nil?
165
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
166
+ command.query['fields'] = fields unless fields.nil?
167
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
168
+ execute_or_queue_command(command, &block)
169
+ end
170
+
171
+ # Sets the access control policy on the specified resource. Replaces any
172
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
173
+ # errors.
174
+ # @param [String] resource
175
+ # REQUIRED: The resource for which the policy is being specified. See Resource
176
+ # names (https://cloud.google.com/apis/design/resource_names) for the
177
+ # appropriate value for this field.
178
+ # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
179
+ # @param [String] fields
180
+ # Selector specifying which fields to include in a partial response.
181
+ # @param [String] quota_user
182
+ # Available to use for quota purposes for server-side applications. Can be any
183
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
184
+ # @param [Google::Apis::RequestOptions] options
185
+ # Request-specific options
186
+ #
187
+ # @yield [result, err] Result & error if block supplied
188
+ # @yieldparam result [Google::Apis::MetastoreV1beta::Policy] parsed result object
189
+ # @yieldparam err [StandardError] error object if request failed
190
+ #
191
+ # @return [Google::Apis::MetastoreV1beta::Policy]
192
+ #
193
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
194
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
195
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
196
+ def set_federation_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
197
+ command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
198
+ command.request_representation = Google::Apis::MetastoreV1beta::SetIamPolicyRequest::Representation
199
+ command.request_object = set_iam_policy_request_object
200
+ command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation
201
+ command.response_class = Google::Apis::MetastoreV1beta::Policy
202
+ command.params['resource'] = resource unless resource.nil?
203
+ command.query['fields'] = fields unless fields.nil?
204
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
205
+ execute_or_queue_command(command, &block)
206
+ end
207
+
208
+ # Returns permissions that a caller has on the specified resource. If the
209
+ # resource does not exist, this will return an empty set of permissions, not a
210
+ # NOT_FOUND error.Note: This operation is designed to be used for building
211
+ # permission-aware UIs and command-line tools, not for authorization checking.
212
+ # This operation may "fail open" without warning.
213
+ # @param [String] resource
214
+ # REQUIRED: The resource for which the policy detail is being requested. See
215
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
216
+ # appropriate value for this field.
217
+ # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
218
+ # @param [String] fields
219
+ # Selector specifying which fields to include in a partial response.
220
+ # @param [String] quota_user
221
+ # Available to use for quota purposes for server-side applications. Can be any
222
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
223
+ # @param [Google::Apis::RequestOptions] options
224
+ # Request-specific options
225
+ #
226
+ # @yield [result, err] Result & error if block supplied
227
+ # @yieldparam result [Google::Apis::MetastoreV1beta::TestIamPermissionsResponse] parsed result object
228
+ # @yieldparam err [StandardError] error object if request failed
229
+ #
230
+ # @return [Google::Apis::MetastoreV1beta::TestIamPermissionsResponse]
231
+ #
232
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
233
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
234
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
235
+ def test_federation_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
236
+ command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', options)
237
+ command.request_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsRequest::Representation
238
+ command.request_object = test_iam_permissions_request_object
239
+ command.response_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse::Representation
240
+ command.response_class = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
241
+ command.params['resource'] = resource unless resource.nil?
242
+ command.query['fields'] = fields unless fields.nil?
243
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
244
+ execute_or_queue_command(command, &block)
245
+ end
246
+
126
247
  # Deletes a long-running operation. This method indicates that the client is no
127
248
  # longer interested in the operation result. It does not cancel the operation.
128
249
  # If the server doesn't support this method, it returns google.rpc.Code.
@@ -396,8 +517,9 @@ module Google
396
517
  # Gets the access control policy for a resource. Returns an empty policy if the
397
518
  # resource exists and does not have a policy set.
398
519
  # @param [String] resource
399
- # REQUIRED: The resource for which the policy is being requested. See the
400
- # operation documentation for the appropriate value for this field.
520
+ # REQUIRED: The resource for which the policy is being requested. See Resource
521
+ # names (https://cloud.google.com/apis/design/resource_names) for the
522
+ # appropriate value for this field.
401
523
  # @param [Fixnum] options_requested_policy_version
402
524
  # Optional. The maximum policy version that will be used to format the policy.
403
525
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -614,8 +736,9 @@ module Google
614
736
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
615
737
  # errors.
616
738
  # @param [String] resource
617
- # REQUIRED: The resource for which the policy is being specified. See the
618
- # operation documentation for the appropriate value for this field.
739
+ # REQUIRED: The resource for which the policy is being specified. See Resource
740
+ # names (https://cloud.google.com/apis/design/resource_names) for the
741
+ # appropriate value for this field.
619
742
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
620
743
  # @param [String] fields
621
744
  # Selector specifying which fields to include in a partial response.
@@ -652,8 +775,9 @@ module Google
652
775
  # permission-aware UIs and command-line tools, not for authorization checking.
653
776
  # This operation may "fail open" without warning.
654
777
  # @param [String] resource
655
- # REQUIRED: The resource for which the policy detail is being requested. See the
656
- # operation documentation for the appropriate value for this field.
778
+ # REQUIRED: The resource for which the policy detail is being requested. See
779
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
780
+ # appropriate value for this field.
657
781
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
658
782
  # @param [String] fields
659
783
  # Selector specifying which fields to include in a partial response.
@@ -812,8 +936,9 @@ module Google
812
936
  # Gets the access control policy for a resource. Returns an empty policy if the
813
937
  # resource exists and does not have a policy set.
814
938
  # @param [String] resource
815
- # REQUIRED: The resource for which the policy is being requested. See the
816
- # operation documentation for the appropriate value for this field.
939
+ # REQUIRED: The resource for which the policy is being requested. See Resource
940
+ # names (https://cloud.google.com/apis/design/resource_names) for the
941
+ # appropriate value for this field.
817
942
  # @param [Fixnum] options_requested_policy_version
818
943
  # Optional. The maximum policy version that will be used to format the policy.
819
944
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -908,8 +1033,9 @@ module Google
908
1033
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
909
1034
  # errors.
910
1035
  # @param [String] resource
911
- # REQUIRED: The resource for which the policy is being specified. See the
912
- # operation documentation for the appropriate value for this field.
1036
+ # REQUIRED: The resource for which the policy is being specified. See Resource
1037
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1038
+ # appropriate value for this field.
913
1039
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
914
1040
  # @param [String] fields
915
1041
  # Selector specifying which fields to include in a partial response.
@@ -946,8 +1072,9 @@ module Google
946
1072
  # permission-aware UIs and command-line tools, not for authorization checking.
947
1073
  # This operation may "fail open" without warning.
948
1074
  # @param [String] resource
949
- # REQUIRED: The resource for which the policy detail is being requested. See the
950
- # operation documentation for the appropriate value for this field.
1075
+ # REQUIRED: The resource for which the policy detail is being requested. See
1076
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
1077
+ # appropriate value for this field.
951
1078
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
952
1079
  # @param [String] fields
953
1080
  # Selector specifying which fields to include in a partial response.
@@ -981,8 +1108,9 @@ module Google
981
1108
  # Gets the access control policy for a resource. Returns an empty policy if the
982
1109
  # resource exists and does not have a policy set.
983
1110
  # @param [String] resource
984
- # REQUIRED: The resource for which the policy is being requested. See the
985
- # operation documentation for the appropriate value for this field.
1111
+ # REQUIRED: The resource for which the policy is being requested. See Resource
1112
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1113
+ # appropriate value for this field.
986
1114
  # @param [Fixnum] options_requested_policy_version
987
1115
  # Optional. The maximum policy version that will be used to format the policy.
988
1116
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -1026,8 +1154,9 @@ module Google
1026
1154
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
1027
1155
  # errors.
1028
1156
  # @param [String] resource
1029
- # REQUIRED: The resource for which the policy is being specified. See the
1030
- # operation documentation for the appropriate value for this field.
1157
+ # REQUIRED: The resource for which the policy is being specified. See Resource
1158
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1159
+ # appropriate value for this field.
1031
1160
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
1032
1161
  # @param [String] fields
1033
1162
  # Selector specifying which fields to include in a partial response.
@@ -1064,8 +1193,9 @@ module Google
1064
1193
  # permission-aware UIs and command-line tools, not for authorization checking.
1065
1194
  # This operation may "fail open" without warning.
1066
1195
  # @param [String] resource
1067
- # REQUIRED: The resource for which the policy detail is being requested. See the
1068
- # operation documentation for the appropriate value for this field.
1196
+ # REQUIRED: The resource for which the policy detail is being requested. See
1197
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
1198
+ # appropriate value for this field.
1069
1199
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
1070
1200
  # @param [String] fields
1071
1201
  # Selector specifying which fields to include in a partial response.
@@ -1099,8 +1229,9 @@ module Google
1099
1229
  # Gets the access control policy for a resource. Returns an empty policy if the
1100
1230
  # resource exists and does not have a policy set.
1101
1231
  # @param [String] resource
1102
- # REQUIRED: The resource for which the policy is being requested. See the
1103
- # operation documentation for the appropriate value for this field.
1232
+ # REQUIRED: The resource for which the policy is being requested. See Resource
1233
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1234
+ # appropriate value for this field.
1104
1235
  # @param [Fixnum] options_requested_policy_version
1105
1236
  # Optional. The maximum policy version that will be used to format the policy.
1106
1237
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -1144,8 +1275,9 @@ module Google
1144
1275
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
1145
1276
  # errors.
1146
1277
  # @param [String] resource
1147
- # REQUIRED: The resource for which the policy is being specified. See the
1148
- # operation documentation for the appropriate value for this field.
1278
+ # REQUIRED: The resource for which the policy is being specified. See Resource
1279
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1280
+ # appropriate value for this field.
1149
1281
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
1150
1282
  # @param [String] fields
1151
1283
  # Selector specifying which fields to include in a partial response.
@@ -1182,8 +1314,9 @@ module Google
1182
1314
  # permission-aware UIs and command-line tools, not for authorization checking.
1183
1315
  # This operation may "fail open" without warning.
1184
1316
  # @param [String] resource
1185
- # REQUIRED: The resource for which the policy detail is being requested. See the
1186
- # operation documentation for the appropriate value for this field.
1317
+ # REQUIRED: The resource for which the policy detail is being requested. See
1318
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
1319
+ # appropriate value for this field.
1187
1320
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
1188
1321
  # @param [String] fields
1189
1322
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.29.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: 2022-04-18 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-metastore_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dataproc Metastore API V1beta