gogol-sqladmin-0.4.0: Google Cloud SQL Admin SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.SQL.SSLCerts.CreateEphemeral

Contents

Description

Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.

See: Cloud SQL Admin API Reference for sql.sslCerts.createEphemeral.

Synopsis

REST Resource

type SSLCertsCreateEphemeralResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("createEphemeral" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SSLCertsCreateEphemeralRequest :> Post '[JSON] SSLCert)))))))) Source #

A resource alias for sql.sslCerts.createEphemeral method which the SSLCertsCreateEphemeral request conforms to.

Creating a Request

sslCertsCreateEphemeral Source #

Creates a value of SSLCertsCreateEphemeral with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SSLCertsCreateEphemeral Source #

Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.

See: sslCertsCreateEphemeral smart constructor.

Instances
Eq SSLCertsCreateEphemeral Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.CreateEphemeral

Data SSLCertsCreateEphemeral Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.CreateEphemeral

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SSLCertsCreateEphemeral -> c SSLCertsCreateEphemeral #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SSLCertsCreateEphemeral #

toConstr :: SSLCertsCreateEphemeral -> Constr #

dataTypeOf :: SSLCertsCreateEphemeral -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SSLCertsCreateEphemeral) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SSLCertsCreateEphemeral) #

gmapT :: (forall b. Data b => b -> b) -> SSLCertsCreateEphemeral -> SSLCertsCreateEphemeral #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SSLCertsCreateEphemeral -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SSLCertsCreateEphemeral -> r #

gmapQ :: (forall d. Data d => d -> u) -> SSLCertsCreateEphemeral -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SSLCertsCreateEphemeral -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SSLCertsCreateEphemeral -> m SSLCertsCreateEphemeral #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SSLCertsCreateEphemeral -> m SSLCertsCreateEphemeral #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SSLCertsCreateEphemeral -> m SSLCertsCreateEphemeral #

Show SSLCertsCreateEphemeral Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.CreateEphemeral

Generic SSLCertsCreateEphemeral Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.CreateEphemeral

Associated Types

type Rep SSLCertsCreateEphemeral :: Type -> Type #

GoogleRequest SSLCertsCreateEphemeral Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.CreateEphemeral

type Rep SSLCertsCreateEphemeral Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.CreateEphemeral

type Rep SSLCertsCreateEphemeral = D1 (MetaData "SSLCertsCreateEphemeral" "Network.Google.Resource.SQL.SSLCerts.CreateEphemeral" "gogol-sqladmin-0.4.0-E7PrzlfFsl19SfOpZznMc2" False) (C1 (MetaCons "SSLCertsCreateEphemeral'" PrefixI True) (S1 (MetaSel (Just "_scceProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_sccePayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SSLCertsCreateEphemeralRequest) :*: S1 (MetaSel (Just "_scceInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SSLCertsCreateEphemeral Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.CreateEphemeral

type Scopes SSLCertsCreateEphemeral = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/sqlservice.admin" ': ([] :: [Symbol]))
type Rs SSLCertsCreateEphemeral Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.CreateEphemeral

Request Lenses

scceProject :: Lens' SSLCertsCreateEphemeral Text Source #

Project ID of the Cloud SQL project.

scceInstance :: Lens' SSLCertsCreateEphemeral Text Source #

Cloud SQL instance ID. This does not include the project ID.