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
Methods
__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.
Generated from protobuf field .google.pubsub.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\PubSub\V1\Subscription|null |
hasSubscription
clearSubscription
setSubscription
Required. The updated subscription object.
Generated from protobuf field .google.pubsub.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
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.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
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.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |