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.
Generated from protobuf field bool exactly_once_delivery_enabled = 1;
Returns | |
---|---|
Type | Description |
bool |
setExactlyOnceDeliveryEnabled
True iff exactly once delivery is enabled for this subscription.
Generated from protobuf field bool exactly_once_delivery_enabled = 1;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getMessageOrderingEnabled
True iff message ordering is enabled for this subscription.
Generated from protobuf field bool message_ordering_enabled = 2;
Returns | |
---|---|
Type | Description |
bool |
setMessageOrderingEnabled
True iff message ordering is enabled for this subscription.
Generated from protobuf field bool message_ordering_enabled = 2;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |