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.Instances.AddServerCa

Contents

Description

Add a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in.

See: Cloud SQL Admin API Reference for sql.instances.addServerCa.

Synopsis

REST Resource

type InstancesAddServerCaResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("addServerCa" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))) Source #

A resource alias for sql.instances.addServerCa method which the InstancesAddServerCa request conforms to.

Creating a Request

instancesAddServerCa Source #

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

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

data InstancesAddServerCa Source #

Add a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in.

See: instancesAddServerCa smart constructor.

Instances
Eq InstancesAddServerCa Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.AddServerCa

Data InstancesAddServerCa Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.AddServerCa

Methods

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

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

toConstr :: InstancesAddServerCa -> Constr #

dataTypeOf :: InstancesAddServerCa -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesAddServerCa Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.AddServerCa

Generic InstancesAddServerCa Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.AddServerCa

Associated Types

type Rep InstancesAddServerCa :: Type -> Type #

GoogleRequest InstancesAddServerCa Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.AddServerCa

Associated Types

type Rs InstancesAddServerCa :: Type #

type Scopes InstancesAddServerCa :: [Symbol] #

type Rep InstancesAddServerCa Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.AddServerCa

type Rep InstancesAddServerCa = D1 (MetaData "InstancesAddServerCa" "Network.Google.Resource.SQL.Instances.AddServerCa" "gogol-sqladmin-0.4.0-E7PrzlfFsl19SfOpZznMc2" False) (C1 (MetaCons "InstancesAddServerCa'" PrefixI True) (S1 (MetaSel (Just "_iascProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_iascInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes InstancesAddServerCa Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.AddServerCa

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

Defined in Network.Google.Resource.SQL.Instances.AddServerCa

Request Lenses

iascProject :: Lens' InstancesAddServerCa Text Source #

Project ID of the project that contains the instance.

iascInstance :: Lens' InstancesAddServerCa Text Source #

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