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.TruncateLog

Contents

Description

Truncate MySQL general and slow query log tables

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

Synopsis

REST Resource

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

A resource alias for sql.instances.truncateLog method which the InstancesTruncateLog request conforms to.

Creating a Request

instancesTruncateLog Source #

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

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

data InstancesTruncateLog Source #

Truncate MySQL general and slow query log tables

See: instancesTruncateLog smart constructor.

Instances
Eq InstancesTruncateLog Source # 
Instance details

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

Data InstancesTruncateLog Source # 
Instance details

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

Methods

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

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

toConstr :: InstancesTruncateLog -> Constr #

dataTypeOf :: InstancesTruncateLog -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesTruncateLog Source # 
Instance details

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

Generic InstancesTruncateLog Source # 
Instance details

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

Associated Types

type Rep InstancesTruncateLog :: Type -> Type #

GoogleRequest InstancesTruncateLog Source # 
Instance details

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

Associated Types

type Rs InstancesTruncateLog :: Type #

type Scopes InstancesTruncateLog :: [Symbol] #

type Rep InstancesTruncateLog Source # 
Instance details

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

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

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

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

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

Request Lenses

itlProject :: Lens' InstancesTruncateLog Text Source #

Project ID of the Cloud SQL project.

itlInstance :: Lens' InstancesTruncateLog Text Source #

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