public interface UpdateSubscriptionRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getSubscription()
public abstract Subscription getSubscription()
Required. The subscription to update.
The subscription's name
field is used to identify the subscription to
update.
.google.apps.events.subscriptions.v1beta.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Subscription |
The subscription. |
getSubscriptionOrBuilder()
public abstract SubscriptionOrBuilder getSubscriptionOrBuilder()
Required. The subscription to update.
The subscription's name
field is used to identify the subscription to
update.
.google.apps.events.subscriptions.v1beta.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SubscriptionOrBuilder |
getUpdateMask()
public abstract FieldMask getUpdateMask()
Optional. The field to update. If omitted, updates any fields included in the request.
You can update one of the following fields in a subscription:
expire_time
: The timestamp when the subscription expires.ttl
: The time-to-live (TTL) or duration of the subscription.event_types
: The list of event types to receive about the target resource.To fully replace the subscription (the equivalent of
PUT
), use*
. Any omitted fields are updated with empty values.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskOrBuilder()
public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The field to update. If omitted, updates any fields included in the request.
You can update one of the following fields in a subscription:
expire_time
: The timestamp when the subscription expires.ttl
: The time-to-live (TTL) or duration of the subscription.event_types
: The list of event types to receive about the target resource.To fully replace the subscription (the equivalent of
PUT
), use*
. Any omitted fields are updated with empty values.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FieldMaskOrBuilder |
getValidateOnly()
public abstract boolean getValidateOnly()
Optional. If set to true
, validates and previews the request, but doesn't
update the subscription.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The validateOnly. |
hasSubscription()
public abstract boolean hasSubscription()
Required. The subscription to update.
The subscription's name
field is used to identify the subscription to
update.
.google.apps.events.subscriptions.v1beta.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the subscription field is set. |
hasUpdateMask()
public abstract boolean hasUpdateMask()
Optional. The field to update. If omitted, updates any fields included in the request.
You can update one of the following fields in a subscription:
expire_time
: The timestamp when the subscription expires.ttl
: The time-to-live (TTL) or duration of the subscription.event_types
: The list of event types to receive about the target resource.To fully replace the subscription (the equivalent of
PUT
), use*
. Any omitted fields are updated with empty values.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateMask field is set. |