generated/google-apis-dataproc_v1beta2/lib/google/apis/dataproc_v1beta2/service.rb
def list_project_region_clusters(project_id, region, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/clusters', options)
          command.response_representation = Google::Apis::DataprocV1beta2::ListClustersResponse::Representation
          command.response_class = Google::Apis::DataprocV1beta2::ListClustersResponse
          command.params['projectId'] = project_id unless project_id.nil?
          command.params['region'] = region unless region.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['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
# Lists all regions/`region`/clusters in a project alphabetically.
# @param [String] project_id
#   Required. The ID of the Google Cloud Platform project that the cluster belongs
#   to.
# @param [String] region
#   Required. The Dataproc region in which to handle the request.
# @param [String] filter
#   Optional. A filter constraining the clusters to list. Filters are case-
#   sensitive and have the following syntax:field = value AND field = value ...
#   where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is
#   a label key. value can be * to match all values. status.state can be one of
#   the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, or
#   UPDATING. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE
#   contains the DELETING and ERROR states. clusterName is the name of the cluster
#   provided at creation time. Only the logical AND operator is supported; space-
#   separated items are treated as having an implicit AND operator.Example filter:
#   status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND
#   labels.starred = *
# @param [Fixnum] page_size
#   Optional. The standard List page size.
# @param [String] page_token
#   Optional. The standard List 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::DataprocV1beta2::ListClustersResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataprocV1beta2::ListClustersResponse]
#
# @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 all regions/`region`/clusters in a project alphabetically.
Lists all regions / ` region ` / clusters in a project alphabetically .
def list_project_region_clusters(project_id, region, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/clusters', options)
          command.response_representation = Google::Apis::DataprocV1beta2::ListClustersResponse::Representation
          command.response_class = Google::Apis::DataprocV1beta2::ListClustersResponse
          command.params['projectId'] = project_id unless project_id.nil?
          command.params['region'] = region unless region.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['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
def list_project_region_clusters ( project_id , region , filter : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :get , 'v1beta2/projects/{projectId}/regions/{region}/clusters' , options ) command . response_representation = Google :: Apis :: DataprocV1beta2 :: ListClustersResponse :: Representation command . response_class = Google :: Apis :: DataprocV1beta2 :: ListClustersResponse command . params [ 'projectId' ] = project_id unless project_id . nil? command . params [ 'region' ] = region unless region . 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 [ 'fields' ] = fields unless fields . nil? command . query [ 'quotaUser' ] = quota_user unless quota_user . nil? execute_or_queue_command ( command , & block ) end
Lists all regions/`region`/clusters in a project alphabetically.
Lists all regions / ` region ` / clusters in a project alphabetically .
None
Google::Apis::DataprocV1beta2::ListClustersResponse
[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
project_id
region
filter
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