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.Organizations.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.organizations.logs.delete.

Synopsis

REST Resource

type OrganizationsLogsDeleteResource = "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.organizations.logs.delete method which the OrganizationsLogsDelete request conforms to.

Creating a Request

organizationsLogsDelete Source #

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

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

data OrganizationsLogsDelete Source #

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

See: organizationsLogsDelete smart constructor.

Instances

Eq OrganizationsLogsDelete Source # 
Data OrganizationsLogsDelete Source # 

Methods

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

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

toConstr :: OrganizationsLogsDelete -> Constr #

dataTypeOf :: OrganizationsLogsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsLogsDelete Source # 
Generic OrganizationsLogsDelete Source # 
GoogleRequest OrganizationsLogsDelete Source # 
type Rep OrganizationsLogsDelete Source # 
type Rep OrganizationsLogsDelete = D1 (MetaData "OrganizationsLogsDelete" "Network.Google.Resource.Logging.Organizations.Logs.Delete" "gogol-logging-0.2.0-BZURF0G1h2O9fo4gJmkmAd" False) (C1 (MetaCons "OrganizationsLogsDelete'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_oldXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) (S1 (MetaSel (Just Symbol "_oldUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_oldPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_oldAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_oldUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_oldBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_oldLogName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_oldCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes OrganizationsLogsDelete Source # 
type Scopes OrganizationsLogsDelete = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/logging.admin" ([] Symbol))
type Rs OrganizationsLogsDelete Source # 

Request Lenses

oldUploadProtocol :: Lens' OrganizationsLogsDelete (Maybe Text) Source #

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

oldPp :: Lens' OrganizationsLogsDelete Bool Source #

Pretty-print response.

oldUploadType :: Lens' OrganizationsLogsDelete (Maybe Text) Source #

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

oldLogName :: Lens' OrganizationsLogsDelete 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.