generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/service.rb
# List all Liens applied to the `parent` resource. Callers of this method will
# require permission on the `parent` resource. For example, a Lien with a `
# parent` of `projects/1234` requires permission `resourcemanager.projects.get`.
# @param [Fixnum] page_size
#   The maximum number of items to return. This is a suggestion for the server.
#   The server can return fewer liens than requested. If unspecified, server picks
#   an appropriate default.
# @param [String] page_token
#   The `next_page_token` value returned from a previous List request, if any.
# @param [String] parent
#   Required. The name of the resource to list all attached Liens. For example, `
#   projects/1234`. (google.api.field_policy).resource_type annotation is not set
#   since the parent depends on the meta api implementation. This field could be a
#   project or other sub project resources.
# @param [String] fields
#   Selector specifying which fields to include in a partial response.
# @param [String] quota_user
#   Available to use for quota purposes for server-side applications. Can be any
#   arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
#   Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudresourcemanagerV3::ListLiensResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudresourcemanagerV3::ListLiensResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
List all Liens applied to the `parent` resource. Callers of this method will
require permission on the `parent` resource.
List all Liens applied to the ` parent ` resource . Callers of this method will require permission on the ` parent ` resource .
def list_liens(page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v3/liens', options)
          command.response_representation = Google::Apis::CloudresourcemanagerV3::ListLiensResponse::Representation
          command.response_class = Google::Apis::CloudresourcemanagerV3::ListLiensResponse
          command.query['pageSize'] = page_size unless page_size.nil?
          command.query['pageToken'] = page_token unless page_token.nil?
          command.query['parent'] = parent unless parent.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
def list_liens ( page_size : nil , page_token : nil , parent : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :get , 'v3/liens' , options ) command . response_representation = Google :: Apis :: CloudresourcemanagerV3 :: ListLiensResponse :: Representation command . response_class = Google :: Apis :: CloudresourcemanagerV3 :: ListLiensResponse command . query [ 'pageSize' ] = page_size unless page_size . nil? command . query [ 'pageToken' ] = page_token unless page_token . nil? command . query [ 'parent' ] = parent unless parent . nil? command . query [ 'fields' ] = fields unless fields . nil? command . query [ 'quotaUser' ] = quota_user unless quota_user . nil? execute_or_queue_command ( command , & block ) end
List all Liens applied to the `parent` resource.
List all Liens applied to the ` parent ` resource .
None
Google::Apis::CloudresourcemanagerV3::ListLiensResponse
[Google::Apis::ServerError] An error occurred on the server and the request can be retried
[ Google :: Apis :: ServerError ] An error occurred on the server and the request can be retried
[Google::Apis::ClientError] The request is invalid and should not be retried without modification
[ Google :: Apis :: ClientError ] The request is invalid and should not be retried without modification
[Google::Apis::AuthorizationError] Authorization is required
[ Google :: Apis :: AuthorizationError ] Authorization is required
page_size
page_token
parent
fields
quota_user
options
block
options Request-specific options
options Request - specific options
]
Result & error if block supplied
Result & error if block supplied
result
parsed result object
parsed result object
err
error object if request failed
error object if request failed