Cloud PubSub V1 Client - Class SubscriptionProperties (1.39.3)

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

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.

Generated from protobuf field bool exactly_once_delivery_enabled = 1;

Returns
TypeDescription
bool

setExactlyOnceDeliveryEnabled

True iff exactly once delivery is enabled for this subscription.

Generated from protobuf field bool exactly_once_delivery_enabled = 1;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getMessageOrderingEnabled

True iff message ordering is enabled for this subscription.

Generated from protobuf field bool message_ordering_enabled = 2;

Returns
TypeDescription
bool

setMessageOrderingEnabled

True iff message ordering is enabled for this subscription.

Generated from protobuf field bool message_ordering_enabled = 2;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this