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

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

The result of a stream.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#fail

def fail() -> ::Google::Cloud::DeviceStreaming::V1::Fail
Returns
  • (::Google::Cloud::DeviceStreaming::V1::Fail) — Fail for failure.

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

#fail=

def fail=(value) -> ::Google::Cloud::DeviceStreaming::V1::Fail
Parameter
  • value (::Google::Cloud::DeviceStreaming::V1::Fail) — Fail for failure.

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

Returns
  • (::Google::Cloud::DeviceStreaming::V1::Fail) — Fail for failure.

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

#okay

def okay() -> ::Google::Cloud::DeviceStreaming::V1::Okay
Returns
  • (::Google::Cloud::DeviceStreaming::V1::Okay) — Okay for success.

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

#okay=

def okay=(value) -> ::Google::Cloud::DeviceStreaming::V1::Okay
Parameter
  • value (::Google::Cloud::DeviceStreaming::V1::Okay) — Okay for success.

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

Returns
  • (::Google::Cloud::DeviceStreaming::V1::Okay) — Okay for success.

    Note: The following fields are mutually exclusive: okay, fail. 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) — The unique ID of this stream, assigned by the client.

#stream_id=

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