Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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)))))))
- projectsLogsDelete :: Text -> ProjectsLogsDelete
- data ProjectsLogsDelete
- pldXgafv :: Lens' ProjectsLogsDelete (Maybe Xgafv)
- pldUploadProtocol :: Lens' ProjectsLogsDelete (Maybe Text)
- pldAccessToken :: Lens' ProjectsLogsDelete (Maybe Text)
- pldUploadType :: Lens' ProjectsLogsDelete (Maybe Text)
- pldLogName :: Lens' ProjectsLogsDelete Text
- pldCallback :: Lens' ProjectsLogsDelete (Maybe Text)
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
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
Request Lenses
pldUploadProtocol :: Lens' ProjectsLogsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pldAccessToken :: Lens' ProjectsLogsDelete (Maybe Text) Source #
OAuth access token.
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.
pldCallback :: Lens' ProjectsLogsDelete (Maybe Text) Source #
JSONP