# Class RevokeSubscriptionRequest (0.6.0)

0.9.0 (latest) 0.8.0 0.7.0 0.6.0 0.5.20 0.4.20 0.3.2 0.2.1 0.1.1

    RevokeSubscriptionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message for revoking a subscription.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Required. Resource name of the subscription to revoke. e.g. projects/123/locations/us/subscriptions/456 |
| `revoke_commercial` | `bool` Optional. If the subscription is commercial then this field must be set to true, otherwise a failure is thrown. This acts as a safety guard to avoid revoking commercial subscriptions accidentally. |