Class: Google::Pubsub::V1::Topic
- Inherits:
-
Object
- Object
- Google::Pubsub::V1::Topic
- Defined in:
- lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb
Overview
A topic resource.
Instance Attribute Summary collapse
-
#labels ⇒ Hash{String => String}
User labels.
-
#name ⇒ String
The name of the topic.
Instance Attribute Details
#labels ⇒ Hash{String => String}
Returns User labels.
43 |
# File 'lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb', line 43 class Topic; end |
#name ⇒ String
Returns 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"+.
43 |
# File 'lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb', line 43 class Topic; end |