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.organizations.logs.delete
.
Synopsis
- 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)))))))
- organizationsLogsDelete :: Text -> OrganizationsLogsDelete
- data OrganizationsLogsDelete
- oldXgafv :: Lens' OrganizationsLogsDelete (Maybe Xgafv)
- oldUploadProtocol :: Lens' OrganizationsLogsDelete (Maybe Text)
- oldAccessToken :: Lens' OrganizationsLogsDelete (Maybe Text)
- oldUploadType :: Lens' OrganizationsLogsDelete (Maybe Text)
- oldLogName :: Lens' OrganizationsLogsDelete Text
- oldCallback :: Lens' OrganizationsLogsDelete (Maybe Text)
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
Request Lenses
oldUploadProtocol :: Lens' OrganizationsLogsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oldAccessToken :: Lens' OrganizationsLogsDelete (Maybe Text) Source #
OAuth access token.
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.
oldCallback :: Lens' OrganizationsLogsDelete (Maybe Text) Source #
JSONP