Reference documentation and code samples for the Cloud PubSub V1 Client class DetachSubscriptionRequest.
Request for the DetachSubscription method.
Generated from protobuf message google.pubsub.v1.DetachSubscriptionRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ subscription |
string
Required. The subscription to detach. Format is |
getSubscription
Required. The subscription to detach.
Format is projects/{project}/subscriptions/{subscription}
.
Generated from protobuf field string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setSubscription
Required. The subscription to detach.
Format is projects/{project}/subscriptions/{subscription}
.
Generated from protobuf field string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |