Reference documentation and code samples for the Google Workspace Events V1 API class Google::Apps::Events::Subscriptions::V1::CreateSubscriptionRequest.
The request message for SubscriptionsService.CreateSubscription.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#subscription
def subscription() -> ::Google::Apps::Events::Subscriptions::V1::Subscription
Returns
- (::Google::Apps::Events::Subscriptions::V1::Subscription) — Required. The subscription resource to create.
#subscription=
def subscription=(value) -> ::Google::Apps::Events::Subscriptions::V1::Subscription
Parameter
- value (::Google::Apps::Events::Subscriptions::V1::Subscription) — Required. The subscription resource to create.
Returns
- (::Google::Apps::Events::Subscriptions::V1::Subscription) — Required. The subscription resource to create.
#validate_only
def validate_only() -> ::Boolean
Returns
-
(::Boolean) — Optional. If set to
true
, validates and previews the request, but doesn't create the subscription.
#validate_only=
def validate_only=(value) -> ::Boolean
Parameter
-
value (::Boolean) — Optional. If set to
true
, validates and previews the request, but doesn't create the subscription.
Returns
-
(::Boolean) — Optional. If set to
true
, validates and previews the request, but doesn't create the subscription.