google-apis-beyondcorp_v1 0.19.0 → 0.20.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: 877f3136594685d0db85ef9ddb81744a1299473f478e67b6805a6e472b997332
4
- data.tar.gz: 72556589042d8d1fc08cfb268d27f843f757db5263c64e9ea3f2457599aa0355
3
+ metadata.gz: 81bffc493c4c4a37e6c5e2b0734a4662bcd5877fe0e54587c8a9fd2f24bf4928
4
+ data.tar.gz: 2170e4233e072300889e98642f204fdf6635410a9e3ac35ee902c428a729142f
5
5
  SHA512:
6
- metadata.gz: 1f0576717f611852e033f36874d51cac67dae5b97ddfba1c7a35e3c2f9dc6ed0d272c2d0dc275211f4111be0b221e9f1c278edc6e3601def9afbad900aba4d06
7
- data.tar.gz: caa0c1508955b07573941d5f86b30d4275d9482f0605a9e7c2547abc688831d1b2dcb2a4f1c7cd250963ae8404b16d690a040c9bfcd82b48e66430ca83244cc9
6
+ metadata.gz: 3a83eb04ddd4587349e238161cf1cdcc4bcc3b23520ea2cd04f9da8fd59bd6dfe2bbc4193803433b2d37df173442c4912ba563a5ad2a4233c64869c3fe51a7bc
7
+ data.tar.gz: 8f1bf6efb11944961fb05df78597240a6e0d9074d6fa227cd92437017b8d8542526eb5167913c0906e178355f7e0d87baebf92bb90b5bdd451008bb3b68f4b48
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-beyondcorp_v1
2
2
 
3
+ ### v0.20.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230911
6
+
3
7
  ### v0.19.0 (2023-09-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20230823
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BeyondcorpV1
18
18
  # Version of the google-apis-beyondcorp_v1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230823"
25
+ REVISION = "20230911"
26
26
  end
27
27
  end
28
28
  end
@@ -173,6 +173,127 @@ module Google
173
173
  execute_or_queue_command(command, &block)
174
174
  end
175
175
 
176
+ # Gets the access control policy for a resource. Returns an empty policy if the
177
+ # resource exists and does not have a policy set.
178
+ # @param [String] resource
179
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
180
+ # names](https://cloud.google.com/apis/design/resource_names) for the
181
+ # appropriate value for this field.
182
+ # @param [Fixnum] options_requested_policy_version
183
+ # Optional. The maximum policy version that will be used to format the policy.
184
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
185
+ # rejected. Requests for policies with any conditional role bindings must
186
+ # specify version 3. Policies with no conditional role bindings may specify any
187
+ # valid value or leave the field unset. The policy in the response might use the
188
+ # policy version that you specified, or it might use a lower policy version. For
189
+ # example, if you specify version 3, but the policy has no conditional role
190
+ # bindings, the response uses version 1. To learn which resources support
191
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
192
+ # google.com/iam/help/conditions/resource-policies).
193
+ # @param [String] fields
194
+ # Selector specifying which fields to include in a partial response.
195
+ # @param [String] quota_user
196
+ # Available to use for quota purposes for server-side applications. Can be any
197
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
198
+ # @param [Google::Apis::RequestOptions] options
199
+ # Request-specific options
200
+ #
201
+ # @yield [result, err] Result & error if block supplied
202
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
203
+ # @yieldparam err [StandardError] error object if request failed
204
+ #
205
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
206
+ #
207
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
208
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
209
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
210
+ def get_organization_location_global_partner_tenant_browser_dlp_rule_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
211
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
212
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
213
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
214
+ command.params['resource'] = resource unless resource.nil?
215
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
216
+ command.query['fields'] = fields unless fields.nil?
217
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
218
+ execute_or_queue_command(command, &block)
219
+ end
220
+
221
+ # Sets the access control policy on the specified resource. Replaces any
222
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
223
+ # PERMISSION_DENIED` errors.
224
+ # @param [String] resource
225
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
226
+ # names](https://cloud.google.com/apis/design/resource_names) for the
227
+ # appropriate value for this field.
228
+ # @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
229
+ # @param [String] fields
230
+ # Selector specifying which fields to include in a partial response.
231
+ # @param [String] quota_user
232
+ # Available to use for quota purposes for server-side applications. Can be any
233
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
234
+ # @param [Google::Apis::RequestOptions] options
235
+ # Request-specific options
236
+ #
237
+ # @yield [result, err] Result & error if block supplied
238
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
239
+ # @yieldparam err [StandardError] error object if request failed
240
+ #
241
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
242
+ #
243
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
244
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
245
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
246
+ def set_organization_location_global_partner_tenant_browser_dlp_rule_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
247
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
248
+ command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
249
+ command.request_object = google_iam_v1_set_iam_policy_request_object
250
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
251
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
252
+ command.params['resource'] = resource unless resource.nil?
253
+ command.query['fields'] = fields unless fields.nil?
254
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
255
+ execute_or_queue_command(command, &block)
256
+ end
257
+
258
+ # Returns permissions that a caller has on the specified resource. If the
259
+ # resource does not exist, this will return an empty set of permissions, not a `
260
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
261
+ # permission-aware UIs and command-line tools, not for authorization checking.
262
+ # This operation may "fail open" without warning.
263
+ # @param [String] resource
264
+ # REQUIRED: The resource for which the policy detail is being requested. See [
265
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
266
+ # appropriate value for this field.
267
+ # @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
268
+ # @param [String] fields
269
+ # Selector specifying which fields to include in a partial response.
270
+ # @param [String] quota_user
271
+ # Available to use for quota purposes for server-side applications. Can be any
272
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
273
+ # @param [Google::Apis::RequestOptions] options
274
+ # Request-specific options
275
+ #
276
+ # @yield [result, err] Result & error if block supplied
277
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
278
+ # @yieldparam err [StandardError] error object if request failed
279
+ #
280
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
281
+ #
282
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
283
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
284
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
285
+ def test_organization_location_global_partner_tenant_browser_dlp_rule_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
286
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
287
+ command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
288
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
289
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
290
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
291
+ command.params['resource'] = resource unless resource.nil?
292
+ command.query['fields'] = fields unless fields.nil?
293
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
294
+ execute_or_queue_command(command, &block)
295
+ end
296
+
176
297
  # Gets the access control policy for a resource. Returns an empty policy if the
177
298
  # resource exists and does not have a policy set.
178
299
  # @param [String] resource
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-beyondcorp_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.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: 2023-09-10 00:00:00.000000000 Z
11
+ date: 2023-09-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-beyondcorp_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1
63
63
  post_install_message:
64
64
  rdoc_options: []