gogol-logging-0.4.0: Google Stackdriver Logging 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.Logging.Logs.Delete

Contents

Description

Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.

See: Stackdriver Logging API Reference for logging.logs.delete.

Synopsis

REST Resource

type LogsDeleteResource = "v2" :> (Capture "logName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #

A resource alias for logging.logs.delete method which the LogsDelete request conforms to.

Creating a Request

logsDelete Source #

Arguments

:: Text

ldLogName

-> LogsDelete 

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

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

data LogsDelete Source #

Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.

See: logsDelete smart constructor.

Instances
Eq LogsDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.Logs.Delete

Data LogsDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.Logs.Delete

Methods

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

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

toConstr :: LogsDelete -> Constr #

dataTypeOf :: LogsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LogsDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.Logs.Delete

Generic LogsDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.Logs.Delete

Associated Types

type Rep LogsDelete :: Type -> Type #

GoogleRequest LogsDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.Logs.Delete

Associated Types

type Rs LogsDelete :: Type #

type Scopes LogsDelete :: [Symbol] #

type Rep LogsDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.Logs.Delete

type Rep LogsDelete = D1 (MetaData "LogsDelete" "Network.Google.Resource.Logging.Logs.Delete" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "LogsDelete'" PrefixI True) ((S1 (MetaSel (Just "_ldXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ldUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ldUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ldLogName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ldCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes LogsDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.Logs.Delete

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

Defined in Network.Google.Resource.Logging.Logs.Delete

Request Lenses

ldXgafv :: Lens' LogsDelete (Maybe Xgafv) Source #

V1 error format.

ldUploadProtocol :: Lens' LogsDelete (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

ldAccessToken :: Lens' LogsDelete (Maybe Text) Source #

OAuth access token.

ldUploadType :: Lens' LogsDelete (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

ldLogName :: Lens' LogsDelete Text Source #

Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". For more information about log names, see LogEntry.