[[["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::NotificationEndpoint (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-NotificationEndpoint)\n- [0.3.1](/ruby/docs/reference/google-apps-events-subscriptions-v1/0.3.1/Google-Apps-Events-Subscriptions-V1-NotificationEndpoint)\n- [0.2.0](/ruby/docs/reference/google-apps-events-subscriptions-v1/0.2.0/Google-Apps-Events-Subscriptions-V1-NotificationEndpoint)\n- [0.1.1](/ruby/docs/reference/google-apps-events-subscriptions-v1/0.1.1/Google-Apps-Events-Subscriptions-V1-NotificationEndpoint) \nReference documentation and code samples for the Google Workspace Events V1 API class Google::Apps::Events::Subscriptions::V1::NotificationEndpoint.\n\nThe endpoint where the subscription delivers events. \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### #pubsub_topic\n\n def pubsub_topic() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Immutable. The Cloud Pub/Sub topic that receives events for the subscription.\n\n Format: `projects/{project}/topics/{topic}`\n\n You must create the topic in the same Google Cloud project where\n you create this subscription.\n\n When the topic receives events, the events are encoded as Cloud Pub/Sub\n messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for\n CloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md).\n\n### #pubsub_topic=\n\n def pubsub_topic=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Immutable. The Cloud Pub/Sub topic that receives events for the subscription.\n\n\n Format: `projects/{project}/topics/{topic}`\n\n You must create the topic in the same Google Cloud project where\n you create this subscription.\n\n When the topic receives events, the events are encoded as Cloud Pub/Sub\n messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for\nCloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md). \n**Returns**\n\n- (::String) --- Immutable. The Cloud Pub/Sub topic that receives events for the subscription.\n\n Format: `projects/{project}/topics/{topic}`\n\n You must create the topic in the same Google Cloud project where\n you create this subscription.\n\n When the topic receives events, the events are encoded as Cloud Pub/Sub\n messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for\n CloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md)."]]