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.organizations.exclusions.create
.
Synopsis
- type OrganizationsExclusionsCreateResource = "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)))))))))
- organizationsExclusionsCreate :: Text -> LogExclusion -> OrganizationsExclusionsCreate
- data OrganizationsExclusionsCreate
- oecParent :: Lens' OrganizationsExclusionsCreate Text
- oecXgafv :: Lens' OrganizationsExclusionsCreate (Maybe Xgafv)
- oecUploadProtocol :: Lens' OrganizationsExclusionsCreate (Maybe Text)
- oecAccessToken :: Lens' OrganizationsExclusionsCreate (Maybe Text)
- oecUploadType :: Lens' OrganizationsExclusionsCreate (Maybe Text)
- oecPayload :: Lens' OrganizationsExclusionsCreate LogExclusion
- oecCallback :: Lens' OrganizationsExclusionsCreate (Maybe Text)
REST Resource
type OrganizationsExclusionsCreateResource = "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.organizations.exclusions.create
method which the
OrganizationsExclusionsCreate
request conforms to.
Creating a Request
organizationsExclusionsCreate Source #
Creates a value of OrganizationsExclusionsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsExclusionsCreate 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: organizationsExclusionsCreate
smart constructor.
Instances
Request Lenses
oecParent :: Lens' OrganizationsExclusionsCreate 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".
oecUploadProtocol :: Lens' OrganizationsExclusionsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oecAccessToken :: Lens' OrganizationsExclusionsCreate (Maybe Text) Source #
OAuth access token.
oecUploadType :: Lens' OrganizationsExclusionsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
oecPayload :: Lens' OrganizationsExclusionsCreate LogExclusion Source #
Multipart request metadata.
oecCallback :: Lens' OrganizationsExclusionsCreate (Maybe Text) Source #
JSONP