proto_docs/google/pubsub/v1/pubsub.rb in google-cloud-pubsub-v1-0.4.1 vs proto_docs/google/pubsub/v1/pubsub.rb in google-cloud-pubsub-v1-0.5.0

- old
+ new

@@ -848,12 +848,24 @@ # Response for the `StreamingPull` method. This response is used to stream # messages from the server to the client. # @!attribute [rw] received_messages # @return [::Array<::Google::Cloud::PubSub::V1::ReceivedMessage>] # Received Pub/Sub messages. This will not be empty. + # @!attribute [rw] subscription_properties + # @return [::Google::Cloud::PubSub::V1::StreamingPullResponse::SubscriptionProperties] + # Properties associated with this subscription. class StreamingPullResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods + + # Subscription properties sent as part of the response. + # @!attribute [rw] message_ordering_enabled + # @return [::Boolean] + # True iff message ordering is enabled for this subscription. + class SubscriptionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end end # Request for the `CreateSnapshot` method. # @!attribute [rw] name # @return [::String]