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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
bool |
setExactlyOnceDeliveryEnabled
True iff exactly once delivery is enabled for this subscription.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getMessageOrderingEnabled
True iff message ordering is enabled for this subscription.
Returns | |
---|---|
Type | Description |
bool |
setMessageOrderingEnabled
True iff message ordering is enabled for this subscription.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |