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

Synopsis

REST Resource

type OrganizationsLogsDeleteResource = "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.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. Log entries written shortly before the delete operation might not be deleted.

See: organizationsLogsDelete smart constructor.

Instances
Eq OrganizationsLogsDelete Source # 
Instance details

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

Data OrganizationsLogsDelete Source # 
Instance details

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

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 # 
Instance details

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

Generic OrganizationsLogsDelete Source # 
Instance details

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

Associated Types

type Rep OrganizationsLogsDelete :: Type -> Type #

GoogleRequest OrganizationsLogsDelete Source # 
Instance details

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

type Rep OrganizationsLogsDelete Source # 
Instance details

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

type Rep OrganizationsLogsDelete = D1 (MetaData "OrganizationsLogsDelete" "Network.Google.Resource.Logging.Organizations.Logs.Delete" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "OrganizationsLogsDelete'" PrefixI True) ((S1 (MetaSel (Just "_oldXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_oldUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oldAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_oldUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_oldLogName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_oldCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsLogsDelete Source # 
Instance details

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

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

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

Request Lenses

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

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

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]" "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.