Class: Google::Cloud::PubSub::V1::StreamingPullResponse
- Inherits:
-
Object
- Object
- Google::Cloud::PubSub::V1::StreamingPullResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/pubsub/v1/pubsub.rb
Overview
Response for the StreamingPull method. This response is used to stream
messages from the server to the client.
Defined Under Namespace
Classes: AcknowledgeConfirmation, ModifyAckDeadlineConfirmation, SubscriptionProperties
Instance Attribute Summary collapse
-
#acknowledge_confirmation ⇒ ::Google::Cloud::PubSub::V1::StreamingPullResponse::AcknowledgeConfirmation
Optional.
-
#modify_ack_deadline_confirmation ⇒ ::Google::Cloud::PubSub::V1::StreamingPullResponse::ModifyAckDeadlineConfirmation
Optional.
-
#received_messages ⇒ ::Array<::Google::Cloud::PubSub::V1::ReceivedMessage>
Optional.
-
#subscription_properties ⇒ ::Google::Cloud::PubSub::V1::StreamingPullResponse::SubscriptionProperties
Optional.
Instance Attribute Details
#acknowledge_confirmation ⇒ ::Google::Cloud::PubSub::V1::StreamingPullResponse::AcknowledgeConfirmation
Returns Optional. This field will only be set if enable_exactly_once_delivery is
set to true.
1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1220 class StreamingPullResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Acknowledgement IDs sent in one or more previous requests to acknowledge a # previously received message. # @!attribute [rw] ack_ids # @return [::Array<::String>] # Optional. Successfully processed acknowledgement IDs. # @!attribute [rw] invalid_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that were malformed or whose # acknowledgement deadline has expired. # @!attribute [rw] unordered_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that were out of order. # @!attribute [rw] temporary_failed_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that failed processing with # temporary issues. class AcknowledgeConfirmation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Acknowledgement IDs sent in one or more previous requests to modify the # deadline for a specific message. # @!attribute [rw] ack_ids # @return [::Array<::String>] # Optional. Successfully processed acknowledgement IDs. # @!attribute [rw] invalid_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that were malformed or whose # acknowledgement deadline has expired. # @!attribute [rw] temporary_failed_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that failed processing with # temporary issues. class ModifyAckDeadlineConfirmation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Subscription properties sent as part of the response. # @!attribute [rw] exactly_once_delivery_enabled # @return [::Boolean] # Optional. True iff exactly once delivery is enabled for this # subscription. # @!attribute [rw] message_ordering_enabled # @return [::Boolean] # Optional. True iff message ordering is enabled for this subscription. class SubscriptionProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#modify_ack_deadline_confirmation ⇒ ::Google::Cloud::PubSub::V1::StreamingPullResponse::ModifyAckDeadlineConfirmation
Returns Optional. This field will only be set if enable_exactly_once_delivery is
set to true.
1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1220 class StreamingPullResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Acknowledgement IDs sent in one or more previous requests to acknowledge a # previously received message. # @!attribute [rw] ack_ids # @return [::Array<::String>] # Optional. Successfully processed acknowledgement IDs. # @!attribute [rw] invalid_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that were malformed or whose # acknowledgement deadline has expired. # @!attribute [rw] unordered_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that were out of order. # @!attribute [rw] temporary_failed_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that failed processing with # temporary issues. class AcknowledgeConfirmation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Acknowledgement IDs sent in one or more previous requests to modify the # deadline for a specific message. # @!attribute [rw] ack_ids # @return [::Array<::String>] # Optional. Successfully processed acknowledgement IDs. # @!attribute [rw] invalid_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that were malformed or whose # acknowledgement deadline has expired. # @!attribute [rw] temporary_failed_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that failed processing with # temporary issues. class ModifyAckDeadlineConfirmation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Subscription properties sent as part of the response. # @!attribute [rw] exactly_once_delivery_enabled # @return [::Boolean] # Optional. True iff exactly once delivery is enabled for this # subscription. # @!attribute [rw] message_ordering_enabled # @return [::Boolean] # Optional. True iff message ordering is enabled for this subscription. class SubscriptionProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#received_messages ⇒ ::Array<::Google::Cloud::PubSub::V1::ReceivedMessage>
Returns Optional. Received Pub/Sub messages. This will not be empty.
1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1220 class StreamingPullResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Acknowledgement IDs sent in one or more previous requests to acknowledge a # previously received message. # @!attribute [rw] ack_ids # @return [::Array<::String>] # Optional. Successfully processed acknowledgement IDs. # @!attribute [rw] invalid_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that were malformed or whose # acknowledgement deadline has expired. # @!attribute [rw] unordered_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that were out of order. # @!attribute [rw] temporary_failed_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that failed processing with # temporary issues. class AcknowledgeConfirmation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Acknowledgement IDs sent in one or more previous requests to modify the # deadline for a specific message. # @!attribute [rw] ack_ids # @return [::Array<::String>] # Optional. Successfully processed acknowledgement IDs. # @!attribute [rw] invalid_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that were malformed or whose # acknowledgement deadline has expired. # @!attribute [rw] temporary_failed_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that failed processing with # temporary issues. class ModifyAckDeadlineConfirmation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Subscription properties sent as part of the response. # @!attribute [rw] exactly_once_delivery_enabled # @return [::Boolean] # Optional. True iff exactly once delivery is enabled for this # subscription. # @!attribute [rw] message_ordering_enabled # @return [::Boolean] # Optional. True iff message ordering is enabled for this subscription. class SubscriptionProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#subscription_properties ⇒ ::Google::Cloud::PubSub::V1::StreamingPullResponse::SubscriptionProperties
Returns Optional. Properties associated with this subscription.
1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1220 class StreamingPullResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Acknowledgement IDs sent in one or more previous requests to acknowledge a # previously received message. # @!attribute [rw] ack_ids # @return [::Array<::String>] # Optional. Successfully processed acknowledgement IDs. # @!attribute [rw] invalid_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that were malformed or whose # acknowledgement deadline has expired. # @!attribute [rw] unordered_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that were out of order. # @!attribute [rw] temporary_failed_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that failed processing with # temporary issues. class AcknowledgeConfirmation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Acknowledgement IDs sent in one or more previous requests to modify the # deadline for a specific message. # @!attribute [rw] ack_ids # @return [::Array<::String>] # Optional. Successfully processed acknowledgement IDs. # @!attribute [rw] invalid_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that were malformed or whose # acknowledgement deadline has expired. # @!attribute [rw] temporary_failed_ack_ids # @return [::Array<::String>] # Optional. List of acknowledgement IDs that failed processing with # temporary issues. class ModifyAckDeadlineConfirmation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Subscription properties sent as part of the response. # @!attribute [rw] exactly_once_delivery_enabled # @return [::Boolean] # Optional. True iff exactly once delivery is enabled for this # subscription. # @!attribute [rw] message_ordering_enabled # @return [::Boolean] # Optional. True iff message ordering is enabled for this subscription. class SubscriptionProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |