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:



856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 856

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:



856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 856

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