[[["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 Apps Events Subscriptions V1 Client - Class DeleteSubscriptionRequest (0.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.3.1 (latest)](/php/docs/reference/apps-events-subscriptions/latest/V1.DeleteSubscriptionRequest)\n- [0.3.0](/php/docs/reference/apps-events-subscriptions/0.3.0/V1.DeleteSubscriptionRequest)\n- [0.2.1](/php/docs/reference/apps-events-subscriptions/0.2.1/V1.DeleteSubscriptionRequest)\n- [0.1.6](/php/docs/reference/apps-events-subscriptions/0.1.6/V1.DeleteSubscriptionRequest) \nReference documentation and code samples for the Google Apps Events Subscriptions V1 Client class DeleteSubscriptionRequest.\n\nThe request message for\n[SubscriptionsService.DeleteSubscription](/php/docs/reference/apps-events-subscriptions/latest/V1.Client.SubscriptionsServiceClient#_Google_Apps_Events_Subscriptions_V1_Client_SubscriptionsServiceClient__deleteSubscription__).\n\nGenerated from protobuf message `google.apps.events.subscriptions.v1.DeleteSubscriptionRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Apps \\\\ Events \\\\ Subscriptions \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Resource name of the subscription to delete.\n\nFormat: `subscriptions/{subscription}`\n\n### setName\n\nRequired. Resource name of the subscription to delete.\n\nFormat: `subscriptions/{subscription}`\n\n### getValidateOnly\n\nOptional. If set to `true`, validates and previews the request, but doesn't\ndelete the subscription.\n\n### setValidateOnly\n\nOptional. If set to `true`, validates and previews the request, but doesn't\ndelete the subscription.\n\n### getAllowMissing\n\nOptional. If set to `true` and the subscription isn't found, the request\nsucceeds but doesn't delete the subscription.\n\n### setAllowMissing\n\nOptional. If set to `true` and the subscription isn't found, the request\nsucceeds but doesn't delete the subscription.\n\n### getEtag\n\nOptional. Etag of the subscription.\n\nIf present, it must match with the server's etag. Otherwise, request\nfails with the status `ABORTED`.\n\n### setEtag\n\nOptional. Etag of the subscription.\n\nIf present, it must match with the server's etag. Otherwise, request\nfails with the status `ABORTED`.\n\n### static::build"]]