(::Google::Protobuf::Map{::String => ::String}) — Key value pairs for ad tag macro replacement, only available for live
sessions that do not implement Google Ad manager ad insertion. If the
specified ad tag URI has macros, this field provides the mapping to the
value that will replace the macro in the ad tag URI.
Macros are designated by square brackets, for example:
Ad tag URI: "https://doubleclick.google.com/ad/1?geo_id=[geoId]"
Ad tag macros: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
value (::Google::Protobuf::Map{::String => ::String}) — Key value pairs for ad tag macro replacement, only available for live
sessions that do not implement Google Ad manager ad insertion. If the
specified ad tag URI has macros, this field provides the mapping to the
value that will replace the macro in the ad tag URI.
Macros are designated by square brackets, for example:
Ad tag URI: "https://doubleclick.google.com/ad/1?geo_id=[geoId]"
Ad tag macros: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
Returns
(::Google::Protobuf::Map{::String => ::String}) — Key value pairs for ad tag macro replacement, only available for live
sessions that do not implement Google Ad manager ad insertion. If the
specified ad tag URI has macros, this field provides the mapping to the
value that will replace the macro in the ad tag URI.
Macros are designated by square brackets, for example:
Ad tag URI: "https://doubleclick.google.com/ad/1?geo_id=[geoId]"
Ad tag macros: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
(::String) — Required. The resource name of the live config for this session, in the
form of projects/{project}/locations/{location}/liveConfigs/{id}.
#live_config=
deflive_config=(value)->::String
Parameter
value (::String) — Required. The resource name of the live config for this session, in the
form of projects/{project}/locations/{location}/liveConfigs/{id}.
Returns
(::String) — Required. The resource name of the live config for this session, in the
form of projects/{project}/locations/{location}/liveConfigs/{id}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Video Stitcher V1 API - Class Google::Cloud::Video::Stitcher::V1::LiveSession (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [1.2.1](/ruby/docs/reference/google-cloud-video-stitcher-v1/1.2.1/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [1.1.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/1.1.0/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [1.0.1](/ruby/docs/reference/google-cloud-video-stitcher-v1/1.0.1/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [0.10.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.10.0/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [0.9.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.9.0/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [0.8.2](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.8.2/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [0.7.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.7.0/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [0.6.2](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.6.2/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [0.5.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.5.0/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [0.4.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.4.0/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [0.3.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.3.0/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [0.2.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.2.0/Google-Cloud-Video-Stitcher-V1-LiveSession)\n- [0.1.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.1.0/Google-Cloud-Video-Stitcher-V1-LiveSession) \nReference documentation and code samples for the Video Stitcher V1 API class Google::Cloud::Video::Stitcher::V1::LiveSession.\n\nMetadata for a live session. The session expires 5 minutes after the client\nstops fetching the session's playlists. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #ad_tag_macros\n\n def ad_tag_macros() -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Key value pairs for ad tag macro replacement, only available for live sessions that do not implement Google Ad manager ad insertion. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI.\n\n Macros are designated by square brackets, for example:\n\n Ad tag URI: \"https://doubleclick.google.com/ad/1?geo_id=\\[geoId\\]\"\n\n Ad tag macros: `{\"geoId\": \"123\"}`\n\n Fully qualified ad tag:\n `\"https://doubleclick.google.com/ad/1?geo_id=123\"`\n\n### #ad_tag_macros=\n\n def ad_tag_macros=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Key value pairs for ad tag macro replacement, only available for live sessions that do not implement Google Ad manager ad insertion. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI.\n\n\n Macros are designated by square brackets, for example:\n\n Ad tag URI: \"https://doubleclick.google.com/ad/1?geo_id=\\[geoId\\]\"\n\n Ad tag macros: `{\"geoId\": \"123\"}`\n\n Fully qualified ad tag:\n`\"https://doubleclick.google.com/ad/1?geo_id=123\"` \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Key value pairs for ad tag macro replacement, only available for live sessions that do not implement Google Ad manager ad insertion. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI.\n\n Macros are designated by square brackets, for example:\n\n Ad tag URI: \"https://doubleclick.google.com/ad/1?geo_id=\\[geoId\\]\"\n\n Ad tag macros: `{\"geoId\": \"123\"}`\n\n Fully qualified ad tag:\n `\"https://doubleclick.google.com/ad/1?geo_id=123\"`\n\n### #ad_tracking\n\n def ad_tracking() -\u003e ::Google::Cloud::Video::Stitcher::V1::AdTracking\n\n**Returns**\n\n- ([::Google::Cloud::Video::Stitcher::V1::AdTracking](./Google-Cloud-Video-Stitcher-V1-AdTracking)) --- Determines how the ad should be tracked. This overrides the value set in the live config for this session.\n\n### #ad_tracking=\n\n def ad_tracking=(value) -\u003e ::Google::Cloud::Video::Stitcher::V1::AdTracking\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Video::Stitcher::V1::AdTracking](./Google-Cloud-Video-Stitcher-V1-AdTracking)) --- Determines how the ad should be tracked. This overrides the value set in the live config for this session. \n**Returns**\n\n- ([::Google::Cloud::Video::Stitcher::V1::AdTracking](./Google-Cloud-Video-Stitcher-V1-AdTracking)) --- Determines how the ad should be tracked. This overrides the value set in the live config for this session.\n\n### #gam_settings\n\n def gam_settings() -\u003e ::Google::Cloud::Video::Stitcher::V1::LiveSession::GamSettings\n\n**Returns**\n\n- ([::Google::Cloud::Video::Stitcher::V1::LiveSession::GamSettings](./Google-Cloud-Video-Stitcher-V1-LiveSession-GamSettings)) --- This field should be set with appropriate values if GAM is being used for ads.\n\n### #gam_settings=\n\n def gam_settings=(value) -\u003e ::Google::Cloud::Video::Stitcher::V1::LiveSession::GamSettings\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Video::Stitcher::V1::LiveSession::GamSettings](./Google-Cloud-Video-Stitcher-V1-LiveSession-GamSettings)) --- This field should be set with appropriate values if GAM is being used for ads. \n**Returns**\n\n- ([::Google::Cloud::Video::Stitcher::V1::LiveSession::GamSettings](./Google-Cloud-Video-Stitcher-V1-LiveSession-GamSettings)) --- This field should be set with appropriate values if GAM is being used for ads.\n\n### #live_config\n\n def live_config() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The resource name of the live config for this session, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.\n\n### #live_config=\n\n def live_config=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The resource name of the live config for this session, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`. \n**Returns**\n\n- (::String) --- Required. The resource name of the live config for this session, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.\n\n### #manifest_options\n\n def manifest_options() -\u003e ::Google::Cloud::Video::Stitcher::V1::ManifestOptions\n\n**Returns**\n\n- ([::Google::Cloud::Video::Stitcher::V1::ManifestOptions](./Google-Cloud-Video-Stitcher-V1-ManifestOptions)) --- Additional options that affect the output of the manifest.\n\n### #manifest_options=\n\n def manifest_options=(value) -\u003e ::Google::Cloud::Video::Stitcher::V1::ManifestOptions\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Video::Stitcher::V1::ManifestOptions](./Google-Cloud-Video-Stitcher-V1-ManifestOptions)) --- Additional options that affect the output of the manifest. \n**Returns**\n\n- ([::Google::Cloud::Video::Stitcher::V1::ManifestOptions](./Google-Cloud-Video-Stitcher-V1-ManifestOptions)) --- Additional options that affect the output of the manifest.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The name of the live session, in the form of `projects/{project}/locations/{location}/liveSessions/{id}`.\n\n### #play_uri\n\n def play_uri() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The URI to play the live session's ad-stitched stream."]]