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 |
Fetch the representation of an existing Project.
See: Google Cloud DNS API Reference for dns.projects.get
.
Synopsis
- type ProjectsGetResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Project)))))
- projectsGet :: Text -> ProjectsGet
- data ProjectsGet
- pgProject :: Lens' ProjectsGet Text
- pgClientOperationId :: Lens' ProjectsGet (Maybe Text)
REST Resource
type ProjectsGetResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Project))))) Source #
A resource alias for dns.projects.get
method which the
ProjectsGet
request conforms to.
Creating a Request
:: Text | |
-> ProjectsGet |
Creates a value of ProjectsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsGet Source #
Fetch the representation of an existing Project.
See: projectsGet
smart constructor.
Instances
Request Lenses
pgClientOperationId :: Lens' ProjectsGet (Maybe Text) Source #
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.