Reference documentation and code samples for the Cloud PubSub V1 Client class DeleteTopicRequest.
Request for the DeleteTopic
method.
Generated from protobuf message google.pubsub.v1.DeleteTopicRequest
Namespace
Google \ Cloud \ PubSub \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ topic |
string
Required. Name of the topic to delete. Format is |
getTopic
Required. Name of the topic to delete.
Format is projects/{project}/topics/{topic}
.
Returns | |
---|---|
Type | Description |
string |
setTopic
Required. Name of the topic to delete.
Format is projects/{project}/topics/{topic}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
topic |
string
Required. Name of the topic to delete.
Format is |
Returns | |
---|---|
Type | Description |
Google\Cloud\PubSub\V1\DeleteTopicRequest |