Google Workspace Events V1BETA API - Class Google::Apps::Events::Subscriptions::V1beta::NotificationEndpoint (v0.1.0)

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

def pubsub_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.

    When the topic receives events, the events are encoded as Pub/Sub messages. For details, see the Google Cloud Pub/Sub Protocol Binding for CloudEvents.

#pubsub_topic=

def pubsub_topic=(value) -> ::String
Parameter
  • 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.

    When the topic receives events, the events are encoded as Pub/Sub messages. For details, see the Google Cloud Pub/Sub Protocol Binding for CloudEvents.

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.

    When the topic receives events, the events are encoded as Pub/Sub messages. For details, see the Google Cloud Pub/Sub Protocol Binding for CloudEvents.