Cloud PubSub V1 Client - Class SubscriptionProperties (2.5.2)

Reference documentation and code samples for the Cloud PubSub V1 Client class SubscriptionProperties.

Subscription properties sent as part of the response.

Generated from protobuf message google.pubsub.v1.StreamingPullResponse.SubscriptionProperties

Namespace

Google \ Cloud \ PubSub \ V1 \ StreamingPullResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ exactly_once_delivery_enabled bool

Optional. True iff exactly once delivery is enabled for this subscription.

↳ message_ordering_enabled bool

Optional. True iff message ordering is enabled for this subscription.

getExactlyOnceDeliveryEnabled

Optional. True iff exactly once delivery is enabled for this subscription.

Returns
Type Description
bool

setExactlyOnceDeliveryEnabled

Optional. True iff exactly once delivery is enabled for this subscription.

Parameter
Name Description
var bool
Returns
Type Description
$this

getMessageOrderingEnabled

Optional. True iff message ordering is enabled for this subscription.

Returns
Type Description
bool

setMessageOrderingEnabled

Optional. True iff message ordering is enabled for this subscription.

Parameter
Name Description
var bool
Returns
Type Description
$this