NAME

Google::Cloud::Visionai::V1alpha1::StreamsResources - Compiled Protocol Buffers messages for google/cloud/visionai/v1alpha1/streams_resources.proto

SYNOPSIS

use Google::Cloud::Visionai::V1alpha1::StreamsResources;

my $msg = Google::Cloud::Visionai::V1alpha1::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::V1alpha1::StreamsResources::Stream->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/visionai/v1alpha1/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::V1alpha1::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: String

    Name 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::V1alpha1::StreamsResources::Stream::LabelsEntry)

    Labels as key value pairs.

  • $msg->annotations() / $msg->annotations($value)

    Type: Message (Google::Cloud::Visionai::V1alpha1::StreamsResources::Stream::AnnotationsEntry)

    Annotations to allow clients to store small amounts of arbitrary data.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The display name for the stream resource.

  • $msg->enable_hls_playback() / $msg->enable_hls_playback($value)

    Type: Bool

    Whether to enable the HLS playback service on this stream.

  • $msg->media_warehouse_asset() / $msg->media_warehouse_asset($value)

    Type: 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.

Google::Cloud::Visionai::V1alpha1::StreamsResources::Event

Message describing the Event object.

Inherits from Protobuf::Message.

Accessors

Enum: Event::Clock

  • CLOCK_UNSPECIFIED => 0

  • CAPTURE => 1

  • INGEST => 2

Google::Cloud::Visionai::V1alpha1::StreamsResources::Series

Message describing the Series object.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Visionai::V1alpha1::StreamsResources::Channel

Message describing the Channel object.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Visionai::V1alpha1::StreamsResources::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.