[[["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 CreateSubscriptionRequest (0.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.3.1 (latest)](/php/docs/reference/apps-events-subscriptions/latest/V1.CreateSubscriptionRequest)\n- [0.3.0](/php/docs/reference/apps-events-subscriptions/0.3.0/V1.CreateSubscriptionRequest)\n- [0.2.1](/php/docs/reference/apps-events-subscriptions/0.2.1/V1.CreateSubscriptionRequest)\n- [0.1.6](/php/docs/reference/apps-events-subscriptions/0.1.6/V1.CreateSubscriptionRequest) \nReference documentation and code samples for the Google Apps Events Subscriptions V1 Client class CreateSubscriptionRequest.\n\nThe request message for\n[SubscriptionsService.CreateSubscription](/php/docs/reference/apps-events-subscriptions/latest/V1.Client.SubscriptionsServiceClient#_Google_Apps_Events_Subscriptions_V1_Client_SubscriptionsServiceClient__createSubscription__).\n\nGenerated from protobuf message `google.apps.events.subscriptions.v1.CreateSubscriptionRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Apps \\\\ Events \\\\ Subscriptions \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSubscription\n\nRequired. The subscription resource to create.\n\n### hasSubscription\n\n### clearSubscription\n\n### setSubscription\n\nRequired. The subscription resource to create.\n\n### getValidateOnly\n\nOptional. If set to `true`, validates and previews the request, but doesn't\ncreate the subscription.\n\n### setValidateOnly\n\nOptional. If set to `true`, validates and previews the request, but doesn't\ncreate the subscription.\n\n### static::build"]]