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