generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/service.rb
# Lists queues. Queues are returned in lexicographical order.
# @param [String] parent
#   Required. The location name. For example: `projects/PROJECT_ID/locations/
#   LOCATION_ID`
# @param [String] filter
#   `filter` can be used to specify a subset of queues. Any Queue field can be
#   used as a filter and several operators as supported. For example: `<=, <, >=, >
#   , !=, =, :`. The filter syntax is the same as described in [Stackdriver's
#   Advanced Logs Filters](https://cloud.google.com/logging/docs/view/
#   advanced_filters). Sample filter "app_engine_http_target: *". Note that using
#   filters might cause fewer queues than the requested_page size to be returned.
# @param [Fixnum] page_size
#   Requested page size. The maximum page size is 9800. If unspecified, the page
#   size will be the maximum. Fewer queues than requested might be returned, even
#   if more queues exist; use the next_page_token in the response to determine if
#   more queues exist.
# @param [String] page_token
#   A token identifying the page of results to return. To request the first page
#   results, page_token must be empty. To request the next page of results,
#   page_token must be the value of next_page_token returned from the previous
#   call to ListQueues method. It is an error to switch the value of the filter
#   while iterating through pages.
# @param [String] read_mask
#   Optional. Read mask is used for a more granular control over what the API
#   returns. If the mask is not present all fields will be returned except [Queue.
#   stats]. [Queue.stats] will be returned only if it was explicitly specified in
#   the mask.
# @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::CloudtasksV2beta2::ListQueuesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudtasksV2beta2::ListQueuesResponse]
#
# @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
Lists queues. Queues are returned in lexicographical order.
Lists queues . Queues are returned in lexicographical order .
def list_project_location_queues(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v2beta2/{+parent}/queues', options)
          command.response_representation = Google::Apis::CloudtasksV2beta2::ListQueuesResponse::Representation
          command.response_class = Google::Apis::CloudtasksV2beta2::ListQueuesResponse
          command.params['parent'] = parent unless parent.nil?
          command.query['filter'] = filter unless filter.nil?
          command.query['pageSize'] = page_size unless page_size.nil?
          command.query['pageToken'] = page_token unless page_token.nil?
          command.query['readMask'] = read_mask unless read_mask.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_project_location_queues ( parent , filter : nil , page_size : nil , page_token : nil , read_mask : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :get , 'v2beta2/{+parent}/queues' , options ) command . response_representation = Google :: Apis :: CloudtasksV2beta2 :: ListQueuesResponse :: Representation command . response_class = Google :: Apis :: CloudtasksV2beta2 :: ListQueuesResponse command . params [ 'parent' ] = parent unless parent . nil? command . query [ 'filter' ] = filter unless filter . nil? command . query [ 'pageSize' ] = page_size unless page_size . nil? command . query [ 'pageToken' ] = page_token unless page_token . nil? command . query [ 'readMask' ] = read_mask unless read_mask . nil? command . query [ 'fields' ] = fields unless fields . nil? command . query [ 'quotaUser' ] = quota_user unless quota_user . nil? execute_or_queue_command ( command , & block ) end
Lists queues.
Lists queues .
None
Google::Apis::CloudtasksV2beta2::ListQueuesResponse
[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
parent
filter
page_size
page_token
read_mask
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