Vision AI V1 API - Class Google::Cloud::VisionAI::V1::Stream (v0.2.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::Stream.

Message describing the Stream object. The Stream and the Event resources are many to many; i.e., each Stream resource can associate to many Event resources and each Event resource can associate to many Stream resources.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#annotations

def annotations() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Annotations to allow clients to store small amounts of arbitrary data.

#annotations=

def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Annotations to allow clients to store small amounts of arbitrary data.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Annotations to allow clients to store small amounts of arbitrary data.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — The display name for the stream resource.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The display name for the stream resource.
Returns
  • (::String) — The display name for the stream resource.

#enable_hls_playback

def enable_hls_playback() -> ::Boolean
Returns
  • (::Boolean) — Whether to enable the HLS playback service on this stream.

#enable_hls_playback=

def enable_hls_playback=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether to enable the HLS playback service on this stream.
Returns
  • (::Boolean) — Whether to enable the HLS playback service on this stream.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.

#media_warehouse_asset

def media_warehouse_asset() -> ::String
Returns
  • (::String) — The name of the media warehouse asset for long term storage of stream data. Format: projects/${p_id}/locations/${l_id}/corpora/${c_id}/assets/${a_id} Remain empty if the media warehouse storage is not needed for the stream.

#media_warehouse_asset=

def media_warehouse_asset=(value) -> ::String
Parameter
  • value (::String) — The name of the media warehouse asset for long term storage of stream data. Format: projects/${p_id}/locations/${l_id}/corpora/${c_id}/assets/${a_id} Remain empty if the media warehouse storage is not needed for the stream.
Returns
  • (::String) — The name of the media warehouse asset for long term storage of stream data. Format: projects/${p_id}/locations/${l_id}/corpora/${c_id}/assets/${a_id} Remain empty if the media warehouse storage is not needed for the stream.

#name

def name() -> ::String
Returns
  • (::String) — Name of the resource.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of the resource.
Returns
  • (::String) — Name of the resource.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns