Reference documentation and code samples for the Cloud PubSub V1 Client class GetTopicRequest.
Request for the GetTopic method.
Generated from protobuf message google.pubsub.v1.GetTopicRequest
Namespace
Google \ Cloud \ PubSub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ topic
string
Required. The name of the topic to get. Format is projects/{project}/topics/{topic}
.
getTopic
Required. The name of the topic to get.
Format is projects/{project}/topics/{topic}
.
string
setTopic
Required. The name of the topic to get.
Format is projects/{project}/topics/{topic}
.
var
string
$this
static::build
topic
string
Required. The name of the topic to get.
Format is projects/{project}/topics/{topic}
. Please see Google\Cloud\PubSub\V1\PublisherClient::topicName()
for help formatting this field.