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

Reference documentation and code samples for the Google Workspace Events V1 API class Google::Apps::Events::Subscriptions::V1::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 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.

#pubsub_topic=

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

Returns
  • (::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.