Device Streaming V1 API - Class Google::Cloud::DeviceStreaming::V1::StreamData (v0.1.0)

Reference documentation and code samples for the Device Streaming V1 API class Google::Cloud::DeviceStreaming::V1::StreamData.

Data for a stream.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#close

def close() -> ::Google::Cloud::DeviceStreaming::V1::Close
Returns
  • (::Google::Cloud::DeviceStreaming::V1::Close) — The stream is closing. EOF.

    Note: The following fields are mutually exclusive: close, data. If a field in that set is populated, all other fields in the set will automatically be cleared.

#close=

def close=(value) -> ::Google::Cloud::DeviceStreaming::V1::Close
Parameter
  • value (::Google::Cloud::DeviceStreaming::V1::Close) — The stream is closing. EOF.

    Note: The following fields are mutually exclusive: close, data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::DeviceStreaming::V1::Close) — The stream is closing. EOF.

    Note: The following fields are mutually exclusive: close, data. If a field in that set is populated, all other fields in the set will automatically be cleared.

#data

def data() -> ::String
Returns
  • (::String) — Data in the stream.

    Note: The following fields are mutually exclusive: data, close. If a field in that set is populated, all other fields in the set will automatically be cleared.

#data=

def data=(value) -> ::String
Parameter
  • value (::String) — Data in the stream.

    Note: The following fields are mutually exclusive: data, close. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Data in the stream.

    Note: The following fields are mutually exclusive: data, close. If a field in that set is populated, all other fields in the set will automatically be cleared.

#stream_id

def stream_id() -> ::Integer
Returns
  • (::Integer) — Required. The unique ID of this stream, assigned by the client.

#stream_id=

def stream_id=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The unique ID of this stream, assigned by the client.
Returns
  • (::Integer) — Required. The unique ID of this stream, assigned by the client.