Cloud PubSub V1 Client - Class DeleteTopicRequest (1.39.3)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ topic string

Required. Name of the topic to delete. Format is projects/{project}/topics/{topic}.

getTopic

Required. Name of the topic to delete.

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

Generated from protobuf field string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setTopic

Required. Name of the topic to delete.

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

Generated from protobuf field string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this