Class: Google::Cloud::PubSub::V1::StreamingPullResponse

Inherits:
Object
  • Object
show all
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: SubscriptionProperties

Instance Attribute Summary collapse

Instance Attribute Details

#received_messages::Array<::Google::Cloud::PubSub::V1::ReceivedMessage>

Returns Received Pub/Sub messages. This will not be empty.

Returns:



875
876
877
878
879
880
881
882
883
884
885
886
887
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 875

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

#subscription_properties::Google::Cloud::PubSub::V1::StreamingPullResponse::SubscriptionProperties

Returns Properties associated with this subscription.

Returns:



875
876
877
878
879
880
881
882
883
884
885
886
887
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 875

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