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 |
Changes one or more properties of an existing exclusion.
See: Stackdriver Logging API Reference for logging.billingAccounts.exclusions.patch
.
Synopsis
- type BillingAccountsExclusionsPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LogExclusion :> Patch '[JSON] LogExclusion)))))))))
- billingAccountsExclusionsPatch :: LogExclusion -> Text -> BillingAccountsExclusionsPatch
- data BillingAccountsExclusionsPatch
- baepXgafv :: Lens' BillingAccountsExclusionsPatch (Maybe Xgafv)
- baepUploadProtocol :: Lens' BillingAccountsExclusionsPatch (Maybe Text)
- baepUpdateMask :: Lens' BillingAccountsExclusionsPatch (Maybe GFieldMask)
- baepAccessToken :: Lens' BillingAccountsExclusionsPatch (Maybe Text)
- baepUploadType :: Lens' BillingAccountsExclusionsPatch (Maybe Text)
- baepPayload :: Lens' BillingAccountsExclusionsPatch LogExclusion
- baepName :: Lens' BillingAccountsExclusionsPatch Text
- baepCallback :: Lens' BillingAccountsExclusionsPatch (Maybe Text)
REST Resource
type BillingAccountsExclusionsPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LogExclusion :> Patch '[JSON] LogExclusion))))))))) Source #
A resource alias for logging.billingAccounts.exclusions.patch
method which the
BillingAccountsExclusionsPatch
request conforms to.
Creating a Request
billingAccountsExclusionsPatch Source #
Creates a value of BillingAccountsExclusionsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BillingAccountsExclusionsPatch Source #
Changes one or more properties of an existing exclusion.
See: billingAccountsExclusionsPatch
smart constructor.
Instances
Request Lenses
baepUploadProtocol :: Lens' BillingAccountsExclusionsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
baepUpdateMask :: Lens' BillingAccountsExclusionsPatch (Maybe GFieldMask) Source #
Required. A nonempty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of "filter,description".
baepAccessToken :: Lens' BillingAccountsExclusionsPatch (Maybe Text) Source #
OAuth access token.
baepUploadType :: Lens' BillingAccountsExclusionsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
baepPayload :: Lens' BillingAccountsExclusionsPatch LogExclusion Source #
Multipart request metadata.
baepName :: Lens' BillingAccountsExclusionsPatch Text Source #
Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-id/exclusions/my-exclusion-id".
baepCallback :: Lens' BillingAccountsExclusionsPatch (Maybe Text) Source #
JSONP