google-apis-biglake_v1 0.6.0 → 0.7.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: 7250e2850b5c053fa732ca102a83928aa3fc0699f57df69d3ccb8e428de0dcac
4
- data.tar.gz: dc2f066bb325a43736e3bab2d6e3c7aff433e68d31ed41783dcb000ed87c4dd5
3
+ metadata.gz: 7884012011436acf8f94fcd5e94d6cf0e73837f0db24103b9dadfc77705267d4
4
+ data.tar.gz: 2734ab090f183b339dff407bc28280f393cb0be446a34e492590041984b3c508
5
5
  SHA512:
6
- metadata.gz: d70fea613ffc2e60c855f0e7c17513d48e05d24b5c251af65a93b95da4f87e70807848424106f394539db11a3c1aaac1c1a190f402cb82a76c8d06a45af4819d
7
- data.tar.gz: a9aee81000b5e926889c4a851f8a1a3a88253a27c7d328de92e46adb013cfe8b48dcc4be60da0758e9d78d888078a805c788b6d9dae04559d5a8e7e3e4ac26dd
6
+ metadata.gz: f6f7773468e0613ab929c432e1e894cfd7a9df8b5670e8d1d8980478eb0a7f7b5648021e9ac034fb4c3436e986bf4dd7b1ca5b69605cc782203438b95bbeffa0
7
+ data.tar.gz: ef215558b86cab15de914abb3b3dce98803575286c22082ab4f81a647094a28e850bf3fb566991446b484d5a98ca9e8ad2ed7d8ead7dbc41b7920a265468515b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-biglake_v1
2
2
 
3
+ ### v0.7.0 (2026-02-22)
4
+
5
+ * Regenerated from discovery document revision 20260209
6
+
3
7
  ### v0.6.0 (2025-11-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20251027
@@ -779,6 +779,46 @@ module Google
779
779
  @update_time = args[:update_time] if args.key?(:update_time)
780
780
  end
781
781
  end
782
+
783
+ # Request message for `TestIamPermissions` method.
784
+ class TestIamPermissionsRequest
785
+ include Google::Apis::Core::Hashable
786
+
787
+ # The set of permissions to check for the `resource`. Permissions with wildcards
788
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
789
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
790
+ # Corresponds to the JSON property `permissions`
791
+ # @return [Array<String>]
792
+ attr_accessor :permissions
793
+
794
+ def initialize(**args)
795
+ update!(**args)
796
+ end
797
+
798
+ # Update properties of this object
799
+ def update!(**args)
800
+ @permissions = args[:permissions] if args.key?(:permissions)
801
+ end
802
+ end
803
+
804
+ # Response message for `TestIamPermissions` method.
805
+ class TestIamPermissionsResponse
806
+ include Google::Apis::Core::Hashable
807
+
808
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
809
+ # Corresponds to the JSON property `permissions`
810
+ # @return [Array<String>]
811
+ attr_accessor :permissions
812
+
813
+ def initialize(**args)
814
+ update!(**args)
815
+ end
816
+
817
+ # Update properties of this object
818
+ def update!(**args)
819
+ @permissions = args[:permissions] if args.key?(:permissions)
820
+ end
821
+ end
782
822
  end
783
823
  end
784
824
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BiglakeV1
18
18
  # Version of the google-apis-biglake_v1 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251027"
25
+ REVISION = "20260209"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,18 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class TestIamPermissionsRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class TestIamPermissionsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class AuditConfig
128
140
  # @private
129
141
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -291,6 +303,20 @@ module Google
291
303
  property :update_time, as: 'updateTime'
292
304
  end
293
305
  end
306
+
307
+ class TestIamPermissionsRequest
308
+ # @private
309
+ class Representation < Google::Apis::Core::JsonRepresentation
310
+ collection :permissions, as: 'permissions'
311
+ end
312
+ end
313
+
314
+ class TestIamPermissionsResponse
315
+ # @private
316
+ class Representation < Google::Apis::Core::JsonRepresentation
317
+ collection :permissions, as: 'permissions'
318
+ end
319
+ end
294
320
  end
295
321
  end
296
322
  end
@@ -132,6 +132,41 @@ module Google
132
132
  execute_or_queue_command(command, &block)
133
133
  end
134
134
 
135
+ # Tests the IAM permissions for the specified catalog.
136
+ # @param [String] resource
137
+ # REQUIRED: The resource for which the policy detail is being requested. See [
138
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
139
+ # appropriate value for this field.
140
+ # @param [Google::Apis::BiglakeV1::TestIamPermissionsRequest] test_iam_permissions_request_object
141
+ # @param [String] fields
142
+ # Selector specifying which fields to include in a partial response.
143
+ # @param [String] quota_user
144
+ # Available to use for quota purposes for server-side applications. Can be any
145
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
146
+ # @param [Google::Apis::RequestOptions] options
147
+ # Request-specific options
148
+ #
149
+ # @yield [result, err] Result & error if block supplied
150
+ # @yieldparam result [Google::Apis::BiglakeV1::TestIamPermissionsResponse] parsed result object
151
+ # @yieldparam err [StandardError] error object if request failed
152
+ #
153
+ # @return [Google::Apis::BiglakeV1::TestIamPermissionsResponse]
154
+ #
155
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
156
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
158
+ def test_catalog_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
159
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
160
+ command.request_representation = Google::Apis::BiglakeV1::TestIamPermissionsRequest::Representation
161
+ command.request_object = test_iam_permissions_request_object
162
+ command.response_representation = Google::Apis::BiglakeV1::TestIamPermissionsResponse::Representation
163
+ command.response_class = Google::Apis::BiglakeV1::TestIamPermissionsResponse
164
+ command.params['resource'] = resource unless resource.nil?
165
+ command.query['fields'] = fields unless fields.nil?
166
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
167
+ execute_or_queue_command(command, &block)
168
+ end
169
+
135
170
  # Gets the IAM policy for the specified Catalog.
136
171
  # @param [String] resource
137
172
  # REQUIRED: The resource for which the policy is being requested. See [Resource
@@ -211,6 +246,155 @@ module Google
211
246
  execute_or_queue_command(command, &block)
212
247
  end
213
248
 
249
+ # Tests the IAM permissions for the specified namespace.
250
+ # @param [String] resource
251
+ # REQUIRED: The resource for which the policy detail is being requested. See [
252
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
253
+ # appropriate value for this field.
254
+ # @param [Google::Apis::BiglakeV1::TestIamPermissionsRequest] test_iam_permissions_request_object
255
+ # @param [String] fields
256
+ # Selector specifying which fields to include in a partial response.
257
+ # @param [String] quota_user
258
+ # Available to use for quota purposes for server-side applications. Can be any
259
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
260
+ # @param [Google::Apis::RequestOptions] options
261
+ # Request-specific options
262
+ #
263
+ # @yield [result, err] Result & error if block supplied
264
+ # @yieldparam result [Google::Apis::BiglakeV1::TestIamPermissionsResponse] parsed result object
265
+ # @yieldparam err [StandardError] error object if request failed
266
+ #
267
+ # @return [Google::Apis::BiglakeV1::TestIamPermissionsResponse]
268
+ #
269
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
270
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
271
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
272
+ def test_namespace_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
273
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
274
+ command.request_representation = Google::Apis::BiglakeV1::TestIamPermissionsRequest::Representation
275
+ command.request_object = test_iam_permissions_request_object
276
+ command.response_representation = Google::Apis::BiglakeV1::TestIamPermissionsResponse::Representation
277
+ command.response_class = Google::Apis::BiglakeV1::TestIamPermissionsResponse
278
+ command.params['resource'] = resource unless resource.nil?
279
+ command.query['fields'] = fields unless fields.nil?
280
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
281
+ execute_or_queue_command(command, &block)
282
+ end
283
+
284
+ # Gets the IAM policy for the specified Catalog.
285
+ # @param [String] resource
286
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
287
+ # names](https://cloud.google.com/apis/design/resource_names) for the
288
+ # appropriate value for this field.
289
+ # @param [Fixnum] options_requested_policy_version
290
+ # Optional. The maximum policy version that will be used to format the policy.
291
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
292
+ # rejected. Requests for policies with any conditional role bindings must
293
+ # specify version 3. Policies with no conditional role bindings may specify any
294
+ # valid value or leave the field unset. The policy in the response might use the
295
+ # policy version that you specified, or it might use a lower policy version. For
296
+ # example, if you specify version 3, but the policy has no conditional role
297
+ # bindings, the response uses version 1. To learn which resources support
298
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
299
+ # google.com/iam/help/conditions/resource-policies).
300
+ # @param [String] fields
301
+ # Selector specifying which fields to include in a partial response.
302
+ # @param [String] quota_user
303
+ # Available to use for quota purposes for server-side applications. Can be any
304
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
305
+ # @param [Google::Apis::RequestOptions] options
306
+ # Request-specific options
307
+ #
308
+ # @yield [result, err] Result & error if block supplied
309
+ # @yieldparam result [Google::Apis::BiglakeV1::Policy] parsed result object
310
+ # @yieldparam err [StandardError] error object if request failed
311
+ #
312
+ # @return [Google::Apis::BiglakeV1::Policy]
313
+ #
314
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
315
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
316
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
317
+ def get_project_catalog_namespace_table_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
318
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
319
+ command.response_representation = Google::Apis::BiglakeV1::Policy::Representation
320
+ command.response_class = Google::Apis::BiglakeV1::Policy
321
+ command.params['resource'] = resource unless resource.nil?
322
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
323
+ command.query['fields'] = fields unless fields.nil?
324
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
325
+ execute_or_queue_command(command, &block)
326
+ end
327
+
328
+ # Sets the IAM policy for the specified catalog.
329
+ # @param [String] resource
330
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
331
+ # names](https://cloud.google.com/apis/design/resource_names) for the
332
+ # appropriate value for this field.
333
+ # @param [Google::Apis::BiglakeV1::SetIamPolicyRequest] set_iam_policy_request_object
334
+ # @param [String] fields
335
+ # Selector specifying which fields to include in a partial response.
336
+ # @param [String] quota_user
337
+ # Available to use for quota purposes for server-side applications. Can be any
338
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
339
+ # @param [Google::Apis::RequestOptions] options
340
+ # Request-specific options
341
+ #
342
+ # @yield [result, err] Result & error if block supplied
343
+ # @yieldparam result [Google::Apis::BiglakeV1::Policy] parsed result object
344
+ # @yieldparam err [StandardError] error object if request failed
345
+ #
346
+ # @return [Google::Apis::BiglakeV1::Policy]
347
+ #
348
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
349
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
350
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
351
+ def set_table_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
352
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
353
+ command.request_representation = Google::Apis::BiglakeV1::SetIamPolicyRequest::Representation
354
+ command.request_object = set_iam_policy_request_object
355
+ command.response_representation = Google::Apis::BiglakeV1::Policy::Representation
356
+ command.response_class = Google::Apis::BiglakeV1::Policy
357
+ command.params['resource'] = resource unless resource.nil?
358
+ command.query['fields'] = fields unless fields.nil?
359
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
360
+ execute_or_queue_command(command, &block)
361
+ end
362
+
363
+ # Tests the IAM permissions for the specified table.
364
+ # @param [String] resource
365
+ # REQUIRED: The resource for which the policy detail is being requested. See [
366
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
367
+ # appropriate value for this field.
368
+ # @param [Google::Apis::BiglakeV1::TestIamPermissionsRequest] test_iam_permissions_request_object
369
+ # @param [String] fields
370
+ # Selector specifying which fields to include in a partial response.
371
+ # @param [String] quota_user
372
+ # Available to use for quota purposes for server-side applications. Can be any
373
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
374
+ # @param [Google::Apis::RequestOptions] options
375
+ # Request-specific options
376
+ #
377
+ # @yield [result, err] Result & error if block supplied
378
+ # @yieldparam result [Google::Apis::BiglakeV1::TestIamPermissionsResponse] parsed result object
379
+ # @yieldparam err [StandardError] error object if request failed
380
+ #
381
+ # @return [Google::Apis::BiglakeV1::TestIamPermissionsResponse]
382
+ #
383
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
384
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
385
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
386
+ def test_table_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
387
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
388
+ command.request_representation = Google::Apis::BiglakeV1::TestIamPermissionsRequest::Representation
389
+ command.request_object = test_iam_permissions_request_object
390
+ command.response_representation = Google::Apis::BiglakeV1::TestIamPermissionsResponse::Representation
391
+ command.response_class = Google::Apis::BiglakeV1::TestIamPermissionsResponse
392
+ command.params['resource'] = resource unless resource.nil?
393
+ command.query['fields'] = fields unless fields.nil?
394
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
395
+ execute_or_queue_command(command, &block)
396
+ end
397
+
214
398
  # Creates a new catalog.
215
399
  # @param [String] parent
216
400
  # Required. The parent resource where this catalog will be created. Format:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-biglake_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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-biglake_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-biglake_v1/v0.6.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-biglake_v1/v0.7.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-biglake_v1
62
62
  rdoc_options: []
63
63
  require_paths: