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
.
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
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 Source #
Fetch the representation of an existing Project.
See: projectsGet
smart constructor.
Instances
Eq ProjectsGet Source # | |
Defined in Network.Google.Resource.DNS.Projects.Get | |
Data ProjectsGet Source # | |
Defined in Network.Google.Resource.DNS.Projects.Get Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsGet -> c ProjectsGet # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsGet # toConstr :: ProjectsGet -> Constr # dataTypeOf :: ProjectsGet -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsGet) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsGet) # gmapT :: (forall b. Data b => b -> b) -> ProjectsGet -> ProjectsGet # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsGet -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsGet -> r # gmapQ :: (forall d. Data d => d -> u) -> ProjectsGet -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsGet -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsGet -> m ProjectsGet # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsGet -> m ProjectsGet # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsGet -> m ProjectsGet # | |
Show ProjectsGet Source # | |
Defined in Network.Google.Resource.DNS.Projects.Get Methods showsPrec :: Int -> ProjectsGet -> ShowS # show :: ProjectsGet -> String # showList :: [ProjectsGet] -> ShowS # | |
Generic ProjectsGet Source # | |
Defined in Network.Google.Resource.DNS.Projects.Get Associated Types type Rep ProjectsGet :: Type -> Type # | |
GoogleRequest ProjectsGet Source # | |
Defined in Network.Google.Resource.DNS.Projects.Get Methods requestClient :: ProjectsGet -> GClient (Rs ProjectsGet) # | |
type Rep ProjectsGet Source # | |
Defined in Network.Google.Resource.DNS.Projects.Get type Rep ProjectsGet = D1 (MetaData "ProjectsGet" "Network.Google.Resource.DNS.Projects.Get" "gogol-dns-0.4.0-FGL4N5c1W6oLe6JT83PCEl" False) (C1 (MetaCons "ProjectsGet'" PrefixI True) (S1 (MetaSel (Just "_pgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pgClientOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) | |
type Scopes ProjectsGet Source # | |
Defined in Network.Google.Resource.DNS.Projects.Get type Scopes ProjectsGet = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/cloud-platform.read-only" ': ("https://www.googleapis.com/auth/ndev.clouddns.readonly" ': ("https://www.googleapis.com/auth/ndev.clouddns.readwrite" ': ([] :: [Symbol])))) | |
type Rs ProjectsGet Source # | |
Defined in Network.Google.Resource.DNS.Projects.Get |
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.