Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class 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.
Generated from protobuf message google.cloud.visionai.v1.Stream
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Name of the resource.
↳ create_time
↳ update_time
↳ labels
↳ annotations
array| Google\Protobuf\Internal\MapField
Annotations to allow clients to store small amounts of arbitrary data.
↳ display_name
string
The display name for the stream resource.
↳ enable_hls_playback
bool
Whether to enable the HLS playback service on this stream.
↳ media_warehouse_asset
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.
getName
Name of the resource.
string
setName
Name of the resource.
var
string
$this
getCreateTime
Output only. The create timestamp.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The create timestamp.
$this
getUpdateTime
Output only. The update timestamp.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The update timestamp.
$this
getLabels
Labels as key value pairs.
setLabels
Labels as key value pairs.
$this
getAnnotations
Annotations to allow clients to store small amounts of arbitrary data.
setAnnotations
Annotations to allow clients to store small amounts of arbitrary data.
$this
getDisplayName
The display name for the stream resource.
string
setDisplayName
The display name for the stream resource.
var
string
$this
getEnableHlsPlayback
Whether to enable the HLS playback service on this stream.
bool
setEnableHlsPlayback
Whether to enable the HLS playback service on this stream.
var
bool
$this
getMediaWarehouseAsset
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.
string
setMediaWarehouseAsset
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.
var
string
$this

