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 |
Gets the resource representation for a cluster in a project.
See: Cloud Dataproc API Reference for dataproc.projects.regions.clusters.get
.
Synopsis
- type ProjectsRegionsClustersGetResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("clusters" :> (Capture "clusterName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Cluster))))))))))))
- projectsRegionsClustersGet :: Text -> Text -> Text -> ProjectsRegionsClustersGet
- data ProjectsRegionsClustersGet
- prcgXgafv :: Lens' ProjectsRegionsClustersGet (Maybe Xgafv)
- prcgUploadProtocol :: Lens' ProjectsRegionsClustersGet (Maybe Text)
- prcgAccessToken :: Lens' ProjectsRegionsClustersGet (Maybe Text)
- prcgUploadType :: Lens' ProjectsRegionsClustersGet (Maybe Text)
- prcgClusterName :: Lens' ProjectsRegionsClustersGet Text
- prcgRegion :: Lens' ProjectsRegionsClustersGet Text
- prcgProjectId :: Lens' ProjectsRegionsClustersGet Text
- prcgCallback :: Lens' ProjectsRegionsClustersGet (Maybe Text)
REST Resource
type ProjectsRegionsClustersGetResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("clusters" :> (Capture "clusterName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Cluster)))))))))))) Source #
A resource alias for dataproc.projects.regions.clusters.get
method which the
ProjectsRegionsClustersGet
request conforms to.
Creating a Request
projectsRegionsClustersGet Source #
Creates a value of ProjectsRegionsClustersGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsClustersGet Source #
Gets the resource representation for a cluster in a project.
See: projectsRegionsClustersGet
smart constructor.
Instances
Request Lenses
prcgUploadProtocol :: Lens' ProjectsRegionsClustersGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prcgAccessToken :: Lens' ProjectsRegionsClustersGet (Maybe Text) Source #
OAuth access token.
prcgUploadType :: Lens' ProjectsRegionsClustersGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prcgClusterName :: Lens' ProjectsRegionsClustersGet Text Source #
Required. The cluster name.
prcgRegion :: Lens' ProjectsRegionsClustersGet Text Source #
Required. The Cloud Dataproc region in which to handle the request.
prcgProjectId :: Lens' ProjectsRegionsClustersGet Text Source #
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
prcgCallback :: Lens' ProjectsRegionsClustersGet (Maybe Text) Source #
JSONP