NAME
Google::Cloud::Visionai::V1::StreamsResources - Compiled Protocol Buffers messages for google/cloud/visionai/v1/streams_resources.proto
SYNOPSIS
use Google::Cloud::Visionai::V1::StreamsResources;
my $msg = Google::Cloud::Visionai::V1::StreamsResources::Stream->new({
name => $name,
create_time => $create_time,
update_time => $update_time,
labels => $labels,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Visionai::V1::StreamsResources::Stream->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/visionai/v1/streams_resources.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Visionai::V1::StreamsResources::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 from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringName of the resource.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The create timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The update timestamp.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Visionai::V1::StreamsResources::Stream::LabelsEntry)Labels as key value pairs.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Visionai::V1::StreamsResources::Stream::AnnotationsEntry)Annotations to allow clients to store small amounts of arbitrary data.
$msg->display_name()/$msg->display_name($value)Type:
StringThe display name for the stream resource.
$msg->enable_hls_playback()/$msg->enable_hls_playback($value)Type:
BoolWhether to enable the HLS playback service on this stream.
$msg->media_warehouse_asset()/$msg->media_warehouse_asset($value)Type:
StringThe 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.
Google::Cloud::Visionai::V1::StreamsResources::Event
Message describing the Event object.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringName of the resource.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The create timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The update timestamp.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Visionai::V1::StreamsResources::Event::LabelsEntry)Labels as key value pairs.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Visionai::V1::StreamsResources::Event::AnnotationsEntry)Annotations to allow clients to store small amounts of arbitrary data.
$msg->alignment_clock()/$msg->alignment_clock($value)Type:
Enum(Google::Cloud::Visionai::V1::Event::Clock)The clock used for joining streams.
$msg->grace_period()/$msg->grace_period($value)Type:
Message(Google::Protobuf::Duration::Duration)Grace period for cleaning up the event. This is the time the controller waits for before deleting the event. During this period, if there is any active channel on the event. The deletion of the event after grace_period will be ignored.
Enum: Event::Clock
CLOCK_UNSPECIFIED=>0CAPTURE=>1INGEST=>2
Google::Cloud::Visionai::V1::StreamsResources::Series
Message describing the Series object.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringName of the resource.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The create timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The update timestamp.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Visionai::V1::StreamsResources::Series::LabelsEntry)Labels as key value pairs.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Visionai::V1::StreamsResources::Series::AnnotationsEntry)Annotations to allow clients to store small amounts of arbitrary data.
$msg->stream()/$msg->stream($value)Type:
StringRequired. Stream that is associated with this series.
$msg->event()/$msg->event($value)Type:
StringRequired. Event that is associated with this series.
Google::Cloud::Visionai::V1::StreamsResources::Channel
Message describing the Channel object.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringName of the resource.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The create timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The update timestamp.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Visionai::V1::StreamsResources::Channel::LabelsEntry)Labels as key value pairs.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Visionai::V1::StreamsResources::Channel::AnnotationsEntry)Annotations to allow clients to store small amounts of arbitrary data.
$msg->stream()/$msg->stream($value)Type:
StringRequired. Stream that is associated with this series.
$msg->event()/$msg->event($value)Type:
StringRequired. Event that is associated with this series.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Visionai::V1::StreamsResources::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.