class Google::Apis::PubsubV1beta1a::Topic

A topic resource.

Attributes

name[RW]

Name of the topic. Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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