Reference documentation and code samples for the Google Workspace Events V1 API class Google::Apps::Events::Subscriptions::V1::DeleteSubscriptionRequest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Workspace Events V1 API - Class Google::Apps::Events::Subscriptions::V1::DeleteSubscriptionRequest (v0.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.0 (latest)](/ruby/docs/reference/google-apps-events-subscriptions-v1/latest/Google-Apps-Events-Subscriptions-V1-DeleteSubscriptionRequest)\n- [0.3.1](/ruby/docs/reference/google-apps-events-subscriptions-v1/0.3.1/Google-Apps-Events-Subscriptions-V1-DeleteSubscriptionRequest)\n- [0.2.0](/ruby/docs/reference/google-apps-events-subscriptions-v1/0.2.0/Google-Apps-Events-Subscriptions-V1-DeleteSubscriptionRequest)\n- [0.1.1](/ruby/docs/reference/google-apps-events-subscriptions-v1/0.1.1/Google-Apps-Events-Subscriptions-V1-DeleteSubscriptionRequest) \nReference documentation and code samples for the Google Workspace Events V1 API class Google::Apps::Events::Subscriptions::V1::DeleteSubscriptionRequest.\n\nThe request message for\n[SubscriptionsService.DeleteSubscription](/ruby/docs/reference/google-apps-events-subscriptions-v1/latest/Google-Apps-Events-Subscriptions-V1-SubscriptionsService-Client#Google__Apps__Events__Subscriptions__V1__SubscriptionsService__Client_delete_subscription_instance_ \"Google::Apps::Events::Subscriptions::V1::SubscriptionsService::Client#delete_subscription (method)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #allow_missing\n\n def allow_missing() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. If set to `true` and the subscription isn't found, the request succeeds but doesn't delete the subscription.\n\n### #allow_missing=\n\n def allow_missing=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. If set to `true` and the subscription isn't found, the request succeeds but doesn't delete the subscription. \n**Returns**\n\n- (::Boolean) --- Optional. If set to `true` and the subscription isn't found, the request succeeds but doesn't delete the subscription.\n\n### #etag\n\n def etag() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Etag of the subscription.\n\n If present, it must match with the server's etag. Otherwise, request\n fails with the status `ABORTED`.\n\n### #etag=\n\n def etag=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Etag of the subscription.\n\n\n If present, it must match with the server's etag. Otherwise, request\nfails with the status `ABORTED`. \n**Returns**\n\n- (::String) --- Optional. Etag of the subscription.\n\n If present, it must match with the server's etag. Otherwise, request\n fails with the status `ABORTED`.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Resource name of the subscription to delete.\n\n Format: `subscriptions/{subscription}`\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Resource name of the subscription to delete.\n\n\nFormat: `subscriptions/{subscription}` \n**Returns**\n\n- (::String) --- Required. Resource name of the subscription to delete.\n\n Format: `subscriptions/{subscription}`\n\n### #validate_only\n\n def validate_only() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. If set to `true`, validates and previews the request, but doesn't delete the subscription.\n\n### #validate_only=\n\n def validate_only=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. If set to `true`, validates and previews the request, but doesn't delete the subscription. \n**Returns**\n\n- (::Boolean) --- Optional. If set to `true`, validates and previews the request, but doesn't delete the subscription."]]