Google Workspace Events V1 API - Class Google::Apps::Events::Subscriptions::V1::DeleteSubscriptionRequest (v0.1.1)

Reference documentation and code samples for the Google Workspace Events V1 API class Google::Apps::Events::Subscriptions::V1::DeleteSubscriptionRequest.

The request message for SubscriptionsService.DeleteSubscription.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_missing

def allow_missing() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set to true and the subscription isn't found, the request succeeds but doesn't delete the subscription.

#allow_missing=

def allow_missing=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set to true and the subscription isn't found, the request succeeds but doesn't delete the subscription.
Returns
  • (::Boolean) — Optional. If set to true and the subscription isn't found, the request succeeds but doesn't delete the subscription.

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. Etag of the subscription.

    If present, it must match with the server's etag. Otherwise, request fails with the status ABORTED.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. Etag of the subscription.

    If present, it must match with the server's etag. Otherwise, request fails with the status ABORTED.

Returns
  • (::String) — Optional. Etag of the subscription.

    If present, it must match with the server's etag. Otherwise, request fails with the status ABORTED.

#name

def name() -> ::String
Returns
  • (::String) — Required. Resource name of the subscription to delete.

    Format: subscriptions/{subscription}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Resource name of the subscription to delete.

    Format: subscriptions/{subscription}

Returns
  • (::String) — Required. Resource name of the subscription to delete.

    Format: subscriptions/{subscription}

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set to true, validates and previews the request, but doesn't delete 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 delete the subscription.
Returns
  • (::Boolean) — Optional. If set to true, validates and previews the request, but doesn't delete the subscription.