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.Projects.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.projects.logs.delete.

Synopsis

REST Resource

type ProjectsLogsDeleteResource = "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.projects.logs.delete method which the ProjectsLogsDelete request conforms to.

Creating a Request

projectsLogsDelete Source #

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

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

data ProjectsLogsDelete 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: projectsLogsDelete smart constructor.

Instances
Eq ProjectsLogsDelete Source # 
Instance details

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

Data ProjectsLogsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLogsDelete -> Constr #

dataTypeOf :: ProjectsLogsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLogsDelete Source # 
Instance details

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

Generic ProjectsLogsDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsLogsDelete :: Type -> Type #

GoogleRequest ProjectsLogsDelete Source # 
Instance details

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

Associated Types

type Rs ProjectsLogsDelete :: Type #

type Scopes ProjectsLogsDelete :: [Symbol] #

type Rep ProjectsLogsDelete Source # 
Instance details

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

type Rep ProjectsLogsDelete = D1 (MetaData "ProjectsLogsDelete" "Network.Google.Resource.Logging.Projects.Logs.Delete" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "ProjectsLogsDelete'" PrefixI True) ((S1 (MetaSel (Just "_pldXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pldUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pldAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pldUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pldLogName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pldCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLogsDelete Source # 
Instance details

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

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

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

Request Lenses

pldUploadProtocol :: Lens' ProjectsLogsDelete (Maybe Text) Source #

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

pldUploadType :: Lens' ProjectsLogsDelete (Maybe Text) Source #

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

pldLogName :: Lens' ProjectsLogsDelete 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.