# Google Workspace Events V1BETA API - Class Google::Apps::Events::Subscriptions::V1beta::DeleteSubscriptionRequest (v0.5.0)

0.5.0 (latest) 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Workspace Events V1BETA API class Google::Apps::Events::Subscriptions::V1beta::DeleteSubscriptionRequest.

The request message for
[SubscriptionsService.DeleteSubscription](https://docs.cloud.google.com/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-SubscriptionsService-Client#Google__Apps__Events__Subscriptions__V1beta__SubscriptionsService__Client_delete_subscription_instance_ "Google::Apps::Events::Subscriptions::V1beta::SubscriptionsService::Client#delete_subscription (method)").

## 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.