Cloud PubSub V1 Client - Class UpdateSubscriptionRequest (2.4.0)

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 \ V1

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.

Returns
Type
Description

hasSubscription

clearSubscription

setSubscription

Required. The updated subscription object.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

Required. Indicates which fields in the provided subscription to update.

Must be specified and non-empty.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Indicates which fields in the provided subscription to update.

Must be specified and non-empty.

Parameter
Name
Description
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.

Design a Mobile Site
View Site in Mobile | Classic
Share by: