Debian Codegraph @

docs/dyn/youtube_v3.liveBroadcasts.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.liveBroadcasts.html">liveBroadcasts</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#bind">bind(id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, streamId=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Bind a broadcast to a stream.</p>
80 <p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82 <p class="firstline">Close httplib2 connections.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(id, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete a given broadcast.</p>
86 <p class="toc_element">
87 <code><a href="#insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Inserts a new stream for the authenticated user.</p>
89 <p class="toc_element">
90 <code><a href="#insertCuepoint">insertCuepoint(body=None, id=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, part=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Insert cuepoints in a broadcast</p>
92 <p class="toc_element">
93 <code><a href="#list">list(part, broadcastStatus=None, broadcastType=None, id=None, maxResults=None, mine=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, pageToken=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Retrieve the list of broadcasts associated with the given channel.</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#transition">transition(broadcastStatus, id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Transition a broadcast to a given status.</p>
101 <p class="toc_element">
102 <code><a href="#update">update(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Updates an existing broadcast for the authenticated user.</p>
104 <h3>Method Details</h3>
105 <div class="method">
106 <code class="details" id="bind">bind(id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, streamId=None, x__xgafv=None)</code>
107 <pre>Bind a broadcast to a stream.
108
109 Args:
110 id: string, Broadcast to bind to the stream (required)
111 part: string, The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status. (required) (repeated)
112 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
113 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
114 streamId: string, Stream to bind, if not set unbind the current one.
115 x__xgafv: string, V1 error format.
116 Allowed values
117 1 - v1 error format
118 2 - v2 error format
119
120 Returns:
121 An object of the form:
122
123 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
124 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
125 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
126 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
127 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
128 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
129 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
130 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
131 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
132 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
133 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
134 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
135 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
136 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
137 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
138 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
139 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
140 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
141 },
142 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
143 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
144 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
145 &quot;stereoLayout&quot;: &quot;A String&quot;, # The 3D stereo layout of this broadcast. This defaults to mono.
146 },
147 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
148 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
149 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
150 &quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
151 &quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
152 &quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
153 &quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;). The value is specified in ISO 8601 format.
154 &quot;repeatIntervalSecs&quot;: 42, # Interval frequency in seconds that api uses to insert cuepoints automatically.
155 &quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
156 },
157 },
158 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
159 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
160 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
161 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
162 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
163 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
164 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
165 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule.
166 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end.
167 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start.
168 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
169 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
170 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
171 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
172 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
173 },
174 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
175 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
176 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
177 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
178 },
179 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
180 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
181 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
182 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
183 },
184 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
185 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
186 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
187 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
188 },
189 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
190 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
191 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
192 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
193 },
194 },
195 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
196 },
197 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
198 &quot;concurrentViewers&quot;: &quot;A String&quot;, # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
199 },
200 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
201 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
202 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
203 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
204 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
205 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
206 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
207 },
208 }</pre>
209 </div>
210
211 <div class="method">
212 <code class="details" id="close">close()</code>
213 <pre>Close httplib2 connections.</pre>
214 </div>
215
216 <div class="method">
217 <code class="details" id="delete">delete(id, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
218 <pre>Delete a given broadcast.
219
220 Args:
221 id: string, Broadcast to delete. (required)
222 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
223 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
224 x__xgafv: string, V1 error format.
225 Allowed values
226 1 - v1 error format
227 2 - v2 error format
228 </pre>
229 </div>
230
231 <div class="method">
232 <code class="details" id="insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
233 <pre>Inserts a new stream for the authenticated user.
234
235 Args:
236 part: string, The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status. (required) (repeated)
237 body: object, The request body.
238 The object takes the form of:
239
240 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
241 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
242 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
243 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
244 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
245 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
246 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
247 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
248 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
249 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
250 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
251 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
252 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
253 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
254 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
255 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
256 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
257 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
258 },
259 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
260 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
261 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
262 &quot;stereoLayout&quot;: &quot;A String&quot;, # The 3D stereo layout of this broadcast. This defaults to mono.
263 },
264 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
265 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
266 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
267 &quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
268 &quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
269 &quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
270 &quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;). The value is specified in ISO 8601 format.
271 &quot;repeatIntervalSecs&quot;: 42, # Interval frequency in seconds that api uses to insert cuepoints automatically.
272 &quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
273 },
274 },
275 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
276 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
277 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
278 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
279 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
280 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
281 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
282 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule.
283 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end.
284 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start.
285 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
286 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
287 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
288 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
289 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
290 },
291 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
292 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
293 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
294 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
295 },
296 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
297 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
298 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
299 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
300 },
301 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
302 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
303 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
304 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
305 },
306 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
307 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
308 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
309 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
310 },
311 },
312 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
313 },
314 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
315 &quot;concurrentViewers&quot;: &quot;A String&quot;, # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
316 },
317 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
318 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
319 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
320 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
321 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
322 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
323 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
324 },
325 }
326
327 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
328 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
329 x__xgafv: string, V1 error format.
330 Allowed values
331 1 - v1 error format
332 2 - v2 error format
333
334 Returns:
335 An object of the form:
336
337 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
338 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
339 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
340 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
341 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
342 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
343 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
344 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
345 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
346 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
347 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
348 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
349 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
350 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
351 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
352 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
353 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
354 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
355 },
356 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
357 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
358 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
359 &quot;stereoLayout&quot;: &quot;A String&quot;, # The 3D stereo layout of this broadcast. This defaults to mono.
360 },
361 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
362 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
363 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
364 &quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
365 &quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
366 &quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
367 &quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;). The value is specified in ISO 8601 format.
368 &quot;repeatIntervalSecs&quot;: 42, # Interval frequency in seconds that api uses to insert cuepoints automatically.
369 &quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
370 },
371 },
372 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
373 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
374 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
375 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
376 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
377 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
378 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
379 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule.
380 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end.
381 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start.
382 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
383 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
384 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
385 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
386 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
387 },
388 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
389 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
390 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
391 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
392 },
393 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
394 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
395 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
396 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
397 },
398 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
399 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
400 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
401 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
402 },
403 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
404 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
405 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
406 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
407 },
408 },
409 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
410 },
411 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
412 &quot;concurrentViewers&quot;: &quot;A String&quot;, # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
413 },
414 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
415 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
416 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
417 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
418 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
419 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
420 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
421 },
422 }</pre>
423 </div>
424
425 <div class="method">
426 <code class="details" id="insertCuepoint">insertCuepoint(body=None, id=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, part=None, x__xgafv=None)</code>
427 <pre>Insert cuepoints in a broadcast
428
429 Args:
430 body: object, The request body.
431 The object takes the form of:
432
433 { # Note that there may be a 5-second end-point resolution issue. For instance, if a cuepoint comes in for 22:03:27, we may stuff the cuepoint into 22:03:25 or 22:03:30, depending. This is an artifact of HLS.
434 &quot;cueType&quot;: &quot;A String&quot;,
435 &quot;durationSecs&quot;: 42, # The duration of this cuepoint.
436 &quot;etag&quot;: &quot;A String&quot;,
437 &quot;id&quot;: &quot;A String&quot;, # The identifier for cuepoint resource.
438 &quot;insertionOffsetTimeMs&quot;: &quot;A String&quot;, # The time when the cuepoint should be inserted by offset to the broadcast actual start time.
439 &quot;walltimeMs&quot;: &quot;A String&quot;, # The wall clock time at which the cuepoint should be inserted. Only one of insertion_offset_time_ms and walltime_ms may be set at a time.
440 }
441
442 id: string, Broadcast to insert ads to, or equivalently `external_video_id` for internal use.
443 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
444 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
445 part: string, The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status. (repeated)
446 x__xgafv: string, V1 error format.
447 Allowed values
448 1 - v1 error format
449 2 - v2 error format
450
451 Returns:
452 An object of the form:
453
454 { # Note that there may be a 5-second end-point resolution issue. For instance, if a cuepoint comes in for 22:03:27, we may stuff the cuepoint into 22:03:25 or 22:03:30, depending. This is an artifact of HLS.
455 &quot;cueType&quot;: &quot;A String&quot;,
456 &quot;durationSecs&quot;: 42, # The duration of this cuepoint.
457 &quot;etag&quot;: &quot;A String&quot;,
458 &quot;id&quot;: &quot;A String&quot;, # The identifier for cuepoint resource.
459 &quot;insertionOffsetTimeMs&quot;: &quot;A String&quot;, # The time when the cuepoint should be inserted by offset to the broadcast actual start time.
460 &quot;walltimeMs&quot;: &quot;A String&quot;, # The wall clock time at which the cuepoint should be inserted. Only one of insertion_offset_time_ms and walltime_ms may be set at a time.
461 }</pre>
462 </div>
463
464 <div class="method">
465 <code class="details" id="list">list(part, broadcastStatus=None, broadcastType=None, id=None, maxResults=None, mine=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, pageToken=None, x__xgafv=None)</code>
466 <pre>Retrieve the list of broadcasts associated with the given channel.
467
468 Args:
469 part: string, The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, status and statistics. (required) (repeated)
470 broadcastStatus: string, Return broadcasts with a certain status, e.g. active broadcasts.
471 Allowed values
472 broadcastStatusFilterUnspecified -
473 all - Return all broadcasts.
474 active - Return current live broadcasts.
475 upcoming - Return broadcasts that have not yet started.
476 completed - Return broadcasts that have already ended.
477 broadcastType: string, Return only broadcasts with the selected type.
478 Allowed values
479 broadcastTypeFilterUnspecified -
480 all - Return all broadcasts.
481 event - Return only scheduled event broadcasts.
482 persistent - Return only persistent broadcasts.
483 id: string, Return broadcasts with the given ids from Stubby or Apiary. (repeated)
484 maxResults: integer, The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.
485 mine: boolean, A parameter
486 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
487 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
488 pageToken: string, The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
489 x__xgafv: string, V1 error format.
490 Allowed values
491 1 - v1 error format
492 2 - v2 error format
493
494 Returns:
495 An object of the form:
496
497 {
498 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
499 &quot;eventId&quot;: &quot;A String&quot;, # Serialized EventId of the request which produced this response.
500 &quot;items&quot;: [ # A list of broadcasts that match the request criteria.
501 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
502 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
503 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
504 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
505 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
506 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
507 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
508 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
509 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
510 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
511 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
512 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
513 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
514 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
515 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
516 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
517 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
518 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
519 },
520 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
521 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
522 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
523 &quot;stereoLayout&quot;: &quot;A String&quot;, # The 3D stereo layout of this broadcast. This defaults to mono.
524 },
525 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
526 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
527 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
528 &quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
529 &quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
530 &quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
531 &quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;). The value is specified in ISO 8601 format.
532 &quot;repeatIntervalSecs&quot;: 42, # Interval frequency in seconds that api uses to insert cuepoints automatically.
533 &quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
534 },
535 },
536 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
537 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
538 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
539 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
540 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
541 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
542 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
543 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule.
544 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end.
545 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start.
546 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
547 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
548 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
549 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
550 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
551 },
552 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
553 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
554 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
555 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
556 },
557 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
558 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
559 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
560 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
561 },
562 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
563 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
564 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
565 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
566 },
567 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
568 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
569 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
570 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
571 },
572 },
573 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
574 },
575 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
576 &quot;concurrentViewers&quot;: &quot;A String&quot;, # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
577 },
578 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
579 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
580 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
581 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
582 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
583 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
584 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
585 },
586 },
587 ],
588 &quot;kind&quot;: &quot;youtube#liveBroadcastListResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcastListResponse&quot;.
589 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
590 &quot;pageInfo&quot;: { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page. # General pagination information.
591 &quot;resultsPerPage&quot;: 42, # The number of results included in the API response.
592 &quot;totalResults&quot;: 42, # The total number of results in the result set.
593 },
594 &quot;prevPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
595 &quot;tokenPagination&quot;: { # Stub token pagination template to suppress results.
596 },
597 &quot;visitorId&quot;: &quot;A String&quot;, # The visitorId identifies the visitor.
598 }</pre>
599 </div>
600
601 <div class="method">
602 <code class="details" id="list_next">list_next()</code>
603 <pre>Retrieves the next page of results.
604
605 Args:
606 previous_request: The request for the previous page. (required)
607 previous_response: The response from the request for the previous page. (required)
608
609 Returns:
610 A request object that you can call &#x27;execute()&#x27; on to request the next
611 page. Returns None if there are no more items in the collection.
612 </pre>
613 </div>
614
615 <div class="method">
616 <code class="details" id="transition">transition(broadcastStatus, id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
617 <pre>Transition a broadcast to a given status.
618
619 Args:
620 broadcastStatus: string, The status to which the broadcast is going to transition. (required)
621 Allowed values
622 statusUnspecified -
623 testing - Start testing the broadcast. YouTube transmits video to the broadcast&#x27;s monitor stream. Note that you can only transition a broadcast to the testing state if its contentDetails.monitorStream.enableMonitorStream property is set to true.&quot;,
624 live - Return only persistent broadcasts.
625 complete - The broadcast is over. YouTube stops transmitting video.
626 id: string, Broadcast to transition. (required)
627 part: string, The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status. (required) (repeated)
628 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
629 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
630 x__xgafv: string, V1 error format.
631 Allowed values
632 1 - v1 error format
633 2 - v2 error format
634
635 Returns:
636 An object of the form:
637
638 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
639 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
640 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
641 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
642 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
643 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
644 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
645 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
646 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
647 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
648 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
649 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
650 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
651 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
652 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
653 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
654 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
655 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
656 },
657 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
658 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
659 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
660 &quot;stereoLayout&quot;: &quot;A String&quot;, # The 3D stereo layout of this broadcast. This defaults to mono.
661 },
662 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
663 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
664 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
665 &quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
666 &quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
667 &quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
668 &quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;). The value is specified in ISO 8601 format.
669 &quot;repeatIntervalSecs&quot;: 42, # Interval frequency in seconds that api uses to insert cuepoints automatically.
670 &quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
671 },
672 },
673 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
674 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
675 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
676 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
677 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
678 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
679 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
680 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule.
681 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end.
682 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start.
683 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
684 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
685 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
686 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
687 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
688 },
689 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
690 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
691 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
692 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
693 },
694 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
695 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
696 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
697 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
698 },
699 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
700 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
701 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
702 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
703 },
704 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
705 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
706 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
707 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
708 },
709 },
710 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
711 },
712 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
713 &quot;concurrentViewers&quot;: &quot;A String&quot;, # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
714 },
715 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
716 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
717 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
718 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
719 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
720 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
721 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
722 },
723 }</pre>
724 </div>
725
726 <div class="method">
727 <code class="details" id="update">update(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
728 <pre>Updates an existing broadcast for the authenticated user.
729
730 Args:
731 part: string, The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a broadcast&#x27;s privacy status is defined in the status part. As such, if your request is updating a private or unlisted broadcast, and the request&#x27;s part parameter value includes the status part, the broadcast&#x27;s privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the broadcast will revert to the default privacy setting. (required) (repeated)
732 body: object, The request body.
733 The object takes the form of:
734
735 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
736 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
737 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
738 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
739 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
740 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
741 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
742 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
743 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
744 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
745 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
746 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
747 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
748 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
749 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
750 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
751 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
752 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
753 },
754 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
755 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
756 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
757 &quot;stereoLayout&quot;: &quot;A String&quot;, # The 3D stereo layout of this broadcast. This defaults to mono.
758 },
759 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
760 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
761 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
762 &quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
763 &quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
764 &quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
765 &quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;). The value is specified in ISO 8601 format.
766 &quot;repeatIntervalSecs&quot;: 42, # Interval frequency in seconds that api uses to insert cuepoints automatically.
767 &quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
768 },
769 },
770 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
771 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
772 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
773 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
774 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
775 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
776 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
777 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule.
778 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end.
779 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start.
780 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
781 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
782 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
783 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
784 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
785 },
786 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
787 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
788 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
789 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
790 },
791 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
792 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
793 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
794 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
795 },
796 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
797 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
798 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
799 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
800 },
801 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
802 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
803 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
804 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
805 },
806 },
807 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
808 },
809 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
810 &quot;concurrentViewers&quot;: &quot;A String&quot;, # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
811 },
812 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
813 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
814 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
815 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
816 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
817 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
818 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
819 },
820 }
821
822 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
823 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
824 x__xgafv: string, V1 error format.
825 Allowed values
826 1 - v1 error format
827 2 - v2 error format
828
829 Returns:
830 An object of the form:
831
832 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
833 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
834 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
835 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
836 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
837 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
838 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
839 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
840 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
841 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
842 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
843 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
844 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
845 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
846 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
847 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
848 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
849 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
850 },
851 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
852 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
853 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
854 &quot;stereoLayout&quot;: &quot;A String&quot;, # The 3D stereo layout of this broadcast. This defaults to mono.
855 },
856 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
857 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
858 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
859 &quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
860 &quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
861 &quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
862 &quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;). The value is specified in ISO 8601 format.
863 &quot;repeatIntervalSecs&quot;: 42, # Interval frequency in seconds that api uses to insert cuepoints automatically.
864 &quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
865 },
866 },
867 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
868 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
869 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
870 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
871 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
872 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
873 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
874 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule.
875 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end.
876 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start.
877 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
878 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
879 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
880 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
881 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
882 },
883 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
884 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
885 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
886 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
887 },
888 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
889 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
890 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
891 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
892 },
893 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
894 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
895 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
896 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
897 },
898 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
899 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
900 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
901 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
902 },
903 },
904 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
905 },
906 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
907 &quot;concurrentViewers&quot;: &quot;A String&quot;, # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
908 },
909 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
910 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
911 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
912 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
913 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
914 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
915 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
916 },
917 }</pre>
918 </div>
919
920 </body></html>