# Video Stitcher V1 API - Class Google::Cloud::Video::Stitcher::V1::LiveConfig (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.0 0.8.2 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Video Stitcher V1 API class Google::Cloud::Video::Stitcher::V1::LiveConfig.

Metadata for used to register live configs.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ad_tag_uri

    def ad_tag_uri() -> ::String

**Returns**

- (::String) --- The default ad tag associated with this live stream config.

### #ad_tag_uri=

    def ad_tag_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- The default ad tag associated with this live stream config.
**Returns**

- (::String) --- The default ad tag associated with this live stream config.

### #ad_tracking

    def ad_tracking() -> ::Google::Cloud::Video::Stitcher::V1::AdTracking

**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::AdTracking](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-AdTracking)) --- Required. Determines how the ads are tracked.

### #ad_tracking=

    def ad_tracking=(value) -> ::Google::Cloud::Video::Stitcher::V1::AdTracking

**Parameter**

- **value** ([::Google::Cloud::Video::Stitcher::V1::AdTracking](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-AdTracking)) --- Required. Determines how the ads are tracked.
**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::AdTracking](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-AdTracking)) --- Required. Determines how the ads are tracked.

### #default_slate

    def default_slate() -> ::String

**Returns**

- (::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

### #default_slate=

    def default_slate=(value) -> ::String

**Parameter**

- **value** (::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
**Returns**

- (::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

### #gam_live_config

    def gam_live_config() -> ::Google::Cloud::Video::Stitcher::V1::GamLiveConfig

**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::GamLiveConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-GamLiveConfig)) --- Additional metadata used to register a live stream with Google Ad Manager (GAM)

### #gam_live_config=

    def gam_live_config=(value) -> ::Google::Cloud::Video::Stitcher::V1::GamLiveConfig

**Parameter**

- **value** ([::Google::Cloud::Video::Stitcher::V1::GamLiveConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-GamLiveConfig)) --- Additional metadata used to register a live stream with Google Ad Manager (GAM)
**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::GamLiveConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-GamLiveConfig)) --- Additional metadata used to register a live stream with Google Ad Manager (GAM)

### #name

    def name() -> ::String

**Returns**

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

### #prefetch_config

    def prefetch_config() -> ::Google::Cloud::Video::Stitcher::V1::PrefetchConfig

**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::PrefetchConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-PrefetchConfig)) --- The configuration for prefetching ads.

### #prefetch_config=

    def prefetch_config=(value) -> ::Google::Cloud::Video::Stitcher::V1::PrefetchConfig

**Parameter**

- **value** ([::Google::Cloud::Video::Stitcher::V1::PrefetchConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-PrefetchConfig)) --- The configuration for prefetching ads.
**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::PrefetchConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-PrefetchConfig)) --- The configuration for prefetching ads.

### #source_fetch_options

    def source_fetch_options() -> ::Google::Cloud::Video::Stitcher::V1::FetchOptions

**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::FetchOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-FetchOptions)) --- Options for fetching source manifests and segments.

### #source_fetch_options=

    def source_fetch_options=(value) -> ::Google::Cloud::Video::Stitcher::V1::FetchOptions

**Parameter**

- **value** ([::Google::Cloud::Video::Stitcher::V1::FetchOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-FetchOptions)) --- Options for fetching source manifests and segments.
**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::FetchOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-FetchOptions)) --- Options for fetching source manifests and segments.

### #source_uri

    def source_uri() -> ::String

**Returns**

- (::String) --- Required. Source URI for the live stream manifest.

### #source_uri=

    def source_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Source URI for the live stream manifest.
**Returns**

- (::String) --- Required. Source URI for the live stream manifest.

### #state

    def state() -> ::Google::Cloud::Video::Stitcher::V1::LiveConfig::State

**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::LiveConfig::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-LiveConfig-State)) --- Output only. State of the live config.

### #stitching_policy

    def stitching_policy() -> ::Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy

**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/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`.

### #stitching_policy=

    def stitching_policy=(value) -> ::Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy

**Parameter**

- **value** ([::Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/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`.
**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/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`.