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.
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.
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
defdata()->::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=
defdata=(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
defstream_id()->::Integer
Returns
(::Integer) — Required. The unique ID of this stream, assigned by the client.
#stream_id=
defstream_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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Device Streaming V1 API - Class Google::Cloud::DeviceStreaming::V1::StreamData (v0.1.0)\n\nReference documentation and code samples for the Device Streaming V1 API class Google::Cloud::DeviceStreaming::V1::StreamData.\n\nData for a stream. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #close\n\n def close() -\u003e ::Google::Cloud::DeviceStreaming::V1::Close\n\n**Returns**\n\n- ([::Google::Cloud::DeviceStreaming::V1::Close](./Google-Cloud-DeviceStreaming-V1-Close)) --- The stream is closing. EOF.\n\n\n 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.\n\n### #close=\n\n def close=(value) -\u003e ::Google::Cloud::DeviceStreaming::V1::Close\n\n**Parameter**\n\n- **value** ([::Google::Cloud::DeviceStreaming::V1::Close](./Google-Cloud-DeviceStreaming-V1-Close)) --- The stream is closing. EOF.\n\n\nNote: 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. \n**Returns**\n\n- ([::Google::Cloud::DeviceStreaming::V1::Close](./Google-Cloud-DeviceStreaming-V1-Close)) --- The stream is closing. EOF.\n\n\n 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.\n\n### #data\n\n def data() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Data in the stream.\n\n 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.\n\n### #data=\n\n def data=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Data in the stream.\n\n\nNote: 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. \n**Returns**\n\n- (::String) --- Data in the stream.\n\n 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.\n\n### #stream_id\n\n def stream_id() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Required. The unique ID of this stream, assigned by the client.\n\n### #stream_id=\n\n def stream_id=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Required. The unique ID of this stream, assigned by the client. \n**Returns**\n\n- (::Integer) --- Required. The unique ID of this stream, assigned by the client."]]