gogol-logging-0.2.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.Folders.Logs.Delete

Contents

Description

Deletes all the log entries in a log. The log reappears if it receives new entries.

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

Synopsis

REST Resource

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

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

Creating a Request

foldersLogsDelete Source #

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

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

data FoldersLogsDelete Source #

Deletes all the log entries in a log. The log reappears if it receives new entries.

See: foldersLogsDelete smart constructor.

Instances

Eq FoldersLogsDelete Source # 
Data FoldersLogsDelete Source # 

Methods

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

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

toConstr :: FoldersLogsDelete -> Constr #

dataTypeOf :: FoldersLogsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FoldersLogsDelete Source # 
Generic FoldersLogsDelete Source # 
GoogleRequest FoldersLogsDelete Source # 
type Rep FoldersLogsDelete Source # 
type Scopes FoldersLogsDelete Source # 
type Scopes FoldersLogsDelete = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/logging.admin" ([] Symbol))
type Rs FoldersLogsDelete Source # 

Request Lenses

fldUploadProtocol :: Lens' FoldersLogsDelete (Maybe Text) Source #

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

fldPp :: Lens' FoldersLogsDelete Bool Source #

Pretty-print response.

fldUploadType :: Lens' FoldersLogsDelete (Maybe Text) Source #

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

fldLogName :: Lens' FoldersLogsDelete Text Source #

Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[LOG_ID]" "organizations/[ORGANIZATION_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.