NAME

Google::Cloud::Video::Stitcher::V1::LiveConfigs - Compiled Protocol Buffers messages for google/cloud/video/stitcher/v1/live_configs.proto

SYNOPSIS

use Google::Cloud::Video::Stitcher::V1::LiveConfigs;

my $msg = Google::Cloud::Video::Stitcher::V1::LiveConfigs::LiveConfig->new({
    name => $name,
    source_uri => $source_uri,
    ad_tag_uri => $ad_tag_uri,
    gam_live_config => $gam_live_config,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Video::Stitcher::V1::LiveConfigs::LiveConfig->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/video/stitcher/v1/live_configs.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::Video::Stitcher::V1::LiveConfigs::LiveConfig

Metadata for used to register live configs.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The resource name of the live config, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.

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

    Type: String

    Required. Source URI for the live stream manifest.

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

    Type: String

    The default ad tag associated with this live stream config.

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

    Type: Message (Google::Cloud::Video::Stitcher::V1::LiveConfigs::GamLiveConfig)

    Additional metadata used to register a live stream with Google Ad Manager (GAM)

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

    Type: Enum (Google::Cloud::Video::Stitcher::V1::LiveConfig::State)

    Output only. State of the live config.

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

    Type: Enum (Google::Cloud::Video::Stitcher::V1::AdTracking)

    Required. Determines how the ads are tracked.

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

    Type: String

    This must refer to a slate in the same project. If Google Ad Manager (GAM) is used for ads, this string sets the value of `slateCreativeId` in https://developers.google.com/ad-manager/api/reference/v202211/LiveStreamEventService.LiveStreamEvent#slateCreativeId

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

    Type: Enum (Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy)

    Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries. If not specified, the default is `CUT_CURRENT`.

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

    Type: Message (Google::Cloud::Video::Stitcher::V1::LiveConfigs::PrefetchConfig)

    The configuration for prefetching ads.

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

    Type: Message (Google::Cloud::Video::Stitcher::V1::FetchOptions::FetchOptions)

    Options for fetching source manifests and segments.

Enum: LiveConfig::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • DELETING => 3

Enum: LiveConfig::StitchingPolicy

  • STITCHING_POLICY_UNSPECIFIED => 0

  • CUT_CURRENT => 1

  • COMPLETE_AD => 2

Google::Cloud::Video::Stitcher::V1::LiveConfigs::PrefetchConfig

The configuration for prefetch ads.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    Required. Indicates whether the option to prefetch ad requests is enabled.

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

    Type: Message (Google::Protobuf::Duration::Duration)

    The duration in seconds of the part of the break to be prefetched. This field is only relevant if prefetch is enabled. You should set this duration to as long as possible to increase the benefits of prefetching, but not longer than the shortest ad break expected. For example, for a live event with 30s and 60s ad breaks, the initial duration should be set to 30s.

Google::Cloud::Video::Stitcher::V1::LiveConfigs::GamLiveConfig

Metadata used to register a live stream with Google Ad Manager (GAM)

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Ad Manager network code to associate with the live config.

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

    Type: String

    Output only. The asset key identifier generated for the live config.

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

    Type: String

    Output only. The custom asset key identifier generated for the live config.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Video::Stitcher::V1::LiveConfigs::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.