google-apis-beyondcorp_v1 0.33.0 → 0.35.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: 7c5fba87fb5383b9c696a3fbffbb93cc93652b03644aa9923d31ae8ad4193bfa
4
- data.tar.gz: a5d21263fe83e5f28c64b79c34b10f33a404de6f4d12d6054a9905d8d6e05258
3
+ metadata.gz: a65ff5efd120d64b6304d8e8a2f86b6b42146518efd82b767b1ed1e9b5e62363
4
+ data.tar.gz: c35e6c850337c4a00d6360d0c1736bf5d36ab8154bec485fd11150fbcddbb095
5
5
  SHA512:
6
- metadata.gz: dd79f5a468fa98d072ebe52e93d8dd05deda802ed39553e170a9f9228da5b541ee98a0902367d988d13fbd44564e6f5583cde2980c5bf7c3562262d47df1ee60
7
- data.tar.gz: 8aadbb99f3bb2c2df027801296413feaef4d5d8100b7a3603548a486f1d7418b57c00bae3bf215b0563116a64a1065baa4fe3ba268dc185765fcb238ade40e82
6
+ metadata.gz: 869fd102802c7e065ea3a95bd820ce0191ecb15712d76e9cfb2456aea579c192a9ae6f79df30980ac4f5fdf80ecd9ba479f4762f935997eef4cadedc5f38420e
7
+ data.tar.gz: 021a39b59520478db8ce8a56f45594bf92e7bfa4756a991d1f150f4a25367a416bdec06465699b82ce7baabc21812925f127ee4af9744a3f2dc7e5dfa03cb331
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-beyondcorp_v1
2
2
 
3
+ ### v0.35.0 (2025-04-20)
4
+
5
+ * Regenerated from discovery document revision 20250409
6
+
7
+ ### v0.34.0 (2025-03-16)
8
+
9
+ * Regenerated from discovery document revision 20250305
10
+
3
11
  ### v0.33.0 (2025-02-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20250219
@@ -2686,26 +2686,6 @@ module Google
2686
2686
  end
2687
2687
  end
2688
2688
 
2689
- # Response message for calling ShouldThrottle
2690
- class ShouldThrottleResponse
2691
- include Google::Apis::Core::Hashable
2692
-
2693
- # Whether the port should be throttled
2694
- # Corresponds to the JSON property `shouldThrottle`
2695
- # @return [Boolean]
2696
- attr_accessor :should_throttle
2697
- alias_method :should_throttle?, :should_throttle
2698
-
2699
- def initialize(**args)
2700
- update!(**args)
2701
- end
2702
-
2703
- # Update properties of this object
2704
- def update!(**args)
2705
- @should_throttle = args[:should_throttle] if args.key?(:should_throttle)
2706
- end
2707
- end
2708
-
2709
2689
  # TunnelerError is an error proto for errors returned by the connection manager.
2710
2690
  class Tunnelv1ProtoTunnelerError
2711
2691
  include Google::Apis::Core::Hashable
@@ -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.33.0"
19
+ GEM_VERSION = "0.35.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 = "20250409"
26
26
  end
27
27
  end
28
28
  end
@@ -406,12 +406,6 @@ module Google
406
406
  include Google::Apis::Core::JsonObjectSupport
407
407
  end
408
408
 
409
- class ShouldThrottleResponse
410
- class Representation < Google::Apis::Core::JsonRepresentation; end
411
-
412
- include Google::Apis::Core::JsonObjectSupport
413
- end
414
-
415
409
  class Tunnelv1ProtoTunnelerError
416
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
411
 
@@ -1083,13 +1077,6 @@ module Google
1083
1077
  end
1084
1078
  end
1085
1079
 
1086
- class ShouldThrottleResponse
1087
- # @private
1088
- class Representation < Google::Apis::Core::JsonRepresentation
1089
- property :should_throttle, as: 'shouldThrottle'
1090
- end
1091
- end
1092
-
1093
1080
  class Tunnelv1ProtoTunnelerError
1094
1081
  # @private
1095
1082
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -54,88 +54,6 @@ module Google
54
54
  @batch_path = 'batch'
55
55
  end
56
56
 
57
- # Gets the access control policy for a resource. Returns an empty policy if the
58
- # resource exists and does not have a policy set.
59
- # @param [String] resource
60
- # REQUIRED: The resource for which the policy is being requested. See [Resource
61
- # names](https://cloud.google.com/apis/design/resource_names) for the
62
- # appropriate value for this field.
63
- # @param [Fixnum] options_requested_policy_version
64
- # Optional. The maximum policy version that will be used to format the policy.
65
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
66
- # rejected. Requests for policies with any conditional role bindings must
67
- # specify version 3. Policies with no conditional role bindings may specify any
68
- # valid value or leave the field unset. The policy in the response might use the
69
- # policy version that you specified, or it might use a lower policy version. For
70
- # example, if you specify version 3, but the policy has no conditional role
71
- # bindings, the response uses version 1. To learn which resources support
72
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
73
- # google.com/iam/help/conditions/resource-policies).
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::BeyondcorpV1::GoogleIamV1Policy] parsed result object
84
- # @yieldparam err [StandardError] error object if request failed
85
- #
86
- # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
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 get_organization_location_global_partner_tenant_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
92
- command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
93
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
94
- command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
95
- command.params['resource'] = resource unless resource.nil?
96
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
97
- command.query['fields'] = fields unless fields.nil?
98
- command.query['quotaUser'] = quota_user unless quota_user.nil?
99
- execute_or_queue_command(command, &block)
100
- end
101
-
102
- # Sets the access control policy on the specified resource. Replaces any
103
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
104
- # PERMISSION_DENIED` errors.
105
- # @param [String] resource
106
- # REQUIRED: The resource for which the policy is being specified. See [Resource
107
- # names](https://cloud.google.com/apis/design/resource_names) for the
108
- # appropriate value for this field.
109
- # @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
110
- # @param [String] fields
111
- # Selector specifying which fields to include in a partial response.
112
- # @param [String] quota_user
113
- # Available to use for quota purposes for server-side applications. Can be any
114
- # arbitrary string assigned to a user, but should not exceed 40 characters.
115
- # @param [Google::Apis::RequestOptions] options
116
- # Request-specific options
117
- #
118
- # @yield [result, err] Result & error if block supplied
119
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
120
- # @yieldparam err [StandardError] error object if request failed
121
- #
122
- # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
123
- #
124
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
125
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
126
- # @raise [Google::Apis::AuthorizationError] Authorization is required
127
- 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)
128
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
129
- command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
130
- command.request_object = google_iam_v1_set_iam_policy_request_object
131
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
132
- command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
133
- command.params['resource'] = resource unless resource.nil?
134
- command.query['fields'] = fields unless fields.nil?
135
- command.query['quotaUser'] = quota_user unless quota_user.nil?
136
- execute_or_queue_command(command, &block)
137
- end
138
-
139
57
  # Returns permissions that a caller has on the specified resource. If the
140
58
  # resource does not exist, this will return an empty set of permissions, not a `
141
59
  # NOT_FOUND` error. Note: This operation is designed to be used for building
@@ -175,88 +93,6 @@ module Google
175
93
  execute_or_queue_command(command, &block)
176
94
  end
177
95
 
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::BeyondcorpV1::GoogleIamV1Policy] parsed result object
205
- # @yieldparam err [StandardError] error object if request failed
206
- #
207
- # @return [Google::Apis::BeyondcorpV1::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_browser_dlp_rule_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
213
- command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
214
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
215
- command.response_class = Google::Apis::BeyondcorpV1::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
- # Sets the access control policy on the specified resource. Replaces any
224
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
225
- # PERMISSION_DENIED` errors.
226
- # @param [String] resource
227
- # REQUIRED: The resource for which the policy is being specified. See [Resource
228
- # names](https://cloud.google.com/apis/design/resource_names) for the
229
- # appropriate value for this field.
230
- # @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
231
- # @param [String] fields
232
- # Selector specifying which fields to include in a partial response.
233
- # @param [String] quota_user
234
- # Available to use for quota purposes for server-side applications. Can be any
235
- # arbitrary string assigned to a user, but should not exceed 40 characters.
236
- # @param [Google::Apis::RequestOptions] options
237
- # Request-specific options
238
- #
239
- # @yield [result, err] Result & error if block supplied
240
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
241
- # @yieldparam err [StandardError] error object if request failed
242
- #
243
- # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
244
- #
245
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
246
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
247
- # @raise [Google::Apis::AuthorizationError] Authorization is required
248
- 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)
249
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
250
- command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
251
- command.request_object = google_iam_v1_set_iam_policy_request_object
252
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
253
- command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
254
- command.params['resource'] = resource unless resource.nil?
255
- command.query['fields'] = fields unless fields.nil?
256
- command.query['quotaUser'] = quota_user unless quota_user.nil?
257
- execute_or_queue_command(command, &block)
258
- end
259
-
260
96
  # Returns permissions that a caller has on the specified resource. If the
261
97
  # resource does not exist, this will return an empty set of permissions, not a `
262
98
  # NOT_FOUND` error. Note: This operation is designed to be used for building
@@ -296,88 +132,6 @@ module Google
296
132
  execute_or_queue_command(command, &block)
297
133
  end
298
134
 
299
- # Gets the access control policy for a resource. Returns an empty policy if the
300
- # resource exists and does not have a policy set.
301
- # @param [String] resource
302
- # REQUIRED: The resource for which the policy is being requested. See [Resource
303
- # names](https://cloud.google.com/apis/design/resource_names) for the
304
- # appropriate value for this field.
305
- # @param [Fixnum] options_requested_policy_version
306
- # Optional. The maximum policy version that will be used to format the policy.
307
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
308
- # rejected. Requests for policies with any conditional role bindings must
309
- # specify version 3. Policies with no conditional role bindings may specify any
310
- # valid value or leave the field unset. The policy in the response might use the
311
- # policy version that you specified, or it might use a lower policy version. For
312
- # example, if you specify version 3, but the policy has no conditional role
313
- # bindings, the response uses version 1. To learn which resources support
314
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
315
- # google.com/iam/help/conditions/resource-policies).
316
- # @param [String] fields
317
- # Selector specifying which fields to include in a partial response.
318
- # @param [String] quota_user
319
- # Available to use for quota purposes for server-side applications. Can be any
320
- # arbitrary string assigned to a user, but should not exceed 40 characters.
321
- # @param [Google::Apis::RequestOptions] options
322
- # Request-specific options
323
- #
324
- # @yield [result, err] Result & error if block supplied
325
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
326
- # @yieldparam err [StandardError] error object if request failed
327
- #
328
- # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
329
- #
330
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
331
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
332
- # @raise [Google::Apis::AuthorizationError] Authorization is required
333
- 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)
334
- command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
335
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
336
- command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
337
- command.params['resource'] = resource unless resource.nil?
338
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
339
- command.query['fields'] = fields unless fields.nil?
340
- command.query['quotaUser'] = quota_user unless quota_user.nil?
341
- execute_or_queue_command(command, &block)
342
- end
343
-
344
- # Sets the access control policy on the specified resource. Replaces any
345
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
346
- # PERMISSION_DENIED` errors.
347
- # @param [String] resource
348
- # REQUIRED: The resource for which the policy is being specified. See [Resource
349
- # names](https://cloud.google.com/apis/design/resource_names) for the
350
- # appropriate value for this field.
351
- # @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
352
- # @param [String] fields
353
- # Selector specifying which fields to include in a partial response.
354
- # @param [String] quota_user
355
- # Available to use for quota purposes for server-side applications. Can be any
356
- # arbitrary string assigned to a user, but should not exceed 40 characters.
357
- # @param [Google::Apis::RequestOptions] options
358
- # Request-specific options
359
- #
360
- # @yield [result, err] Result & error if block supplied
361
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
362
- # @yieldparam err [StandardError] error object if request failed
363
- #
364
- # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
365
- #
366
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
367
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
368
- # @raise [Google::Apis::AuthorizationError] Authorization is required
369
- 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)
370
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
371
- command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
372
- command.request_object = google_iam_v1_set_iam_policy_request_object
373
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
374
- command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
375
- command.params['resource'] = resource unless resource.nil?
376
- command.query['fields'] = fields unless fields.nil?
377
- command.query['quotaUser'] = quota_user unless quota_user.nil?
378
- execute_or_queue_command(command, &block)
379
- end
380
-
381
135
  # Returns permissions that a caller has on the specified resource. If the
382
136
  # resource does not exist, this will return an empty set of permissions, not a `
383
137
  # NOT_FOUND` error. Note: This operation is designed to be used for building
@@ -594,6 +348,9 @@ module Google
594
348
  # Lists information about the supported locations for this service.
595
349
  # @param [String] name
596
350
  # The resource that owns the locations collection, if applicable.
351
+ # @param [Array<String>, String] extra_location_types
352
+ # Optional. A list of extra location types that should be used as conditions for
353
+ # controlling the visibility of the locations.
597
354
  # @param [String] filter
598
355
  # A filter to narrow down results to a preferred subset. The filtering language
599
356
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -621,11 +378,12 @@ module Google
621
378
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
622
379
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
623
380
  # @raise [Google::Apis::AuthorizationError] Authorization is required
624
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
381
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
625
382
  command = make_simple_command(:get, 'v1/{+name}/locations', options)
626
383
  command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudLocationListLocationsResponse::Representation
627
384
  command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudLocationListLocationsResponse
628
385
  command.params['name'] = name unless name.nil?
386
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
629
387
  command.query['filter'] = filter unless filter.nil?
630
388
  command.query['pageSize'] = page_size unless page_size.nil?
631
389
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -1732,43 +1490,6 @@ module Google
1732
1490
  execute_or_queue_command(command, &block)
1733
1491
  end
1734
1492
 
1735
- # Calls the Bouncer method ShouldThrottle to check if a request should be
1736
- # throttled.
1737
- # @param [String] name
1738
- # Required. Name of the resource
1739
- # @param [Fixnum] port
1740
- # Optional. The port that is being throttled
1741
- # @param [Fixnum] requested_amount
1742
- # Optional. The current throughput through the port (mbps)
1743
- # @param [String] fields
1744
- # Selector specifying which fields to include in a partial response.
1745
- # @param [String] quota_user
1746
- # Available to use for quota purposes for server-side applications. Can be any
1747
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1748
- # @param [Google::Apis::RequestOptions] options
1749
- # Request-specific options
1750
- #
1751
- # @yield [result, err] Result & error if block supplied
1752
- # @yieldparam result [Google::Apis::BeyondcorpV1::ShouldThrottleResponse] parsed result object
1753
- # @yieldparam err [StandardError] error object if request failed
1754
- #
1755
- # @return [Google::Apis::BeyondcorpV1::ShouldThrottleResponse]
1756
- #
1757
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1758
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1759
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1760
- def should_project_location_app_gateway_throttle(name, port: nil, requested_amount: nil, fields: nil, quota_user: nil, options: nil, &block)
1761
- command = make_simple_command(:get, 'v1/{+name}:shouldThrottle', options)
1762
- command.response_representation = Google::Apis::BeyondcorpV1::ShouldThrottleResponse::Representation
1763
- command.response_class = Google::Apis::BeyondcorpV1::ShouldThrottleResponse
1764
- command.params['name'] = name unless name.nil?
1765
- command.query['port'] = port unless port.nil?
1766
- command.query['requestedAmount'] = requested_amount unless requested_amount.nil?
1767
- command.query['fields'] = fields unless fields.nil?
1768
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1769
- execute_or_queue_command(command, &block)
1770
- end
1771
-
1772
1493
  # Returns permissions that a caller has on the specified resource. If the
1773
1494
  # resource does not exist, this will return an empty set of permissions, not a `
1774
1495
  # NOT_FOUND` error. Note: This operation is designed to be used for building
@@ -1974,43 +1695,6 @@ module Google
1974
1695
  execute_or_queue_command(command, &block)
1975
1696
  end
1976
1697
 
1977
- # Sets the access control policy on the specified resource. Replaces any
1978
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1979
- # PERMISSION_DENIED` errors.
1980
- # @param [String] resource
1981
- # REQUIRED: The resource for which the policy is being specified. See [Resource
1982
- # names](https://cloud.google.com/apis/design/resource_names) for the
1983
- # appropriate value for this field.
1984
- # @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
1985
- # @param [String] fields
1986
- # Selector specifying which fields to include in a partial response.
1987
- # @param [String] quota_user
1988
- # Available to use for quota purposes for server-side applications. Can be any
1989
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1990
- # @param [Google::Apis::RequestOptions] options
1991
- # Request-specific options
1992
- #
1993
- # @yield [result, err] Result & error if block supplied
1994
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
1995
- # @yieldparam err [StandardError] error object if request failed
1996
- #
1997
- # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
1998
- #
1999
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2000
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2001
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2002
- 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)
2003
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
2004
- command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
2005
- command.request_object = google_iam_v1_set_iam_policy_request_object
2006
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
2007
- command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
2008
- command.params['resource'] = resource unless resource.nil?
2009
- command.query['fields'] = fields unless fields.nil?
2010
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2011
- execute_or_queue_command(command, &block)
2012
- end
2013
-
2014
1698
  # Returns permissions that a caller has on the specified resource. If the
2015
1699
  # resource does not exist, this will return an empty set of permissions, not a `
2016
1700
  # NOT_FOUND` error. Note: This operation is designed to be used for building
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-beyondcorp_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.35.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-04-20 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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.33.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.35.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1
62
62
  rdoc_options: []
63
63
  require_paths: