Google Workspace Add-ons V1 API - Class Google::Cloud::GSuiteAddOns::V1::CloudPubSubEndpointConfig (v1.10.0)

Reference documentation and code samples for the Google Workspace Add-ons V1 API class Google::Cloud::GSuiteAddOns::V1::CloudPubSubEndpointConfig.

Pub/Sub endpoint configuration.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#topic

def topic() -> ::String
Returns
  • (::String) — Required. The Pub/Sub topic to which Google Chat publishes all interactive events. The topic must be in the same Google Cloud project as the app, and Chat must have permission to publish messages to the topic. For details, see Build a Google Chat app with Pub/Sub.

    Format: projects/{project}/topics/{topic}

#topic=

def topic=(value) -> ::String
Parameter
  • value (::String) — Required. The Pub/Sub topic to which Google Chat publishes all interactive events. The topic must be in the same Google Cloud project as the app, and Chat must have permission to publish messages to the topic. For details, see Build a Google Chat app with Pub/Sub.

    Format: projects/{project}/topics/{topic}

Returns
  • (::String) — Required. The Pub/Sub topic to which Google Chat publishes all interactive events. The topic must be in the same Google Cloud project as the app, and Chat must have permission to publish messages to the topic. For details, see Build a Google Chat app with Pub/Sub.

    Format: projects/{project}/topics/{topic}