Cloud Asset V1 API - Class Google::Cloud::Asset::V1::PubsubDestination (v0.32.0)

Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::PubsubDestination.

A Pub/Sub destination.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#topic

def topic() -> ::String
Returns
  • (::String) — The name of the Pub/Sub topic to publish to. Example: projects/PROJECT_ID/topics/TOPIC_ID.

#topic=

def topic=(value) -> ::String
Parameter
  • value (::String) — The name of the Pub/Sub topic to publish to. Example: projects/PROJECT_ID/topics/TOPIC_ID.
Returns
  • (::String) — The name of the Pub/Sub topic to publish to. Example: projects/PROJECT_ID/topics/TOPIC_ID.