# Class LiveConfig (0.11.1)

0.11.1 (latest) 0.11.0 0.10.0 0.9.0 0.8.0 0.7.18 0.6.1 0.5.1 0.4.0 0.3.2 0.2.1 0.1.2

    LiveConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata for used to register live configs.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The resource name of the live config, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`. |
| `source_uri` | `str` Required. Source URI for the live stream manifest. |
| `ad_tag_uri` | `str` The default ad tag associated with this live stream config. |
| `gam_live_config` | `https://docs.cloud.google.com/python/docs/reference/videostitcher/latest/google.cloud.video.stitcher_v1.types.GamLiveConfig` Additional metadata used to register a live stream with Google Ad Manager (GAM) |
| `state` | `https://docs.cloud.google.com/python/docs/reference/videostitcher/latest/google.cloud.video.stitcher_v1.types.LiveConfig.State` Output only. State of the live config. |
| `ad_tracking` | `https://docs.cloud.google.com/python/docs/reference/videostitcher/latest/google.cloud.video.stitcher_v1.types.AdTracking` Required. Determines how the ads are tracked. |
| `default_slate` | `str` 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 |
| `stitching_policy` | `https://docs.cloud.google.com/python/docs/reference/videostitcher/latest/google.cloud.video.stitcher_v1.types.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`. |
| `prefetch_config` | `https://docs.cloud.google.com/python/docs/reference/videostitcher/latest/google.cloud.video.stitcher_v1.types.PrefetchConfig` The configuration for prefetching ads. |
| `source_fetch_options` | `https://docs.cloud.google.com/python/docs/reference/videostitcher/latest/google.cloud.video.stitcher_v1.types.FetchOptions` Options for fetching source manifests and segments. |

## Classes

### State

    State(value)

State of the live config.

### StitchingPolicy

    StitchingPolicy(value)

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