Reference documentation and code samples for the Google Workspace Events V1BETA API class Google::Apps::Events::Subscriptions::V1beta::UpdateSubscriptionRequest.
The request message for SubscriptionsService.UpdateSubscription.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#subscription
def subscription() -> ::Google::Apps::Events::Subscriptions::V1beta::Subscription
-
(::Google::Apps::Events::Subscriptions::V1beta::Subscription) — Required. The subscription to update.
The subscription's
name
field is used to identify the subscription to update.
#subscription=
def subscription=(value) -> ::Google::Apps::Events::Subscriptions::V1beta::Subscription
-
value (::Google::Apps::Events::Subscriptions::V1beta::Subscription) — Required. The subscription to update.
The subscription's
name
field is used to identify the subscription to update.
-
(::Google::Apps::Events::Subscriptions::V1beta::Subscription) — Required. The subscription to update.
The subscription's
name
field is used to identify the subscription to update.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
-
(::Google::Protobuf::FieldMask) — 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.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
-
value (::Google::Protobuf::FieldMask) — 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) — 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.
#validate_only
def validate_only() -> ::Boolean
-
(::Boolean) — Optional. If set to
true
, validates and previews the request, but doesn't update the subscription.
#validate_only=
def validate_only=(value) -> ::Boolean
-
value (::Boolean) — Optional. If set to
true
, validates and previews the request, but doesn't update the subscription.
-
(::Boolean) — Optional. If set to
true
, validates and previews the request, but doesn't update the subscription.