class Google::Apis::CloudassetV1::PubsubDestination

A Pub/Sub destination.

Attributes

topic[RW]

The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/ topics/TOPIC_ID`. Corresponds to the JSON property `topic` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1/classes.rb, line 3652
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudasset_v1/classes.rb, line 3657
def update!(**args)
  @topic = args[:topic] if args.key?(:topic)
end