blob: 198e802eced9b17e6886efc09b474fad2fa78950 [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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
Bu Sun Kimd059ad82020-07-22 17:02:09 -070075<h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.liveBroadcasts.html">liveBroadcasts</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#bind">bind(id, part, onBehalfOfContentOwnerChannel=None, streamId=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Bind a broadcast to a stream.</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070080<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#control">control(id, part, onBehalfOfContentOwner=None, offsetTimeMs=None, displaySlate=None, walltime=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Slate and recording control of the live broadcast.</p>
John Asmuth614db982014-04-24 15:46:26 -040083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <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>
John Asmuth614db982014-04-24 15:46:26 -040086<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <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>
John Asmuth614db982014-04-24 15:46:26 -040089<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#list">list(part, pageToken=None, broadcastType=None, maxResults=None, broadcastStatus=None, mine=None, onBehalfOfContentOwnerChannel=None, id=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Retrieve the list of broadcasts associated with the given channel.</p>
John Asmuth614db982014-04-24 15:46:26 -040092<p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070096 <code><a href="#transition">transition(id, broadcastStatus, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p>
97<p class="firstline">Transition a broadcast to a given status.</p>
John Asmuth614db982014-04-24 15:46:26 -040098<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070099 <code><a href="#update">update(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p>
100<p class="firstline">Updates an existing broadcast for the authenticated user.</p>
John Asmuth614db982014-04-24 15:46:26 -0400101<h3>Method Details</h3>
102<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700103 <code class="details" id="bind">bind(id, part, onBehalfOfContentOwnerChannel=None, streamId=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
104 <pre>Bind a broadcast to a stream.
John Asmuth614db982014-04-24 15:46:26 -0400105
106Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700107 id: string, Broadcast to bind to the stream (required)
108 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter specifies a
109comma-separated list of one or more &lt;code&gt;liveBroadcast&lt;/code&gt; resource
110properties that the API response will include. The &lt;code&gt;part&lt;/code&gt; names
111that you can include in the parameter value are &lt;code&gt;id&lt;/code&gt;,
112&lt;code&gt;snippet&lt;/code&gt;, &lt;code&gt;contentDetails&lt;/code&gt;, and &lt;code&gt;status&lt;/code&gt;. (required) (repeated)
113 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly &lt;a
114href=&quot;/youtube/v3/guides/authentication&quot;&gt;authorized request&lt;/a&gt;.
115&lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
116content partners.&lt;br&gt;&lt;br&gt;The
117&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwnerChannel&lt;/strong&gt;&lt;/code&gt; parameter
118specifies the YouTube channel ID of the channel to which a video is being
119added. This parameter is required when a request specifies a value for the
120&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter, and it can only be used in
121conjunction with that parameter. In addition, the request must be
122authorized using a CMS account that is linked to the content owner that the
123&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies. Finally, the
124channel that the &lt;code&gt;onBehalfOfContentOwnerChannel&lt;/code&gt; parameter value
125specifies must be linked to the content owner that the
126&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies.&lt;br&gt;&lt;br&gt;This
127parameter is intended for YouTube content partners that own and manage many
128different YouTube channels. It allows content owners to authenticate once
129and perform actions on behalf of the channel specified in the parameter
130value, without having to provide authentication credentials for each
131separate channel.
132 streamId: string, Stream to bind, if not set unbind the current one.
133 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
134content partners.&lt;br&gt;&lt;br&gt;The
135&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
136that the
137request&#x27;s authorization credentials identify a YouTube CMS user who is
138acting on behalf of the content owner specified in the parameter value.
139This parameter is intended for YouTube content partners that own and manage
140many different YouTube channels. It allows content owners to authenticate
141once and get access to all their video and channel data, without having to
142provide authentication credentials for each individual channel. The CMS
143account that the user authenticates with must be linked to the specified
144YouTube content owner.
145 x__xgafv: string, V1 error format.
146 Allowed values
147 1 - v1 error format
148 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400149
150Returns:
151 An object of the form:
152
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700153 { # A &lt;code&gt;&lt;strong&gt;liveBroadcast&lt;/strong&gt;&lt;/code&gt; resource represents an event
154 # that will be streamed, via live video, on YouTube.
155 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
156 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values # The &lt;code&gt;statistics&lt;/code&gt; object contains info about the event&#x27;s current
157 # stats. These include concurrent viewers and total chat count. Statistics
158 # can change (in either direction) during the lifetime of an event.
159 # Statistics are only returned while the event is live.
160 # at the time of the request. Statistics are only returned for live broadcasts.
161 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The
162 # property and its value will be present if the broadcast is public, has
163 # the live chat feature enabled, and has at least one message. Note that
164 # this field will not be filled after the broadcast ends. So this property
165 # would not identify the number of chat messages for an archived video of a
166 # completed live broadcast.
Takashi Matsuo06694102015-09-11 13:55:40 -0700167 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700168 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700169 &quot;snippet&quot;: { # Basic broadcast information. # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the event,
170 # including its title, description, start time, and end time.
171 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value
172 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
173 # format.
174 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
175 # is publishing the broadcast.
176 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the &lt;code&gt;title&lt;/code&gt;, you can set
177 # this field by modifying the broadcast resource or by setting the
178 # &lt;code&gt;&lt;a
179 # href=&quot;/youtube/v3/docs/videos#snippet.description&quot;&gt;description&lt;/a&gt;&lt;/code&gt;
180 # field of the corresponding video resource.
181 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one
182 # YouTube video. You can set this field by modifying the broadcast resource
183 # or by setting the
184 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/docs/videos#snippet.title&quot;&gt;title&lt;/a&gt;&lt;/code&gt;
185 # field of the corresponding video resource.
186 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast
187 # schedule. The value is specified in
188 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
189 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -0700190 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700191 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast.
192 # Internal only.
193 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is
194 # only available once the broadcast&#x27;s state is &lt;code&gt;complete&lt;/code&gt;. The
195 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
196 # format.
197 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value
198 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
199 # format.
200 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is
201 # only available once the broadcast&#x27;s state is &lt;code&gt;live&lt;/code&gt;. The
202 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
203 # format.
204 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested
205 # object in this object, the key is the name of the thumbnail image, and
206 # the value is an object that contains other information about the
207 # thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -0700208 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700209 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700210 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
211 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400212 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700213 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700214 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700215 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
216 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
217 },
218 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
219 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
220 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
221 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
222 },
223 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
224 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
225 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
226 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
227 },
228 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
229 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
230 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
231 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400232 },
233 },
234 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700235 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string
236 # &lt;code&gt;&quot;youtube#liveBroadcast&quot;&lt;/code&gt;.
237 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the
238 # event&#x27;s video content, such as whether the content can be shown in an
239 # embedded video player or if it will be archived and therefore available
240 # for viewing after the event has concluded.
241 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the
242 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams&quot;&gt;live stream&lt;/a&gt;&lt;/code&gt;
243 # bound to the broadcast.
244 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
245 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin
246 # with an &lt;a
247 # href=&quot;/youtube/v3/live/getting-started#Displaying_Slates&quot;&gt;in-stream
248 # slate&lt;/a&gt; when you update the broadcast&#x27;s status to &lt;code&gt;live&lt;/code&gt;.
249 # After updating the status, you then need to send a
250 # &lt;code&gt;&lt;a
251 # href=&quot;/youtube/v3/live/docs/liveCuepoints/insert&quot;&gt;liveCuepoints.insert&lt;/a&gt;&lt;/code&gt;
252 # request that sets the cuepoint&#x27;s &lt;code&gt;eventState&lt;/code&gt; to
253 # &lt;code&gt;end&lt;/code&gt; to remove the in-stream slate and make your broadcast
254 # stream visible to viewers.
255 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by
256 # &lt;code&gt;boundStreamId&lt;/code&gt; was last updated.
257 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while
258 # watching the video. DVR controls enable the viewer to control the video
259 # playback experience by pausing, rewinding, or fast forwarding content.
260 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
261 #
262 # &lt;strong&gt;Important:&lt;/strong&gt; You must set the value to &lt;code&gt;true&lt;/code&gt;
263 # and also set the &lt;code&gt;enableArchive&lt;/code&gt; property&#x27;s value to
264 # &lt;code&gt;true&lt;/code&gt; if you want to make playback available immediately
265 # after the broadcast ends.
266 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an
267 # embedded player. If you choose to archive the video (using the
268 # &lt;code&gt;enableArchive&lt;/code&gt; property), this setting will also apply to
269 # the archived video.
270 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for
271 # this broadcast. The ingestion URL of the closed captions is returned
272 # through the liveStreams API. This is mutually exclusive with using the
273 # &lt;code&gt;closed_captions_type&lt;/code&gt; property, and is equivalent to setting
274 # &lt;code&gt;closed_captions_type&lt;/code&gt; to CLOSED_CAPTIONS_HTTP_POST.
275 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live.
276 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
277 #
278 # &lt;strong&gt;Important:&lt;/strong&gt; You must also set the &lt;code&gt;enableDvr&lt;/code&gt;
279 # property&#x27;s value to
280 # &lt;code&gt;true&lt;/code&gt; if you want the playback to be available immediately
281 # after the broadcast ends. If you set this property&#x27;s value to
282 # &lt;code&gt;true&lt;/code&gt; but do not also set the &lt;code&gt;enableDvr&lt;/code&gt; property
283 # to &lt;code&gt;true&lt;/code&gt;, there may be a delay of around one day before the
284 # archived video will be available for playback.
285 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The &lt;code&gt;monitorStream&lt;/code&gt; object contains information about the
286 # monitor stream, which the broadcaster can use to review the event
287 # content before the broadcast stream is shown publicly.
288 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
289 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the
290 # &lt;code&gt;&lt;a href=&quot;#enableMonitorStream&quot;&gt;enableMonitorStream&lt;/a&gt;&lt;/code&gt;
291 # property to &lt;code&gt;true&lt;/code&gt;, then this property determines the
292 # length of the live broadcast delay.
293 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the
294 # broadcast. If the monitor stream is enabled, then YouTube will
295 # broadcast the event content on a special stream intended only for
296 # the broadcaster&#x27;s consumption. The broadcaster can use the stream
297 # to review the event content and also to identify the optimal times
298 # to insert cuepoints.&lt;br&gt;&lt;br&gt;
299 # You need to set this value to &lt;code&gt;true&lt;/code&gt; if you intend to have
300 # a broadcast delay for your event.&lt;br&gt;&lt;br&gt;
301 # &lt;strong&gt;Note:&lt;/strong&gt; This property cannot be updated once the
302 # broadcast is in the &lt;code&gt;testing&lt;/code&gt; or &lt;code&gt;live&lt;/code&gt; state.
303 },
304 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption
305 # for the broadcast.
306 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast.
307 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
308 # This setting can only be used by Events.
309 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match.
310 # LATENCY_NORMAL should match enable_low_latency=false
311 # LATENCY_LOW should match enable_low_latency=true
312 # LATENCY_ULTRA_LOW should have enable_low_latency omitted.
313 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to
314 # &lt;code&gt;rectangular&lt;/code&gt;.
315 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if &lt;code&gt;projection&lt;/code&gt; is
316 # &lt;code&gt;mesh&lt;/code&gt;. The mesh value must be a UTF-8 string containing the
317 # base-64 encoding of 3D mesh data that follows the &lt;a
318 # href=&quot;https://github.com/google/spatial-media/blob/master/docs/spherical-video-v2-rfc.md&quot;&gt;
319 # Spherical Video V2 RFC specification&lt;/a&gt; for an mshp box, excluding the box
320 # size and type but including the following four reserved zero bytes for the
321 # version and flags.
322 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
323 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast.
324 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
325 # This setting can only be used by Events.
Bu Sun Kim65020912020-05-20 12:08:20 -0700326 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700327 &quot;status&quot;: { # Live broadcast state. # The &lt;code&gt;status&lt;/code&gt; object contains information about the event&#x27;s
328 # status.
329 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be
330 # kids only: go/live-cw-work.
Bu Sun Kim65020912020-05-20 12:08:20 -0700331 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700332 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents
333 # exactly one YouTube video, so the privacy settings are identical to
334 # those supported for videos. In addition, you can set this field by
335 # modifying the broadcast resource or by setting the
336 # &lt;code&gt;&lt;a
337 # href=&quot;/youtube/v3/docs/videos#status.privacyStatus&quot;
338 # &gt;privacyStatus&lt;/a&gt;&lt;/code&gt;
339 # field of the corresponding video resource.
340 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s
341 # &lt;code&gt;&lt;a
342 # href=&quot;/youtube/v3/live/docs/liveBroadcasts/transition&quot;
343 # &gt;liveBroadcasts.transition&lt;/a&gt;&lt;/code&gt; method.
344 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
345 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead
346 # of the creator. This field is read only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700347 },
John Asmuth614db982014-04-24 15:46:26 -0400348 }</pre>
349</div>
350
351<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700352 <code class="details" id="control">control(id, part, onBehalfOfContentOwner=None, offsetTimeMs=None, displaySlate=None, walltime=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
353 <pre>Slate and recording control of the live broadcast.
354Support actions: slate on/off, recording start/stop/pause/resume.
355Design doc: goto/yt-api-liveBroadcast-control
John Asmuth614db982014-04-24 15:46:26 -0400356
357Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700358 id: string, Broadcast to operate. (required)
359 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter specifies a
360comma-separated list of one or more &lt;code&gt;liveBroadcast&lt;/code&gt; resource
361properties that the API response will include. The &lt;code&gt;part&lt;/code&gt; names
362that you can include in the parameter value are &lt;code&gt;id&lt;/code&gt;,
363&lt;code&gt;snippet&lt;/code&gt;, &lt;code&gt;contentDetails&lt;/code&gt;, and &lt;code&gt;status&lt;/code&gt;. (required) (repeated)
364 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
365content partners.&lt;br&gt;&lt;br&gt;The
366&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
367that the
368request&#x27;s authorization credentials identify a YouTube CMS user who is
369acting on behalf of the content owner specified in the parameter value.
370This parameter is intended for YouTube content partners that own and manage
371many different YouTube channels. It allows content owners to authenticate
372once and get access to all their video and channel data, without having to
373provide authentication credentials for each individual channel. The CMS
374account that the user authenticates with must be linked to the specified
375YouTube content owner.
376 offsetTimeMs: string, The exact time when the actions (e.g. slate on) are executed.
377It is an offset from the first frame of the monitor stream.
378If not set, it means &quot;now&quot; or ASAP.
379This field should not be set if the monitor stream is disabled,
380otherwise an error will be returned.
381 displaySlate: boolean, Whether display or hide slate.
382 walltime: string, The wall clock time at which the action should be executed.
383Only one of offset_time_ms and walltime may be set at a time.
384 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly &lt;a
385href=&quot;/youtube/v3/guides/authentication&quot;&gt;authorized request&lt;/a&gt;.
386&lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
387content partners.&lt;br&gt;&lt;br&gt;The
388&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwnerChannel&lt;/strong&gt;&lt;/code&gt; parameter
389specifies the YouTube channel ID of the channel to which a video is being
390added. This parameter is required when a request specifies a value for the
391&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter, and it can only be used in
392conjunction with that parameter. In addition, the request must be
393authorized using a CMS account that is linked to the content owner that the
394&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies. Finally, the
395channel that the &lt;code&gt;onBehalfOfContentOwnerChannel&lt;/code&gt; parameter value
396specifies must be linked to the content owner that the
397&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies.&lt;br&gt;&lt;br&gt;This
398parameter is intended for YouTube content partners that own and manage many
399different YouTube channels. It allows content owners to authenticate once
400and perform actions on behalf of the channel specified in the parameter
401value, without having to provide authentication credentials for each
402separate channel.
403 x__xgafv: string, V1 error format.
404 Allowed values
405 1 - v1 error format
406 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400407
408Returns:
409 An object of the form:
410
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700411 { # A &lt;code&gt;&lt;strong&gt;liveBroadcast&lt;/strong&gt;&lt;/code&gt; resource represents an event
412 # that will be streamed, via live video, on YouTube.
413 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
414 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values # The &lt;code&gt;statistics&lt;/code&gt; object contains info about the event&#x27;s current
415 # stats. These include concurrent viewers and total chat count. Statistics
416 # can change (in either direction) during the lifetime of an event.
417 # Statistics are only returned while the event is live.
418 # at the time of the request. Statistics are only returned for live broadcasts.
419 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The
420 # property and its value will be present if the broadcast is public, has
421 # the live chat feature enabled, and has at least one message. Note that
422 # this field will not be filled after the broadcast ends. So this property
423 # would not identify the number of chat messages for an archived video of a
424 # completed live broadcast.
John Asmuth614db982014-04-24 15:46:26 -0400425 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700426 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700427 &quot;snippet&quot;: { # Basic broadcast information. # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the event,
428 # including its title, description, start time, and end time.
429 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value
430 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
431 # format.
432 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
433 # is publishing the broadcast.
434 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the &lt;code&gt;title&lt;/code&gt;, you can set
435 # this field by modifying the broadcast resource or by setting the
436 # &lt;code&gt;&lt;a
437 # href=&quot;/youtube/v3/docs/videos#snippet.description&quot;&gt;description&lt;/a&gt;&lt;/code&gt;
438 # field of the corresponding video resource.
439 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one
440 # YouTube video. You can set this field by modifying the broadcast resource
441 # or by setting the
442 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/docs/videos#snippet.title&quot;&gt;title&lt;/a&gt;&lt;/code&gt;
443 # field of the corresponding video resource.
444 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast
445 # schedule. The value is specified in
446 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
447 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -0700448 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700449 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast.
450 # Internal only.
451 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is
452 # only available once the broadcast&#x27;s state is &lt;code&gt;complete&lt;/code&gt;. The
453 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
454 # format.
455 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value
456 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
457 # format.
458 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is
459 # only available once the broadcast&#x27;s state is &lt;code&gt;live&lt;/code&gt;. The
460 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
461 # format.
462 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested
463 # object in this object, the key is the name of the thumbnail image, and
464 # the value is an object that contains other information about the
465 # thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -0700466 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700467 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700468 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
469 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400470 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700471 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700472 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700473 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
474 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
475 },
476 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
477 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
478 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
479 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
480 },
481 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
482 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
483 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
484 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
485 },
486 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
487 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
488 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
489 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400490 },
491 },
492 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700493 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string
494 # &lt;code&gt;&quot;youtube#liveBroadcast&quot;&lt;/code&gt;.
495 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the
496 # event&#x27;s video content, such as whether the content can be shown in an
497 # embedded video player or if it will be archived and therefore available
498 # for viewing after the event has concluded.
499 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the
500 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams&quot;&gt;live stream&lt;/a&gt;&lt;/code&gt;
501 # bound to the broadcast.
502 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
503 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin
504 # with an &lt;a
505 # href=&quot;/youtube/v3/live/getting-started#Displaying_Slates&quot;&gt;in-stream
506 # slate&lt;/a&gt; when you update the broadcast&#x27;s status to &lt;code&gt;live&lt;/code&gt;.
507 # After updating the status, you then need to send a
508 # &lt;code&gt;&lt;a
509 # href=&quot;/youtube/v3/live/docs/liveCuepoints/insert&quot;&gt;liveCuepoints.insert&lt;/a&gt;&lt;/code&gt;
510 # request that sets the cuepoint&#x27;s &lt;code&gt;eventState&lt;/code&gt; to
511 # &lt;code&gt;end&lt;/code&gt; to remove the in-stream slate and make your broadcast
512 # stream visible to viewers.
513 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by
514 # &lt;code&gt;boundStreamId&lt;/code&gt; was last updated.
515 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while
516 # watching the video. DVR controls enable the viewer to control the video
517 # playback experience by pausing, rewinding, or fast forwarding content.
518 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
519 #
520 # &lt;strong&gt;Important:&lt;/strong&gt; You must set the value to &lt;code&gt;true&lt;/code&gt;
521 # and also set the &lt;code&gt;enableArchive&lt;/code&gt; property&#x27;s value to
522 # &lt;code&gt;true&lt;/code&gt; if you want to make playback available immediately
523 # after the broadcast ends.
524 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an
525 # embedded player. If you choose to archive the video (using the
526 # &lt;code&gt;enableArchive&lt;/code&gt; property), this setting will also apply to
527 # the archived video.
528 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for
529 # this broadcast. The ingestion URL of the closed captions is returned
530 # through the liveStreams API. This is mutually exclusive with using the
531 # &lt;code&gt;closed_captions_type&lt;/code&gt; property, and is equivalent to setting
532 # &lt;code&gt;closed_captions_type&lt;/code&gt; to CLOSED_CAPTIONS_HTTP_POST.
533 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live.
534 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
535 #
536 # &lt;strong&gt;Important:&lt;/strong&gt; You must also set the &lt;code&gt;enableDvr&lt;/code&gt;
537 # property&#x27;s value to
538 # &lt;code&gt;true&lt;/code&gt; if you want the playback to be available immediately
539 # after the broadcast ends. If you set this property&#x27;s value to
540 # &lt;code&gt;true&lt;/code&gt; but do not also set the &lt;code&gt;enableDvr&lt;/code&gt; property
541 # to &lt;code&gt;true&lt;/code&gt;, there may be a delay of around one day before the
542 # archived video will be available for playback.
543 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The &lt;code&gt;monitorStream&lt;/code&gt; object contains information about the
544 # monitor stream, which the broadcaster can use to review the event
545 # content before the broadcast stream is shown publicly.
546 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
547 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the
548 # &lt;code&gt;&lt;a href=&quot;#enableMonitorStream&quot;&gt;enableMonitorStream&lt;/a&gt;&lt;/code&gt;
549 # property to &lt;code&gt;true&lt;/code&gt;, then this property determines the
550 # length of the live broadcast delay.
551 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the
552 # broadcast. If the monitor stream is enabled, then YouTube will
553 # broadcast the event content on a special stream intended only for
554 # the broadcaster&#x27;s consumption. The broadcaster can use the stream
555 # to review the event content and also to identify the optimal times
556 # to insert cuepoints.&lt;br&gt;&lt;br&gt;
557 # You need to set this value to &lt;code&gt;true&lt;/code&gt; if you intend to have
558 # a broadcast delay for your event.&lt;br&gt;&lt;br&gt;
559 # &lt;strong&gt;Note:&lt;/strong&gt; This property cannot be updated once the
560 # broadcast is in the &lt;code&gt;testing&lt;/code&gt; or &lt;code&gt;live&lt;/code&gt; state.
561 },
562 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption
563 # for the broadcast.
564 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast.
565 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
566 # This setting can only be used by Events.
567 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match.
568 # LATENCY_NORMAL should match enable_low_latency=false
569 # LATENCY_LOW should match enable_low_latency=true
570 # LATENCY_ULTRA_LOW should have enable_low_latency omitted.
571 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to
572 # &lt;code&gt;rectangular&lt;/code&gt;.
573 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if &lt;code&gt;projection&lt;/code&gt; is
574 # &lt;code&gt;mesh&lt;/code&gt;. The mesh value must be a UTF-8 string containing the
575 # base-64 encoding of 3D mesh data that follows the &lt;a
576 # href=&quot;https://github.com/google/spatial-media/blob/master/docs/spherical-video-v2-rfc.md&quot;&gt;
577 # Spherical Video V2 RFC specification&lt;/a&gt; for an mshp box, excluding the box
578 # size and type but including the following four reserved zero bytes for the
579 # version and flags.
580 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
581 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast.
582 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
583 # This setting can only be used by Events.
Bu Sun Kim65020912020-05-20 12:08:20 -0700584 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700585 &quot;status&quot;: { # Live broadcast state. # The &lt;code&gt;status&lt;/code&gt; object contains information about the event&#x27;s
586 # status.
587 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be
588 # kids only: go/live-cw-work.
Bu Sun Kim65020912020-05-20 12:08:20 -0700589 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700590 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents
591 # exactly one YouTube video, so the privacy settings are identical to
592 # those supported for videos. In addition, you can set this field by
593 # modifying the broadcast resource or by setting the
594 # &lt;code&gt;&lt;a
595 # href=&quot;/youtube/v3/docs/videos#status.privacyStatus&quot;
596 # &gt;privacyStatus&lt;/a&gt;&lt;/code&gt;
597 # field of the corresponding video resource.
598 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s
599 # &lt;code&gt;&lt;a
600 # href=&quot;/youtube/v3/live/docs/liveBroadcasts/transition&quot;
601 # &gt;liveBroadcasts.transition&lt;/a&gt;&lt;/code&gt; method.
602 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
603 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead
604 # of the creator. This field is read only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700605 },
John Asmuth614db982014-04-24 15:46:26 -0400606 }</pre>
607</div>
608
609<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700610 <code class="details" id="delete">delete(id, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
611 <pre>Delete a given broadcast.
John Asmuth614db982014-04-24 15:46:26 -0400612
613Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700614 id: string, Broadcast to delete. (required)
615 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
616content partners.&lt;br&gt;&lt;br&gt;The
617&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
618that the
619request&#x27;s authorization credentials identify a YouTube CMS user who is
620acting on behalf of the content owner specified in the parameter value.
621This parameter is intended for YouTube content partners that own and manage
622many different YouTube channels. It allows content owners to authenticate
623once and get access to all their video and channel data, without having to
624provide authentication credentials for each individual channel. The CMS
625account that the user authenticates with must be linked to the specified
626YouTube content owner.
627 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly &lt;a
628href=&quot;/youtube/v3/guides/authentication&quot;&gt;authorized request&lt;/a&gt;.
629&lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
630content partners.&lt;br&gt;&lt;br&gt;The
631&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwnerChannel&lt;/strong&gt;&lt;/code&gt; parameter
632specifies the YouTube channel ID of the channel to which a video is being
633added. This parameter is required when a request specifies a value for the
634&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter, and it can only be used in
635conjunction with that parameter. In addition, the request must be
636authorized using a CMS account that is linked to the content owner that the
637&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies. Finally, the
638channel that the &lt;code&gt;onBehalfOfContentOwnerChannel&lt;/code&gt; parameter value
639specifies must be linked to the content owner that the
640&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies.&lt;br&gt;&lt;br&gt;This
641parameter is intended for YouTube content partners that own and manage many
642different YouTube channels. It allows content owners to authenticate once
643and perform actions on behalf of the channel specified in the parameter
644value, without having to provide authentication credentials for each
645separate channel.
646 x__xgafv: string, V1 error format.
647 Allowed values
648 1 - v1 error format
649 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400650</pre>
651</div>
652
653<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700654 <code class="details" id="insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
655 <pre>Inserts a new stream for the authenticated user.
John Asmuth614db982014-04-24 15:46:26 -0400656
657Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700658 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter serves two purposes in
659this operation. It identifies the properties that the write operation will
660set as well as the properties that the API response will
661include.&lt;br&gt;&lt;br&gt;The &lt;code&gt;part&lt;/code&gt; properties that you can include in
662the parameter value are &lt;code&gt;id&lt;/code&gt;, &lt;code&gt;snippet&lt;/code&gt;,
663&lt;code&gt;contentDetails&lt;/code&gt;, and &lt;code&gt;status&lt;/code&gt;. (required) (repeated)
Dan O'Mearadd494642020-05-01 07:42:23 -0700664 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400665 The object takes the form of:
666
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700667{ # A &lt;code&gt;&lt;strong&gt;liveBroadcast&lt;/strong&gt;&lt;/code&gt; resource represents an event
668 # that will be streamed, via live video, on YouTube.
669 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
670 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values # The &lt;code&gt;statistics&lt;/code&gt; object contains info about the event&#x27;s current
671 # stats. These include concurrent viewers and total chat count. Statistics
672 # can change (in either direction) during the lifetime of an event.
673 # Statistics are only returned while the event is live.
674 # at the time of the request. Statistics are only returned for live broadcasts.
675 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The
676 # property and its value will be present if the broadcast is public, has
677 # the live chat feature enabled, and has at least one message. Note that
678 # this field will not be filled after the broadcast ends. So this property
679 # would not identify the number of chat messages for an archived video of a
680 # completed live broadcast.
John Asmuth614db982014-04-24 15:46:26 -0400681 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700682 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700683 &quot;snippet&quot;: { # Basic broadcast information. # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the event,
684 # including its title, description, start time, and end time.
685 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value
686 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
687 # format.
688 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
689 # is publishing the broadcast.
690 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the &lt;code&gt;title&lt;/code&gt;, you can set
691 # this field by modifying the broadcast resource or by setting the
692 # &lt;code&gt;&lt;a
693 # href=&quot;/youtube/v3/docs/videos#snippet.description&quot;&gt;description&lt;/a&gt;&lt;/code&gt;
694 # field of the corresponding video resource.
695 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one
696 # YouTube video. You can set this field by modifying the broadcast resource
697 # or by setting the
698 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/docs/videos#snippet.title&quot;&gt;title&lt;/a&gt;&lt;/code&gt;
699 # field of the corresponding video resource.
700 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast
701 # schedule. The value is specified in
702 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
703 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -0700704 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700705 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast.
706 # Internal only.
707 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is
708 # only available once the broadcast&#x27;s state is &lt;code&gt;complete&lt;/code&gt;. The
709 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
710 # format.
711 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value
712 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
713 # format.
714 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is
715 # only available once the broadcast&#x27;s state is &lt;code&gt;live&lt;/code&gt;. The
716 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
717 # format.
718 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested
719 # object in this object, the key is the name of the thumbnail image, and
720 # the value is an object that contains other information about the
721 # thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -0700722 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700723 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700724 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
725 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400726 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700727 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700728 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700729 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
730 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
731 },
732 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
733 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
734 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
735 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
736 },
737 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
738 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
739 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
740 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
741 },
742 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
743 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
744 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
745 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400746 },
747 },
748 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700749 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string
750 # &lt;code&gt;&quot;youtube#liveBroadcast&quot;&lt;/code&gt;.
751 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the
752 # event&#x27;s video content, such as whether the content can be shown in an
753 # embedded video player or if it will be archived and therefore available
754 # for viewing after the event has concluded.
755 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the
756 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams&quot;&gt;live stream&lt;/a&gt;&lt;/code&gt;
757 # bound to the broadcast.
758 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
759 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin
760 # with an &lt;a
761 # href=&quot;/youtube/v3/live/getting-started#Displaying_Slates&quot;&gt;in-stream
762 # slate&lt;/a&gt; when you update the broadcast&#x27;s status to &lt;code&gt;live&lt;/code&gt;.
763 # After updating the status, you then need to send a
764 # &lt;code&gt;&lt;a
765 # href=&quot;/youtube/v3/live/docs/liveCuepoints/insert&quot;&gt;liveCuepoints.insert&lt;/a&gt;&lt;/code&gt;
766 # request that sets the cuepoint&#x27;s &lt;code&gt;eventState&lt;/code&gt; to
767 # &lt;code&gt;end&lt;/code&gt; to remove the in-stream slate and make your broadcast
768 # stream visible to viewers.
769 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by
770 # &lt;code&gt;boundStreamId&lt;/code&gt; was last updated.
771 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while
772 # watching the video. DVR controls enable the viewer to control the video
773 # playback experience by pausing, rewinding, or fast forwarding content.
774 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
775 #
776 # &lt;strong&gt;Important:&lt;/strong&gt; You must set the value to &lt;code&gt;true&lt;/code&gt;
777 # and also set the &lt;code&gt;enableArchive&lt;/code&gt; property&#x27;s value to
778 # &lt;code&gt;true&lt;/code&gt; if you want to make playback available immediately
779 # after the broadcast ends.
780 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an
781 # embedded player. If you choose to archive the video (using the
782 # &lt;code&gt;enableArchive&lt;/code&gt; property), this setting will also apply to
783 # the archived video.
784 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for
785 # this broadcast. The ingestion URL of the closed captions is returned
786 # through the liveStreams API. This is mutually exclusive with using the
787 # &lt;code&gt;closed_captions_type&lt;/code&gt; property, and is equivalent to setting
788 # &lt;code&gt;closed_captions_type&lt;/code&gt; to CLOSED_CAPTIONS_HTTP_POST.
789 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live.
790 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
791 #
792 # &lt;strong&gt;Important:&lt;/strong&gt; You must also set the &lt;code&gt;enableDvr&lt;/code&gt;
793 # property&#x27;s value to
794 # &lt;code&gt;true&lt;/code&gt; if you want the playback to be available immediately
795 # after the broadcast ends. If you set this property&#x27;s value to
796 # &lt;code&gt;true&lt;/code&gt; but do not also set the &lt;code&gt;enableDvr&lt;/code&gt; property
797 # to &lt;code&gt;true&lt;/code&gt;, there may be a delay of around one day before the
798 # archived video will be available for playback.
799 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The &lt;code&gt;monitorStream&lt;/code&gt; object contains information about the
800 # monitor stream, which the broadcaster can use to review the event
801 # content before the broadcast stream is shown publicly.
802 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
803 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the
804 # &lt;code&gt;&lt;a href=&quot;#enableMonitorStream&quot;&gt;enableMonitorStream&lt;/a&gt;&lt;/code&gt;
805 # property to &lt;code&gt;true&lt;/code&gt;, then this property determines the
806 # length of the live broadcast delay.
807 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the
808 # broadcast. If the monitor stream is enabled, then YouTube will
809 # broadcast the event content on a special stream intended only for
810 # the broadcaster&#x27;s consumption. The broadcaster can use the stream
811 # to review the event content and also to identify the optimal times
812 # to insert cuepoints.&lt;br&gt;&lt;br&gt;
813 # You need to set this value to &lt;code&gt;true&lt;/code&gt; if you intend to have
814 # a broadcast delay for your event.&lt;br&gt;&lt;br&gt;
815 # &lt;strong&gt;Note:&lt;/strong&gt; This property cannot be updated once the
816 # broadcast is in the &lt;code&gt;testing&lt;/code&gt; or &lt;code&gt;live&lt;/code&gt; state.
817 },
818 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption
819 # for the broadcast.
820 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast.
821 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
822 # This setting can only be used by Events.
823 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match.
824 # LATENCY_NORMAL should match enable_low_latency=false
825 # LATENCY_LOW should match enable_low_latency=true
826 # LATENCY_ULTRA_LOW should have enable_low_latency omitted.
827 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to
828 # &lt;code&gt;rectangular&lt;/code&gt;.
829 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if &lt;code&gt;projection&lt;/code&gt; is
830 # &lt;code&gt;mesh&lt;/code&gt;. The mesh value must be a UTF-8 string containing the
831 # base-64 encoding of 3D mesh data that follows the &lt;a
832 # href=&quot;https://github.com/google/spatial-media/blob/master/docs/spherical-video-v2-rfc.md&quot;&gt;
833 # Spherical Video V2 RFC specification&lt;/a&gt; for an mshp box, excluding the box
834 # size and type but including the following four reserved zero bytes for the
835 # version and flags.
836 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
837 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast.
838 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
839 # This setting can only be used by Events.
Bu Sun Kim65020912020-05-20 12:08:20 -0700840 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700841 &quot;status&quot;: { # Live broadcast state. # The &lt;code&gt;status&lt;/code&gt; object contains information about the event&#x27;s
842 # status.
843 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be
844 # kids only: go/live-cw-work.
Bu Sun Kim65020912020-05-20 12:08:20 -0700845 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700846 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents
847 # exactly one YouTube video, so the privacy settings are identical to
848 # those supported for videos. In addition, you can set this field by
849 # modifying the broadcast resource or by setting the
850 # &lt;code&gt;&lt;a
851 # href=&quot;/youtube/v3/docs/videos#status.privacyStatus&quot;
852 # &gt;privacyStatus&lt;/a&gt;&lt;/code&gt;
853 # field of the corresponding video resource.
854 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s
855 # &lt;code&gt;&lt;a
856 # href=&quot;/youtube/v3/live/docs/liveBroadcasts/transition&quot;
857 # &gt;liveBroadcasts.transition&lt;/a&gt;&lt;/code&gt; method.
858 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
859 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead
860 # of the creator. This field is read only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700861 },
John Asmuth614db982014-04-24 15:46:26 -0400862}
863
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700864 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
865content partners.&lt;br&gt;&lt;br&gt;The
866&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
867that the
868request&#x27;s authorization credentials identify a YouTube CMS user who is
869acting on behalf of the content owner specified in the parameter value.
870This parameter is intended for YouTube content partners that own and manage
871many different YouTube channels. It allows content owners to authenticate
872once and get access to all their video and channel data, without having to
873provide authentication credentials for each individual channel. The CMS
874account that the user authenticates with must be linked to the specified
875YouTube content owner.
876 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly &lt;a
877href=&quot;/youtube/v3/guides/authentication&quot;&gt;authorized request&lt;/a&gt;.
878&lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
879content partners.&lt;br&gt;&lt;br&gt;The
880&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwnerChannel&lt;/strong&gt;&lt;/code&gt; parameter
881specifies the YouTube channel ID of the channel to which a video is being
882added. This parameter is required when a request specifies a value for the
883&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter, and it can only be used in
884conjunction with that parameter. In addition, the request must be
885authorized using a CMS account that is linked to the content owner that the
886&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies. Finally, the
887channel that the &lt;code&gt;onBehalfOfContentOwnerChannel&lt;/code&gt; parameter value
888specifies must be linked to the content owner that the
889&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies.&lt;br&gt;&lt;br&gt;This
890parameter is intended for YouTube content partners that own and manage many
891different YouTube channels. It allows content owners to authenticate once
892and perform actions on behalf of the channel specified in the parameter
893value, without having to provide authentication credentials for each
894separate channel.
895 x__xgafv: string, V1 error format.
896 Allowed values
897 1 - v1 error format
898 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400899
900Returns:
901 An object of the form:
902
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700903 { # A &lt;code&gt;&lt;strong&gt;liveBroadcast&lt;/strong&gt;&lt;/code&gt; resource represents an event
904 # that will be streamed, via live video, on YouTube.
905 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
906 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values # The &lt;code&gt;statistics&lt;/code&gt; object contains info about the event&#x27;s current
907 # stats. These include concurrent viewers and total chat count. Statistics
908 # can change (in either direction) during the lifetime of an event.
909 # Statistics are only returned while the event is live.
910 # at the time of the request. Statistics are only returned for live broadcasts.
911 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The
912 # property and its value will be present if the broadcast is public, has
913 # the live chat feature enabled, and has at least one message. Note that
914 # this field will not be filled after the broadcast ends. So this property
915 # would not identify the number of chat messages for an archived video of a
916 # completed live broadcast.
John Asmuth614db982014-04-24 15:46:26 -0400917 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700918 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700919 &quot;snippet&quot;: { # Basic broadcast information. # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the event,
920 # including its title, description, start time, and end time.
921 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value
922 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
923 # format.
924 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
925 # is publishing the broadcast.
926 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the &lt;code&gt;title&lt;/code&gt;, you can set
927 # this field by modifying the broadcast resource or by setting the
928 # &lt;code&gt;&lt;a
929 # href=&quot;/youtube/v3/docs/videos#snippet.description&quot;&gt;description&lt;/a&gt;&lt;/code&gt;
930 # field of the corresponding video resource.
931 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one
932 # YouTube video. You can set this field by modifying the broadcast resource
933 # or by setting the
934 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/docs/videos#snippet.title&quot;&gt;title&lt;/a&gt;&lt;/code&gt;
935 # field of the corresponding video resource.
936 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast
937 # schedule. The value is specified in
938 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
939 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -0700940 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700941 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast.
942 # Internal only.
943 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is
944 # only available once the broadcast&#x27;s state is &lt;code&gt;complete&lt;/code&gt;. The
945 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
946 # format.
947 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value
948 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
949 # format.
950 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is
951 # only available once the broadcast&#x27;s state is &lt;code&gt;live&lt;/code&gt;. The
952 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
953 # format.
954 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested
955 # object in this object, the key is the name of the thumbnail image, and
956 # the value is an object that contains other information about the
957 # thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -0700958 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700959 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700960 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
961 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400962 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700963 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700964 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700965 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
966 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
967 },
968 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
969 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
970 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
971 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
972 },
973 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
974 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
975 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
976 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
977 },
978 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
979 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
980 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
981 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400982 },
983 },
984 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700985 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string
986 # &lt;code&gt;&quot;youtube#liveBroadcast&quot;&lt;/code&gt;.
987 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the
988 # event&#x27;s video content, such as whether the content can be shown in an
989 # embedded video player or if it will be archived and therefore available
990 # for viewing after the event has concluded.
991 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the
992 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams&quot;&gt;live stream&lt;/a&gt;&lt;/code&gt;
993 # bound to the broadcast.
994 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
995 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin
996 # with an &lt;a
997 # href=&quot;/youtube/v3/live/getting-started#Displaying_Slates&quot;&gt;in-stream
998 # slate&lt;/a&gt; when you update the broadcast&#x27;s status to &lt;code&gt;live&lt;/code&gt;.
999 # After updating the status, you then need to send a
1000 # &lt;code&gt;&lt;a
1001 # href=&quot;/youtube/v3/live/docs/liveCuepoints/insert&quot;&gt;liveCuepoints.insert&lt;/a&gt;&lt;/code&gt;
1002 # request that sets the cuepoint&#x27;s &lt;code&gt;eventState&lt;/code&gt; to
1003 # &lt;code&gt;end&lt;/code&gt; to remove the in-stream slate and make your broadcast
1004 # stream visible to viewers.
1005 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by
1006 # &lt;code&gt;boundStreamId&lt;/code&gt; was last updated.
1007 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while
1008 # watching the video. DVR controls enable the viewer to control the video
1009 # playback experience by pausing, rewinding, or fast forwarding content.
1010 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1011 #
1012 # &lt;strong&gt;Important:&lt;/strong&gt; You must set the value to &lt;code&gt;true&lt;/code&gt;
1013 # and also set the &lt;code&gt;enableArchive&lt;/code&gt; property&#x27;s value to
1014 # &lt;code&gt;true&lt;/code&gt; if you want to make playback available immediately
1015 # after the broadcast ends.
1016 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an
1017 # embedded player. If you choose to archive the video (using the
1018 # &lt;code&gt;enableArchive&lt;/code&gt; property), this setting will also apply to
1019 # the archived video.
1020 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for
1021 # this broadcast. The ingestion URL of the closed captions is returned
1022 # through the liveStreams API. This is mutually exclusive with using the
1023 # &lt;code&gt;closed_captions_type&lt;/code&gt; property, and is equivalent to setting
1024 # &lt;code&gt;closed_captions_type&lt;/code&gt; to CLOSED_CAPTIONS_HTTP_POST.
1025 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live.
1026 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1027 #
1028 # &lt;strong&gt;Important:&lt;/strong&gt; You must also set the &lt;code&gt;enableDvr&lt;/code&gt;
1029 # property&#x27;s value to
1030 # &lt;code&gt;true&lt;/code&gt; if you want the playback to be available immediately
1031 # after the broadcast ends. If you set this property&#x27;s value to
1032 # &lt;code&gt;true&lt;/code&gt; but do not also set the &lt;code&gt;enableDvr&lt;/code&gt; property
1033 # to &lt;code&gt;true&lt;/code&gt;, there may be a delay of around one day before the
1034 # archived video will be available for playback.
1035 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The &lt;code&gt;monitorStream&lt;/code&gt; object contains information about the
1036 # monitor stream, which the broadcaster can use to review the event
1037 # content before the broadcast stream is shown publicly.
1038 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
1039 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the
1040 # &lt;code&gt;&lt;a href=&quot;#enableMonitorStream&quot;&gt;enableMonitorStream&lt;/a&gt;&lt;/code&gt;
1041 # property to &lt;code&gt;true&lt;/code&gt;, then this property determines the
1042 # length of the live broadcast delay.
1043 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the
1044 # broadcast. If the monitor stream is enabled, then YouTube will
1045 # broadcast the event content on a special stream intended only for
1046 # the broadcaster&#x27;s consumption. The broadcaster can use the stream
1047 # to review the event content and also to identify the optimal times
1048 # to insert cuepoints.&lt;br&gt;&lt;br&gt;
1049 # You need to set this value to &lt;code&gt;true&lt;/code&gt; if you intend to have
1050 # a broadcast delay for your event.&lt;br&gt;&lt;br&gt;
1051 # &lt;strong&gt;Note:&lt;/strong&gt; This property cannot be updated once the
1052 # broadcast is in the &lt;code&gt;testing&lt;/code&gt; or &lt;code&gt;live&lt;/code&gt; state.
1053 },
1054 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption
1055 # for the broadcast.
1056 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast.
1057 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1058 # This setting can only be used by Events.
1059 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match.
1060 # LATENCY_NORMAL should match enable_low_latency=false
1061 # LATENCY_LOW should match enable_low_latency=true
1062 # LATENCY_ULTRA_LOW should have enable_low_latency omitted.
1063 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to
1064 # &lt;code&gt;rectangular&lt;/code&gt;.
1065 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if &lt;code&gt;projection&lt;/code&gt; is
1066 # &lt;code&gt;mesh&lt;/code&gt;. The mesh value must be a UTF-8 string containing the
1067 # base-64 encoding of 3D mesh data that follows the &lt;a
1068 # href=&quot;https://github.com/google/spatial-media/blob/master/docs/spherical-video-v2-rfc.md&quot;&gt;
1069 # Spherical Video V2 RFC specification&lt;/a&gt; for an mshp box, excluding the box
1070 # size and type but including the following four reserved zero bytes for the
1071 # version and flags.
1072 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
1073 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast.
1074 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1075 # This setting can only be used by Events.
Bu Sun Kim65020912020-05-20 12:08:20 -07001076 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001077 &quot;status&quot;: { # Live broadcast state. # The &lt;code&gt;status&lt;/code&gt; object contains information about the event&#x27;s
1078 # status.
1079 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be
1080 # kids only: go/live-cw-work.
Bu Sun Kim65020912020-05-20 12:08:20 -07001081 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001082 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents
1083 # exactly one YouTube video, so the privacy settings are identical to
1084 # those supported for videos. In addition, you can set this field by
1085 # modifying the broadcast resource or by setting the
1086 # &lt;code&gt;&lt;a
1087 # href=&quot;/youtube/v3/docs/videos#status.privacyStatus&quot;
1088 # &gt;privacyStatus&lt;/a&gt;&lt;/code&gt;
1089 # field of the corresponding video resource.
1090 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s
1091 # &lt;code&gt;&lt;a
1092 # href=&quot;/youtube/v3/live/docs/liveBroadcasts/transition&quot;
1093 # &gt;liveBroadcasts.transition&lt;/a&gt;&lt;/code&gt; method.
1094 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
1095 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead
1096 # of the creator. This field is read only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001097 },
John Asmuth614db982014-04-24 15:46:26 -04001098 }</pre>
1099</div>
1100
1101<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001102 <code class="details" id="list">list(part, pageToken=None, broadcastType=None, maxResults=None, broadcastStatus=None, mine=None, onBehalfOfContentOwnerChannel=None, id=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
1103 <pre>Retrieve the list of broadcasts associated with the given channel.
John Asmuth614db982014-04-24 15:46:26 -04001104
1105Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001106 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter specifies a
1107comma-separated list of one or more &lt;code&gt;liveBroadcast&lt;/code&gt; resource
1108properties that the API response will include. The &lt;code&gt;part&lt;/code&gt; names
1109that you can include in the parameter value are &lt;code&gt;id&lt;/code&gt;,
1110&lt;code&gt;snippet&lt;/code&gt;, &lt;code&gt;contentDetails&lt;/code&gt;, and &lt;code&gt;status&lt;/code&gt;. (required) (repeated)
1111 pageToken: string, The &lt;code&gt;&lt;strong&gt;pageToken&lt;/strong&gt;&lt;/code&gt; parameter identifies a specific
1112page in the result set that should be returned. In an API response, the
1113&lt;code&gt;nextPageToken&lt;/code&gt; and &lt;code&gt;prevPageToken&lt;/code&gt; properties
1114identify other pages that could be retrieved.
1115 broadcastType: string, Return only broadcasts with the selected type.
1116 maxResults: integer, The &lt;code&gt;&lt;strong&gt;maxResults&lt;/strong&gt;&lt;/code&gt; parameter specifies the
1117maximum number of items that should be returned in the result set.
1118 broadcastStatus: string, Return broadcasts with a certain status, e.g. active broadcasts.
1119 mine: boolean, A parameter
1120 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly &lt;a
1121href=&quot;/youtube/v3/guides/authentication&quot;&gt;authorized request&lt;/a&gt;.
1122&lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
1123content partners.&lt;br&gt;&lt;br&gt;The
1124&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwnerChannel&lt;/strong&gt;&lt;/code&gt; parameter
1125specifies the YouTube channel ID of the channel to which a video is being
1126added. This parameter is required when a request specifies a value for the
1127&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter, and it can only be used in
1128conjunction with that parameter. In addition, the request must be
1129authorized using a CMS account that is linked to the content owner that the
1130&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies. Finally, the
1131channel that the &lt;code&gt;onBehalfOfContentOwnerChannel&lt;/code&gt; parameter value
1132specifies must be linked to the content owner that the
1133&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies.&lt;br&gt;&lt;br&gt;This
1134parameter is intended for YouTube content partners that own and manage many
1135different YouTube channels. It allows content owners to authenticate once
1136and perform actions on behalf of the channel specified in the parameter
1137value, without having to provide authentication credentials for each
1138separate channel.
1139 id: string, Return broadcasts with the given ids from Stubby or Apiary. (repeated)
1140 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
1141content partners.&lt;br&gt;&lt;br&gt;The
1142&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
1143that the
1144request&#x27;s authorization credentials identify a YouTube CMS user who is
1145acting on behalf of the content owner specified in the parameter value.
1146This parameter is intended for YouTube content partners that own and manage
1147many different YouTube channels. It allows content owners to authenticate
1148once and get access to all their video and channel data, without having to
1149provide authentication credentials for each individual channel. The CMS
1150account that the user authenticates with must be linked to the specified
1151YouTube content owner.
1152 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -04001153 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001154 1 - v1 error format
1155 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -04001156
1157Returns:
1158 An object of the form:
1159
1160 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001161 &quot;eventId&quot;: &quot;A String&quot;, # Serialized EventId of the request which produced this response.
1162 &quot;items&quot;: [ # A list of broadcasts that match the request criteria.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001163 { # A &lt;code&gt;&lt;strong&gt;liveBroadcast&lt;/strong&gt;&lt;/code&gt; resource represents an event
1164 # that will be streamed, via live video, on YouTube.
1165 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
1166 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values # The &lt;code&gt;statistics&lt;/code&gt; object contains info about the event&#x27;s current
1167 # stats. These include concurrent viewers and total chat count. Statistics
1168 # can change (in either direction) during the lifetime of an event.
1169 # Statistics are only returned while the event is live.
1170 # at the time of the request. Statistics are only returned for live broadcasts.
1171 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The
1172 # property and its value will be present if the broadcast is public, has
1173 # the live chat feature enabled, and has at least one message. Note that
1174 # this field will not be filled after the broadcast ends. So this property
1175 # would not identify the number of chat messages for an archived video of a
1176 # completed live broadcast.
John Asmuth614db982014-04-24 15:46:26 -04001177 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001178 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001179 &quot;snippet&quot;: { # Basic broadcast information. # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the event,
1180 # including its title, description, start time, and end time.
1181 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value
1182 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1183 # format.
1184 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
1185 # is publishing the broadcast.
1186 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the &lt;code&gt;title&lt;/code&gt;, you can set
1187 # this field by modifying the broadcast resource or by setting the
1188 # &lt;code&gt;&lt;a
1189 # href=&quot;/youtube/v3/docs/videos#snippet.description&quot;&gt;description&lt;/a&gt;&lt;/code&gt;
1190 # field of the corresponding video resource.
1191 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one
1192 # YouTube video. You can set this field by modifying the broadcast resource
1193 # or by setting the
1194 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/docs/videos#snippet.title&quot;&gt;title&lt;/a&gt;&lt;/code&gt;
1195 # field of the corresponding video resource.
1196 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast
1197 # schedule. The value is specified in
1198 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1199 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -07001200 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001201 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast.
1202 # Internal only.
1203 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is
1204 # only available once the broadcast&#x27;s state is &lt;code&gt;complete&lt;/code&gt;. The
1205 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1206 # format.
1207 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value
1208 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1209 # format.
1210 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is
1211 # only available once the broadcast&#x27;s state is &lt;code&gt;live&lt;/code&gt;. The
1212 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1213 # format.
1214 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested
1215 # object in this object, the key is the name of the thumbnail image, and
1216 # the value is an object that contains other information about the
1217 # thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -07001218 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001219 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001220 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1221 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -04001222 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001223 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001224 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001225 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1226 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1227 },
1228 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
1229 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1230 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1231 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1232 },
1233 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
1234 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1235 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1236 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1237 },
1238 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
1239 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1240 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1241 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -04001242 },
1243 },
1244 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001245 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string
1246 # &lt;code&gt;&quot;youtube#liveBroadcast&quot;&lt;/code&gt;.
1247 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the
1248 # event&#x27;s video content, such as whether the content can be shown in an
1249 # embedded video player or if it will be archived and therefore available
1250 # for viewing after the event has concluded.
1251 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the
1252 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams&quot;&gt;live stream&lt;/a&gt;&lt;/code&gt;
1253 # bound to the broadcast.
1254 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
1255 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin
1256 # with an &lt;a
1257 # href=&quot;/youtube/v3/live/getting-started#Displaying_Slates&quot;&gt;in-stream
1258 # slate&lt;/a&gt; when you update the broadcast&#x27;s status to &lt;code&gt;live&lt;/code&gt;.
1259 # After updating the status, you then need to send a
1260 # &lt;code&gt;&lt;a
1261 # href=&quot;/youtube/v3/live/docs/liveCuepoints/insert&quot;&gt;liveCuepoints.insert&lt;/a&gt;&lt;/code&gt;
1262 # request that sets the cuepoint&#x27;s &lt;code&gt;eventState&lt;/code&gt; to
1263 # &lt;code&gt;end&lt;/code&gt; to remove the in-stream slate and make your broadcast
1264 # stream visible to viewers.
1265 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by
1266 # &lt;code&gt;boundStreamId&lt;/code&gt; was last updated.
1267 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while
1268 # watching the video. DVR controls enable the viewer to control the video
1269 # playback experience by pausing, rewinding, or fast forwarding content.
1270 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1271 #
1272 # &lt;strong&gt;Important:&lt;/strong&gt; You must set the value to &lt;code&gt;true&lt;/code&gt;
1273 # and also set the &lt;code&gt;enableArchive&lt;/code&gt; property&#x27;s value to
1274 # &lt;code&gt;true&lt;/code&gt; if you want to make playback available immediately
1275 # after the broadcast ends.
1276 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an
1277 # embedded player. If you choose to archive the video (using the
1278 # &lt;code&gt;enableArchive&lt;/code&gt; property), this setting will also apply to
1279 # the archived video.
1280 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for
1281 # this broadcast. The ingestion URL of the closed captions is returned
1282 # through the liveStreams API. This is mutually exclusive with using the
1283 # &lt;code&gt;closed_captions_type&lt;/code&gt; property, and is equivalent to setting
1284 # &lt;code&gt;closed_captions_type&lt;/code&gt; to CLOSED_CAPTIONS_HTTP_POST.
1285 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live.
1286 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1287 #
1288 # &lt;strong&gt;Important:&lt;/strong&gt; You must also set the &lt;code&gt;enableDvr&lt;/code&gt;
1289 # property&#x27;s value to
1290 # &lt;code&gt;true&lt;/code&gt; if you want the playback to be available immediately
1291 # after the broadcast ends. If you set this property&#x27;s value to
1292 # &lt;code&gt;true&lt;/code&gt; but do not also set the &lt;code&gt;enableDvr&lt;/code&gt; property
1293 # to &lt;code&gt;true&lt;/code&gt;, there may be a delay of around one day before the
1294 # archived video will be available for playback.
1295 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The &lt;code&gt;monitorStream&lt;/code&gt; object contains information about the
1296 # monitor stream, which the broadcaster can use to review the event
1297 # content before the broadcast stream is shown publicly.
1298 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
1299 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the
1300 # &lt;code&gt;&lt;a href=&quot;#enableMonitorStream&quot;&gt;enableMonitorStream&lt;/a&gt;&lt;/code&gt;
1301 # property to &lt;code&gt;true&lt;/code&gt;, then this property determines the
1302 # length of the live broadcast delay.
1303 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the
1304 # broadcast. If the monitor stream is enabled, then YouTube will
1305 # broadcast the event content on a special stream intended only for
1306 # the broadcaster&#x27;s consumption. The broadcaster can use the stream
1307 # to review the event content and also to identify the optimal times
1308 # to insert cuepoints.&lt;br&gt;&lt;br&gt;
1309 # You need to set this value to &lt;code&gt;true&lt;/code&gt; if you intend to have
1310 # a broadcast delay for your event.&lt;br&gt;&lt;br&gt;
1311 # &lt;strong&gt;Note:&lt;/strong&gt; This property cannot be updated once the
1312 # broadcast is in the &lt;code&gt;testing&lt;/code&gt; or &lt;code&gt;live&lt;/code&gt; state.
1313 },
1314 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption
1315 # for the broadcast.
1316 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast.
1317 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1318 # This setting can only be used by Events.
1319 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match.
1320 # LATENCY_NORMAL should match enable_low_latency=false
1321 # LATENCY_LOW should match enable_low_latency=true
1322 # LATENCY_ULTRA_LOW should have enable_low_latency omitted.
1323 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to
1324 # &lt;code&gt;rectangular&lt;/code&gt;.
1325 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if &lt;code&gt;projection&lt;/code&gt; is
1326 # &lt;code&gt;mesh&lt;/code&gt;. The mesh value must be a UTF-8 string containing the
1327 # base-64 encoding of 3D mesh data that follows the &lt;a
1328 # href=&quot;https://github.com/google/spatial-media/blob/master/docs/spherical-video-v2-rfc.md&quot;&gt;
1329 # Spherical Video V2 RFC specification&lt;/a&gt; for an mshp box, excluding the box
1330 # size and type but including the following four reserved zero bytes for the
1331 # version and flags.
1332 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
1333 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast.
1334 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1335 # This setting can only be used by Events.
Bu Sun Kim65020912020-05-20 12:08:20 -07001336 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001337 &quot;status&quot;: { # Live broadcast state. # The &lt;code&gt;status&lt;/code&gt; object contains information about the event&#x27;s
1338 # status.
1339 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be
1340 # kids only: go/live-cw-work.
Bu Sun Kim65020912020-05-20 12:08:20 -07001341 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001342 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents
1343 # exactly one YouTube video, so the privacy settings are identical to
1344 # those supported for videos. In addition, you can set this field by
1345 # modifying the broadcast resource or by setting the
1346 # &lt;code&gt;&lt;a
1347 # href=&quot;/youtube/v3/docs/videos#status.privacyStatus&quot;
1348 # &gt;privacyStatus&lt;/a&gt;&lt;/code&gt;
1349 # field of the corresponding video resource.
1350 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s
1351 # &lt;code&gt;&lt;a
1352 # href=&quot;/youtube/v3/live/docs/liveBroadcasts/transition&quot;
1353 # &gt;liveBroadcasts.transition&lt;/a&gt;&lt;/code&gt; method.
1354 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
1355 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead
1356 # of the creator. This field is read only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001357 },
John Asmuth614db982014-04-24 15:46:26 -04001358 },
1359 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001360 &quot;pageInfo&quot;: { # Paging details for lists of resources, including total number of items # General pagination information.
1361 # available and number of resources returned in a single page.
Bu Sun Kim65020912020-05-20 12:08:20 -07001362 &quot;resultsPerPage&quot;: 42, # The number of results included in the API response.
1363 &quot;totalResults&quot;: 42, # The total number of results in the result set.
John Asmuth614db982014-04-24 15:46:26 -04001364 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001365 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
1366 &quot;visitorId&quot;: &quot;A String&quot;, # The &lt;code&gt;visitorId&lt;/code&gt; identifies the visitor.
1367 &quot;prevPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the &lt;code&gt;pageToken&lt;/code&gt;
1368 # parameter to retrieve the previous page in the result set.
Bu Sun Kim65020912020-05-20 12:08:20 -07001369 &quot;tokenPagination&quot;: { # Stub token pagination template to suppress results.
John Asmuth614db982014-04-24 15:46:26 -04001370 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001371 &quot;kind&quot;: &quot;youtube#liveBroadcastListResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string
1372 # &lt;code&gt;&quot;youtube#liveBroadcastListResponse&quot;&lt;/code&gt;.
1373 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the &lt;code&gt;pageToken&lt;/code&gt;
1374 # parameter to retrieve the next page in the result set.
John Asmuth614db982014-04-24 15:46:26 -04001375 }</pre>
1376</div>
1377
1378<div class="method">
1379 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1380 <pre>Retrieves the next page of results.
1381
1382Args:
1383 previous_request: The request for the previous page. (required)
1384 previous_response: The response from the request for the previous page. (required)
1385
1386Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001387 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -04001388 page. Returns None if there are no more items in the collection.
1389 </pre>
1390</div>
1391
1392<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001393 <code class="details" id="transition">transition(id, broadcastStatus, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
1394 <pre>Transition a broadcast to a given status.
John Asmuth614db982014-04-24 15:46:26 -04001395
1396Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001397 id: string, Broadcast to transition. (required)
1398 broadcastStatus: string, The status to which the broadcast is going to transition. (required)
1399 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter specifies a
1400comma-separated list of one or more &lt;code&gt;liveBroadcast&lt;/code&gt; resource
1401properties that the API response will include. The &lt;code&gt;part&lt;/code&gt; names
1402that you can include in the parameter value are &lt;code&gt;id&lt;/code&gt;,
1403&lt;code&gt;snippet&lt;/code&gt;, &lt;code&gt;contentDetails&lt;/code&gt;, and &lt;code&gt;status&lt;/code&gt;. (required) (repeated)
1404 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
1405content partners.&lt;br&gt;&lt;br&gt;The
1406&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
1407that the
1408request&#x27;s authorization credentials identify a YouTube CMS user who is
1409acting on behalf of the content owner specified in the parameter value.
1410This parameter is intended for YouTube content partners that own and manage
1411many different YouTube channels. It allows content owners to authenticate
1412once and get access to all their video and channel data, without having to
1413provide authentication credentials for each individual channel. The CMS
1414account that the user authenticates with must be linked to the specified
1415YouTube content owner.
1416 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly &lt;a
1417href=&quot;/youtube/v3/guides/authentication&quot;&gt;authorized request&lt;/a&gt;.
1418&lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
1419content partners.&lt;br&gt;&lt;br&gt;The
1420&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwnerChannel&lt;/strong&gt;&lt;/code&gt; parameter
1421specifies the YouTube channel ID of the channel to which a video is being
1422added. This parameter is required when a request specifies a value for the
1423&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter, and it can only be used in
1424conjunction with that parameter. In addition, the request must be
1425authorized using a CMS account that is linked to the content owner that the
1426&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies. Finally, the
1427channel that the &lt;code&gt;onBehalfOfContentOwnerChannel&lt;/code&gt; parameter value
1428specifies must be linked to the content owner that the
1429&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies.&lt;br&gt;&lt;br&gt;This
1430parameter is intended for YouTube content partners that own and manage many
1431different YouTube channels. It allows content owners to authenticate once
1432and perform actions on behalf of the channel specified in the parameter
1433value, without having to provide authentication credentials for each
1434separate channel.
1435 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -04001436 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001437 1 - v1 error format
1438 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -04001439
1440Returns:
1441 An object of the form:
1442
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001443 { # A &lt;code&gt;&lt;strong&gt;liveBroadcast&lt;/strong&gt;&lt;/code&gt; resource represents an event
1444 # that will be streamed, via live video, on YouTube.
1445 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
1446 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values # The &lt;code&gt;statistics&lt;/code&gt; object contains info about the event&#x27;s current
1447 # stats. These include concurrent viewers and total chat count. Statistics
1448 # can change (in either direction) during the lifetime of an event.
1449 # Statistics are only returned while the event is live.
1450 # at the time of the request. Statistics are only returned for live broadcasts.
1451 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The
1452 # property and its value will be present if the broadcast is public, has
1453 # the live chat feature enabled, and has at least one message. Note that
1454 # this field will not be filled after the broadcast ends. So this property
1455 # would not identify the number of chat messages for an archived video of a
1456 # completed live broadcast.
John Asmuth614db982014-04-24 15:46:26 -04001457 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001458 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001459 &quot;snippet&quot;: { # Basic broadcast information. # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the event,
1460 # including its title, description, start time, and end time.
1461 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value
1462 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1463 # format.
1464 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
1465 # is publishing the broadcast.
1466 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the &lt;code&gt;title&lt;/code&gt;, you can set
1467 # this field by modifying the broadcast resource or by setting the
1468 # &lt;code&gt;&lt;a
1469 # href=&quot;/youtube/v3/docs/videos#snippet.description&quot;&gt;description&lt;/a&gt;&lt;/code&gt;
1470 # field of the corresponding video resource.
1471 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one
1472 # YouTube video. You can set this field by modifying the broadcast resource
1473 # or by setting the
1474 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/docs/videos#snippet.title&quot;&gt;title&lt;/a&gt;&lt;/code&gt;
1475 # field of the corresponding video resource.
1476 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast
1477 # schedule. The value is specified in
1478 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1479 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -07001480 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001481 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast.
1482 # Internal only.
1483 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is
1484 # only available once the broadcast&#x27;s state is &lt;code&gt;complete&lt;/code&gt;. The
1485 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1486 # format.
1487 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value
1488 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1489 # format.
1490 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is
1491 # only available once the broadcast&#x27;s state is &lt;code&gt;live&lt;/code&gt;. The
1492 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1493 # format.
1494 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested
1495 # object in this object, the key is the name of the thumbnail image, and
1496 # the value is an object that contains other information about the
1497 # thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -07001498 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001499 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001500 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1501 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -04001502 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001503 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001504 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001505 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1506 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1507 },
1508 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
1509 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1510 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1511 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1512 },
1513 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
1514 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1515 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1516 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1517 },
1518 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
1519 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1520 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1521 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -04001522 },
1523 },
1524 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001525 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string
1526 # &lt;code&gt;&quot;youtube#liveBroadcast&quot;&lt;/code&gt;.
1527 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the
1528 # event&#x27;s video content, such as whether the content can be shown in an
1529 # embedded video player or if it will be archived and therefore available
1530 # for viewing after the event has concluded.
1531 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the
1532 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams&quot;&gt;live stream&lt;/a&gt;&lt;/code&gt;
1533 # bound to the broadcast.
1534 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
1535 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin
1536 # with an &lt;a
1537 # href=&quot;/youtube/v3/live/getting-started#Displaying_Slates&quot;&gt;in-stream
1538 # slate&lt;/a&gt; when you update the broadcast&#x27;s status to &lt;code&gt;live&lt;/code&gt;.
1539 # After updating the status, you then need to send a
1540 # &lt;code&gt;&lt;a
1541 # href=&quot;/youtube/v3/live/docs/liveCuepoints/insert&quot;&gt;liveCuepoints.insert&lt;/a&gt;&lt;/code&gt;
1542 # request that sets the cuepoint&#x27;s &lt;code&gt;eventState&lt;/code&gt; to
1543 # &lt;code&gt;end&lt;/code&gt; to remove the in-stream slate and make your broadcast
1544 # stream visible to viewers.
1545 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by
1546 # &lt;code&gt;boundStreamId&lt;/code&gt; was last updated.
1547 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while
1548 # watching the video. DVR controls enable the viewer to control the video
1549 # playback experience by pausing, rewinding, or fast forwarding content.
1550 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1551 #
1552 # &lt;strong&gt;Important:&lt;/strong&gt; You must set the value to &lt;code&gt;true&lt;/code&gt;
1553 # and also set the &lt;code&gt;enableArchive&lt;/code&gt; property&#x27;s value to
1554 # &lt;code&gt;true&lt;/code&gt; if you want to make playback available immediately
1555 # after the broadcast ends.
1556 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an
1557 # embedded player. If you choose to archive the video (using the
1558 # &lt;code&gt;enableArchive&lt;/code&gt; property), this setting will also apply to
1559 # the archived video.
1560 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for
1561 # this broadcast. The ingestion URL of the closed captions is returned
1562 # through the liveStreams API. This is mutually exclusive with using the
1563 # &lt;code&gt;closed_captions_type&lt;/code&gt; property, and is equivalent to setting
1564 # &lt;code&gt;closed_captions_type&lt;/code&gt; to CLOSED_CAPTIONS_HTTP_POST.
1565 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live.
1566 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1567 #
1568 # &lt;strong&gt;Important:&lt;/strong&gt; You must also set the &lt;code&gt;enableDvr&lt;/code&gt;
1569 # property&#x27;s value to
1570 # &lt;code&gt;true&lt;/code&gt; if you want the playback to be available immediately
1571 # after the broadcast ends. If you set this property&#x27;s value to
1572 # &lt;code&gt;true&lt;/code&gt; but do not also set the &lt;code&gt;enableDvr&lt;/code&gt; property
1573 # to &lt;code&gt;true&lt;/code&gt;, there may be a delay of around one day before the
1574 # archived video will be available for playback.
1575 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The &lt;code&gt;monitorStream&lt;/code&gt; object contains information about the
1576 # monitor stream, which the broadcaster can use to review the event
1577 # content before the broadcast stream is shown publicly.
1578 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
1579 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the
1580 # &lt;code&gt;&lt;a href=&quot;#enableMonitorStream&quot;&gt;enableMonitorStream&lt;/a&gt;&lt;/code&gt;
1581 # property to &lt;code&gt;true&lt;/code&gt;, then this property determines the
1582 # length of the live broadcast delay.
1583 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the
1584 # broadcast. If the monitor stream is enabled, then YouTube will
1585 # broadcast the event content on a special stream intended only for
1586 # the broadcaster&#x27;s consumption. The broadcaster can use the stream
1587 # to review the event content and also to identify the optimal times
1588 # to insert cuepoints.&lt;br&gt;&lt;br&gt;
1589 # You need to set this value to &lt;code&gt;true&lt;/code&gt; if you intend to have
1590 # a broadcast delay for your event.&lt;br&gt;&lt;br&gt;
1591 # &lt;strong&gt;Note:&lt;/strong&gt; This property cannot be updated once the
1592 # broadcast is in the &lt;code&gt;testing&lt;/code&gt; or &lt;code&gt;live&lt;/code&gt; state.
1593 },
1594 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption
1595 # for the broadcast.
1596 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast.
1597 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1598 # This setting can only be used by Events.
1599 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match.
1600 # LATENCY_NORMAL should match enable_low_latency=false
1601 # LATENCY_LOW should match enable_low_latency=true
1602 # LATENCY_ULTRA_LOW should have enable_low_latency omitted.
1603 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to
1604 # &lt;code&gt;rectangular&lt;/code&gt;.
1605 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if &lt;code&gt;projection&lt;/code&gt; is
1606 # &lt;code&gt;mesh&lt;/code&gt;. The mesh value must be a UTF-8 string containing the
1607 # base-64 encoding of 3D mesh data that follows the &lt;a
1608 # href=&quot;https://github.com/google/spatial-media/blob/master/docs/spherical-video-v2-rfc.md&quot;&gt;
1609 # Spherical Video V2 RFC specification&lt;/a&gt; for an mshp box, excluding the box
1610 # size and type but including the following four reserved zero bytes for the
1611 # version and flags.
1612 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
1613 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast.
1614 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1615 # This setting can only be used by Events.
Bu Sun Kim65020912020-05-20 12:08:20 -07001616 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001617 &quot;status&quot;: { # Live broadcast state. # The &lt;code&gt;status&lt;/code&gt; object contains information about the event&#x27;s
1618 # status.
1619 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be
1620 # kids only: go/live-cw-work.
Bu Sun Kim65020912020-05-20 12:08:20 -07001621 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001622 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents
1623 # exactly one YouTube video, so the privacy settings are identical to
1624 # those supported for videos. In addition, you can set this field by
1625 # modifying the broadcast resource or by setting the
1626 # &lt;code&gt;&lt;a
1627 # href=&quot;/youtube/v3/docs/videos#status.privacyStatus&quot;
1628 # &gt;privacyStatus&lt;/a&gt;&lt;/code&gt;
1629 # field of the corresponding video resource.
1630 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s
1631 # &lt;code&gt;&lt;a
1632 # href=&quot;/youtube/v3/live/docs/liveBroadcasts/transition&quot;
1633 # &gt;liveBroadcasts.transition&lt;/a&gt;&lt;/code&gt; method.
1634 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
1635 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead
1636 # of the creator. This field is read only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001637 },
John Asmuth614db982014-04-24 15:46:26 -04001638 }</pre>
1639</div>
1640
1641<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001642 <code class="details" id="update">update(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
1643 <pre>Updates an existing broadcast for the authenticated user.
John Asmuth614db982014-04-24 15:46:26 -04001644
1645Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001646 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter serves two purposes in
1647this operation. It identifies the properties that the write operation will
1648set as well as the properties that the API response will
1649include.&lt;br&gt;&lt;br&gt;The &lt;code&gt;part&lt;/code&gt; properties that you can include in
1650the parameter value are &lt;code&gt;id&lt;/code&gt;, &lt;code&gt;snippet&lt;/code&gt;,
1651&lt;code&gt;contentDetails&lt;/code&gt;, and &lt;code&gt;status&lt;/code&gt;.&lt;br&gt;&lt;br&gt;Note that this
1652method will override the existing values for all of the mutable properties
1653that are contained in any parts that the parameter value specifies. For
1654example, a
1655broadcast&#x27;s privacy status is defined in the &lt;code&gt;status&lt;/code&gt; part. As
1656such, if your request is updating a private or unlisted broadcast, and the
1657request&#x27;s &lt;code&gt;part&lt;/code&gt; parameter value includes the
1658&lt;code&gt;status&lt;/code&gt; part, the broadcast&#x27;s privacy setting will be updated
1659to whatever value the request body specifies. If the request body does not
1660specify a value, the existing privacy setting will be removed and the
1661broadcast will revert to the default privacy setting. (required) (repeated)
Dan O'Mearadd494642020-05-01 07:42:23 -07001662 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -04001663 The object takes the form of:
1664
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001665{ # A &lt;code&gt;&lt;strong&gt;liveBroadcast&lt;/strong&gt;&lt;/code&gt; resource represents an event
1666 # that will be streamed, via live video, on YouTube.
1667 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
1668 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values # The &lt;code&gt;statistics&lt;/code&gt; object contains info about the event&#x27;s current
1669 # stats. These include concurrent viewers and total chat count. Statistics
1670 # can change (in either direction) during the lifetime of an event.
1671 # Statistics are only returned while the event is live.
1672 # at the time of the request. Statistics are only returned for live broadcasts.
1673 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The
1674 # property and its value will be present if the broadcast is public, has
1675 # the live chat feature enabled, and has at least one message. Note that
1676 # this field will not be filled after the broadcast ends. So this property
1677 # would not identify the number of chat messages for an archived video of a
1678 # completed live broadcast.
John Asmuth614db982014-04-24 15:46:26 -04001679 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001680 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001681 &quot;snippet&quot;: { # Basic broadcast information. # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the event,
1682 # including its title, description, start time, and end time.
1683 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value
1684 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1685 # format.
1686 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
1687 # is publishing the broadcast.
1688 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the &lt;code&gt;title&lt;/code&gt;, you can set
1689 # this field by modifying the broadcast resource or by setting the
1690 # &lt;code&gt;&lt;a
1691 # href=&quot;/youtube/v3/docs/videos#snippet.description&quot;&gt;description&lt;/a&gt;&lt;/code&gt;
1692 # field of the corresponding video resource.
1693 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one
1694 # YouTube video. You can set this field by modifying the broadcast resource
1695 # or by setting the
1696 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/docs/videos#snippet.title&quot;&gt;title&lt;/a&gt;&lt;/code&gt;
1697 # field of the corresponding video resource.
1698 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast
1699 # schedule. The value is specified in
1700 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1701 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -07001702 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001703 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast.
1704 # Internal only.
1705 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is
1706 # only available once the broadcast&#x27;s state is &lt;code&gt;complete&lt;/code&gt;. The
1707 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1708 # format.
1709 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value
1710 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1711 # format.
1712 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is
1713 # only available once the broadcast&#x27;s state is &lt;code&gt;live&lt;/code&gt;. The
1714 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1715 # format.
1716 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested
1717 # object in this object, the key is the name of the thumbnail image, and
1718 # the value is an object that contains other information about the
1719 # thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -07001720 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001721 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001722 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1723 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -04001724 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001725 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001726 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001727 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1728 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1729 },
1730 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
1731 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1732 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1733 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1734 },
1735 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
1736 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1737 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1738 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1739 },
1740 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
1741 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1742 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1743 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -04001744 },
1745 },
1746 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001747 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string
1748 # &lt;code&gt;&quot;youtube#liveBroadcast&quot;&lt;/code&gt;.
1749 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the
1750 # event&#x27;s video content, such as whether the content can be shown in an
1751 # embedded video player or if it will be archived and therefore available
1752 # for viewing after the event has concluded.
1753 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the
1754 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams&quot;&gt;live stream&lt;/a&gt;&lt;/code&gt;
1755 # bound to the broadcast.
1756 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
1757 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin
1758 # with an &lt;a
1759 # href=&quot;/youtube/v3/live/getting-started#Displaying_Slates&quot;&gt;in-stream
1760 # slate&lt;/a&gt; when you update the broadcast&#x27;s status to &lt;code&gt;live&lt;/code&gt;.
1761 # After updating the status, you then need to send a
1762 # &lt;code&gt;&lt;a
1763 # href=&quot;/youtube/v3/live/docs/liveCuepoints/insert&quot;&gt;liveCuepoints.insert&lt;/a&gt;&lt;/code&gt;
1764 # request that sets the cuepoint&#x27;s &lt;code&gt;eventState&lt;/code&gt; to
1765 # &lt;code&gt;end&lt;/code&gt; to remove the in-stream slate and make your broadcast
1766 # stream visible to viewers.
1767 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by
1768 # &lt;code&gt;boundStreamId&lt;/code&gt; was last updated.
1769 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while
1770 # watching the video. DVR controls enable the viewer to control the video
1771 # playback experience by pausing, rewinding, or fast forwarding content.
1772 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1773 #
1774 # &lt;strong&gt;Important:&lt;/strong&gt; You must set the value to &lt;code&gt;true&lt;/code&gt;
1775 # and also set the &lt;code&gt;enableArchive&lt;/code&gt; property&#x27;s value to
1776 # &lt;code&gt;true&lt;/code&gt; if you want to make playback available immediately
1777 # after the broadcast ends.
1778 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an
1779 # embedded player. If you choose to archive the video (using the
1780 # &lt;code&gt;enableArchive&lt;/code&gt; property), this setting will also apply to
1781 # the archived video.
1782 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for
1783 # this broadcast. The ingestion URL of the closed captions is returned
1784 # through the liveStreams API. This is mutually exclusive with using the
1785 # &lt;code&gt;closed_captions_type&lt;/code&gt; property, and is equivalent to setting
1786 # &lt;code&gt;closed_captions_type&lt;/code&gt; to CLOSED_CAPTIONS_HTTP_POST.
1787 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live.
1788 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1789 #
1790 # &lt;strong&gt;Important:&lt;/strong&gt; You must also set the &lt;code&gt;enableDvr&lt;/code&gt;
1791 # property&#x27;s value to
1792 # &lt;code&gt;true&lt;/code&gt; if you want the playback to be available immediately
1793 # after the broadcast ends. If you set this property&#x27;s value to
1794 # &lt;code&gt;true&lt;/code&gt; but do not also set the &lt;code&gt;enableDvr&lt;/code&gt; property
1795 # to &lt;code&gt;true&lt;/code&gt;, there may be a delay of around one day before the
1796 # archived video will be available for playback.
1797 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The &lt;code&gt;monitorStream&lt;/code&gt; object contains information about the
1798 # monitor stream, which the broadcaster can use to review the event
1799 # content before the broadcast stream is shown publicly.
1800 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
1801 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the
1802 # &lt;code&gt;&lt;a href=&quot;#enableMonitorStream&quot;&gt;enableMonitorStream&lt;/a&gt;&lt;/code&gt;
1803 # property to &lt;code&gt;true&lt;/code&gt;, then this property determines the
1804 # length of the live broadcast delay.
1805 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the
1806 # broadcast. If the monitor stream is enabled, then YouTube will
1807 # broadcast the event content on a special stream intended only for
1808 # the broadcaster&#x27;s consumption. The broadcaster can use the stream
1809 # to review the event content and also to identify the optimal times
1810 # to insert cuepoints.&lt;br&gt;&lt;br&gt;
1811 # You need to set this value to &lt;code&gt;true&lt;/code&gt; if you intend to have
1812 # a broadcast delay for your event.&lt;br&gt;&lt;br&gt;
1813 # &lt;strong&gt;Note:&lt;/strong&gt; This property cannot be updated once the
1814 # broadcast is in the &lt;code&gt;testing&lt;/code&gt; or &lt;code&gt;live&lt;/code&gt; state.
1815 },
1816 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption
1817 # for the broadcast.
1818 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast.
1819 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1820 # This setting can only be used by Events.
1821 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match.
1822 # LATENCY_NORMAL should match enable_low_latency=false
1823 # LATENCY_LOW should match enable_low_latency=true
1824 # LATENCY_ULTRA_LOW should have enable_low_latency omitted.
1825 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to
1826 # &lt;code&gt;rectangular&lt;/code&gt;.
1827 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if &lt;code&gt;projection&lt;/code&gt; is
1828 # &lt;code&gt;mesh&lt;/code&gt;. The mesh value must be a UTF-8 string containing the
1829 # base-64 encoding of 3D mesh data that follows the &lt;a
1830 # href=&quot;https://github.com/google/spatial-media/blob/master/docs/spherical-video-v2-rfc.md&quot;&gt;
1831 # Spherical Video V2 RFC specification&lt;/a&gt; for an mshp box, excluding the box
1832 # size and type but including the following four reserved zero bytes for the
1833 # version and flags.
1834 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
1835 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast.
1836 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
1837 # This setting can only be used by Events.
Bu Sun Kim65020912020-05-20 12:08:20 -07001838 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001839 &quot;status&quot;: { # Live broadcast state. # The &lt;code&gt;status&lt;/code&gt; object contains information about the event&#x27;s
1840 # status.
1841 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be
1842 # kids only: go/live-cw-work.
Bu Sun Kim65020912020-05-20 12:08:20 -07001843 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001844 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents
1845 # exactly one YouTube video, so the privacy settings are identical to
1846 # those supported for videos. In addition, you can set this field by
1847 # modifying the broadcast resource or by setting the
1848 # &lt;code&gt;&lt;a
1849 # href=&quot;/youtube/v3/docs/videos#status.privacyStatus&quot;
1850 # &gt;privacyStatus&lt;/a&gt;&lt;/code&gt;
1851 # field of the corresponding video resource.
1852 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s
1853 # &lt;code&gt;&lt;a
1854 # href=&quot;/youtube/v3/live/docs/liveBroadcasts/transition&quot;
1855 # &gt;liveBroadcasts.transition&lt;/a&gt;&lt;/code&gt; method.
1856 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
1857 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead
1858 # of the creator. This field is read only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001859 },
John Asmuth614db982014-04-24 15:46:26 -04001860}
1861
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001862 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
1863content partners.&lt;br&gt;&lt;br&gt;The
1864&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
1865that the
1866request&#x27;s authorization credentials identify a YouTube CMS user who is
1867acting on behalf of the content owner specified in the parameter value.
1868This parameter is intended for YouTube content partners that own and manage
1869many different YouTube channels. It allows content owners to authenticate
1870once and get access to all their video and channel data, without having to
1871provide authentication credentials for each individual channel. The CMS
1872account that the user authenticates with must be linked to the specified
1873YouTube content owner.
1874 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly &lt;a
1875href=&quot;/youtube/v3/guides/authentication&quot;&gt;authorized request&lt;/a&gt;.
1876&lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
1877content partners.&lt;br&gt;&lt;br&gt;The
1878&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwnerChannel&lt;/strong&gt;&lt;/code&gt; parameter
1879specifies the YouTube channel ID of the channel to which a video is being
1880added. This parameter is required when a request specifies a value for the
1881&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter, and it can only be used in
1882conjunction with that parameter. In addition, the request must be
1883authorized using a CMS account that is linked to the content owner that the
1884&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies. Finally, the
1885channel that the &lt;code&gt;onBehalfOfContentOwnerChannel&lt;/code&gt; parameter value
1886specifies must be linked to the content owner that the
1887&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies.&lt;br&gt;&lt;br&gt;This
1888parameter is intended for YouTube content partners that own and manage many
1889different YouTube channels. It allows content owners to authenticate once
1890and perform actions on behalf of the channel specified in the parameter
1891value, without having to provide authentication credentials for each
1892separate channel.
1893 x__xgafv: string, V1 error format.
1894 Allowed values
1895 1 - v1 error format
1896 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -04001897
1898Returns:
1899 An object of the form:
1900
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001901 { # A &lt;code&gt;&lt;strong&gt;liveBroadcast&lt;/strong&gt;&lt;/code&gt; resource represents an event
1902 # that will be streamed, via live video, on YouTube.
1903 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
1904 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values # The &lt;code&gt;statistics&lt;/code&gt; object contains info about the event&#x27;s current
1905 # stats. These include concurrent viewers and total chat count. Statistics
1906 # can change (in either direction) during the lifetime of an event.
1907 # Statistics are only returned while the event is live.
1908 # at the time of the request. Statistics are only returned for live broadcasts.
1909 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The
1910 # property and its value will be present if the broadcast is public, has
1911 # the live chat feature enabled, and has at least one message. Note that
1912 # this field will not be filled after the broadcast ends. So this property
1913 # would not identify the number of chat messages for an archived video of a
1914 # completed live broadcast.
John Asmuth614db982014-04-24 15:46:26 -04001915 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001916 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001917 &quot;snippet&quot;: { # Basic broadcast information. # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the event,
1918 # including its title, description, start time, and end time.
1919 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value
1920 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1921 # format.
1922 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that
1923 # is publishing the broadcast.
1924 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the &lt;code&gt;title&lt;/code&gt;, you can set
1925 # this field by modifying the broadcast resource or by setting the
1926 # &lt;code&gt;&lt;a
1927 # href=&quot;/youtube/v3/docs/videos#snippet.description&quot;&gt;description&lt;/a&gt;&lt;/code&gt;
1928 # field of the corresponding video resource.
1929 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one
1930 # YouTube video. You can set this field by modifying the broadcast resource
1931 # or by setting the
1932 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/docs/videos#snippet.title&quot;&gt;title&lt;/a&gt;&lt;/code&gt;
1933 # field of the corresponding video resource.
1934 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast
1935 # schedule. The value is specified in
1936 # &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1937 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -07001938 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001939 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast.
1940 # Internal only.
1941 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is
1942 # only available once the broadcast&#x27;s state is &lt;code&gt;complete&lt;/code&gt;. The
1943 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1944 # format.
1945 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value
1946 # is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1947 # format.
1948 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is
1949 # only available once the broadcast&#x27;s state is &lt;code&gt;live&lt;/code&gt;. The
1950 # value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1951 # format.
1952 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested
1953 # object in this object, the key is the name of the thumbnail image, and
1954 # the value is an object that contains other information about the
1955 # thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -07001956 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001957 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001958 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1959 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -04001960 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001961 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001962 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001963 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1964 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1965 },
1966 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
1967 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1968 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1969 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1970 },
1971 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
1972 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1973 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1974 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1975 },
1976 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
1977 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1978 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1979 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -04001980 },
1981 },
1982 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001983 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string
1984 # &lt;code&gt;&quot;youtube#liveBroadcast&quot;&lt;/code&gt;.
1985 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the
1986 # event&#x27;s video content, such as whether the content can be shown in an
1987 # embedded video player or if it will be archived and therefore available
1988 # for viewing after the event has concluded.
1989 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the
1990 # &lt;code&gt;&lt;a href=&quot;/youtube/v3/live/docs/liveStreams&quot;&gt;live stream&lt;/a&gt;&lt;/code&gt;
1991 # bound to the broadcast.
1992 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
1993 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin
1994 # with an &lt;a
1995 # href=&quot;/youtube/v3/live/getting-started#Displaying_Slates&quot;&gt;in-stream
1996 # slate&lt;/a&gt; when you update the broadcast&#x27;s status to &lt;code&gt;live&lt;/code&gt;.
1997 # After updating the status, you then need to send a
1998 # &lt;code&gt;&lt;a
1999 # href=&quot;/youtube/v3/live/docs/liveCuepoints/insert&quot;&gt;liveCuepoints.insert&lt;/a&gt;&lt;/code&gt;
2000 # request that sets the cuepoint&#x27;s &lt;code&gt;eventState&lt;/code&gt; to
2001 # &lt;code&gt;end&lt;/code&gt; to remove the in-stream slate and make your broadcast
2002 # stream visible to viewers.
2003 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by
2004 # &lt;code&gt;boundStreamId&lt;/code&gt; was last updated.
2005 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while
2006 # watching the video. DVR controls enable the viewer to control the video
2007 # playback experience by pausing, rewinding, or fast forwarding content.
2008 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
2009 #
2010 # &lt;strong&gt;Important:&lt;/strong&gt; You must set the value to &lt;code&gt;true&lt;/code&gt;
2011 # and also set the &lt;code&gt;enableArchive&lt;/code&gt; property&#x27;s value to
2012 # &lt;code&gt;true&lt;/code&gt; if you want to make playback available immediately
2013 # after the broadcast ends.
2014 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an
2015 # embedded player. If you choose to archive the video (using the
2016 # &lt;code&gt;enableArchive&lt;/code&gt; property), this setting will also apply to
2017 # the archived video.
2018 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for
2019 # this broadcast. The ingestion URL of the closed captions is returned
2020 # through the liveStreams API. This is mutually exclusive with using the
2021 # &lt;code&gt;closed_captions_type&lt;/code&gt; property, and is equivalent to setting
2022 # &lt;code&gt;closed_captions_type&lt;/code&gt; to CLOSED_CAPTIONS_HTTP_POST.
2023 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live.
2024 # The default value for this property is &lt;code&gt;true&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
2025 #
2026 # &lt;strong&gt;Important:&lt;/strong&gt; You must also set the &lt;code&gt;enableDvr&lt;/code&gt;
2027 # property&#x27;s value to
2028 # &lt;code&gt;true&lt;/code&gt; if you want the playback to be available immediately
2029 # after the broadcast ends. If you set this property&#x27;s value to
2030 # &lt;code&gt;true&lt;/code&gt; but do not also set the &lt;code&gt;enableDvr&lt;/code&gt; property
2031 # to &lt;code&gt;true&lt;/code&gt;, there may be a delay of around one day before the
2032 # archived video will be available for playback.
2033 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The &lt;code&gt;monitorStream&lt;/code&gt; object contains information about the
2034 # monitor stream, which the broadcaster can use to review the event
2035 # content before the broadcast stream is shown publicly.
2036 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
2037 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the
2038 # &lt;code&gt;&lt;a href=&quot;#enableMonitorStream&quot;&gt;enableMonitorStream&lt;/a&gt;&lt;/code&gt;
2039 # property to &lt;code&gt;true&lt;/code&gt;, then this property determines the
2040 # length of the live broadcast delay.
2041 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the
2042 # broadcast. If the monitor stream is enabled, then YouTube will
2043 # broadcast the event content on a special stream intended only for
2044 # the broadcaster&#x27;s consumption. The broadcaster can use the stream
2045 # to review the event content and also to identify the optimal times
2046 # to insert cuepoints.&lt;br&gt;&lt;br&gt;
2047 # You need to set this value to &lt;code&gt;true&lt;/code&gt; if you intend to have
2048 # a broadcast delay for your event.&lt;br&gt;&lt;br&gt;
2049 # &lt;strong&gt;Note:&lt;/strong&gt; This property cannot be updated once the
2050 # broadcast is in the &lt;code&gt;testing&lt;/code&gt; or &lt;code&gt;live&lt;/code&gt; state.
2051 },
2052 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption
2053 # for the broadcast.
2054 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast.
2055 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
2056 # This setting can only be used by Events.
2057 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match.
2058 # LATENCY_NORMAL should match enable_low_latency=false
2059 # LATENCY_LOW should match enable_low_latency=true
2060 # LATENCY_ULTRA_LOW should have enable_low_latency omitted.
2061 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to
2062 # &lt;code&gt;rectangular&lt;/code&gt;.
2063 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if &lt;code&gt;projection&lt;/code&gt; is
2064 # &lt;code&gt;mesh&lt;/code&gt;. The mesh value must be a UTF-8 string containing the
2065 # base-64 encoding of 3D mesh data that follows the &lt;a
2066 # href=&quot;https://github.com/google/spatial-media/blob/master/docs/spherical-video-v2-rfc.md&quot;&gt;
2067 # Spherical Video V2 RFC specification&lt;/a&gt; for an mshp box, excluding the box
2068 # size and type but including the following four reserved zero bytes for the
2069 # version and flags.
2070 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
2071 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast.
2072 # The default value for this property is &lt;code&gt;false&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
2073 # This setting can only be used by Events.
Bu Sun Kim65020912020-05-20 12:08:20 -07002074 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002075 &quot;status&quot;: { # Live broadcast state. # The &lt;code&gt;status&lt;/code&gt; object contains information about the event&#x27;s
2076 # status.
2077 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be
2078 # kids only: go/live-cw-work.
Bu Sun Kim65020912020-05-20 12:08:20 -07002079 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002080 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents
2081 # exactly one YouTube video, so the privacy settings are identical to
2082 # those supported for videos. In addition, you can set this field by
2083 # modifying the broadcast resource or by setting the
2084 # &lt;code&gt;&lt;a
2085 # href=&quot;/youtube/v3/docs/videos#status.privacyStatus&quot;
2086 # &gt;privacyStatus&lt;/a&gt;&lt;/code&gt;
2087 # field of the corresponding video resource.
2088 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s
2089 # &lt;code&gt;&lt;a
2090 # href=&quot;/youtube/v3/live/docs/liveBroadcasts/transition&quot;
2091 # &gt;liveBroadcasts.transition&lt;/a&gt;&lt;/code&gt; method.
2092 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
2093 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead
2094 # of the creator. This field is read only.
Bu Sun Kim65020912020-05-20 12:08:20 -07002095 },
John Asmuth614db982014-04-24 15:46:26 -04002096 }</pre>
2097</div>
2098
2099</body></html>