public interface RevokeSubscriptionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
boolean |
getRevokeCommercial()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. Resource name of the subscription to revoke. e.g. projects/123/locations/us/subscriptions/456
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getNameBytes()
Required. Resource name of the subscription to revoke. e.g. projects/123/locations/us/subscriptions/456
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean getRevokeCommercial()
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.
bool revoke_commercial = 2 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2025 Google LLC. All rights reserved.