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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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
- (::Integer) — Required. The unique ID of this stream, assigned by the client.
#stream_id=
def stream_id=(value) -> ::Integer
- value (::Integer) — Required. The unique ID of this stream, assigned by the client.
- (::Integer) — Required. The unique ID of this stream, assigned by the client.