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 |
Network.Google.Resource.DNS.Projects.Get
Description
Fetch the representation of an existing Project.
See: Google Cloud DNS API Reference for dns.projects.get
.
- 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))))) #
A resource alias for dns.projects.get
method which the
ProjectsGet
request conforms to.
Creating a Request
Arguments
:: 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 #
Fetch the representation of an existing Project.
See: projectsGet
smart constructor.
Instances
Eq ProjectsGet # | |
Data ProjectsGet # | |
Show ProjectsGet # | |
Generic ProjectsGet # | |
GoogleRequest ProjectsGet # | |
type Rep ProjectsGet # | |
type Scopes ProjectsGet # | |
type Rs ProjectsGet # | |
Request Lenses
pgProject :: Lens' ProjectsGet Text #
Identifies the project addressed by this request.
pgClientOperationId :: Lens' ProjectsGet (Maybe Text) #
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.