Skip to content

Commit 531d4e5

Browse files
feat: Automated regeneration of bigtableadmin v2 client (#15516)
Auto-created at 2023-07-23 09:50:41 +0000 using the toys pull request generator.
1 parent 7987294 commit 531d4e5

File tree

4 files changed

+7
-110
lines changed

4 files changed

+7
-110
lines changed

generated/google-apis-bigtableadmin_v2/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-bigtableadmin_v2
22

3+
### v0.39.0 (2023-07-23)
4+
5+
* Regenerated from discovery document revision 20230713
6+
37
### v0.38.0 (2023-07-02)
48

59
* Regenerated from discovery document revision 20230622

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class Backup
223223
attr_accessor :end_time
224224

225225
# Required. The expiration time of the backup, with microseconds granularity
226-
# that must be at least 6 hours and at most 30 days from the time the request is
226+
# that must be at least 6 hours and at most 90 days from the time the request is
227227
# received. Once the `expire_time` has passed, Cloud Bigtable will delete the
228228
# backup and free the resources used by the backup.
229229
# Corresponds to the JSON property `expireTime`

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module BigtableadminV2
1818
# Version of the google-apis-bigtableadmin_v2 gem
19-
GEM_VERSION = "0.38.0"
19+
GEM_VERSION = "0.39.0"
2020

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

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

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

-107
Original file line numberDiff line numberDiff line change
@@ -1862,113 +1862,6 @@ def undelete_table(name, undelete_table_request_object = nil, fields: nil, quota
18621862
execute_or_queue_command(command, &block)
18631863
end
18641864

1865-
# Gets the access control policy for a Table resource. Returns an empty policy
1866-
# if the resource exists but does not have a policy set.
1867-
# @param [String] resource
1868-
# REQUIRED: The resource for which the policy is being requested. See [Resource
1869-
# names](https://cloud.google.com/apis/design/resource_names) for the
1870-
# appropriate value for this field.
1871-
# @param [Google::Apis::BigtableadminV2::GetIamPolicyRequest] get_iam_policy_request_object
1872-
# @param [String] fields
1873-
# Selector specifying which fields to include in a partial response.
1874-
# @param [String] quota_user
1875-
# Available to use for quota purposes for server-side applications. Can be any
1876-
# arbitrary string assigned to a user, but should not exceed 40 characters.
1877-
# @param [Google::Apis::RequestOptions] options
1878-
# Request-specific options
1879-
#
1880-
# @yield [result, err] Result & error if block supplied
1881-
# @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
1882-
# @yieldparam err [StandardError] error object if request failed
1883-
#
1884-
# @return [Google::Apis::BigtableadminV2::Policy]
1885-
#
1886-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1887-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1888-
# @raise [Google::Apis::AuthorizationError] Authorization is required
1889-
def get_view_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1890-
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
1891-
command.request_representation = Google::Apis::BigtableadminV2::GetIamPolicyRequest::Representation
1892-
command.request_object = get_iam_policy_request_object
1893-
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
1894-
command.response_class = Google::Apis::BigtableadminV2::Policy
1895-
command.params['resource'] = resource unless resource.nil?
1896-
command.query['fields'] = fields unless fields.nil?
1897-
command.query['quotaUser'] = quota_user unless quota_user.nil?
1898-
execute_or_queue_command(command, &block)
1899-
end
1900-
1901-
# Sets the access control policy on a Table resource. Replaces any existing
1902-
# policy.
1903-
# @param [String] resource
1904-
# REQUIRED: The resource for which the policy is being specified. See [Resource
1905-
# names](https://cloud.google.com/apis/design/resource_names) for the
1906-
# appropriate value for this field.
1907-
# @param [Google::Apis::BigtableadminV2::SetIamPolicyRequest] set_iam_policy_request_object
1908-
# @param [String] fields
1909-
# Selector specifying which fields to include in a partial response.
1910-
# @param [String] quota_user
1911-
# Available to use for quota purposes for server-side applications. Can be any
1912-
# arbitrary string assigned to a user, but should not exceed 40 characters.
1913-
# @param [Google::Apis::RequestOptions] options
1914-
# Request-specific options
1915-
#
1916-
# @yield [result, err] Result & error if block supplied
1917-
# @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
1918-
# @yieldparam err [StandardError] error object if request failed
1919-
#
1920-
# @return [Google::Apis::BigtableadminV2::Policy]
1921-
#
1922-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1923-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1924-
# @raise [Google::Apis::AuthorizationError] Authorization is required
1925-
def set_view_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1926-
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
1927-
command.request_representation = Google::Apis::BigtableadminV2::SetIamPolicyRequest::Representation
1928-
command.request_object = set_iam_policy_request_object
1929-
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
1930-
command.response_class = Google::Apis::BigtableadminV2::Policy
1931-
command.params['resource'] = resource unless resource.nil?
1932-
command.query['fields'] = fields unless fields.nil?
1933-
command.query['quotaUser'] = quota_user unless quota_user.nil?
1934-
execute_or_queue_command(command, &block)
1935-
end
1936-
1937-
# Returns permissions that the caller has on the specified table resource.
1938-
# @param [String] resource
1939-
# REQUIRED: The resource for which the policy detail is being requested. See [
1940-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
1941-
# appropriate value for this field.
1942-
# @param [Google::Apis::BigtableadminV2::TestIamPermissionsRequest] test_iam_permissions_request_object
1943-
# @param [String] fields
1944-
# Selector specifying which fields to include in a partial response.
1945-
# @param [String] quota_user
1946-
# Available to use for quota purposes for server-side applications. Can be any
1947-
# arbitrary string assigned to a user, but should not exceed 40 characters.
1948-
# @param [Google::Apis::RequestOptions] options
1949-
# Request-specific options
1950-
#
1951-
# @yield [result, err] Result & error if block supplied
1952-
# @yieldparam result [Google::Apis::BigtableadminV2::TestIamPermissionsResponse] parsed result object
1953-
# @yieldparam err [StandardError] error object if request failed
1954-
#
1955-
# @return [Google::Apis::BigtableadminV2::TestIamPermissionsResponse]
1956-
#
1957-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1958-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1959-
# @raise [Google::Apis::AuthorizationError] Authorization is required
1960-
def test_view_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1961-
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
1962-
command.request_representation = Google::Apis::BigtableadminV2::TestIamPermissionsRequest::Representation
1963-
command.request_object = test_iam_permissions_request_object
1964-
command.response_representation = Google::Apis::BigtableadminV2::TestIamPermissionsResponse::Representation
1965-
command.response_class = Google::Apis::BigtableadminV2::TestIamPermissionsResponse
1966-
command.params['resource'] = resource unless resource.nil?
1967-
command.query['fields'] = fields unless fields.nil?
1968-
command.query['quotaUser'] = quota_user unless quota_user.nil?
1969-
execute_or_queue_command(command, &block)
1970-
end
1971-
19721865
# Gets information about a location.
19731866
# @param [String] name
19741867
# Resource name for the location.

0 commit comments

Comments
 (0)