blob: 0cde75097547a9907e1622b5373a849f52cc188d [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">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080078 <code><a href="#bind">bind(id, part, onBehalfOfContentOwnerChannel=None, streamId=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070079<p class="firstline">Bind a broadcast to a stream.</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070080<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070081 <code><a href="#close">close()</a></code></p>
82<p class="firstline">Close httplib2 connections.</p>
83<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080084 <code><a href="#control">control(id, part, displaySlate=None, walltime=None, onBehalfOfContentOwnerChannel=None, onBehalfOfContentOwner=None, offsetTimeMs=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070085<p class="firstline">Slate and recording control of the live broadcast. Support actions: slate on/off, recording start/stop/pause/resume. Design doc: goto/yt-api-liveBroadcast-control</p>
John Asmuth614db982014-04-24 15:46:26 -040086<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080087 <code><a href="#delete">delete(id, onBehalfOfContentOwnerChannel=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070088<p class="firstline">Delete a given broadcast.</p>
John Asmuth614db982014-04-24 15:46:26 -040089<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080090 <code><a href="#insert">insert(part, body=None, onBehalfOfContentOwnerChannel=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070091<p class="firstline">Inserts a new stream for the authenticated user.</p>
John Asmuth614db982014-04-24 15:46:26 -040092<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080093 <code><a href="#list">list(part, mine=None, pageToken=None, broadcastStatus=None, broadcastType=None, maxResults=None, onBehalfOfContentOwner=None, id=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070094<p class="firstline">Retrieve the list of broadcasts associated with the given channel.</p>
John Asmuth614db982014-04-24 15:46:26 -040095<p class="toc_element">
96 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
97<p class="firstline">Retrieves the next page of results.</p>
98<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080099 <code><a href="#transition">transition(broadcastStatus, id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700100<p class="firstline">Transition a broadcast to a given status.</p>
John Asmuth614db982014-04-24 15:46:26 -0400101<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700102 <code><a href="#update">update(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700103<p class="firstline">Updates an existing broadcast for the authenticated user.</p>
John Asmuth614db982014-04-24 15:46:26 -0400104<h3>Method Details</h3>
105<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800106 <code class="details" id="bind">bind(id, part, onBehalfOfContentOwnerChannel=None, streamId=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700107 <pre>Bind a broadcast to a stream.
John Asmuth614db982014-04-24 15:46:26 -0400108
109Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700110 id: string, Broadcast to bind to the stream (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700111 part: string, The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status. (required) (repeated)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700112 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800113 streamId: string, Stream to bind, if not set unbind the current one.
114 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700115 x__xgafv: string, V1 error format.
116 Allowed values
117 1 - v1 error format
118 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400119
120Returns:
121 An object of the form:
122
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700123 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800124 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800125 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800126 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
127 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800128 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
129 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800130 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700131 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800132 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800133 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
134 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
135 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
136 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800137 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800138 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
139 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
140 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
141 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
142 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
143 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800144 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
145 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800146 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800147 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800148 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
149 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800150 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800151 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800152 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700153 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800154 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
155 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
156 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700157 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
158 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.
159 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800160 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
161 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 format.
162 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live. The value is specified in ISO 8601 format.
163 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
164 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule. The value is specified in ISO 8601 format.
165 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete. The value is specified in ISO 8601 format.
166 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
167 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
168 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
169 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
170 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
171 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
172 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
173 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
174 },
175 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
176 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
177 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
178 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
179 },
180 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
181 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
182 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
183 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
184 },
185 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
186 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
187 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
188 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
189 },
190 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
191 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
192 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
193 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
194 },
195 },
196 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 format.
197 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
198 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700199 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400200</div>
201
202<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700203 <code class="details" id="close">close()</code>
204 <pre>Close httplib2 connections.</pre>
205</div>
206
207<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800208 <code class="details" id="control">control(id, part, displaySlate=None, walltime=None, onBehalfOfContentOwnerChannel=None, onBehalfOfContentOwner=None, offsetTimeMs=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700209 <pre>Slate and recording control of the live broadcast. Support actions: slate on/off, recording start/stop/pause/resume. Design doc: goto/yt-api-liveBroadcast-control
John Asmuth614db982014-04-24 15:46:26 -0400210
211Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700212 id: string, Broadcast to operate. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700213 part: string, The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status. (required) (repeated)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800214 displaySlate: boolean, Whether display or hide slate.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800215 walltime: string, The wall clock time at which the action should be executed. Only one of offset_time_ms and walltime may be set at a time.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800216 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800217 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
218 offsetTimeMs: string, The exact time when the actions (e.g. slate on) are executed. It is an offset from the first frame of the monitor stream. If not set, it means &quot;now&quot; or ASAP. This field should not be set if the monitor stream is disabled, otherwise an error will be returned.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700219 x__xgafv: string, V1 error format.
220 Allowed values
221 1 - v1 error format
222 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400223
224Returns:
225 An object of the form:
226
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700227 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800228 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800229 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800230 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
231 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800232 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
233 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800234 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700235 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800236 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800237 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
238 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
239 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
240 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800241 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800242 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
243 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
244 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
245 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
246 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
247 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800248 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
249 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800250 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800251 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800252 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
253 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800254 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800255 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800256 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700257 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800258 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
259 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
260 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700261 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
262 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.
263 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800264 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
265 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 format.
266 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live. The value is specified in ISO 8601 format.
267 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
268 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule. The value is specified in ISO 8601 format.
269 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete. The value is specified in ISO 8601 format.
270 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
271 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
272 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
273 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
274 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
275 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
276 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
277 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
278 },
279 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
280 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
281 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
282 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
283 },
284 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
285 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
286 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
287 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
288 },
289 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
290 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
291 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
292 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
293 },
294 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
295 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
296 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
297 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
298 },
299 },
300 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 format.
301 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
302 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700303 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400304</div>
305
306<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800307 <code class="details" id="delete">delete(id, onBehalfOfContentOwnerChannel=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700308 <pre>Delete a given broadcast.
John Asmuth614db982014-04-24 15:46:26 -0400309
310Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700311 id: string, Broadcast to delete. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700312 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800313 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700314 x__xgafv: string, V1 error format.
315 Allowed values
316 1 - v1 error format
317 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400318</pre>
319</div>
320
321<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800322 <code class="details" id="insert">insert(part, body=None, onBehalfOfContentOwnerChannel=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700323 <pre>Inserts a new stream for the authenticated user.
John Asmuth614db982014-04-24 15:46:26 -0400324
325Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700326 part: string, The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status. (required) (repeated)
Dan O'Mearadd494642020-05-01 07:42:23 -0700327 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400328 The object takes the form of:
329
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700330{ # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800331 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800332 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800333 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
334 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800335 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
336 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800337 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700338 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800339 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800340 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
341 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
342 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
343 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800344 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800345 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
346 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
347 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
348 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
349 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
350 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800351 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
352 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800353 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800354 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800355 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
356 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800357 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800358 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800359 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700360 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800361 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
362 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
363 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700364 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
365 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.
366 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800367 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
368 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 format.
369 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live. The value is specified in ISO 8601 format.
370 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
371 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule. The value is specified in ISO 8601 format.
372 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete. The value is specified in ISO 8601 format.
373 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
374 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
375 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
376 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
377 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
378 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
379 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
380 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
381 },
382 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
383 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
384 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
385 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
386 },
387 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
388 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
389 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
390 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
391 },
392 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
393 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
394 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
395 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
396 },
397 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
398 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
399 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
400 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
401 },
402 },
403 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 format.
404 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
405 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700406}
John Asmuth614db982014-04-24 15:46:26 -0400407
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800408 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800409 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700410 x__xgafv: string, V1 error format.
411 Allowed values
412 1 - v1 error format
413 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400414
415Returns:
416 An object of the form:
417
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700418 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800419 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800420 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800421 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
422 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800423 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
424 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800425 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700426 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800427 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800428 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
429 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
430 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
431 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800432 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800433 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
434 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
435 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
436 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
437 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
438 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800439 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
440 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800441 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800442 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800443 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
444 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800445 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800446 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800447 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700448 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800449 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
450 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
451 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700452 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
453 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.
454 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800455 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
456 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 format.
457 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live. The value is specified in ISO 8601 format.
458 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
459 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule. The value is specified in ISO 8601 format.
460 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete. The value is specified in ISO 8601 format.
461 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
462 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
463 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
464 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
465 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
466 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
467 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
468 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
469 },
470 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
471 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
472 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
473 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
474 },
475 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
476 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
477 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
478 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
479 },
480 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
481 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
482 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
483 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
484 },
485 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
486 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
487 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
488 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
489 },
490 },
491 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 format.
492 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
493 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700494 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400495</div>
496
497<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800498 <code class="details" id="list">list(part, mine=None, pageToken=None, broadcastStatus=None, broadcastType=None, maxResults=None, onBehalfOfContentOwner=None, id=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700499 <pre>Retrieve the list of broadcasts associated with the given channel.
John Asmuth614db982014-04-24 15:46:26 -0400500
501Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700502 part: string, The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, status and statistics. (required) (repeated)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700503 mine: boolean, A parameter
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800504 pageToken: string, The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800505 broadcastStatus: string, Return broadcasts with a certain status, e.g. active broadcasts.
506 Allowed values
507 broadcastStatusFilterUnspecified -
508 all - Return all broadcasts.
509 active - Return current live broadcasts.
510 upcoming - Return broadcasts that have not yet started.
511 completed - Return broadcasts that have already ended.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800512 broadcastType: string, Return only broadcasts with the selected type.
513 Allowed values
514 broadcastTypeFilterUnspecified -
515 all - Return all broadcasts.
516 event - Return only scheduled event broadcasts.
517 persistent - Return only persistent broadcasts.
518 maxResults: integer, The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800519 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800520 id: string, Return broadcasts with the given ids from Stubby or Apiary. (repeated)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800521 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700522 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400523 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700524 1 - v1 error format
525 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400526
527Returns:
528 An object of the form:
529
530 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700531 &quot;items&quot;: [ # A list of broadcasts that match the request criteria.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700532 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800533 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800534 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800535 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
536 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800537 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
538 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800539 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
Bu Sun Kim65020912020-05-20 12:08:20 -0700540 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800541 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800542 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
543 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
544 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
545 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800546 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800547 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
548 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
549 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
550 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
551 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
552 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800553 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
554 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800555 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800556 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800557 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
558 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800559 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800560 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800561 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700562 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800563 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
564 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
565 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700566 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
567 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.
568 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800569 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
570 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 format.
571 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live. The value is specified in ISO 8601 format.
572 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
573 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule. The value is specified in ISO 8601 format.
574 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete. The value is specified in ISO 8601 format.
575 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
576 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
577 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
578 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
579 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
580 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
581 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
582 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
583 },
584 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
585 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
586 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
587 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
588 },
589 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
590 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
591 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
592 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
593 },
594 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
595 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
596 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
597 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
598 },
599 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
600 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
601 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
602 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
603 },
604 },
605 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 format.
606 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
607 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700608 },
John Asmuth614db982014-04-24 15:46:26 -0400609 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800610 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800611 &quot;kind&quot;: &quot;youtube#liveBroadcastListResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcastListResponse&quot;.
612 &quot;visitorId&quot;: &quot;A String&quot;, # The visitorId identifies the visitor.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800613 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
614 &quot;prevPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
615 &quot;tokenPagination&quot;: { # Stub token pagination template to suppress results.
616 },
617 &quot;pageInfo&quot;: { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page. # General pagination information.
618 &quot;resultsPerPage&quot;: 42, # The number of results included in the API response.
619 &quot;totalResults&quot;: 42, # The total number of results in the result set.
620 },
621 &quot;eventId&quot;: &quot;A String&quot;, # Serialized EventId of the request which produced this response.
John Asmuth614db982014-04-24 15:46:26 -0400622 }</pre>
623</div>
624
625<div class="method">
626 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
627 <pre>Retrieves the next page of results.
628
629Args:
630 previous_request: The request for the previous page. (required)
631 previous_response: The response from the request for the previous page. (required)
632
633Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700634 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400635 page. Returns None if there are no more items in the collection.
636 </pre>
637</div>
638
639<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800640 <code class="details" id="transition">transition(broadcastStatus, id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700641 <pre>Transition a broadcast to a given status.
John Asmuth614db982014-04-24 15:46:26 -0400642
643Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700644 broadcastStatus: string, The status to which the broadcast is going to transition. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700645 Allowed values
646 statusUnspecified -
647 testing - Start testing the broadcast. YouTube transmits video to the broadcast&#x27;s monitor stream. Note that you can only transition a broadcast to the testing state if its contentDetails.monitorStream.enableMonitorStream property is set to true.&quot;,
648 live - Return only persistent broadcasts.
649 complete - The broadcast is over. YouTube stops transmitting video.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700650 id: string, Broadcast to transition. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700651 part: string, The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status. (required) (repeated)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700652 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800653 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700654 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400655 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700656 1 - v1 error format
657 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400658
659Returns:
660 An object of the form:
661
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700662 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800663 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800664 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800665 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
666 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800667 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
668 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800669 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700670 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800671 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800672 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
673 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
674 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
675 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800676 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800677 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
678 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
679 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
680 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
681 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
682 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800683 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
684 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800685 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800686 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800687 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
688 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800689 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800690 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800691 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700692 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800693 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
694 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
695 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700696 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
697 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.
698 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800699 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
700 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 format.
701 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live. The value is specified in ISO 8601 format.
702 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
703 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule. The value is specified in ISO 8601 format.
704 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete. The value is specified in ISO 8601 format.
705 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
706 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
707 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
708 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
709 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
710 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
711 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
712 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
713 },
714 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
715 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
716 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
717 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
718 },
719 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
720 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
721 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
722 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
723 },
724 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
725 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
726 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
727 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
728 },
729 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
730 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
731 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
732 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
733 },
734 },
735 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 format.
736 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
737 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700738 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400739</div>
740
741<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700742 <code class="details" id="update">update(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700743 <pre>Updates an existing broadcast for the authenticated user.
John Asmuth614db982014-04-24 15:46:26 -0400744
745Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700746 part: string, The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a broadcast&#x27;s privacy status is defined in the status part. As such, if your request is updating a private or unlisted broadcast, and the request&#x27;s part parameter value includes the status part, the broadcast&#x27;s privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the broadcast will revert to the default privacy setting. (required) (repeated)
Dan O'Mearadd494642020-05-01 07:42:23 -0700747 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400748 The object takes the form of:
749
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700750{ # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800751 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800752 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800753 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
754 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800755 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
756 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800757 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700758 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800759 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800760 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
761 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
762 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
763 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800764 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800765 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
766 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
767 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
768 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
769 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
770 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800771 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
772 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800773 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800774 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800775 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
776 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800777 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800778 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800779 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700780 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800781 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
782 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
783 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700784 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
785 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.
786 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800787 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
788 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 format.
789 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live. The value is specified in ISO 8601 format.
790 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
791 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule. The value is specified in ISO 8601 format.
792 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete. The value is specified in ISO 8601 format.
793 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
794 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
795 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
796 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
797 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
798 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
799 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
800 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
801 },
802 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
803 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
804 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
805 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
806 },
807 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
808 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
809 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
810 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
811 },
812 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
813 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
814 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
815 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
816 },
817 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
818 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
819 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
820 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
821 },
822 },
823 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 format.
824 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
825 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700826}
John Asmuth614db982014-04-24 15:46:26 -0400827
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700828 onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700829 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700830 x__xgafv: string, V1 error format.
831 Allowed values
832 1 - v1 error format
833 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400834
835Returns:
836 An object of the form:
837
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700838 { # A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800839 &quot;status&quot;: { # Live broadcast state. # The status object contains information about the event&#x27;s status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800840 &quot;lifeCycleStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s status. The status can be updated using the API&#x27;s liveBroadcasts.transition method.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800841 &quot;liveBroadcastPriority&quot;: &quot;A String&quot;, # Priority of the live broadcast event (internal state).
842 &quot;madeForKids&quot;: True or False, # Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800843 &quot;privacyStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
844 &quot;recordingStatus&quot;: &quot;A String&quot;, # The broadcast&#x27;s recording status.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800845 &quot;selfDeclaredMadeForKids&quot;: True or False, # This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700846 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800847 &quot;contentDetails&quot;: { # Detailed settings of a broadcast. # The contentDetails object contains information about the event&#x27;s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800848 &quot;projection&quot;: &quot;A String&quot;, # The projection format of this broadcast. This defaults to rectangular.
849 &quot;enableAutoStop&quot;: True or False, # This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
850 &quot;startWithSlate&quot;: True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast&#x27;s status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint&#x27;s eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
851 &quot;enableLowLatency&quot;: True or False, # Indicates whether this broadcast has low latency enabled.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800852 &quot;closedCaptionsType&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800853 &quot;boundStreamLastUpdateTimeMs&quot;: &quot;A String&quot;, # The date and time that the live stream referenced by boundStreamId was last updated.
854 &quot;recordFromStart&quot;: True or False, # Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property&#x27;s value to true if you want the playback to be available immediately after the broadcast ends. If you set this property&#x27;s value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
855 &quot;boundStreamId&quot;: &quot;A String&quot;, # This value uniquely identifies the live stream bound to the broadcast.
856 &quot;enableClosedCaptions&quot;: True or False, # This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
857 &quot;enableContentEncryption&quot;: True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
858 &quot;latencyPreference&quot;: &quot;A String&quot;, # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800859 &quot;enableEmbed&quot;: True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
860 &quot;monitorStream&quot;: { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800861 &quot;enableMonitorStream&quot;: True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster&#x27;s consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800862 &quot;broadcastStreamDelayMs&quot;: 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800863 &quot;embedHtml&quot;: &quot;A String&quot;, # HTML code that embeds a player that plays the monitor stream.
864 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800865 &quot;enableAutoStart&quot;: True or False, # This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800866 &quot;enableDvr&quot;: True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property&#x27;s value to true if you want to make playback available immediately after the broadcast ends.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800867 &quot;mesh&quot;: &quot;A String&quot;, # The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700868 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800869 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
870 &quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
871 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700872 &quot;statistics&quot;: { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event&#x27;s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
873 &quot;totalChatCount&quot;: &quot;A String&quot;, # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.
874 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800875 &quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
876 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 format.
877 &quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live. The value is specified in ISO 8601 format.
878 &quot;description&quot;: &quot;A String&quot;, # The broadcast&#x27;s description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
879 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the broadcast was added to YouTube&#x27;s live broadcast schedule. The value is specified in ISO 8601 format.
880 &quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete. The value is specified in ISO 8601 format.
881 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
882 &quot;isDefaultBroadcast&quot;: True or False, # Indicates whether this broadcast is the default broadcast. Internal only.
883 &quot;title&quot;: &quot;A String&quot;, # The broadcast&#x27;s title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
884 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
885 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
886 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
887 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
888 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
889 },
890 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
891 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
892 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
893 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
894 },
895 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
896 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
897 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
898 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
899 },
900 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
901 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
902 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
903 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
904 },
905 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
906 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
907 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
908 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
909 },
910 },
911 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 format.
912 &quot;liveChatId&quot;: &quot;A String&quot;, # The id of the live chat for this broadcast.
913 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700914 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400915</div>
916
917</body></html>