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.
See: Stackdriver Logging API Reference for logging.folders.logs.delete
.
- type FoldersLogsDeleteResource = "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)))))))))
- foldersLogsDelete :: Text -> FoldersLogsDelete
- data FoldersLogsDelete
- fldXgafv :: Lens' FoldersLogsDelete (Maybe Xgafv)
- fldUploadProtocol :: Lens' FoldersLogsDelete (Maybe Text)
- fldPp :: Lens' FoldersLogsDelete Bool
- fldAccessToken :: Lens' FoldersLogsDelete (Maybe Text)
- fldUploadType :: Lens' FoldersLogsDelete (Maybe Text)
- fldBearerToken :: Lens' FoldersLogsDelete (Maybe Text)
- fldLogName :: Lens' FoldersLogsDelete Text
- fldCallback :: Lens' FoldersLogsDelete (Maybe Text)
REST Resource
type FoldersLogsDeleteResource = "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.folders.logs.delete
method which the
FoldersLogsDelete
request conforms to.
Creating a Request
Creates a value of FoldersLogsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FoldersLogsDelete Source #
Deletes all the log entries in a log. The log reappears if it receives new entries.
See: foldersLogsDelete
smart constructor.
Request Lenses
fldUploadProtocol :: Lens' FoldersLogsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
fldAccessToken :: Lens' FoldersLogsDelete (Maybe Text) Source #
OAuth access token.
fldUploadType :: Lens' FoldersLogsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
fldBearerToken :: Lens' FoldersLogsDelete (Maybe Text) Source #
OAuth bearer token.
fldLogName :: Lens' FoldersLogsDelete 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.
fldCallback :: Lens' FoldersLogsDelete (Maybe Text) Source #
JSONP