Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::GetTopicRequest.
Request for the GetTopic method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#topic
def topic() -> ::String
Returns
-
(::String) — Required. The name of the topic to get.
Format is
projects/{project}/topics/{topic}
.
#topic=
def topic=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the topic to get.
Format is
projects/{project}/topics/{topic}
.
Returns
-
(::String) — Required. The name of the topic to get.
Format is
projects/{project}/topics/{topic}
.