Skip to content

Commit 8237388

Browse files
feat: Automated regeneration of biglake v1 client (#25769)
Auto-created at 2026-02-22 09:30:40 +0000 using the toys pull request generator.
1 parent b5f019c commit 8237388

File tree

6 files changed

+273
-2
lines changed

6 files changed

+273
-2
lines changed

api_names_out.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57149,6 +57149,12 @@
5714957149
"/biglake:v1/Table/name": name
5715057150
"/biglake:v1/Table/type": type
5715157151
"/biglake:v1/Table/updateTime": update_time
57152+
"/biglake:v1/TestIamPermissionsRequest": test_iam_permissions_request
57153+
"/biglake:v1/TestIamPermissionsRequest/permissions": permissions
57154+
"/biglake:v1/TestIamPermissionsRequest/permissions/permission": permission
57155+
"/biglake:v1/TestIamPermissionsResponse": test_iam_permissions_response
57156+
"/biglake:v1/TestIamPermissionsResponse/permissions": permissions
57157+
"/biglake:v1/TestIamPermissionsResponse/permissions/permission": permission
5715257158
"/biglake:v1/biglake.projects.catalogs.getIamPolicy": get_project_catalog_iam_policy
5715357159
"/biglake:v1/biglake.projects.catalogs.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version
5715457160
"/biglake:v1/biglake.projects.catalogs.getIamPolicy/resource": resource
@@ -57157,8 +57163,19 @@
5715757163
"/biglake:v1/biglake.projects.catalogs.namespaces.getIamPolicy/resource": resource
5715857164
"/biglake:v1/biglake.projects.catalogs.namespaces.setIamPolicy": set_namespace_iam_policy
5715957165
"/biglake:v1/biglake.projects.catalogs.namespaces.setIamPolicy/resource": resource
57166+
"/biglake:v1/biglake.projects.catalogs.namespaces.tables.getIamPolicy": get_project_catalog_namespace_table_iam_policy
57167+
"/biglake:v1/biglake.projects.catalogs.namespaces.tables.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version
57168+
"/biglake:v1/biglake.projects.catalogs.namespaces.tables.getIamPolicy/resource": resource
57169+
"/biglake:v1/biglake.projects.catalogs.namespaces.tables.setIamPolicy": set_table_iam_policy
57170+
"/biglake:v1/biglake.projects.catalogs.namespaces.tables.setIamPolicy/resource": resource
57171+
"/biglake:v1/biglake.projects.catalogs.namespaces.tables.testIamPermissions": test_table_iam_permissions
57172+
"/biglake:v1/biglake.projects.catalogs.namespaces.tables.testIamPermissions/resource": resource
57173+
"/biglake:v1/biglake.projects.catalogs.namespaces.testIamPermissions": test_namespace_iam_permissions
57174+
"/biglake:v1/biglake.projects.catalogs.namespaces.testIamPermissions/resource": resource
5716057175
"/biglake:v1/biglake.projects.catalogs.setIamPolicy": set_catalog_iam_policy
5716157176
"/biglake:v1/biglake.projects.catalogs.setIamPolicy/resource": resource
57177+
"/biglake:v1/biglake.projects.catalogs.testIamPermissions": test_catalog_iam_permissions
57178+
"/biglake:v1/biglake.projects.catalogs.testIamPermissions/resource": resource
5716257179
"/biglake:v1/biglake.projects.locations.catalogs.create": create_project_location_catalog
5716357180
"/biglake:v1/biglake.projects.locations.catalogs.create/catalogId": catalog_id
5716457181
"/biglake:v1/biglake.projects.locations.catalogs.create/parent": parent

generated/google-apis-biglake_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-biglake_v1
22

3+
### v0.7.0 (2026-02-22)
4+
5+
* Regenerated from discovery document revision 20260209
6+
37
### v0.6.0 (2025-11-09)
48

59
* Regenerated from discovery document revision 20251027

generated/google-apis-biglake_v1/lib/google/apis/biglake_v1/classes.rb

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,46 @@ def update!(**args)
779779
@update_time = args[:update_time] if args.key?(:update_time)
780780
end
781781
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
782822
end
783823
end
784824
end

generated/google-apis-biglake_v1/lib/google/apis/biglake_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module BiglakeV1
1818
# Version of the google-apis-biglake_v1 gem
19-
GEM_VERSION = "0.6.0"
19+
GEM_VERSION = "0.7.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251027"
25+
REVISION = "20260209"
2626
end
2727
end
2828
end

generated/google-apis-biglake_v1/lib/google/apis/biglake_v1/representations.rb

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
124124
include Google::Apis::Core::JsonObjectSupport
125125
end
126126

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+
127139
class AuditConfig
128140
# @private
129141
class Representation < Google::Apis::Core::JsonRepresentation
@@ -291,6 +303,20 @@ class Representation < Google::Apis::Core::JsonRepresentation
291303
property :update_time, as: 'updateTime'
292304
end
293305
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
294320
end
295321
end
296322
end

generated/google-apis-biglake_v1/lib/google/apis/biglake_v1/service.rb

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,41 @@ def set_catalog_iam_policy(resource, set_iam_policy_request_object = nil, fields
132132
execute_or_queue_command(command, &block)
133133
end
134134

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+
135170
# Gets the IAM policy for the specified Catalog.
136171
# @param [String] resource
137172
# REQUIRED: The resource for which the policy is being requested. See [Resource
@@ -211,6 +246,155 @@ def set_namespace_iam_policy(resource, set_iam_policy_request_object = nil, fiel
211246
execute_or_queue_command(command, &block)
212247
end
213248

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+
214398
# Creates a new catalog.
215399
# @param [String] parent
216400
# Required. The parent resource where this catalog will be created. Format:

0 commit comments

Comments
 (0)