@@ -1862,113 +1862,6 @@ def undelete_table(name, undelete_table_request_object = nil, fields: nil, quota
1862
1862
execute_or_queue_command ( command , &block )
1863
1863
end
1864
1864
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
-
1972
1865
# Gets information about a location.
1973
1866
# @param [String] name
1974
1867
# Resource name for the location.
0 commit comments