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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ topic |
string
Required. The name of the topic to get. Format is |
getTopic
Required. The name of the topic to get.
Format is projects/{project}/topics/{topic}
.
Generated from protobuf field string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setTopic
Required. The name of the topic to get.
Format is projects/{project}/topics/{topic}
.
Generated from protobuf field string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |