Class RevokeSubscriptionRequest (0.4.19)

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.