generated/google-apis-workflows_v1beta/lib/google/apis/workflows_v1beta/service.rb
# Lists Workflows in a given project and location. The default order is not
# specified.
# @param [String] parent
#   Required. Project and location from which the workflows should be listed.
#   Format: projects/`project`/locations/`location`
# @param [String] filter
#   Filter to restrict results to specific workflows.
# @param [String] order_by
#   Comma-separated list of fields that that specify the order of the results.
#   Default sorting order for a field is ascending. To specify descending order
#   for a field, append a " desc" suffix. If not specified, the results will be
#   returned in an unspecified order.
# @param [Fixnum] page_size
#   Maximum number of workflows to return per call. The service may return fewer
#   than this value. If the value is not specified, a default value of 500 will be
#   used. The maximum permitted value is 1000 and values greater than 1000 will be
#   coerced down to 1000.
# @param [String] page_token
#   A page token, received from a previous `ListWorkflows` call. Provide this to
#   retrieve the subsequent page. When paginating, all other parameters provided
#   to `ListWorkflows` must match the call that provided the page token.
# @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::WorkflowsV1beta::ListWorkflowsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::WorkflowsV1beta::ListWorkflowsResponse]
#
# @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 Workflows in a given project and location. The default order is not
specified.
Lists Workflows in a given project and location . The default order is not specified .
def list_project_location_workflows(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v1beta/{+parent}/workflows', options)
          command.response_representation = Google::Apis::WorkflowsV1beta::ListWorkflowsResponse::Representation
          command.response_class = Google::Apis::WorkflowsV1beta::ListWorkflowsResponse
          command.params['parent'] = parent unless parent.nil?
          command.query['filter'] = filter unless filter.nil?
          command.query['orderBy'] = order_by unless order_by.nil?
          command.query['pageSize'] = page_size unless page_size.nil?
          command.query['pageToken'] = page_token unless page_token.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_workflows ( parent , filter : nil , order_by : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :get , 'v1beta/{+parent}/workflows' , options ) command . response_representation = Google :: Apis :: WorkflowsV1beta :: ListWorkflowsResponse :: Representation command . response_class = Google :: Apis :: WorkflowsV1beta :: ListWorkflowsResponse command . params [ 'parent' ] = parent unless parent . nil? command . query [ 'filter' ] = filter unless filter . nil? command . query [ 'orderBy' ] = order_by unless order_by . nil? command . query [ 'pageSize' ] = page_size unless page_size . nil? command . query [ 'pageToken' ] = page_token unless page_token . 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 Workflows in a given project and location.
Lists Workflows in a given project and location .
None
Google::Apis::WorkflowsV1beta::ListWorkflowsResponse
[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
order_by
page_size
page_token
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