class GetTopicRequest extends Message

Request for the GetTopic method.

Protobuf type Google\Pubsub\V1\GetTopicRequest

Methods

__construct()

No description

string
getTopic()

The name of the topic to get.

setTopic(string $var)

The name of the topic to get.

Details

at line 26
__construct()

at line 38
string getTopic()

The name of the topic to get.

Format is projects/{project}/topics/{topic}.

Generated from protobuf field string topic = 1;

Return Value

string

at line 50
setTopic(string $var)

The name of the topic to get.

Format is projects/{project}/topics/{topic}.

Generated from protobuf field string topic = 1;

Parameters

string $var