Google Workspace Events V1BETA API - Class Google::Apps::Events::Subscriptions::V1beta::NotificationEndpoint (v0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Workspace Events V1BETA API class Google::Apps::Events::Subscriptions::V1beta::NotificationEndpoint.
The endpoint where the subscription delivers events.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#pubsub_topic
defpubsub_topic()->::String
Returns
(::String) — Immutable. The Pub/Sub topic that receives events for the subscription.
Format: projects/{project}/topics/{topic}
You must create the topic in the same Google Cloud project where
you create this subscription.
Note: The Workspace Events API uses ordering
keys for the benefit of
sequential events. If the Cloud Pub/Sub topic has a message storage
policy
configured to exclude the nearest Google Cloud region, publishing events
with ordering keys will fail.
value (::String) — Immutable. The Pub/Sub topic that receives events for the subscription.
Format: projects/{project}/topics/{topic}
You must create the topic in the same Google Cloud project where
you create this subscription.
Note: The Workspace Events API uses ordering
keys for the benefit of
sequential events. If the Cloud Pub/Sub topic has a message storage
policy
configured to exclude the nearest Google Cloud region, publishing events
with ordering keys will fail.
(::String) — Immutable. The Pub/Sub topic that receives events for the subscription.
Format: projects/{project}/topics/{topic}
You must create the topic in the same Google Cloud project where
you create this subscription.
Note: The Workspace Events API uses ordering
keys for the benefit of
sequential events. If the Cloud Pub/Sub topic has a message storage
policy
configured to exclude the nearest Google Cloud region, publishing events
with ordering keys will fail.
[[["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-04 UTC."],[],[],null,["# Google Workspace Events V1BETA API - Class Google::Apps::Events::Subscriptions::V1beta::NotificationEndpoint (v0.1.0)\n\nReference documentation and code samples for the Google Workspace Events V1BETA API class Google::Apps::Events::Subscriptions::V1beta::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 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 Note: The Workspace Events API uses [ordering\n keys](https://cloud.google.com/pubsub/docs/ordering) for the benefit of\n sequential events. If the Cloud Pub/Sub topic has a [message storage\n policy](https://cloud.google.com/pubsub/docs/resource-location-restriction#exceptions)\n configured to exclude the nearest Google Cloud region, publishing events\n with ordering keys will fail.\n\n When the topic receives events, the events are encoded as 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 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 Note: The Workspace Events API uses [ordering\n keys](https://cloud.google.com/pubsub/docs/ordering) for the benefit of\n sequential events. If the Cloud Pub/Sub topic has a [message storage\n policy](https://cloud.google.com/pubsub/docs/resource-location-restriction#exceptions)\n configured to exclude the nearest Google Cloud region, publishing events\n with ordering keys will fail.\n\n When the topic receives events, the events are encoded as 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 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 Note: The Workspace Events API uses [ordering\n keys](https://cloud.google.com/pubsub/docs/ordering) for the benefit of\n sequential events. If the Cloud Pub/Sub topic has a [message storage\n policy](https://cloud.google.com/pubsub/docs/resource-location-restriction#exceptions)\n configured to exclude the nearest Google Cloud region, publishing events\n with ordering keys will fail.\n\n When the topic receives events, the events are encoded as 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)."]]