google-apis-beyondcorp_v1alpha 0.44.0 → 0.46.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: 80b097dec7df8cc59a2e3da5ad1fa681514373c12fd1fbd82192774600335833
4
- data.tar.gz: 6f560da722eedc1eea9d9c850c4b2fd2eed86e5883b21947a34823b4a4545670
3
+ metadata.gz: c7eff188e111864baca6fa2ea629b9d4717b2ab3fb1469c56e3d0a5c7fc2a969
4
+ data.tar.gz: ba4830e645e159071cffcc377814f66869580e1ffd36590f01f38c19c81d937e
5
5
  SHA512:
6
- metadata.gz: e93588253c6da3e08947d46e282a731e8bc5305d79e6d527370981a6a33a736c540c9de2da111d711763dae33d0d20c1ee883369147573a53918e87a8385c574
7
- data.tar.gz: a71559980819982ad244938d7b2aacdc9aa0f96eb171d0e7014d2d349779d23ea3ff5b9d3bc8ebc6cf65b40aacaed3c802f945dbab0361368d05e09bed2e2cfb
6
+ metadata.gz: a7b5b023584578abb94ee7add3177e197b2e499a1422e5bb2e491132efc49a982f5ea1d056a17d4d2d75604124a058c757931b594d0152940d71027de20e19e4
7
+ data.tar.gz: ae2c102d20996906a02999414b9c1a040a6c0b7c9d6381710145ef00cf107b6483453a76fddc68656975aef86d49a10c05ea594b27436155c0034269ff1b6092
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.46.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250319
6
+
7
+ ### v0.45.0 (2025-03-16)
8
+
9
+ * Regenerated from discovery document revision 20250305
10
+
3
11
  ### v0.44.0 (2025-03-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20250219
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BeyondcorpV1alpha
18
18
  # Version of the google-apis-beyondcorp_v1alpha gem
19
- GEM_VERSION = "0.44.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250219"
25
+ REVISION = "20250319"
26
26
  end
27
27
  end
28
28
  end
@@ -54,53 +54,6 @@ module Google
54
54
  @batch_path = 'batch'
55
55
  end
56
56
 
57
- # Creates a new BeyondCorp Enterprise partnerTenant in a given organization and
58
- # can only be called by onboarded BeyondCorp Enterprise partner.
59
- # @param [String] parent
60
- # Required. The resource name of the parent organization using the form: `
61
- # organizations/`organization_id`/locations/global`
62
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant] google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
63
- # @param [String] request_id
64
- # Optional. An optional request ID to identify requests. Specify a unique
65
- # request ID so that if you must retry your request, the server will know to
66
- # ignore the request if it has already been completed. The server will guarantee
67
- # that for at least 60 minutes since the first request. For example, consider a
68
- # situation where you make an initial request and the request times out. If you
69
- # make the request again with the same request ID, the server can check if
70
- # original operation with the same request ID was received, and if so, will
71
- # ignore the second request. This prevents clients from accidentally creating
72
- # duplicate commitments. The request ID must be a valid UUID with the exception
73
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
74
- # @param [String] fields
75
- # Selector specifying which fields to include in a partial response.
76
- # @param [String] quota_user
77
- # Available to use for quota purposes for server-side applications. Can be any
78
- # arbitrary string assigned to a user, but should not exceed 40 characters.
79
- # @param [Google::Apis::RequestOptions] options
80
- # Request-specific options
81
- #
82
- # @yield [result, err] Result & error if block supplied
83
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
84
- # @yieldparam err [StandardError] error object if request failed
85
- #
86
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
87
- #
88
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
89
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
90
- # @raise [Google::Apis::AuthorizationError] Authorization is required
91
- def create_organization_location_global_partner_tenant(parent, google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
92
- command = make_simple_command(:post, 'v1alpha/{+parent}/partnerTenants', options)
93
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant::Representation
94
- command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
95
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
96
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
97
- command.params['parent'] = parent unless parent.nil?
98
- command.query['requestId'] = request_id unless request_id.nil?
99
- command.query['fields'] = fields unless fields.nil?
100
- command.query['quotaUser'] = quota_user unless quota_user.nil?
101
- execute_or_queue_command(command, &block)
102
- end
103
-
104
57
  # Deletes a single PartnerTenant.
105
58
  # @param [String] name
106
59
  # Required. Name of the resource.
@@ -175,51 +128,6 @@ module Google
175
128
  execute_or_queue_command(command, &block)
176
129
  end
177
130
 
178
- # Gets the access control policy for a resource. Returns an empty policy if the
179
- # resource exists and does not have a policy set.
180
- # @param [String] resource
181
- # REQUIRED: The resource for which the policy is being requested. See [Resource
182
- # names](https://cloud.google.com/apis/design/resource_names) for the
183
- # appropriate value for this field.
184
- # @param [Fixnum] options_requested_policy_version
185
- # Optional. The maximum policy version that will be used to format the policy.
186
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
187
- # rejected. Requests for policies with any conditional role bindings must
188
- # specify version 3. Policies with no conditional role bindings may specify any
189
- # valid value or leave the field unset. The policy in the response might use the
190
- # policy version that you specified, or it might use a lower policy version. For
191
- # example, if you specify version 3, but the policy has no conditional role
192
- # bindings, the response uses version 1. To learn which resources support
193
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
194
- # google.com/iam/help/conditions/resource-policies).
195
- # @param [String] fields
196
- # Selector specifying which fields to include in a partial response.
197
- # @param [String] quota_user
198
- # Available to use for quota purposes for server-side applications. Can be any
199
- # arbitrary string assigned to a user, but should not exceed 40 characters.
200
- # @param [Google::Apis::RequestOptions] options
201
- # Request-specific options
202
- #
203
- # @yield [result, err] Result & error if block supplied
204
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
205
- # @yieldparam err [StandardError] error object if request failed
206
- #
207
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
208
- #
209
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
210
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
211
- # @raise [Google::Apis::AuthorizationError] Authorization is required
212
- def get_organization_location_global_partner_tenant_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
213
- command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
214
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
215
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
216
- command.params['resource'] = resource unless resource.nil?
217
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
218
- command.query['fields'] = fields unless fields.nil?
219
- command.query['quotaUser'] = quota_user unless quota_user.nil?
220
- execute_or_queue_command(command, &block)
221
- end
222
-
223
131
  # Lists PartnerTenants in a given organization.
224
132
  # @param [String] parent
225
133
  # Required. The parent organization to which the PartnerTenants belong. Format: `
@@ -276,97 +184,6 @@ module Google
276
184
  execute_or_queue_command(command, &block)
277
185
  end
278
186
 
279
- # Updates a single PartnerTenant.
280
- # @param [String] name
281
- # Output only. Unique resource name of the PartnerTenant. The name is ignored
282
- # when creating PartnerTenant.
283
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant] google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
284
- # @param [String] request_id
285
- # Optional. An optional request ID to identify requests. Specify a unique
286
- # request ID so that if you must retry your request, the server will know to
287
- # ignore the request if it has already been completed. The server will guarantee
288
- # that for at least 60 minutes since the first request. For example, consider a
289
- # situation where you make an initial request and the request times out. If you
290
- # make the request again with the same request ID, the server can check if
291
- # original operation with the same request ID was received, and if so, will
292
- # ignore the second request. This prevents clients from accidentally creating
293
- # duplicate commitments. The request ID must be a valid UUID with the exception
294
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
295
- # @param [String] update_mask
296
- # Required. Field mask is used to specify the fields to be overwritten in the
297
- # PartnerTenant resource by the update. The fields specified in the update_mask
298
- # are relative to the resource, not the full request. A field will be
299
- # overwritten if it is in the mask. If the user does not provide a mask then all
300
- # fields will be overwritten. Mutable fields: display_name, partner_metadata,
301
- # group_information.
302
- # @param [String] fields
303
- # Selector specifying which fields to include in a partial response.
304
- # @param [String] quota_user
305
- # Available to use for quota purposes for server-side applications. Can be any
306
- # arbitrary string assigned to a user, but should not exceed 40 characters.
307
- # @param [Google::Apis::RequestOptions] options
308
- # Request-specific options
309
- #
310
- # @yield [result, err] Result & error if block supplied
311
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
312
- # @yieldparam err [StandardError] error object if request failed
313
- #
314
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
315
- #
316
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
317
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
318
- # @raise [Google::Apis::AuthorizationError] Authorization is required
319
- def patch_organization_location_global_partner_tenant(name, google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
320
- command = make_simple_command(:patch, 'v1alpha/{+name}', options)
321
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant::Representation
322
- command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
323
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
324
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
325
- command.params['name'] = name unless name.nil?
326
- command.query['requestId'] = request_id unless request_id.nil?
327
- command.query['updateMask'] = update_mask unless update_mask.nil?
328
- command.query['fields'] = fields unless fields.nil?
329
- command.query['quotaUser'] = quota_user unless quota_user.nil?
330
- execute_or_queue_command(command, &block)
331
- end
332
-
333
- # Sets the access control policy on the specified resource. Replaces any
334
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
335
- # PERMISSION_DENIED` errors.
336
- # @param [String] resource
337
- # REQUIRED: The resource for which the policy is being specified. See [Resource
338
- # names](https://cloud.google.com/apis/design/resource_names) for the
339
- # appropriate value for this field.
340
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
341
- # @param [String] fields
342
- # Selector specifying which fields to include in a partial response.
343
- # @param [String] quota_user
344
- # Available to use for quota purposes for server-side applications. Can be any
345
- # arbitrary string assigned to a user, but should not exceed 40 characters.
346
- # @param [Google::Apis::RequestOptions] options
347
- # Request-specific options
348
- #
349
- # @yield [result, err] Result & error if block supplied
350
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
351
- # @yieldparam err [StandardError] error object if request failed
352
- #
353
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
354
- #
355
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
356
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
357
- # @raise [Google::Apis::AuthorizationError] Authorization is required
358
- def set_organization_location_global_partner_tenant_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
359
- command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
360
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
361
- command.request_object = google_iam_v1_set_iam_policy_request_object
362
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
363
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
364
- command.params['resource'] = resource unless resource.nil?
365
- command.query['fields'] = fields unless fields.nil?
366
- command.query['quotaUser'] = quota_user unless quota_user.nil?
367
- execute_or_queue_command(command, &block)
368
- end
369
-
370
187
  # Returns permissions that a caller has on the specified resource. If the
371
188
  # resource does not exist, this will return an empty set of permissions, not a `
372
189
  # NOT_FOUND` error. Note: This operation is designed to be used for building
@@ -406,53 +223,6 @@ module Google
406
223
  execute_or_queue_command(command, &block)
407
224
  end
408
225
 
409
- # Creates a new BrowserDlpRule in a given organization and PartnerTenant.
410
- # @param [String] parent
411
- # Required. The resource name of the BrowserDlpRule parent using the form: `
412
- # organizations/`organization_id`/locations/global/partnerTenants/`
413
- # partner_tenant_id``
414
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule] google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object
415
- # @param [String] request_id
416
- # Optional. An optional request ID to identify requests. Specify a unique
417
- # request ID so that if you must retry your request, the server will know to
418
- # ignore the request if it has already been completed. The server will guarantee
419
- # that for at least 60 minutes since the first request. For example, consider a
420
- # situation where you make an initial request and the request times out. If you
421
- # make the request again with the same request ID, the server can check if
422
- # original operation with the same request ID was received, and if so, will
423
- # ignore the second request. This prevents clients from accidentally creating
424
- # duplicate commitments. The request ID must be a valid UUID with the exception
425
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
426
- # @param [String] fields
427
- # Selector specifying which fields to include in a partial response.
428
- # @param [String] quota_user
429
- # Available to use for quota purposes for server-side applications. Can be any
430
- # arbitrary string assigned to a user, but should not exceed 40 characters.
431
- # @param [Google::Apis::RequestOptions] options
432
- # Request-specific options
433
- #
434
- # @yield [result, err] Result & error if block supplied
435
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
436
- # @yieldparam err [StandardError] error object if request failed
437
- #
438
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
439
- #
440
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
441
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
442
- # @raise [Google::Apis::AuthorizationError] Authorization is required
443
- def create_organization_location_global_partner_tenant_browser_dlp_rule(parent, google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
444
- command = make_simple_command(:post, 'v1alpha/{+parent}/browserDlpRules', options)
445
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule::Representation
446
- command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object
447
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
448
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
449
- command.params['parent'] = parent unless parent.nil?
450
- command.query['requestId'] = request_id unless request_id.nil?
451
- command.query['fields'] = fields unless fields.nil?
452
- command.query['quotaUser'] = quota_user unless quota_user.nil?
453
- execute_or_queue_command(command, &block)
454
- end
455
-
456
226
  # Deletes an existing BrowserDlpRule.
457
227
  # @param [String] name
458
228
  # Required. The resource name of the BrowserDlpRule using the form: `
@@ -529,51 +299,6 @@ module Google
529
299
  execute_or_queue_command(command, &block)
530
300
  end
531
301
 
532
- # Gets the access control policy for a resource. Returns an empty policy if the
533
- # resource exists and does not have a policy set.
534
- # @param [String] resource
535
- # REQUIRED: The resource for which the policy is being requested. See [Resource
536
- # names](https://cloud.google.com/apis/design/resource_names) for the
537
- # appropriate value for this field.
538
- # @param [Fixnum] options_requested_policy_version
539
- # Optional. The maximum policy version that will be used to format the policy.
540
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
541
- # rejected. Requests for policies with any conditional role bindings must
542
- # specify version 3. Policies with no conditional role bindings may specify any
543
- # valid value or leave the field unset. The policy in the response might use the
544
- # policy version that you specified, or it might use a lower policy version. For
545
- # example, if you specify version 3, but the policy has no conditional role
546
- # bindings, the response uses version 1. To learn which resources support
547
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
548
- # google.com/iam/help/conditions/resource-policies).
549
- # @param [String] fields
550
- # Selector specifying which fields to include in a partial response.
551
- # @param [String] quota_user
552
- # Available to use for quota purposes for server-side applications. Can be any
553
- # arbitrary string assigned to a user, but should not exceed 40 characters.
554
- # @param [Google::Apis::RequestOptions] options
555
- # Request-specific options
556
- #
557
- # @yield [result, err] Result & error if block supplied
558
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
559
- # @yieldparam err [StandardError] error object if request failed
560
- #
561
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
562
- #
563
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
564
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
565
- # @raise [Google::Apis::AuthorizationError] Authorization is required
566
- 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)
567
- command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
568
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
569
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
570
- command.params['resource'] = resource unless resource.nil?
571
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
572
- command.query['fields'] = fields unless fields.nil?
573
- command.query['quotaUser'] = quota_user unless quota_user.nil?
574
- execute_or_queue_command(command, &block)
575
- end
576
-
577
302
  # Lists BrowserDlpRules for PartnerTenant in a given organization.
578
303
  # @param [String] parent
579
304
  # Required. The parent partnerTenant to which the BrowserDlpRules belong. Format:
@@ -655,43 +380,6 @@ module Google
655
380
  execute_or_queue_command(command, &block)
656
381
  end
657
382
 
658
- # Sets the access control policy on the specified resource. Replaces any
659
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
660
- # PERMISSION_DENIED` errors.
661
- # @param [String] resource
662
- # REQUIRED: The resource for which the policy is being specified. See [Resource
663
- # names](https://cloud.google.com/apis/design/resource_names) for the
664
- # appropriate value for this field.
665
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
666
- # @param [String] fields
667
- # Selector specifying which fields to include in a partial response.
668
- # @param [String] quota_user
669
- # Available to use for quota purposes for server-side applications. Can be any
670
- # arbitrary string assigned to a user, but should not exceed 40 characters.
671
- # @param [Google::Apis::RequestOptions] options
672
- # Request-specific options
673
- #
674
- # @yield [result, err] Result & error if block supplied
675
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
676
- # @yieldparam err [StandardError] error object if request failed
677
- #
678
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
679
- #
680
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
681
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
682
- # @raise [Google::Apis::AuthorizationError] Authorization is required
683
- 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)
684
- command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
685
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
686
- command.request_object = google_iam_v1_set_iam_policy_request_object
687
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
688
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
689
- command.params['resource'] = resource unless resource.nil?
690
- command.query['fields'] = fields unless fields.nil?
691
- command.query['quotaUser'] = quota_user unless quota_user.nil?
692
- execute_or_queue_command(command, &block)
693
- end
694
-
695
383
  # Returns permissions that a caller has on the specified resource. If the
696
384
  # resource does not exist, this will return an empty set of permissions, not a `
697
385
  # NOT_FOUND` error. Note: This operation is designed to be used for building
@@ -854,51 +542,6 @@ module Google
854
542
  execute_or_queue_command(command, &block)
855
543
  end
856
544
 
857
- # Gets the access control policy for a resource. Returns an empty policy if the
858
- # resource exists and does not have a policy set.
859
- # @param [String] resource
860
- # REQUIRED: The resource for which the policy is being requested. See [Resource
861
- # names](https://cloud.google.com/apis/design/resource_names) for the
862
- # appropriate value for this field.
863
- # @param [Fixnum] options_requested_policy_version
864
- # Optional. The maximum policy version that will be used to format the policy.
865
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
866
- # rejected. Requests for policies with any conditional role bindings must
867
- # specify version 3. Policies with no conditional role bindings may specify any
868
- # valid value or leave the field unset. The policy in the response might use the
869
- # policy version that you specified, or it might use a lower policy version. For
870
- # example, if you specify version 3, but the policy has no conditional role
871
- # bindings, the response uses version 1. To learn which resources support
872
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
873
- # google.com/iam/help/conditions/resource-policies).
874
- # @param [String] fields
875
- # Selector specifying which fields to include in a partial response.
876
- # @param [String] quota_user
877
- # Available to use for quota purposes for server-side applications. Can be any
878
- # arbitrary string assigned to a user, but should not exceed 40 characters.
879
- # @param [Google::Apis::RequestOptions] options
880
- # Request-specific options
881
- #
882
- # @yield [result, err] Result & error if block supplied
883
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
884
- # @yieldparam err [StandardError] error object if request failed
885
- #
886
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
887
- #
888
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
889
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
890
- # @raise [Google::Apis::AuthorizationError] Authorization is required
891
- def get_organization_location_global_partner_tenant_proxy_config_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
892
- command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
893
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
894
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
895
- command.params['resource'] = resource unless resource.nil?
896
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
897
- command.query['fields'] = fields unless fields.nil?
898
- command.query['quotaUser'] = quota_user unless quota_user.nil?
899
- execute_or_queue_command(command, &block)
900
- end
901
-
902
545
  # Lists ProxyConfigs for PartnerTenant in a given organization.
903
546
  # @param [String] parent
904
547
  # Required. The parent organization to which the ProxyConfigs belong. Format: `
@@ -1006,43 +649,6 @@ module Google
1006
649
  execute_or_queue_command(command, &block)
1007
650
  end
1008
651
 
1009
- # Sets the access control policy on the specified resource. Replaces any
1010
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1011
- # PERMISSION_DENIED` errors.
1012
- # @param [String] resource
1013
- # REQUIRED: The resource for which the policy is being specified. See [Resource
1014
- # names](https://cloud.google.com/apis/design/resource_names) for the
1015
- # appropriate value for this field.
1016
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
1017
- # @param [String] fields
1018
- # Selector specifying which fields to include in a partial response.
1019
- # @param [String] quota_user
1020
- # Available to use for quota purposes for server-side applications. Can be any
1021
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1022
- # @param [Google::Apis::RequestOptions] options
1023
- # Request-specific options
1024
- #
1025
- # @yield [result, err] Result & error if block supplied
1026
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
1027
- # @yieldparam err [StandardError] error object if request failed
1028
- #
1029
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
1030
- #
1031
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1032
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1033
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1034
- def set_organization_location_global_partner_tenant_proxy_config_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1035
- command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
1036
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
1037
- command.request_object = google_iam_v1_set_iam_policy_request_object
1038
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
1039
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
1040
- command.params['resource'] = resource unless resource.nil?
1041
- command.query['fields'] = fields unless fields.nil?
1042
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1043
- execute_or_queue_command(command, &block)
1044
- end
1045
-
1046
652
  # Returns permissions that a caller has on the specified resource. If the
1047
653
  # resource does not exist, this will return an empty set of permissions, not a `
1048
654
  # NOT_FOUND` error. Note: This operation is designed to be used for building
@@ -3327,43 +2933,6 @@ module Google
3327
2933
  execute_or_queue_command(command, &block)
3328
2934
  end
3329
2935
 
3330
- # Sets the access control policy on the specified resource. Replaces any
3331
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
3332
- # PERMISSION_DENIED` errors.
3333
- # @param [String] resource
3334
- # REQUIRED: The resource for which the policy is being specified. See [Resource
3335
- # names](https://cloud.google.com/apis/design/resource_names) for the
3336
- # appropriate value for this field.
3337
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
3338
- # @param [String] fields
3339
- # Selector specifying which fields to include in a partial response.
3340
- # @param [String] quota_user
3341
- # Available to use for quota purposes for server-side applications. Can be any
3342
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3343
- # @param [Google::Apis::RequestOptions] options
3344
- # Request-specific options
3345
- #
3346
- # @yield [result, err] Result & error if block supplied
3347
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
3348
- # @yieldparam err [StandardError] error object if request failed
3349
- #
3350
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
3351
- #
3352
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3353
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3354
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3355
- def set_project_location_client_gateway_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3356
- command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
3357
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
3358
- command.request_object = google_iam_v1_set_iam_policy_request_object
3359
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
3360
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
3361
- command.params['resource'] = resource unless resource.nil?
3362
- command.query['fields'] = fields unless fields.nil?
3363
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3364
- execute_or_queue_command(command, &block)
3365
- end
3366
-
3367
2936
  # Returns permissions that a caller has on the specified resource. If the
3368
2937
  # resource does not exist, this will return an empty set of permissions, not a `
3369
2938
  # NOT_FOUND` error. Note: This operation is designed to be used for building
@@ -3774,45 +3343,6 @@ module Google
3774
3343
  execute_or_queue_command(command, &block)
3775
3344
  end
3776
3345
 
3777
- # Returns permissions that a caller has on the specified resource. If the
3778
- # resource does not exist, this will return an empty set of permissions, not a `
3779
- # NOT_FOUND` error. Note: This operation is designed to be used for building
3780
- # permission-aware UIs and command-line tools, not for authorization checking.
3781
- # This operation may "fail open" without warning.
3782
- # @param [String] resource
3783
- # REQUIRED: The resource for which the policy detail is being requested. See [
3784
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
3785
- # appropriate value for this field.
3786
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
3787
- # @param [String] fields
3788
- # Selector specifying which fields to include in a partial response.
3789
- # @param [String] quota_user
3790
- # Available to use for quota purposes for server-side applications. Can be any
3791
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3792
- # @param [Google::Apis::RequestOptions] options
3793
- # Request-specific options
3794
- #
3795
- # @yield [result, err] Result & error if block supplied
3796
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
3797
- # @yieldparam err [StandardError] error object if request failed
3798
- #
3799
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
3800
- #
3801
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3802
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3803
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3804
- def test_project_location_connection_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3805
- command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
3806
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
3807
- command.request_object = google_iam_v1_test_iam_permissions_request_object
3808
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
3809
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
3810
- command.params['resource'] = resource unless resource.nil?
3811
- command.query['fields'] = fields unless fields.nil?
3812
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3813
- execute_or_queue_command(command, &block)
3814
- end
3815
-
3816
3346
  # Creates a new Connector in a given project and location.
3817
3347
  # @param [String] parent
3818
3348
  # Required. The resource project name of the connector location using the form: `
@@ -4198,45 +3728,6 @@ module Google
4198
3728
  execute_or_queue_command(command, &block)
4199
3729
  end
4200
3730
 
4201
- # Returns permissions that a caller has on the specified resource. If the
4202
- # resource does not exist, this will return an empty set of permissions, not a `
4203
- # NOT_FOUND` error. Note: This operation is designed to be used for building
4204
- # permission-aware UIs and command-line tools, not for authorization checking.
4205
- # This operation may "fail open" without warning.
4206
- # @param [String] resource
4207
- # REQUIRED: The resource for which the policy detail is being requested. See [
4208
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
4209
- # appropriate value for this field.
4210
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
4211
- # @param [String] fields
4212
- # Selector specifying which fields to include in a partial response.
4213
- # @param [String] quota_user
4214
- # Available to use for quota purposes for server-side applications. Can be any
4215
- # arbitrary string assigned to a user, but should not exceed 40 characters.
4216
- # @param [Google::Apis::RequestOptions] options
4217
- # Request-specific options
4218
- #
4219
- # @yield [result, err] Result & error if block supplied
4220
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
4221
- # @yieldparam err [StandardError] error object if request failed
4222
- #
4223
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
4224
- #
4225
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4226
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4227
- # @raise [Google::Apis::AuthorizationError] Authorization is required
4228
- def test_project_location_connector_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4229
- command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
4230
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
4231
- command.request_object = google_iam_v1_test_iam_permissions_request_object
4232
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
4233
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
4234
- command.params['resource'] = resource unless resource.nil?
4235
- command.query['fields'] = fields unless fields.nil?
4236
- command.query['quotaUser'] = quota_user unless quota_user.nil?
4237
- execute_or_queue_command(command, &block)
4238
- end
4239
-
4240
3731
  # Creates a new Application in a given project and location.
4241
3732
  # @param [String] parent
4242
3733
  # Required. The resource name of the parent SecurityGateway using the form: `
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-beyondcorp_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-30 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.44.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.46.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: