Reference documentation and code samples for the Cloud PubSub V1 Client class UpdateSubscriptionRequest.
Request for the UpdateSubscription method.
Generated from protobuf message google.pubsub.v1.UpdateSubscriptionRequest
Namespace
Google \ Cloud \ PubSub \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ subscription |
Google\Cloud\PubSub\V1\Subscription
Required. The updated subscription object. |
↳ update_mask |
Google\Protobuf\FieldMask
Required. Indicates which fields in the provided subscription to update. Must be specified and non-empty. |
getSubscription
Required. The updated subscription object.
Returns | |
---|---|
Type | Description |
Google\Cloud\PubSub\V1\Subscription|null |
hasSubscription
clearSubscription
setSubscription
Required. The updated subscription object.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\PubSub\V1\Subscription
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
Required. Indicates which fields in the provided subscription to update.
Must be specified and non-empty.
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. Indicates which fields in the provided subscription to update.
Must be specified and non-empty.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
subscription |
Google\Cloud\PubSub\V1\Subscription
Required. The updated subscription object. |
updateMask |
Google\Protobuf\FieldMask
Required. Indicates which fields in the provided subscription to update. Must be specified and non-empty. |
Returns | |
---|---|
Type | Description |
Google\Cloud\PubSub\V1\UpdateSubscriptionRequest |