Reference documentation and code samples for the Google Apps Events Subscriptions V1 Client class NotificationEndpoint.
The endpoint where the subscription delivers events.
Generated from protobuf message google.apps.events.subscriptions.v1.NotificationEndpoint
Namespace
Google \ Apps \ Events \ Subscriptions \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ pubsub_topic
string
Immutable. The Cloud 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. When the topic receives events, the events are encoded as Cloud Pub/Sub messages. For details, see the Google Cloud Pub/Sub Protocol Binding for CloudEvents
.
getPubsubTopic
Immutable. The Cloud 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.
When the topic receives events, the events are encoded as Cloud Pub/Sub
messages. For details, see the Google Cloud Pub/Sub Protocol Binding for
CloudEvents
.
string
hasPubsubTopic
setPubsubTopic
Immutable. The Cloud 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.
When the topic receives events, the events are encoded as Cloud Pub/Sub
messages. For details, see the Google Cloud Pub/Sub Protocol Binding for
CloudEvents
.
var
string
$this
getEndpoint
string