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.billingAccounts.exclusions.create
.
Synopsis
- type BillingAccountsExclusionsCreateResource = "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)))))))))
- billingAccountsExclusionsCreate :: Text -> LogExclusion -> BillingAccountsExclusionsCreate
- data BillingAccountsExclusionsCreate
- baecParent :: Lens' BillingAccountsExclusionsCreate Text
- baecXgafv :: Lens' BillingAccountsExclusionsCreate (Maybe Xgafv)
- baecUploadProtocol :: Lens' BillingAccountsExclusionsCreate (Maybe Text)
- baecAccessToken :: Lens' BillingAccountsExclusionsCreate (Maybe Text)
- baecUploadType :: Lens' BillingAccountsExclusionsCreate (Maybe Text)
- baecPayload :: Lens' BillingAccountsExclusionsCreate LogExclusion
- baecCallback :: Lens' BillingAccountsExclusionsCreate (Maybe Text)
REST Resource
type BillingAccountsExclusionsCreateResource = "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.billingAccounts.exclusions.create
method which the
BillingAccountsExclusionsCreate
request conforms to.
Creating a Request
billingAccountsExclusionsCreate Source #
Creates a value of BillingAccountsExclusionsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BillingAccountsExclusionsCreate 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: billingAccountsExclusionsCreate
smart constructor.
Instances
Request Lenses
baecParent :: Lens' BillingAccountsExclusionsCreate 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".
baecUploadProtocol :: Lens' BillingAccountsExclusionsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
baecAccessToken :: Lens' BillingAccountsExclusionsCreate (Maybe Text) Source #
OAuth access token.
baecUploadType :: Lens' BillingAccountsExclusionsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
baecPayload :: Lens' BillingAccountsExclusionsCreate LogExclusion Source #
Multipart request metadata.
baecCallback :: Lens' BillingAccountsExclusionsCreate (Maybe Text) Source #
JSONP