class Google::Apis::PubsubV1beta2::Topic
A topic resource.
Attributes
name[RW]
The name of the topic. It must have the format `“projects/`project`/topics/` topic`”`. “topic“ must start with a letter, and contain only letters (`[A-Za- z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `“goog”`. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/pubsub_v1beta2/classes.rb, line 802 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_v1beta2/classes.rb, line 807 def update!(**args) @name = args[:name] if args.key?(:name) end