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 a sink. If the sink has a unique writer_identity, then that service account is also deleted.
See: Stackdriver Logging API Reference for logging.billingAccounts.sinks.delete
.
- type BillingAccountsSinksDeleteResource = "v2" :> (Capture "sinkName" 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)))))))))
- billingAccountsSinksDelete :: Text -> BillingAccountsSinksDelete
- data BillingAccountsSinksDelete
- basdXgafv :: Lens' BillingAccountsSinksDelete (Maybe Xgafv)
- basdUploadProtocol :: Lens' BillingAccountsSinksDelete (Maybe Text)
- basdPp :: Lens' BillingAccountsSinksDelete Bool
- basdAccessToken :: Lens' BillingAccountsSinksDelete (Maybe Text)
- basdUploadType :: Lens' BillingAccountsSinksDelete (Maybe Text)
- basdBearerToken :: Lens' BillingAccountsSinksDelete (Maybe Text)
- basdSinkName :: Lens' BillingAccountsSinksDelete Text
- basdCallback :: Lens' BillingAccountsSinksDelete (Maybe Text)
REST Resource
type BillingAccountsSinksDeleteResource = "v2" :> (Capture "sinkName" 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.billingAccounts.sinks.delete
method which the
BillingAccountsSinksDelete
request conforms to.
Creating a Request
billingAccountsSinksDelete Source #
Creates a value of BillingAccountsSinksDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BillingAccountsSinksDelete Source #
Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
See: billingAccountsSinksDelete
smart constructor.
Request Lenses
basdUploadProtocol :: Lens' BillingAccountsSinksDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
basdAccessToken :: Lens' BillingAccountsSinksDelete (Maybe Text) Source #
OAuth access token.
basdUploadType :: Lens' BillingAccountsSinksDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
basdBearerToken :: Lens' BillingAccountsSinksDelete (Maybe Text) Source #
OAuth bearer token.
basdSinkName :: Lens' BillingAccountsSinksDelete Text Source #
Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" It is an error if the sink does not exist. Example: "projects/my-project-id/sinks/my-sink-id". It is an error if the sink does not exist.
basdCallback :: Lens' BillingAccountsSinksDelete (Maybe Text) Source #
JSONP