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 information about a single resource.
See: Google Cloud Deployment Manager API Reference for deploymentmanager.resources.get
.
Synopsis
- type ResourcesGetResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "deployment" Text :> ("resources" :> (Capture "resource" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Resource)))))))))
- resourcesGet :: Text -> Text -> Text -> ResourcesGet
- data ResourcesGet
- rgProject :: Lens' ResourcesGet Text
- rgResource :: Lens' ResourcesGet Text
- rgDeployment :: Lens' ResourcesGet Text
REST Resource
type ResourcesGetResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "deployment" Text :> ("resources" :> (Capture "resource" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Resource))))))))) Source #
A resource alias for deploymentmanager.resources.get
method which the
ResourcesGet
request conforms to.
Creating a Request
Creates a value of ResourcesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResourcesGet Source #
Gets information about a single resource.
See: resourcesGet
smart constructor.
Instances
Request Lenses
rgResource :: Lens' ResourcesGet Text Source #
The name of the resource for this request.
rgDeployment :: Lens' ResourcesGet Text Source #
The name of the deployment for this request.