Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists all regions/{region}/clusters in a project.
See: Cloud Dataproc API Reference for dataproc.projects.regions.clusters.list
.
Synopsis
- type ProjectsRegionsClustersListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("clusters" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListClustersResponse))))))))))))))
- projectsRegionsClustersList :: Text -> Text -> ProjectsRegionsClustersList
- data ProjectsRegionsClustersList
- prclXgafv :: Lens' ProjectsRegionsClustersList (Maybe Xgafv)
- prclUploadProtocol :: Lens' ProjectsRegionsClustersList (Maybe Text)
- prclAccessToken :: Lens' ProjectsRegionsClustersList (Maybe Text)
- prclUploadType :: Lens' ProjectsRegionsClustersList (Maybe Text)
- prclFilter :: Lens' ProjectsRegionsClustersList (Maybe Text)
- prclRegion :: Lens' ProjectsRegionsClustersList Text
- prclPageToken :: Lens' ProjectsRegionsClustersList (Maybe Text)
- prclProjectId :: Lens' ProjectsRegionsClustersList Text
- prclPageSize :: Lens' ProjectsRegionsClustersList (Maybe Int32)
- prclCallback :: Lens' ProjectsRegionsClustersList (Maybe Text)
REST Resource
type ProjectsRegionsClustersListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("clusters" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListClustersResponse)))))))))))))) Source #
A resource alias for dataproc.projects.regions.clusters.list
method which the
ProjectsRegionsClustersList
request conforms to.
Creating a Request
projectsRegionsClustersList Source #
Creates a value of ProjectsRegionsClustersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsClustersList Source #
Lists all regions/{region}/clusters in a project.
See: projectsRegionsClustersList
smart constructor.
Instances
Request Lenses
prclUploadProtocol :: Lens' ProjectsRegionsClustersList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prclAccessToken :: Lens' ProjectsRegionsClustersList (Maybe Text) Source #
OAuth access token.
prclUploadType :: Lens' ProjectsRegionsClustersList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prclFilter :: Lens' ProjectsRegionsClustersList (Maybe Text) Source #
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 = *
prclRegion :: Lens' ProjectsRegionsClustersList Text Source #
Required. The Cloud Dataproc region in which to handle the request.
prclPageToken :: Lens' ProjectsRegionsClustersList (Maybe Text) Source #
Optional. The standard List page token.
prclProjectId :: Lens' ProjectsRegionsClustersList Text Source #
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
prclPageSize :: Lens' ProjectsRegionsClustersList (Maybe Int32) Source #
Optional. The standard List page size.
prclCallback :: Lens' ProjectsRegionsClustersList (Maybe Text) Source #
JSONP