Cloud PubSub V1 Client - Class SubscriptionProperties (1.49.0)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ exactly_once_delivery_enabled bool

True iff exactly once delivery is enabled for this subscription.

↳ message_ordering_enabled bool

True iff message ordering is enabled for this subscription.

getExactlyOnceDeliveryEnabled

True iff exactly once delivery is enabled for this subscription.

Returns
TypeDescription
bool

setExactlyOnceDeliveryEnabled

True iff exactly once delivery is enabled for this subscription.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getMessageOrderingEnabled

True iff message ordering is enabled for this subscription.

Returns
TypeDescription
bool

setMessageOrderingEnabled

True iff message ordering is enabled for this subscription.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this