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 |
Creates a new exclusion in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.
See: Stackdriver Logging API Reference for logging.folders.exclusions.create
.
Synopsis
- type FoldersExclusionsCreateResource = "v2" :> (Capture "parent" Text :> ("exclusions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LogExclusion :> Post '[JSON] LogExclusion)))))))))
- foldersExclusionsCreate :: Text -> LogExclusion -> FoldersExclusionsCreate
- data FoldersExclusionsCreate
- fecParent :: Lens' FoldersExclusionsCreate Text
- fecXgafv :: Lens' FoldersExclusionsCreate (Maybe Xgafv)
- fecUploadProtocol :: Lens' FoldersExclusionsCreate (Maybe Text)
- fecAccessToken :: Lens' FoldersExclusionsCreate (Maybe Text)
- fecUploadType :: Lens' FoldersExclusionsCreate (Maybe Text)
- fecPayload :: Lens' FoldersExclusionsCreate LogExclusion
- fecCallback :: Lens' FoldersExclusionsCreate (Maybe Text)
REST Resource
type FoldersExclusionsCreateResource = "v2" :> (Capture "parent" Text :> ("exclusions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LogExclusion :> Post '[JSON] LogExclusion))))))))) Source #
A resource alias for logging.folders.exclusions.create
method which the
FoldersExclusionsCreate
request conforms to.
Creating a Request
foldersExclusionsCreate Source #
Creates a value of FoldersExclusionsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FoldersExclusionsCreate Source #
Creates a new exclusion in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.
See: foldersExclusionsCreate
smart constructor.
Instances
Request Lenses
fecParent :: Lens' FoldersExclusionsCreate Text Source #
Required. The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: "projects/my-logging-project", "organizations/123456789".
fecUploadProtocol :: Lens' FoldersExclusionsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
fecAccessToken :: Lens' FoldersExclusionsCreate (Maybe Text) Source #
OAuth access token.
fecUploadType :: Lens' FoldersExclusionsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
fecPayload :: Lens' FoldersExclusionsCreate LogExclusion Source #
Multipart request metadata.
fecCallback :: Lens' FoldersExclusionsCreate (Maybe Text) Source #
JSONP