blob: e4f06d950315ce11578b2d3997bfeb7bb4fb68ae [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.videos.html">videos</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#delete">delete(id, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Deletes a resource.</p>
John Asmuth614db982014-04-24 15:46:26 -040080<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#getRating">getRating(id, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Retrieves the ratings that the authorized user gave to a list of specified</p>
John Asmuth614db982014-04-24 15:46:26 -040083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#insert">insert(part, body=None, autoLevels=None, stabilize=None, onBehalfOfContentOwnerChannel=None, notifySubscribers=None, onBehalfOfContentOwner=None, x__xgafv=None, media_body=None, media_mime_type=None)</a></code></p>
85<p class="firstline">Inserts a new resource into this collection.</p>
John Asmuth614db982014-04-24 15:46:26 -040086<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#list">list(part, myRating=None, locale=None, chart=None, videoCategoryId=None, maxWidth=None, regionCode=None, maxHeight=None, id=None, maxResults=None, onBehalfOfContentOwner=None, hl=None, pageToken=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Retrieves a list of resources, possibly filtered.</p>
John Asmuth614db982014-04-24 15:46:26 -040089<p class="toc_element">
90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070093 <code><a href="#rate">rate(id, rating, x__xgafv=None)</a></code></p>
94<p class="firstline">Adds a like or dislike rating to a video or removes a rating from a video.</p>
John Asmuth614db982014-04-24 15:46:26 -040095<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070096 <code><a href="#reportAbuse">reportAbuse(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000097<p class="firstline">Report abuse for a video.</p>
98<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070099 <code><a href="#update">update(part, body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
100<p class="firstline">Updates an existing resource.</p>
John Asmuth614db982014-04-24 15:46:26 -0400101<h3>Method Details</h3>
102<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700103 <code class="details" id="delete">delete(id, onBehalfOfContentOwner=None, x__xgafv=None)</code>
104 <pre>Deletes a resource.
John Asmuth614db982014-04-24 15:46:26 -0400105
106Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700107 id: string, A parameter (required)
108 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
109content partners.&lt;br&gt;&lt;br&gt;The
110&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
111that the
112request&#x27;s authorization credentials identify a YouTube CMS user who is
113acting on behalf of the content owner specified in the parameter value.
114This parameter is intended for YouTube content partners that own and manage
115many different YouTube channels. It allows content owners to authenticate
116once and get access to all their video and channel data, without having to
117provide authentication credentials for each individual channel. The actual
118CMS account that the user authenticates with must be linked to the
119specified YouTube content owner.
120 x__xgafv: string, V1 error format.
121 Allowed values
122 1 - v1 error format
123 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400124</pre>
125</div>
126
127<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700128 <code class="details" id="getRating">getRating(id, onBehalfOfContentOwner=None, x__xgafv=None)</code>
129 <pre>Retrieves the ratings that the authorized user gave to a list of specified
130videos.
John Asmuth614db982014-04-24 15:46:26 -0400131
132Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700133 id: string, A parameter (required) (repeated)
134 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
135content partners.&lt;br&gt;&lt;br&gt;The
136&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
137that the
138request&#x27;s authorization credentials identify a YouTube CMS user who is
139acting on behalf of the content owner specified in the parameter value.
140This parameter is intended for YouTube content partners that own and manage
141many different YouTube channels. It allows content owners to authenticate
142once and get access to all their video and channel data, without having to
143provide authentication credentials for each individual channel. The CMS
144account that the user authenticates with must be linked to the specified
145YouTube content owner.
146 x__xgafv: string, V1 error format.
147 Allowed values
148 1 - v1 error format
149 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400150
151Returns:
152 An object of the form:
153
154 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700155 &quot;items&quot;: [ # A list of ratings that match the request criteria.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700156 { # Basic details about rating of a video.
157 &quot;videoId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the video.
158 &quot;rating&quot;: &quot;A String&quot;, # Rating of a video.
John Asmuth614db982014-04-24 15:46:26 -0400159 },
160 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700161 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
162 &quot;kind&quot;: &quot;youtube#videoGetRatingResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string
163 # &lt;code&gt;&quot;youtube#videoGetRatingResponse&quot;&lt;/code&gt;.
164 &quot;eventId&quot;: &quot;A String&quot;, # Serialized EventId of the request which produced this response.
165 &quot;visitorId&quot;: &quot;A String&quot;, # The &lt;code&gt;visitorId&lt;/code&gt; identifies the visitor.
John Asmuth614db982014-04-24 15:46:26 -0400166 }</pre>
167</div>
168
169<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700170 <code class="details" id="insert">insert(part, body=None, autoLevels=None, stabilize=None, onBehalfOfContentOwnerChannel=None, notifySubscribers=None, onBehalfOfContentOwner=None, x__xgafv=None, media_body=None, media_mime_type=None)</code>
171 <pre>Inserts a new resource into this collection.
John Asmuth614db982014-04-24 15:46:26 -0400172
173Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700174 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter serves two purposes in
175this operation. It identifies the properties that the write operation will
176set as well as the properties that the API response will
177include.&lt;br/&gt;&lt;br/&gt;Note that not all parts contain properties that can be
178set when inserting or updating a video. For example, the
179&lt;code&gt;statistics&lt;/code&gt; object encapsulates statistics that YouTube
180calculates for a video and does not contain values that you can set or
181modify. If the parameter value specifies a &lt;code&gt;part&lt;/code&gt; that does not
182contain mutable values, that &lt;code&gt;part&lt;/code&gt; will still be included in
183the API response. (required) (repeated)
John Asmuth614db982014-04-24 15:46:26 -0400184 body: object, The request body.
185 The object takes the form of:
186
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700187{ # A &lt;code&gt;&lt;strong&gt;video&lt;/strong&gt;&lt;/code&gt; resource represents a YouTube video.
188 &quot;recordingDetails&quot;: { # Recording information associated with the video. # The &lt;code&gt;recordingDetails&lt;/code&gt; object encapsulates information about the
189 # location, date and address where the video was recorded.
190 &quot;locationDescription&quot;: &quot;A String&quot;, # The text description of the location where the video was recorded.
191 &quot;recordingDate&quot;: &quot;A String&quot;, # The date and time when the video was recorded. The value is specified in &lt;a
192 # href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
193 # (&lt;code&gt;YYYY-MM-DDThh:mm:ss.sssZ&lt;/code&gt;) format.
194 &quot;location&quot;: { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
195 &quot;latitude&quot;: 3.14, # Latitude in degrees.
196 &quot;longitude&quot;: 3.14, # Longitude in degrees.
197 &quot;altitude&quot;: 3.14, # Altitude above the reference ellipsoid, in meters.
198 },
John Asmuth614db982014-04-24 15:46:26 -0400199 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700200 &quot;contentDetails&quot;: { # Details about the content of a YouTube Video. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the video
201 # content, including the length of the video and its aspect ratio.
202 &quot;dimension&quot;: &quot;A String&quot;, # The value of &lt;code&gt;dimension&lt;/code&gt; indicates whether the video is
203 # available in 3D or in 2D.
204 &quot;caption&quot;: &quot;A String&quot;, # The value of &lt;code&gt;captions&lt;/code&gt; indicates whether the video
205 # has captions or not.
206 &quot;duration&quot;: &quot;A String&quot;, # The length of the video. The tag value is an &lt;a
207 # href=&quot;//en.wikipedia.org/wiki/ISO_8601#Durations&quot;&gt;ISO 8601&lt;/a&gt; duration in
208 # the format &lt;code&gt;PT#M#S&lt;/code&gt;, in which the letters &lt;code&gt;PT&lt;/code&gt;
209 # indicate that the value specifies a period of time, and the letters
210 # &lt;code&gt;M&lt;/code&gt; and &lt;code&gt;S&lt;/code&gt; refer to length in minutes and seconds,
211 # respectively. The &lt;code&gt;#&lt;/code&gt; characters preceding the &lt;code&gt;M&lt;/code&gt;
212 # and &lt;code&gt;S&lt;/code&gt; letters are both integers that specify the number of
213 # minutes (or seconds) of the video. For example, a value of
214 # &lt;code&gt;PT15M51S&lt;/code&gt; indicates that the video is 15 minutes and 51 seconds
215 # long.
216 &quot;hasCustomThumbnail&quot;: True or False, # Indicates whether the video uploader has provided a custom
217 # thumbnail image for the video.
218 # This property is only visible to the video uploader.
219 &quot;regionRestriction&quot;: { # DEPRECATED Region restriction of the video. # The &lt;code&gt;regionRestriction&lt;/code&gt; object contains information about the
220 # countries where a video is (or is not) viewable. The object will contain
221 # either the &lt;code&gt;contentDetails.regionRestriction.allowed&lt;/code&gt; property
222 # or the &lt;code&gt;contentDetails.regionRestriction.blocked&lt;/code&gt; property.
223 &quot;allowed&quot;: [ # A list of region codes that identify countries where the video is
224 # viewable. If this property is present and a country is not listed
225 # in its value, then the video is blocked from appearing in that
226 # country. If this property is present and contains an empty list,
227 # the video is blocked in all countries.
Bu Sun Kim65020912020-05-20 12:08:20 -0700228 &quot;A String&quot;,
229 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700230 &quot;blocked&quot;: [ # A list of region codes that identify countries where the video is
231 # blocked. If this property is present and a country is not listed in
232 # its value, then the video is viewable in that country. If this
233 # property is present and contains an empty list, the video is
234 # viewable in all countries.
235 &quot;A String&quot;,
236 ],
237 },
238 &quot;licensedContent&quot;: True or False, # The value of &lt;code&gt;is_license_content&lt;/code&gt; indicates whether the video is
239 # licensed content.
240 &quot;countryRestriction&quot;: { # Rights management policy for YouTube resources. # The &lt;code&gt;countryRestriction&lt;/code&gt; object contains information about the
241 # countries where a video is (or is not) viewable.
242 &quot;exception&quot;: [ # A list of region codes that identify countries where the default policy do
243 # not apply.
244 &quot;A String&quot;,
245 ],
246 &quot;allowed&quot;: True or False, # The value of &lt;code&gt;allowed&lt;/code&gt; indicates whether the access to the
247 # policy is allowed or denied by default.
248 },
249 &quot;definition&quot;: &quot;A String&quot;, # The value of &lt;code&gt;definition&lt;/code&gt; indicates whether the video is
250 # available in high definition or only in standard definition.
251 &quot;contentRating&quot;: { # Ratings schemes. The country-specific ratings are mostly for # Specifies the ratings that the video received under various rating schemes.
252 # movies and shows.
253 # LINT.IfChange
254 &quot;cscfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Luxembourg&#x27;s Commission de surveillance
255 # de la classification des films (CSCF).
256 &quot;icaaRating&quot;: &quot;A String&quot;, # The video&#x27;s Instituto de la Cinematograf&amp;iacute;a y de las Artes
257 # Audiovisuales (ICAA - Spain) rating.
258 &quot;mpaaRating&quot;: &quot;A String&quot;, # The video&#x27;s Motion Picture Association of America (MPAA) rating.
259 &quot;nbcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Maldives National Bureau of Classification.
260 &quot;oflcRating&quot;: &quot;A String&quot;, # The video&#x27;s Office of Film and Literature Classification
261 # (OFLC - New Zealand) rating.
Bu Sun Kim65020912020-05-20 12:08:20 -0700262 &quot;fcbmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Malaysia&#x27;s Film Censorship Board.
Bu Sun Kim65020912020-05-20 12:08:20 -0700263 &quot;fpbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from South Africa&#x27;s Film and Publication Board.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700264 &quot;djctqRating&quot;: &quot;A String&quot;, # The video&#x27;s Departamento de Justi&amp;ccedil;a, Classifica&amp;ccedil;&amp;atilde;o,
265 # Qualifica&amp;ccedil;&amp;atilde;o e T&amp;iacute;tulos (DJCQT - Brazil) rating.
266 &quot;mpaatRating&quot;: &quot;A String&quot;, # The rating system for trailer, DVD, and Ad in the US. See
267 # http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
268 &quot;chfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Switzerland.
269 &quot;nmcRating&quot;: &quot;A String&quot;, # The National Media Council ratings system for United Arab Emirates.
270 &quot;acbRating&quot;: &quot;A String&quot;, # The video&#x27;s Australian Classification Board (ACB) or Australian
271 # Communications and Media Authority (ACMA) rating. ACMA ratings are used
272 # to classify children&#x27;s television programming.
273 &quot;mccaaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Malta&#x27;s Film Age-Classification Board.
274 &quot;mibacRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Ministero dei Beni e delle Attivit&amp;agrave;
275 # Culturali e del Turismo (Italy).
276 &quot;catvfrRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Canadian Radio-Television and
277 # Telecommunications Commission (CRTC) for Canadian French-language
278 # broadcasts. For more information, see the
279 # &lt;a href=&quot;http://www.cbsc.ca/english/agvot/frenchsystem.php&quot;&gt;Canadian
280 # Broadcast Standards Council&lt;/a&gt; website.
281 &quot;moctwRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Taiwan&#x27;s Ministry of Culture
282 # (&amp;#25991;&amp;#21270;&amp;#37096;).
283 &quot;nkclvRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Nacion&amp;atilde;lais Kino centrs (National Film
284 # Centre of Latvia).
285 &quot;csaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from France&#x27;s Conseil sup&amp;eacute;rieur de
286 # l’audiovisuel, which rates broadcast content.
287 &quot;rteRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Ireland&#x27;s Raidi&amp;oacute; Teilif&amp;iacute;s
288 # &amp;Eacute;ireann.
289 &quot;ifcoRating&quot;: &quot;A String&quot;, # The video&#x27;s Irish Film Classification Office (IFCO - Ireland) rating.
290 # See the &lt;a
291 # href=&quot;http://www.ifco.ie/website/ifco/ifcoweb.nsf/web/classcatintro&quot;&gt;IFCO&lt;/a&gt;
292 # website for more information.
293 &quot;cceRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Portugal&#x27;s Comiss&amp;atilde;o de
294 # Classifica&amp;ccedil;&amp;atilde;o de Espect&amp;acute;culos.
295 &quot;ecbmctRating&quot;: &quot;A String&quot;, # Rating system in Turkey - Evaluation and Classification Board of the
296 # Ministry of Culture and Tourism
297 &quot;egfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Egypt.
298 &quot;eirinRating&quot;: &quot;A String&quot;, # The video&#x27;s Eirin (&amp;#26144;&amp;#20523;) rating.
299 # Eirin is the Japanese rating system.
300 &quot;ilfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Israel.
301 &quot;bmukkRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Austrian Board of Media Classification
302 # (Bundesministerium f&amp;uuml;r Unterricht, Kunst und Kultur).
Bu Sun Kim65020912020-05-20 12:08:20 -0700303 &quot;fpbRatingReasons&quot;: [ # Reasons that explain why the video received its FPB (South Africa) rating.
304 &quot;A String&quot;,
305 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700306 &quot;tvpgRating&quot;: &quot;A String&quot;, # The video&#x27;s TV Parental Guidelines (TVPG) rating.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700307 &quot;smaisRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Iceland.
308 &quot;mekuRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Finland&#x27;s Kansallinen Audiovisuaalinen Instituutti
309 # (National Audiovisual Institute).
310 &quot;smsaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Statens medier&amp;aring;d (Sweden&#x27;s National Media
311 # Council).
312 &quot;lsfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Indonesia&#x27;s Lembaga Sensor Film.
313 &quot;nbcplRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Poland.
Bu Sun Kim65020912020-05-20 12:08:20 -0700314 &quot;ytRating&quot;: &quot;A String&quot;, # A rating that YouTube uses to identify age-restricted content.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700315 &quot;czfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in the Czech Republic.
316 &quot;kijkwijzerRating&quot;: &quot;A String&quot;, # The video&#x27;s NICAM/Kijkwijzer rating from the Nederlands Instituut
317 # voor de Classificatie van Audiovisuele Media (Netherlands).
318 &quot;rcnofRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Hungarian Nemzeti Filmiroda, the Rating
319 # Committee of the National Office of Film.
320 &quot;cncRating&quot;: &quot;A String&quot;, # Rating system in France - Commission de classification cinematographique
321 &quot;cbfcRating&quot;: &quot;A String&quot;, # The video&#x27;s Central Board of Film Certification (CBFC - India) rating.
322 &quot;cicfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Commission de Contr&amp;ocirc;le des Films
323 # (Belgium).
324 &quot;fcoRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Hong Kong&#x27;s Office for Film, Newspaper
325 # and Article Administration.
326 &quot;catvRating&quot;: &quot;A String&quot;, # Rating system for Canadian TV - Canadian TV Classification System
327 # The video&#x27;s rating from the Canadian Radio-Television and
328 # Telecommunications Commission (CRTC) for Canadian English-language
329 # broadcasts. For more information, see the
330 # &lt;a href=&quot;http://www.cbsc.ca/english/agvot/englishsystem.php&quot;&gt;Canadian
331 # Broadcast Standards Council&lt;/a&gt; website.
332 &quot;resorteviolenciaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Venezuela.
333 &quot;russiaRating&quot;: &quot;A String&quot;, # The video&#x27;s National Film Registry of the Russian Federation
334 # (MKRF - Russia) rating.
335 &quot;kfcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Kenya Film Classification Board.
336 &quot;bfvcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Thailand&#x27;s Board of Film and Video Censors.
337 &quot;medietilsynetRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Medietilsynet, the Norwegian Media Authority.
338 &quot;djctqRatingReasons&quot;: [ # Reasons that explain why the video received its DJCQT (Brazil) rating.
Bu Sun Kim65020912020-05-20 12:08:20 -0700339 &quot;A String&quot;,
340 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700341 &quot;agcomRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Italy&#x27;s Autorit&amp;agrave; per le Garanzie nelle
342 # Comunicazioni (AGCOM).
343 &quot;pefilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Peru.
344 &quot;mcstRating&quot;: &quot;A String&quot;, # The video&#x27;s rating system for Vietnam - MCST
345 &quot;mccypRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Danish Film Institute&#x27;s (Det Danske
346 # Filminstitut) Media Council for Children and Young People.
347 &quot;grfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Greece.
348 &quot;bbfcRating&quot;: &quot;A String&quot;, # The video&#x27;s British Board of Film Classification (BBFC) rating.
349 &quot;menaMpaaRating&quot;: &quot;A String&quot;, # The rating system for MENA countries, a clone of MPAA. It is needed to
350 # prevent titles go live w/o additional QC check, since some of them can be
351 # inappropriate for the countries at all. See b/33408548 for more details.
352 &quot;chvrsRating&quot;: &quot;A String&quot;, # The video&#x27;s Canadian Home Video Rating System (CHVRS) rating.
353 &quot;mdaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Singapore&#x27;s Media Development Authority (MDA) and,
354 # specifically, it&#x27;s Board of Film Censors (BFC).
355 &quot;kmrbRating&quot;: &quot;A String&quot;, # The video&#x27;s Korea Media Rating Board
356 # (&amp;#50689;&amp;#49345;&amp;#47932;&amp;#46321;&amp;#44553;&amp;#50948;&amp;#50896;&amp;#54924;) rating.
357 # The KMRB rates videos in South Korea.
358 &quot;nfrcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the &lt;a href=&quot;http://www.nfc.bg/&quot;&gt;Bulgarian
359 # National Film Center&lt;/a&gt;.
360 &quot;fmocRating&quot;: &quot;A String&quot;, # &lt;span class=&quot;deprecated&quot;&gt;This property has been deprecated. Use the
361 # &lt;code&gt;&lt;a
362 # href=&quot;#contentDetails.contentRating.cncRating&quot;&gt;contentDetails.contentRating.cncRating&lt;/a&gt;&lt;/code&gt;
363 # instead.&lt;/span&gt;
364 &quot;eefilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Estonia.
365 &quot;cnaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Romania&#x27;s CONSILIUL NATIONAL AL AUDIOVIZUALULUI
366 # (CNA).
367 &quot;fskRating&quot;: &quot;A String&quot;, # The video&#x27;s Freiwillige Selbstkontrolle der Filmwirtschaft
368 # (FSK - Germany) rating.
369 &quot;skfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Slovakia.
370 &quot;incaaRating&quot;: &quot;A String&quot;, # The video&#x27;s INCAA (Instituto Nacional de Cine y Artes Audiovisuales -
371 # Argentina) rating.
372 &quot;mocRating&quot;: &quot;A String&quot;, # The video&#x27;s Ministerio de Cultura (Colombia) rating.
373 &quot;rtcRating&quot;: &quot;A String&quot;, # The video&#x27;s General Directorate of Radio, Television and Cinematography
374 # (Mexico) rating.
375 &quot;anatelRating&quot;: &quot;A String&quot;, # The video&#x27;s Anatel (Asociaci&amp;oacute;n Nacional de Televisi&amp;oacute;n)
376 # rating for Chilean television.
377 &quot;mtrcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Movie and Television Review and
378 # Classification Board (Philippines).
379 &quot;cccRating&quot;: &quot;A String&quot;, # The video&#x27;s Consejo de Calificaci&amp;oacute;n Cinematogr&amp;aacute;fica (Chile)
380 # rating.
381 &quot;nfvcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Nigeria&#x27;s National Film and Video Censors Board.
Bu Sun Kim65020912020-05-20 12:08:20 -0700382 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700383 &quot;projection&quot;: &quot;A String&quot;, # Specifies the projection format of the video.
Bu Sun Kim65020912020-05-20 12:08:20 -0700384 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700385 &quot;projectDetails&quot;: { # Project specific details about the content of a YouTube Video. # The &lt;code&gt;projectDetails&lt;/code&gt; object contains information about the
386 # project specific video metadata.
Bu Sun Kim65020912020-05-20 12:08:20 -0700387 &quot;tags&quot;: [ # A list of project tags associated with the video during the upload.
388 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400389 ],
390 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700391 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the video.
392 &quot;localizations&quot;: { # The &lt;code&gt;localizations&lt;/code&gt; object contains localized versions of the
393 # basic details about the video, such as its title and description.
394 &quot;a_key&quot;: { # Localized versions of certain video properties (e.g. title).
Bu Sun Kim65020912020-05-20 12:08:20 -0700395 &quot;title&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s title.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700396 &quot;description&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s description.
Bu Sun Kim65020912020-05-20 12:08:20 -0700397 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700398 },
399 &quot;monetizationDetails&quot;: { # Details about monetization of a YouTube Video. # The &lt;code&gt;monetizationDetails&lt;/code&gt; object encapsulates information
400 # about the monetization status of the video.
401 &quot;access&quot;: { # Rights management policy for YouTube resources. # The value of &lt;code&gt;access&lt;/code&gt; indicates whether the video can be
402 # monetized or not.
403 &quot;exception&quot;: [ # A list of region codes that identify countries where the default policy do
404 # not apply.
405 &quot;A String&quot;,
406 ],
407 &quot;allowed&quot;: True or False, # The value of &lt;code&gt;allowed&lt;/code&gt; indicates whether the access to the
408 # policy is allowed or denied by default.
409 },
410 },
411 &quot;status&quot;: { # Basic details about a video category, such as its localized title. # The &lt;code&gt;status&lt;/code&gt; object contains information about the video&#x27;s
412 # uploading, processing, and privacy statuses.
413 # Next Id: 17
414 &quot;failureReason&quot;: &quot;A String&quot;, # This value explains why a video failed to upload. This property is
415 # only present if the &lt;code&gt;uploadStatus&lt;/code&gt; property indicates that
416 # the upload failed.
417 &quot;privacyStatus&quot;: &quot;A String&quot;, # The video&#x27;s privacy status.
418 &quot;selfDeclaredMadeForKids&quot;: True or False,
419 &quot;rejectionReason&quot;: &quot;A String&quot;, # This value explains why YouTube rejected an uploaded video. This
420 # property is only present if the &lt;code&gt;uploadStatus&lt;/code&gt; property
421 # indicates that the upload was rejected.
422 &quot;embeddable&quot;: True or False, # This value indicates if the video can be embedded on another website.
423 # @mutable youtube.videos.insert youtube.videos.update
424 &quot;publishAt&quot;: &quot;A String&quot;, # The date and time when the video is scheduled to publish. It can be set
425 # only if the privacy status of the video is private. The value is specified
426 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
427 # format.
428 &quot;madeForKids&quot;: True or False,
429 &quot;license&quot;: &quot;A String&quot;, # The video&#x27;s license.
430 # @mutable youtube.videos.insert youtube.videos.update
431 &quot;publicStatsViewable&quot;: True or False, # This value indicates if the extended video statistics on the watch page
432 # can be viewed by everyone. Note that the view count, likes, etc will still
433 # be visible if this is disabled.
434 # @mutable youtube.videos.insert youtube.videos.update
435 &quot;uploadStatus&quot;: &quot;A String&quot;, # The status of the uploaded video.
436 },
437 &quot;statistics&quot;: { # Statistics about the video, such as the number of times the video was viewed # The &lt;code&gt;statistics&lt;/code&gt; object contains statistics about the video.
438 # or liked.
439 &quot;likeCount&quot;: &quot;A String&quot;, # The number of users who have indicated that they liked the video by
440 # giving it a positive rating.
441 &quot;dislikeCount&quot;: &quot;A String&quot;, # The number of users who have indicated that they disliked the video by
442 # giving it a negative rating.
443 &quot;favoriteCount&quot;: &quot;A String&quot;, # The number of users who currently have the video marked as a favorite
444 # video.
445 &quot;commentCount&quot;: &quot;A String&quot;, # The number of comments for the video.
446 &quot;viewCount&quot;: &quot;A String&quot;, # The number of times the video has been viewed.
447 },
448 &quot;snippet&quot;: { # Basic details about a video, including title, description, uploader, # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the video,
449 # such as its title, description, and category.
450 # thumbnails and category.
451 &quot;localized&quot;: { # Localized versions of certain video properties (e.g. title). # Localized snippet selected with the hl parameter. If no such localization
452 # exists, this field is populated with the default snippet. (Read-only)
453 &quot;title&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s title.
454 &quot;description&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s description.
455 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700456 &quot;tags&quot;: [ # A list of keyword tags associated with the video. Tags may contain spaces.
457 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400458 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700459 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the videos&#x27;s default snippet.
460 &quot;title&quot;: &quot;A String&quot;, # The video&#x27;s title.
461 # @mutable youtube.videos.insert youtube.videos.update
462 &quot;liveBroadcastContent&quot;: &quot;A String&quot;, # Indicates if the video is an upcoming/active live broadcast.
463 # Or it&#x27;s &quot;none&quot; if the video is not an upcoming/active live broadcast.
464 &quot;description&quot;: &quot;A String&quot;, # The video&#x27;s description.
465 # @mutable youtube.videos.insert youtube.videos.update
466 &quot;channelTitle&quot;: &quot;A String&quot;, # Channel title for the channel that the video belongs to.
467 &quot;defaultAudioLanguage&quot;: &quot;A String&quot;, # The &lt;code&gt;default_audio_language&lt;/code&gt; property specifies the language
468 # spoken in the video&#x27;s default audio track.
469 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that the
470 # video was uploaded to.
471 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the video. For each object in the
472 # map, the key is the name of the thumbnail image, and the value is an object
473 # that contains other information about the thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -0700474 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700475 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700476 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
477 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
Bu Sun Kim65020912020-05-20 12:08:20 -0700478 },
479 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700480 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700481 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
482 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
483 },
484 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
485 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
486 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
487 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
488 },
489 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
490 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
491 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
492 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
493 },
494 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
495 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
496 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
497 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
Bu Sun Kim65020912020-05-20 12:08:20 -0700498 },
499 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700500 &quot;categoryId&quot;: &quot;A String&quot;, # The YouTube &lt;a href=&quot;/youtube/v3/docs/videoCategories/list&quot;&gt;video
501 # category&lt;/a&gt; associated with the video.
502 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the video was uploaded. The value is specified
503 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
504 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -0700505 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700506 &quot;processingDetails&quot;: { # Describes processing status and progress and availability of some other Video # The &lt;code&gt;processingDetails&lt;/code&gt; object encapsulates information about
507 # YouTube&#x27;s progress in processing the uploaded video file. The properties
508 # in the object identify the current processing status and an estimate of
509 # the time remaining until YouTube finishes processing the video. This part
510 # also indicates whether different types of data or content, such as file
511 # details or thumbnail images, are available for the video.&lt;br&gt;&lt;br&gt;
512 # The &lt;code&gt;processingProgress&lt;/code&gt; object is designed to be polled so
513 # that the video uploaded can track the progress that YouTube has made in
514 # processing the uploaded video file. This data can only be retrieved by
515 # the video owner.
516 # resource parts.
517 &quot;fileDetailsAvailability&quot;: &quot;A String&quot;, # This value indicates whether file details are available for the uploaded
518 # video. You can retrieve a video&#x27;s file details by requesting the
519 # &lt;code&gt;fileDetails&lt;/code&gt; part in your &lt;code&gt;videos.list()&lt;/code&gt; request.
520 &quot;processingFailureReason&quot;: &quot;A String&quot;, # The reason that YouTube failed to process the video. This property will
521 # only have a value if the &lt;code&gt;processingStatus&lt;/code&gt;
522 # property&#x27;s value is &lt;code&gt;failed&lt;/code&gt;.
523 &quot;editorSuggestionsAvailability&quot;: &quot;A String&quot;, # This value indicates whether video editing suggestions, which might
524 # improve video quality or the playback experience, are available for
525 # the video. You can retrieve these suggestions by requesting the
526 # &lt;code&gt;suggestions&lt;/code&gt; part in your &lt;code&gt;videos.list()&lt;/code&gt; request.
527 &quot;tagSuggestionsAvailability&quot;: &quot;A String&quot;, # This value indicates whether keyword (tag) suggestions are available for
528 # the video. Tags can be added to a video&#x27;s metadata to make it easier for
529 # other users to find the video. You can retrieve these suggestions by
530 # requesting the &lt;code&gt;suggestions&lt;/code&gt; part in your
531 # &lt;code&gt;videos.list()&lt;/code&gt; request.
532 &quot;processingProgress&quot;: { # Video processing progress and completion time estimate. # The &lt;code&gt;processingProgress&lt;/code&gt; object contains information about the
533 # progress YouTube has made in processing the video. The values are really
534 # only relevant if the video&#x27;s processing status is &lt;code&gt;processing&lt;/code&gt;.
535 &quot;timeLeftMs&quot;: &quot;A String&quot;, # An estimate of the amount of time, in millseconds, that YouTube needs
536 # to finish processing the video.
537 &quot;partsProcessed&quot;: &quot;A String&quot;, # The number of parts of the video that YouTube has already processed.
538 # You can estimate the percentage of the video that YouTube has already
539 # processed by calculating:&lt;br&gt;
540 # &lt;code&gt;100 * parts_processed / parts_total&lt;/code&gt;&lt;br&gt;&lt;br&gt;
541 # Note that since the estimated number of parts could increase without
542 # a corresponding increase in the number of parts that have already been
543 # processed, it is possible that the calculated progress could
544 # periodically decrease while YouTube processes a video.
545 &quot;partsTotal&quot;: &quot;A String&quot;, # An estimate of the total number of parts that need to be processed
546 # for the video. The number may be updated with more precise estimates
547 # while YouTube processes the video.
548 },
549 &quot;thumbnailsAvailability&quot;: &quot;A String&quot;, # This value indicates whether thumbnail images have been generated for
550 # the video.
551 &quot;processingIssuesAvailability&quot;: &quot;A String&quot;, # This value indicates whether the video processing engine has generated
552 # suggestions that might improve YouTube&#x27;s ability to process the
553 # the video, warnings that explain video processing problems, or
554 # errors that cause video processing problems. You can retrieve these
555 # suggestions by requesting the &lt;code&gt;suggestions&lt;/code&gt; part in your
556 # &lt;code&gt;videos.list()&lt;/code&gt; request.
557 &quot;processingStatus&quot;: &quot;A String&quot;, # The video&#x27;s processing status. This value indicates whether YouTube was
558 # able to process the video or if the video is still being processed.
Bu Sun Kim65020912020-05-20 12:08:20 -0700559 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700560 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
561 &quot;player&quot;: { # Player to be used for a video playback. # The &lt;code&gt;player&lt;/code&gt; object contains information that you would use to
562 # play the video in an embedded player.
563 &quot;embedWidth&quot;: &quot;A String&quot;, # The embed width
564 &quot;embedHeight&quot;: &quot;A String&quot;,
565 &quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; tag that embeds a player that will
566 # play the video.
Bu Sun Kim65020912020-05-20 12:08:20 -0700567 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700568 &quot;liveStreamingDetails&quot;: { # Details about the live streaming metadata. # The &lt;code&gt;liveStreamingDetails&lt;/code&gt; object contains metadata about a live
569 # video broadcast. The object will only be present in a &lt;code&gt;video&lt;/code&gt;
570 # resource if the video is an upcoming, live, or completed live broadcast.
571 &quot;activeLiveChatId&quot;: &quot;A String&quot;, # The ID of the currently active live chat attached to this video. This
572 # field is filled only if the video is a currently live broadcast that has
573 # live chat. Once the broadcast transitions to complete this field will be
574 # removed and the live chat closed down. For persistent broadcasts that live
575 # chat id will no longer be tied to this video but rather to the new video
576 # being displayed at the persistent page.
577 &quot;concurrentViewers&quot;: &quot;A String&quot;, # The number of viewers currently watching the broadcast. The property and
578 # its value will be present if the broadcast has current viewers and the
579 # broadcast owner has not hidden the viewcount for the video. Note that
580 # YouTube stops tracking the number of concurrent viewers for a broadcast
581 # when the broadcast ends. So, this property would not identify the number
582 # of viewers watching an archived video of a live broadcast that already
583 # ended.
584 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The time that the broadcast is scheduled to end. The value is specified
585 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
586 # format. If the value is empty or
587 # the property is not present, then the broadcast is scheduled to continue
588 # indefinitely.
589 &quot;actualStartTime&quot;: &quot;A String&quot;, # The time that the broadcast actually started. The value is specified
590 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
591 # format. This value will not be
592 # available until the broadcast begins.
593 &quot;actualEndTime&quot;: &quot;A String&quot;, # The time that the broadcast actually ended. The value is specified
594 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
595 # format. This value will not be
596 # available until the broadcast is over.
597 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The time that the broadcast is scheduled to begin. The value is specified
598 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
599 # format.
600 },
601 &quot;topicDetails&quot;: { # Freebase topic information related to the video. # The &lt;code&gt;topicDetails&lt;/code&gt; object encapsulates information about &lt;a
602 # href=&quot;http://www.freebase.com&quot;&gt;Freebase&lt;/a&gt; topics associated with the
603 # video.
604 &quot;topicCategories&quot;: [ # A list of Wikipedia URLs that provide a high-level description of the
605 # video&#x27;s content.
Bu Sun Kim65020912020-05-20 12:08:20 -0700606 &quot;A String&quot;,
607 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700608 &quot;relevantTopicIds&quot;: [ # Similar to topic_id, except that these topics are merely relevant to the
609 # video. These are topics that may be mentioned in, or appear in the video.
610 # You can retrieve information about each topic using &lt;a
611 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700612 &quot;A String&quot;,
613 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700614 &quot;topicIds&quot;: [ # A list of Freebase topic IDs that are centrally associated with the video.
615 # These are topics that are centrally featured in the video, and it can be
616 # said that the video is mainly about each of these. You can retrieve
617 # information about each topic using the &lt; a
618 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700619 &quot;A String&quot;,
620 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700621 },
622 &quot;fileDetails&quot;: { # Describes original video file properties, including technical details about # The &lt;code&gt;fileDetails&lt;/code&gt; object encapsulates information about the
623 # video file that was uploaded to YouTube, including the file&#x27;s resolution,
624 # duration, audio and video codecs, stream bitrates, and more. This data can
625 # only be retrieved by the video owner.
626 # audio and video streams, but also metadata information like content length,
627 # digitization time, or geotagging information.
628 &quot;fileName&quot;: &quot;A String&quot;, # The uploaded file&#x27;s name. This field is present whether a video file or
629 # another type of file was uploaded.
630 &quot;videoStreams&quot;: [ # A list of video streams contained in the uploaded video file. Each item
631 # in the list contains detailed metadata about a video stream.
632 { # Information about a video stream.
633 &quot;bitrateBps&quot;: &quot;A String&quot;, # The video stream&#x27;s bitrate, in bits per second.
634 &quot;heightPixels&quot;: 42, # The encoded video content&#x27;s height in pixels.
635 &quot;vendor&quot;: &quot;A String&quot;, # A value that uniquely identifies a video vendor. Typically, the value is
636 # a four-letter vendor code.
637 &quot;rotation&quot;: &quot;A String&quot;, # The amount that YouTube needs to rotate the original source content
638 # to properly display the video.
639 &quot;codec&quot;: &quot;A String&quot;, # The video codec that the stream uses.
640 &quot;frameRateFps&quot;: 3.14, # The video stream&#x27;s frame rate, in frames per second.
641 &quot;aspectRatio&quot;: 3.14, # The video content&#x27;s display aspect ratio, which specifies the aspect
642 # ratio in which the video should be displayed.
643 &quot;widthPixels&quot;: 42, # The encoded video content&#x27;s width in pixels. You can calculate the
644 # video&#x27;s encoding aspect ratio as
645 # &lt;code&gt;width_pixels&lt;/code&gt;&amp;nbsp;/&amp;nbsp;&lt;code&gt;height_pixels&lt;/code&gt;.
John Asmuth614db982014-04-24 15:46:26 -0400646 },
647 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700648 &quot;audioStreams&quot;: [ # A list of audio streams contained in the uploaded video file. Each item
649 # in the list contains detailed metadata about an audio stream.
650 { # Information about an audio stream.
651 &quot;codec&quot;: &quot;A String&quot;, # The audio codec that the stream uses.
652 &quot;channelCount&quot;: 42, # The number of audio channels that the stream contains.
653 &quot;vendor&quot;: &quot;A String&quot;, # A value that uniquely identifies a video vendor. Typically, the value
654 # is a four-letter vendor code.
655 &quot;bitrateBps&quot;: &quot;A String&quot;, # The audio stream&#x27;s bitrate, in bits per second.
656 },
657 ],
658 &quot;bitrateBps&quot;: &quot;A String&quot;, # The uploaded video file&#x27;s combined (video and audio) bitrate in bits
659 # per second.
660 &quot;durationMs&quot;: &quot;A String&quot;, # The length of the uploaded video in milliseconds.
661 &quot;fileType&quot;: &quot;A String&quot;, # The uploaded file&#x27;s type as detected by YouTube&#x27;s video processing
662 # engine. Currently, YouTube only processes video files, but this field
663 # is present whether a video file or another type of file was uploaded.
664 &quot;fileSize&quot;: &quot;A String&quot;, # The uploaded file&#x27;s size in bytes. This field is present whether
665 # a video file or another type of file was uploaded.
666 &quot;container&quot;: &quot;A String&quot;, # The uploaded video file&#x27;s container format.
667 &quot;creationTime&quot;: &quot;A String&quot;, # The date and time when the uploaded video file was created. The value is
668 # specified in &lt;a href=&quot;http://www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
669 # format. Currently, the following ISO 8601 formats are supported:
670 # &lt;ul&gt;
671 # &lt;li&gt;Date only: &lt;code&gt;YYYY-MM-DD&lt;/code&gt;&lt;/li&gt;
672 # &lt;li&gt;Naive time: &lt;code&gt;YYYY-MM-DDTHH:MM:SS&lt;/code&gt;&lt;/li&gt;
673 # &lt;li&gt;Time with timezone: &lt;code&gt;YYYY-MM-DDTHH:MM:SS+HH:MM&lt;/code&gt;&lt;/li&gt;
674 # &lt;/ul&gt;
John Asmuth614db982014-04-24 15:46:26 -0400675 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700676 &quot;ageGating&quot;: { # Age restriction details related to a video. This data can only be retrieved
677 # by the video owner.
678 &quot;videoGameRating&quot;: &quot;A String&quot;, # Video game rating, if any.
679 &quot;alcoholContent&quot;: True or False, # Indicates whether or not the video has alcoholic beverage content. Only
680 # users of legal purchasing age in a particular country, as identified by
681 # ICAP, can view the content.
682 &quot;restricted&quot;: True or False, # Age-restricted trailers. For redband trailers and adult-rated video-games.
683 # Only users aged 18+ can view the content. The the field is
684 # &lt;code&gt;true&lt;/code&gt; the content is restricted to viewers aged 18+. Otherwise
685 # The field won&#x27;t be present.
686 },
687 &quot;kind&quot;: &quot;youtube#video&quot;, # Identifies what kind of resource this is. Value: the fixed string
688 # &lt;code&gt;&quot;youtube#video&quot;&lt;/code&gt;.
689 &quot;suggestions&quot;: { # Specifies suggestions on how to improve video content, # The &lt;code&gt;suggestions&lt;/code&gt; object encapsulates suggestions that identify
690 # opportunities to improve the video quality or the metadata for the uploaded
691 # video. This data can only be retrieved by the video owner.
692 # including encoding hints, tag suggestions, and editor suggestions.
693 &quot;processingHints&quot;: [ # A list of suggestions that may improve YouTube&#x27;s ability to process the
694 # video.
Bu Sun Kim65020912020-05-20 12:08:20 -0700695 &quot;A String&quot;,
696 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700697 &quot;tagSuggestions&quot;: [ # A list of keyword tags that could be added to the video&#x27;s metadata to
698 # increase the likelihood that users will locate your video when searching
699 # or browsing on YouTube.
700 { # A single tag suggestion with it&#x27;s relevance information.
701 &quot;tag&quot;: &quot;A String&quot;, # The keyword tag suggested for the video.
702 &quot;categoryRestricts&quot;: [ # A set of video categories for which the tag is relevant. You can use this
703 # information to display appropriate tag suggestions based on the video
704 # category that the video uploader associates with the video. By default,
705 # tag suggestions are relevant for all categories if there are no restricts
706 # defined for the keyword.
707 &quot;A String&quot;,
708 ],
709 },
710 ],
711 &quot;processingErrors&quot;: [ # A list of errors that will prevent YouTube from successfully processing
712 # the uploaded video video. These errors indicate that, regardless of the
713 # video&#x27;s current &lt;a href=&quot;#processingProgress.processingStatus&quot;&gt;processing
714 # status&lt;/a&gt;, eventually, that status will almost certainly be
715 # &lt;code&gt;failed&lt;/code&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700716 &quot;A String&quot;,
717 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700718 &quot;editorSuggestions&quot;: [ # A list of video editing operations that might improve the video quality
719 # or playback experience of the uploaded video.
720 &quot;A String&quot;,
721 ],
722 &quot;processingWarnings&quot;: [ # A list of reasons why YouTube may have difficulty transcoding the
723 # uploaded video or that might result in an erroneous transcoding.
724 # These warnings are generated before YouTube actually processes the
725 # uploaded video file. In addition, they identify issues that are unlikely
726 # to cause the video processing to fail but that might cause problems
727 # such as sync issues, video artifacts, or a missing audio track.
Bu Sun Kim65020912020-05-20 12:08:20 -0700728 &quot;A String&quot;,
729 ],
Craig Citroe633be12015-03-02 13:40:36 -0800730 },
John Asmuth614db982014-04-24 15:46:26 -0400731 }
732
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700733 autoLevels: boolean, Should auto-levels be applied to the upload.
734 stabilize: boolean, Should stabilize be applied to the upload.
735 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly &lt;a
736href=&quot;/youtube/v3/guides/authentication&quot;&gt;authorized request&lt;/a&gt;.
737&lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
738content partners.&lt;br&gt;&lt;br&gt;The
739&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwnerChannel&lt;/strong&gt;&lt;/code&gt; parameter
740specifies the YouTube channel ID of the channel to which a video is being
741added. This parameter is required when a request specifies a value for the
742&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter, and it can only be used in
743conjunction with that parameter. In addition, the request must be
744authorized using a CMS account that is linked to the content owner that the
745&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies. Finally, the
746channel that the &lt;code&gt;onBehalfOfContentOwnerChannel&lt;/code&gt; parameter value
747specifies must be linked to the content owner that the
748&lt;code&gt;onBehalfOfContentOwner&lt;/code&gt; parameter specifies.&lt;br&gt;&lt;br&gt;This
749parameter is intended for YouTube content partners that own and manage many
750different YouTube channels. It allows content owners to authenticate once
751and perform actions on behalf of the channel specified in the parameter
752value, without having to provide authentication credentials for each
753separate channel.
754 notifySubscribers: boolean, Notify the channel subscribers about the new video. As default, the
755notification is enabled.
756 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
757content partners.&lt;br&gt;&lt;br&gt;The
758&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
759that the
760request&#x27;s authorization credentials identify a YouTube CMS user who is
761acting on behalf of the content owner specified in the parameter value.
762This parameter is intended for YouTube content partners that own and manage
763many different YouTube channels. It allows content owners to authenticate
764once and get access to all their video and channel data, without having to
765provide authentication credentials for each individual channel. The CMS
766account that the user authenticates with must be linked to the specified
767YouTube content owner.
768 x__xgafv: string, V1 error format.
769 Allowed values
770 1 - v1 error format
771 2 - v2 error format
Bu Sun Kim65020912020-05-20 12:08:20 -0700772 media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
773 media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
John Asmuth614db982014-04-24 15:46:26 -0400774
775Returns:
776 An object of the form:
777
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700778 { # A &lt;code&gt;&lt;strong&gt;video&lt;/strong&gt;&lt;/code&gt; resource represents a YouTube video.
779 &quot;recordingDetails&quot;: { # Recording information associated with the video. # The &lt;code&gt;recordingDetails&lt;/code&gt; object encapsulates information about the
780 # location, date and address where the video was recorded.
781 &quot;locationDescription&quot;: &quot;A String&quot;, # The text description of the location where the video was recorded.
782 &quot;recordingDate&quot;: &quot;A String&quot;, # The date and time when the video was recorded. The value is specified in &lt;a
783 # href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
784 # (&lt;code&gt;YYYY-MM-DDThh:mm:ss.sssZ&lt;/code&gt;) format.
785 &quot;location&quot;: { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
786 &quot;latitude&quot;: 3.14, # Latitude in degrees.
787 &quot;longitude&quot;: 3.14, # Longitude in degrees.
788 &quot;altitude&quot;: 3.14, # Altitude above the reference ellipsoid, in meters.
789 },
John Asmuth614db982014-04-24 15:46:26 -0400790 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700791 &quot;contentDetails&quot;: { # Details about the content of a YouTube Video. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the video
792 # content, including the length of the video and its aspect ratio.
793 &quot;dimension&quot;: &quot;A String&quot;, # The value of &lt;code&gt;dimension&lt;/code&gt; indicates whether the video is
794 # available in 3D or in 2D.
795 &quot;caption&quot;: &quot;A String&quot;, # The value of &lt;code&gt;captions&lt;/code&gt; indicates whether the video
796 # has captions or not.
797 &quot;duration&quot;: &quot;A String&quot;, # The length of the video. The tag value is an &lt;a
798 # href=&quot;//en.wikipedia.org/wiki/ISO_8601#Durations&quot;&gt;ISO 8601&lt;/a&gt; duration in
799 # the format &lt;code&gt;PT#M#S&lt;/code&gt;, in which the letters &lt;code&gt;PT&lt;/code&gt;
800 # indicate that the value specifies a period of time, and the letters
801 # &lt;code&gt;M&lt;/code&gt; and &lt;code&gt;S&lt;/code&gt; refer to length in minutes and seconds,
802 # respectively. The &lt;code&gt;#&lt;/code&gt; characters preceding the &lt;code&gt;M&lt;/code&gt;
803 # and &lt;code&gt;S&lt;/code&gt; letters are both integers that specify the number of
804 # minutes (or seconds) of the video. For example, a value of
805 # &lt;code&gt;PT15M51S&lt;/code&gt; indicates that the video is 15 minutes and 51 seconds
806 # long.
807 &quot;hasCustomThumbnail&quot;: True or False, # Indicates whether the video uploader has provided a custom
808 # thumbnail image for the video.
809 # This property is only visible to the video uploader.
810 &quot;regionRestriction&quot;: { # DEPRECATED Region restriction of the video. # The &lt;code&gt;regionRestriction&lt;/code&gt; object contains information about the
811 # countries where a video is (or is not) viewable. The object will contain
812 # either the &lt;code&gt;contentDetails.regionRestriction.allowed&lt;/code&gt; property
813 # or the &lt;code&gt;contentDetails.regionRestriction.blocked&lt;/code&gt; property.
814 &quot;allowed&quot;: [ # A list of region codes that identify countries where the video is
815 # viewable. If this property is present and a country is not listed
816 # in its value, then the video is blocked from appearing in that
817 # country. If this property is present and contains an empty list,
818 # the video is blocked in all countries.
Bu Sun Kim65020912020-05-20 12:08:20 -0700819 &quot;A String&quot;,
820 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700821 &quot;blocked&quot;: [ # A list of region codes that identify countries where the video is
822 # blocked. If this property is present and a country is not listed in
823 # its value, then the video is viewable in that country. If this
824 # property is present and contains an empty list, the video is
825 # viewable in all countries.
826 &quot;A String&quot;,
827 ],
828 },
829 &quot;licensedContent&quot;: True or False, # The value of &lt;code&gt;is_license_content&lt;/code&gt; indicates whether the video is
830 # licensed content.
831 &quot;countryRestriction&quot;: { # Rights management policy for YouTube resources. # The &lt;code&gt;countryRestriction&lt;/code&gt; object contains information about the
832 # countries where a video is (or is not) viewable.
833 &quot;exception&quot;: [ # A list of region codes that identify countries where the default policy do
834 # not apply.
835 &quot;A String&quot;,
836 ],
837 &quot;allowed&quot;: True or False, # The value of &lt;code&gt;allowed&lt;/code&gt; indicates whether the access to the
838 # policy is allowed or denied by default.
839 },
840 &quot;definition&quot;: &quot;A String&quot;, # The value of &lt;code&gt;definition&lt;/code&gt; indicates whether the video is
841 # available in high definition or only in standard definition.
842 &quot;contentRating&quot;: { # Ratings schemes. The country-specific ratings are mostly for # Specifies the ratings that the video received under various rating schemes.
843 # movies and shows.
844 # LINT.IfChange
845 &quot;cscfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Luxembourg&#x27;s Commission de surveillance
846 # de la classification des films (CSCF).
847 &quot;icaaRating&quot;: &quot;A String&quot;, # The video&#x27;s Instituto de la Cinematograf&amp;iacute;a y de las Artes
848 # Audiovisuales (ICAA - Spain) rating.
849 &quot;mpaaRating&quot;: &quot;A String&quot;, # The video&#x27;s Motion Picture Association of America (MPAA) rating.
850 &quot;nbcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Maldives National Bureau of Classification.
851 &quot;oflcRating&quot;: &quot;A String&quot;, # The video&#x27;s Office of Film and Literature Classification
852 # (OFLC - New Zealand) rating.
Bu Sun Kim65020912020-05-20 12:08:20 -0700853 &quot;fcbmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Malaysia&#x27;s Film Censorship Board.
Bu Sun Kim65020912020-05-20 12:08:20 -0700854 &quot;fpbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from South Africa&#x27;s Film and Publication Board.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700855 &quot;djctqRating&quot;: &quot;A String&quot;, # The video&#x27;s Departamento de Justi&amp;ccedil;a, Classifica&amp;ccedil;&amp;atilde;o,
856 # Qualifica&amp;ccedil;&amp;atilde;o e T&amp;iacute;tulos (DJCQT - Brazil) rating.
857 &quot;mpaatRating&quot;: &quot;A String&quot;, # The rating system for trailer, DVD, and Ad in the US. See
858 # http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
859 &quot;chfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Switzerland.
860 &quot;nmcRating&quot;: &quot;A String&quot;, # The National Media Council ratings system for United Arab Emirates.
861 &quot;acbRating&quot;: &quot;A String&quot;, # The video&#x27;s Australian Classification Board (ACB) or Australian
862 # Communications and Media Authority (ACMA) rating. ACMA ratings are used
863 # to classify children&#x27;s television programming.
864 &quot;mccaaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Malta&#x27;s Film Age-Classification Board.
865 &quot;mibacRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Ministero dei Beni e delle Attivit&amp;agrave;
866 # Culturali e del Turismo (Italy).
867 &quot;catvfrRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Canadian Radio-Television and
868 # Telecommunications Commission (CRTC) for Canadian French-language
869 # broadcasts. For more information, see the
870 # &lt;a href=&quot;http://www.cbsc.ca/english/agvot/frenchsystem.php&quot;&gt;Canadian
871 # Broadcast Standards Council&lt;/a&gt; website.
872 &quot;moctwRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Taiwan&#x27;s Ministry of Culture
873 # (&amp;#25991;&amp;#21270;&amp;#37096;).
874 &quot;nkclvRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Nacion&amp;atilde;lais Kino centrs (National Film
875 # Centre of Latvia).
876 &quot;csaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from France&#x27;s Conseil sup&amp;eacute;rieur de
877 # l’audiovisuel, which rates broadcast content.
878 &quot;rteRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Ireland&#x27;s Raidi&amp;oacute; Teilif&amp;iacute;s
879 # &amp;Eacute;ireann.
880 &quot;ifcoRating&quot;: &quot;A String&quot;, # The video&#x27;s Irish Film Classification Office (IFCO - Ireland) rating.
881 # See the &lt;a
882 # href=&quot;http://www.ifco.ie/website/ifco/ifcoweb.nsf/web/classcatintro&quot;&gt;IFCO&lt;/a&gt;
883 # website for more information.
884 &quot;cceRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Portugal&#x27;s Comiss&amp;atilde;o de
885 # Classifica&amp;ccedil;&amp;atilde;o de Espect&amp;acute;culos.
886 &quot;ecbmctRating&quot;: &quot;A String&quot;, # Rating system in Turkey - Evaluation and Classification Board of the
887 # Ministry of Culture and Tourism
888 &quot;egfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Egypt.
889 &quot;eirinRating&quot;: &quot;A String&quot;, # The video&#x27;s Eirin (&amp;#26144;&amp;#20523;) rating.
890 # Eirin is the Japanese rating system.
891 &quot;ilfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Israel.
892 &quot;bmukkRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Austrian Board of Media Classification
893 # (Bundesministerium f&amp;uuml;r Unterricht, Kunst und Kultur).
Bu Sun Kim65020912020-05-20 12:08:20 -0700894 &quot;fpbRatingReasons&quot;: [ # Reasons that explain why the video received its FPB (South Africa) rating.
895 &quot;A String&quot;,
896 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700897 &quot;tvpgRating&quot;: &quot;A String&quot;, # The video&#x27;s TV Parental Guidelines (TVPG) rating.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700898 &quot;smaisRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Iceland.
899 &quot;mekuRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Finland&#x27;s Kansallinen Audiovisuaalinen Instituutti
900 # (National Audiovisual Institute).
901 &quot;smsaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Statens medier&amp;aring;d (Sweden&#x27;s National Media
902 # Council).
903 &quot;lsfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Indonesia&#x27;s Lembaga Sensor Film.
904 &quot;nbcplRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Poland.
Bu Sun Kim65020912020-05-20 12:08:20 -0700905 &quot;ytRating&quot;: &quot;A String&quot;, # A rating that YouTube uses to identify age-restricted content.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700906 &quot;czfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in the Czech Republic.
907 &quot;kijkwijzerRating&quot;: &quot;A String&quot;, # The video&#x27;s NICAM/Kijkwijzer rating from the Nederlands Instituut
908 # voor de Classificatie van Audiovisuele Media (Netherlands).
909 &quot;rcnofRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Hungarian Nemzeti Filmiroda, the Rating
910 # Committee of the National Office of Film.
911 &quot;cncRating&quot;: &quot;A String&quot;, # Rating system in France - Commission de classification cinematographique
912 &quot;cbfcRating&quot;: &quot;A String&quot;, # The video&#x27;s Central Board of Film Certification (CBFC - India) rating.
913 &quot;cicfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Commission de Contr&amp;ocirc;le des Films
914 # (Belgium).
915 &quot;fcoRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Hong Kong&#x27;s Office for Film, Newspaper
916 # and Article Administration.
917 &quot;catvRating&quot;: &quot;A String&quot;, # Rating system for Canadian TV - Canadian TV Classification System
918 # The video&#x27;s rating from the Canadian Radio-Television and
919 # Telecommunications Commission (CRTC) for Canadian English-language
920 # broadcasts. For more information, see the
921 # &lt;a href=&quot;http://www.cbsc.ca/english/agvot/englishsystem.php&quot;&gt;Canadian
922 # Broadcast Standards Council&lt;/a&gt; website.
923 &quot;resorteviolenciaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Venezuela.
924 &quot;russiaRating&quot;: &quot;A String&quot;, # The video&#x27;s National Film Registry of the Russian Federation
925 # (MKRF - Russia) rating.
926 &quot;kfcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Kenya Film Classification Board.
927 &quot;bfvcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Thailand&#x27;s Board of Film and Video Censors.
928 &quot;medietilsynetRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Medietilsynet, the Norwegian Media Authority.
929 &quot;djctqRatingReasons&quot;: [ # Reasons that explain why the video received its DJCQT (Brazil) rating.
Bu Sun Kim65020912020-05-20 12:08:20 -0700930 &quot;A String&quot;,
931 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700932 &quot;agcomRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Italy&#x27;s Autorit&amp;agrave; per le Garanzie nelle
933 # Comunicazioni (AGCOM).
934 &quot;pefilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Peru.
935 &quot;mcstRating&quot;: &quot;A String&quot;, # The video&#x27;s rating system for Vietnam - MCST
936 &quot;mccypRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Danish Film Institute&#x27;s (Det Danske
937 # Filminstitut) Media Council for Children and Young People.
938 &quot;grfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Greece.
939 &quot;bbfcRating&quot;: &quot;A String&quot;, # The video&#x27;s British Board of Film Classification (BBFC) rating.
940 &quot;menaMpaaRating&quot;: &quot;A String&quot;, # The rating system for MENA countries, a clone of MPAA. It is needed to
941 # prevent titles go live w/o additional QC check, since some of them can be
942 # inappropriate for the countries at all. See b/33408548 for more details.
943 &quot;chvrsRating&quot;: &quot;A String&quot;, # The video&#x27;s Canadian Home Video Rating System (CHVRS) rating.
944 &quot;mdaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Singapore&#x27;s Media Development Authority (MDA) and,
945 # specifically, it&#x27;s Board of Film Censors (BFC).
946 &quot;kmrbRating&quot;: &quot;A String&quot;, # The video&#x27;s Korea Media Rating Board
947 # (&amp;#50689;&amp;#49345;&amp;#47932;&amp;#46321;&amp;#44553;&amp;#50948;&amp;#50896;&amp;#54924;) rating.
948 # The KMRB rates videos in South Korea.
949 &quot;nfrcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the &lt;a href=&quot;http://www.nfc.bg/&quot;&gt;Bulgarian
950 # National Film Center&lt;/a&gt;.
951 &quot;fmocRating&quot;: &quot;A String&quot;, # &lt;span class=&quot;deprecated&quot;&gt;This property has been deprecated. Use the
952 # &lt;code&gt;&lt;a
953 # href=&quot;#contentDetails.contentRating.cncRating&quot;&gt;contentDetails.contentRating.cncRating&lt;/a&gt;&lt;/code&gt;
954 # instead.&lt;/span&gt;
955 &quot;eefilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Estonia.
956 &quot;cnaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Romania&#x27;s CONSILIUL NATIONAL AL AUDIOVIZUALULUI
957 # (CNA).
958 &quot;fskRating&quot;: &quot;A String&quot;, # The video&#x27;s Freiwillige Selbstkontrolle der Filmwirtschaft
959 # (FSK - Germany) rating.
960 &quot;skfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Slovakia.
961 &quot;incaaRating&quot;: &quot;A String&quot;, # The video&#x27;s INCAA (Instituto Nacional de Cine y Artes Audiovisuales -
962 # Argentina) rating.
963 &quot;mocRating&quot;: &quot;A String&quot;, # The video&#x27;s Ministerio de Cultura (Colombia) rating.
964 &quot;rtcRating&quot;: &quot;A String&quot;, # The video&#x27;s General Directorate of Radio, Television and Cinematography
965 # (Mexico) rating.
966 &quot;anatelRating&quot;: &quot;A String&quot;, # The video&#x27;s Anatel (Asociaci&amp;oacute;n Nacional de Televisi&amp;oacute;n)
967 # rating for Chilean television.
968 &quot;mtrcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Movie and Television Review and
969 # Classification Board (Philippines).
970 &quot;cccRating&quot;: &quot;A String&quot;, # The video&#x27;s Consejo de Calificaci&amp;oacute;n Cinematogr&amp;aacute;fica (Chile)
971 # rating.
972 &quot;nfvcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Nigeria&#x27;s National Film and Video Censors Board.
Bu Sun Kim65020912020-05-20 12:08:20 -0700973 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700974 &quot;projection&quot;: &quot;A String&quot;, # Specifies the projection format of the video.
Bu Sun Kim65020912020-05-20 12:08:20 -0700975 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700976 &quot;projectDetails&quot;: { # Project specific details about the content of a YouTube Video. # The &lt;code&gt;projectDetails&lt;/code&gt; object contains information about the
977 # project specific video metadata.
Bu Sun Kim65020912020-05-20 12:08:20 -0700978 &quot;tags&quot;: [ # A list of project tags associated with the video during the upload.
979 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400980 ],
981 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700982 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the video.
983 &quot;localizations&quot;: { # The &lt;code&gt;localizations&lt;/code&gt; object contains localized versions of the
984 # basic details about the video, such as its title and description.
985 &quot;a_key&quot;: { # Localized versions of certain video properties (e.g. title).
Bu Sun Kim65020912020-05-20 12:08:20 -0700986 &quot;title&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s title.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700987 &quot;description&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s description.
Bu Sun Kim65020912020-05-20 12:08:20 -0700988 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700989 },
990 &quot;monetizationDetails&quot;: { # Details about monetization of a YouTube Video. # The &lt;code&gt;monetizationDetails&lt;/code&gt; object encapsulates information
991 # about the monetization status of the video.
992 &quot;access&quot;: { # Rights management policy for YouTube resources. # The value of &lt;code&gt;access&lt;/code&gt; indicates whether the video can be
993 # monetized or not.
994 &quot;exception&quot;: [ # A list of region codes that identify countries where the default policy do
995 # not apply.
996 &quot;A String&quot;,
997 ],
998 &quot;allowed&quot;: True or False, # The value of &lt;code&gt;allowed&lt;/code&gt; indicates whether the access to the
999 # policy is allowed or denied by default.
1000 },
1001 },
1002 &quot;status&quot;: { # Basic details about a video category, such as its localized title. # The &lt;code&gt;status&lt;/code&gt; object contains information about the video&#x27;s
1003 # uploading, processing, and privacy statuses.
1004 # Next Id: 17
1005 &quot;failureReason&quot;: &quot;A String&quot;, # This value explains why a video failed to upload. This property is
1006 # only present if the &lt;code&gt;uploadStatus&lt;/code&gt; property indicates that
1007 # the upload failed.
1008 &quot;privacyStatus&quot;: &quot;A String&quot;, # The video&#x27;s privacy status.
1009 &quot;selfDeclaredMadeForKids&quot;: True or False,
1010 &quot;rejectionReason&quot;: &quot;A String&quot;, # This value explains why YouTube rejected an uploaded video. This
1011 # property is only present if the &lt;code&gt;uploadStatus&lt;/code&gt; property
1012 # indicates that the upload was rejected.
1013 &quot;embeddable&quot;: True or False, # This value indicates if the video can be embedded on another website.
1014 # @mutable youtube.videos.insert youtube.videos.update
1015 &quot;publishAt&quot;: &quot;A String&quot;, # The date and time when the video is scheduled to publish. It can be set
1016 # only if the privacy status of the video is private. The value is specified
1017 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1018 # format.
1019 &quot;madeForKids&quot;: True or False,
1020 &quot;license&quot;: &quot;A String&quot;, # The video&#x27;s license.
1021 # @mutable youtube.videos.insert youtube.videos.update
1022 &quot;publicStatsViewable&quot;: True or False, # This value indicates if the extended video statistics on the watch page
1023 # can be viewed by everyone. Note that the view count, likes, etc will still
1024 # be visible if this is disabled.
1025 # @mutable youtube.videos.insert youtube.videos.update
1026 &quot;uploadStatus&quot;: &quot;A String&quot;, # The status of the uploaded video.
1027 },
1028 &quot;statistics&quot;: { # Statistics about the video, such as the number of times the video was viewed # The &lt;code&gt;statistics&lt;/code&gt; object contains statistics about the video.
1029 # or liked.
1030 &quot;likeCount&quot;: &quot;A String&quot;, # The number of users who have indicated that they liked the video by
1031 # giving it a positive rating.
1032 &quot;dislikeCount&quot;: &quot;A String&quot;, # The number of users who have indicated that they disliked the video by
1033 # giving it a negative rating.
1034 &quot;favoriteCount&quot;: &quot;A String&quot;, # The number of users who currently have the video marked as a favorite
1035 # video.
1036 &quot;commentCount&quot;: &quot;A String&quot;, # The number of comments for the video.
1037 &quot;viewCount&quot;: &quot;A String&quot;, # The number of times the video has been viewed.
1038 },
1039 &quot;snippet&quot;: { # Basic details about a video, including title, description, uploader, # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the video,
1040 # such as its title, description, and category.
1041 # thumbnails and category.
1042 &quot;localized&quot;: { # Localized versions of certain video properties (e.g. title). # Localized snippet selected with the hl parameter. If no such localization
1043 # exists, this field is populated with the default snippet. (Read-only)
1044 &quot;title&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s title.
1045 &quot;description&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s description.
1046 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001047 &quot;tags&quot;: [ # A list of keyword tags associated with the video. Tags may contain spaces.
1048 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04001049 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001050 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the videos&#x27;s default snippet.
1051 &quot;title&quot;: &quot;A String&quot;, # The video&#x27;s title.
1052 # @mutable youtube.videos.insert youtube.videos.update
1053 &quot;liveBroadcastContent&quot;: &quot;A String&quot;, # Indicates if the video is an upcoming/active live broadcast.
1054 # Or it&#x27;s &quot;none&quot; if the video is not an upcoming/active live broadcast.
1055 &quot;description&quot;: &quot;A String&quot;, # The video&#x27;s description.
1056 # @mutable youtube.videos.insert youtube.videos.update
1057 &quot;channelTitle&quot;: &quot;A String&quot;, # Channel title for the channel that the video belongs to.
1058 &quot;defaultAudioLanguage&quot;: &quot;A String&quot;, # The &lt;code&gt;default_audio_language&lt;/code&gt; property specifies the language
1059 # spoken in the video&#x27;s default audio track.
1060 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that the
1061 # video was uploaded to.
1062 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the video. For each object in the
1063 # map, the key is the name of the thumbnail image, and the value is an object
1064 # that contains other information about the thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -07001065 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001066 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001067 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1068 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
Bu Sun Kim65020912020-05-20 12:08:20 -07001069 },
1070 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001071 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001072 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1073 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1074 },
1075 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
1076 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1077 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1078 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1079 },
1080 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
1081 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1082 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1083 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1084 },
1085 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
1086 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1087 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1088 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
Bu Sun Kim65020912020-05-20 12:08:20 -07001089 },
1090 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001091 &quot;categoryId&quot;: &quot;A String&quot;, # The YouTube &lt;a href=&quot;/youtube/v3/docs/videoCategories/list&quot;&gt;video
1092 # category&lt;/a&gt; associated with the video.
1093 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the video was uploaded. The value is specified
1094 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1095 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -07001096 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001097 &quot;processingDetails&quot;: { # Describes processing status and progress and availability of some other Video # The &lt;code&gt;processingDetails&lt;/code&gt; object encapsulates information about
1098 # YouTube&#x27;s progress in processing the uploaded video file. The properties
1099 # in the object identify the current processing status and an estimate of
1100 # the time remaining until YouTube finishes processing the video. This part
1101 # also indicates whether different types of data or content, such as file
1102 # details or thumbnail images, are available for the video.&lt;br&gt;&lt;br&gt;
1103 # The &lt;code&gt;processingProgress&lt;/code&gt; object is designed to be polled so
1104 # that the video uploaded can track the progress that YouTube has made in
1105 # processing the uploaded video file. This data can only be retrieved by
1106 # the video owner.
1107 # resource parts.
1108 &quot;fileDetailsAvailability&quot;: &quot;A String&quot;, # This value indicates whether file details are available for the uploaded
1109 # video. You can retrieve a video&#x27;s file details by requesting the
1110 # &lt;code&gt;fileDetails&lt;/code&gt; part in your &lt;code&gt;videos.list()&lt;/code&gt; request.
1111 &quot;processingFailureReason&quot;: &quot;A String&quot;, # The reason that YouTube failed to process the video. This property will
1112 # only have a value if the &lt;code&gt;processingStatus&lt;/code&gt;
1113 # property&#x27;s value is &lt;code&gt;failed&lt;/code&gt;.
1114 &quot;editorSuggestionsAvailability&quot;: &quot;A String&quot;, # This value indicates whether video editing suggestions, which might
1115 # improve video quality or the playback experience, are available for
1116 # the video. You can retrieve these suggestions by requesting the
1117 # &lt;code&gt;suggestions&lt;/code&gt; part in your &lt;code&gt;videos.list()&lt;/code&gt; request.
1118 &quot;tagSuggestionsAvailability&quot;: &quot;A String&quot;, # This value indicates whether keyword (tag) suggestions are available for
1119 # the video. Tags can be added to a video&#x27;s metadata to make it easier for
1120 # other users to find the video. You can retrieve these suggestions by
1121 # requesting the &lt;code&gt;suggestions&lt;/code&gt; part in your
1122 # &lt;code&gt;videos.list()&lt;/code&gt; request.
1123 &quot;processingProgress&quot;: { # Video processing progress and completion time estimate. # The &lt;code&gt;processingProgress&lt;/code&gt; object contains information about the
1124 # progress YouTube has made in processing the video. The values are really
1125 # only relevant if the video&#x27;s processing status is &lt;code&gt;processing&lt;/code&gt;.
1126 &quot;timeLeftMs&quot;: &quot;A String&quot;, # An estimate of the amount of time, in millseconds, that YouTube needs
1127 # to finish processing the video.
1128 &quot;partsProcessed&quot;: &quot;A String&quot;, # The number of parts of the video that YouTube has already processed.
1129 # You can estimate the percentage of the video that YouTube has already
1130 # processed by calculating:&lt;br&gt;
1131 # &lt;code&gt;100 * parts_processed / parts_total&lt;/code&gt;&lt;br&gt;&lt;br&gt;
1132 # Note that since the estimated number of parts could increase without
1133 # a corresponding increase in the number of parts that have already been
1134 # processed, it is possible that the calculated progress could
1135 # periodically decrease while YouTube processes a video.
1136 &quot;partsTotal&quot;: &quot;A String&quot;, # An estimate of the total number of parts that need to be processed
1137 # for the video. The number may be updated with more precise estimates
1138 # while YouTube processes the video.
1139 },
1140 &quot;thumbnailsAvailability&quot;: &quot;A String&quot;, # This value indicates whether thumbnail images have been generated for
1141 # the video.
1142 &quot;processingIssuesAvailability&quot;: &quot;A String&quot;, # This value indicates whether the video processing engine has generated
1143 # suggestions that might improve YouTube&#x27;s ability to process the
1144 # the video, warnings that explain video processing problems, or
1145 # errors that cause video processing problems. You can retrieve these
1146 # suggestions by requesting the &lt;code&gt;suggestions&lt;/code&gt; part in your
1147 # &lt;code&gt;videos.list()&lt;/code&gt; request.
1148 &quot;processingStatus&quot;: &quot;A String&quot;, # The video&#x27;s processing status. This value indicates whether YouTube was
1149 # able to process the video or if the video is still being processed.
Bu Sun Kim65020912020-05-20 12:08:20 -07001150 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001151 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
1152 &quot;player&quot;: { # Player to be used for a video playback. # The &lt;code&gt;player&lt;/code&gt; object contains information that you would use to
1153 # play the video in an embedded player.
1154 &quot;embedWidth&quot;: &quot;A String&quot;, # The embed width
1155 &quot;embedHeight&quot;: &quot;A String&quot;,
1156 &quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; tag that embeds a player that will
1157 # play the video.
Bu Sun Kim65020912020-05-20 12:08:20 -07001158 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001159 &quot;liveStreamingDetails&quot;: { # Details about the live streaming metadata. # The &lt;code&gt;liveStreamingDetails&lt;/code&gt; object contains metadata about a live
1160 # video broadcast. The object will only be present in a &lt;code&gt;video&lt;/code&gt;
1161 # resource if the video is an upcoming, live, or completed live broadcast.
1162 &quot;activeLiveChatId&quot;: &quot;A String&quot;, # The ID of the currently active live chat attached to this video. This
1163 # field is filled only if the video is a currently live broadcast that has
1164 # live chat. Once the broadcast transitions to complete this field will be
1165 # removed and the live chat closed down. For persistent broadcasts that live
1166 # chat id will no longer be tied to this video but rather to the new video
1167 # being displayed at the persistent page.
1168 &quot;concurrentViewers&quot;: &quot;A String&quot;, # The number of viewers currently watching the broadcast. The property and
1169 # its value will be present if the broadcast has current viewers and the
1170 # broadcast owner has not hidden the viewcount for the video. Note that
1171 # YouTube stops tracking the number of concurrent viewers for a broadcast
1172 # when the broadcast ends. So, this property would not identify the number
1173 # of viewers watching an archived video of a live broadcast that already
1174 # ended.
1175 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The time that the broadcast is scheduled to end. The value is specified
1176 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1177 # format. If the value is empty or
1178 # the property is not present, then the broadcast is scheduled to continue
1179 # indefinitely.
1180 &quot;actualStartTime&quot;: &quot;A String&quot;, # The time that the broadcast actually started. The value is specified
1181 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1182 # format. This value will not be
1183 # available until the broadcast begins.
1184 &quot;actualEndTime&quot;: &quot;A String&quot;, # The time that the broadcast actually ended. The value is specified
1185 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1186 # format. This value will not be
1187 # available until the broadcast is over.
1188 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The time that the broadcast is scheduled to begin. The value is specified
1189 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1190 # format.
1191 },
1192 &quot;topicDetails&quot;: { # Freebase topic information related to the video. # The &lt;code&gt;topicDetails&lt;/code&gt; object encapsulates information about &lt;a
1193 # href=&quot;http://www.freebase.com&quot;&gt;Freebase&lt;/a&gt; topics associated with the
1194 # video.
1195 &quot;topicCategories&quot;: [ # A list of Wikipedia URLs that provide a high-level description of the
1196 # video&#x27;s content.
Bu Sun Kim65020912020-05-20 12:08:20 -07001197 &quot;A String&quot;,
1198 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001199 &quot;relevantTopicIds&quot;: [ # Similar to topic_id, except that these topics are merely relevant to the
1200 # video. These are topics that may be mentioned in, or appear in the video.
1201 # You can retrieve information about each topic using &lt;a
1202 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -07001203 &quot;A String&quot;,
1204 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001205 &quot;topicIds&quot;: [ # A list of Freebase topic IDs that are centrally associated with the video.
1206 # These are topics that are centrally featured in the video, and it can be
1207 # said that the video is mainly about each of these. You can retrieve
1208 # information about each topic using the &lt; a
1209 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -07001210 &quot;A String&quot;,
1211 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001212 },
1213 &quot;fileDetails&quot;: { # Describes original video file properties, including technical details about # The &lt;code&gt;fileDetails&lt;/code&gt; object encapsulates information about the
1214 # video file that was uploaded to YouTube, including the file&#x27;s resolution,
1215 # duration, audio and video codecs, stream bitrates, and more. This data can
1216 # only be retrieved by the video owner.
1217 # audio and video streams, but also metadata information like content length,
1218 # digitization time, or geotagging information.
1219 &quot;fileName&quot;: &quot;A String&quot;, # The uploaded file&#x27;s name. This field is present whether a video file or
1220 # another type of file was uploaded.
1221 &quot;videoStreams&quot;: [ # A list of video streams contained in the uploaded video file. Each item
1222 # in the list contains detailed metadata about a video stream.
1223 { # Information about a video stream.
1224 &quot;bitrateBps&quot;: &quot;A String&quot;, # The video stream&#x27;s bitrate, in bits per second.
1225 &quot;heightPixels&quot;: 42, # The encoded video content&#x27;s height in pixels.
1226 &quot;vendor&quot;: &quot;A String&quot;, # A value that uniquely identifies a video vendor. Typically, the value is
1227 # a four-letter vendor code.
1228 &quot;rotation&quot;: &quot;A String&quot;, # The amount that YouTube needs to rotate the original source content
1229 # to properly display the video.
1230 &quot;codec&quot;: &quot;A String&quot;, # The video codec that the stream uses.
1231 &quot;frameRateFps&quot;: 3.14, # The video stream&#x27;s frame rate, in frames per second.
1232 &quot;aspectRatio&quot;: 3.14, # The video content&#x27;s display aspect ratio, which specifies the aspect
1233 # ratio in which the video should be displayed.
1234 &quot;widthPixels&quot;: 42, # The encoded video content&#x27;s width in pixels. You can calculate the
1235 # video&#x27;s encoding aspect ratio as
1236 # &lt;code&gt;width_pixels&lt;/code&gt;&amp;nbsp;/&amp;nbsp;&lt;code&gt;height_pixels&lt;/code&gt;.
John Asmuth614db982014-04-24 15:46:26 -04001237 },
1238 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001239 &quot;audioStreams&quot;: [ # A list of audio streams contained in the uploaded video file. Each item
1240 # in the list contains detailed metadata about an audio stream.
1241 { # Information about an audio stream.
1242 &quot;codec&quot;: &quot;A String&quot;, # The audio codec that the stream uses.
1243 &quot;channelCount&quot;: 42, # The number of audio channels that the stream contains.
1244 &quot;vendor&quot;: &quot;A String&quot;, # A value that uniquely identifies a video vendor. Typically, the value
1245 # is a four-letter vendor code.
1246 &quot;bitrateBps&quot;: &quot;A String&quot;, # The audio stream&#x27;s bitrate, in bits per second.
1247 },
1248 ],
1249 &quot;bitrateBps&quot;: &quot;A String&quot;, # The uploaded video file&#x27;s combined (video and audio) bitrate in bits
1250 # per second.
1251 &quot;durationMs&quot;: &quot;A String&quot;, # The length of the uploaded video in milliseconds.
1252 &quot;fileType&quot;: &quot;A String&quot;, # The uploaded file&#x27;s type as detected by YouTube&#x27;s video processing
1253 # engine. Currently, YouTube only processes video files, but this field
1254 # is present whether a video file or another type of file was uploaded.
1255 &quot;fileSize&quot;: &quot;A String&quot;, # The uploaded file&#x27;s size in bytes. This field is present whether
1256 # a video file or another type of file was uploaded.
1257 &quot;container&quot;: &quot;A String&quot;, # The uploaded video file&#x27;s container format.
1258 &quot;creationTime&quot;: &quot;A String&quot;, # The date and time when the uploaded video file was created. The value is
1259 # specified in &lt;a href=&quot;http://www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1260 # format. Currently, the following ISO 8601 formats are supported:
1261 # &lt;ul&gt;
1262 # &lt;li&gt;Date only: &lt;code&gt;YYYY-MM-DD&lt;/code&gt;&lt;/li&gt;
1263 # &lt;li&gt;Naive time: &lt;code&gt;YYYY-MM-DDTHH:MM:SS&lt;/code&gt;&lt;/li&gt;
1264 # &lt;li&gt;Time with timezone: &lt;code&gt;YYYY-MM-DDTHH:MM:SS+HH:MM&lt;/code&gt;&lt;/li&gt;
1265 # &lt;/ul&gt;
John Asmuth614db982014-04-24 15:46:26 -04001266 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001267 &quot;ageGating&quot;: { # Age restriction details related to a video. This data can only be retrieved
1268 # by the video owner.
1269 &quot;videoGameRating&quot;: &quot;A String&quot;, # Video game rating, if any.
1270 &quot;alcoholContent&quot;: True or False, # Indicates whether or not the video has alcoholic beverage content. Only
1271 # users of legal purchasing age in a particular country, as identified by
1272 # ICAP, can view the content.
1273 &quot;restricted&quot;: True or False, # Age-restricted trailers. For redband trailers and adult-rated video-games.
1274 # Only users aged 18+ can view the content. The the field is
1275 # &lt;code&gt;true&lt;/code&gt; the content is restricted to viewers aged 18+. Otherwise
1276 # The field won&#x27;t be present.
1277 },
1278 &quot;kind&quot;: &quot;youtube#video&quot;, # Identifies what kind of resource this is. Value: the fixed string
1279 # &lt;code&gt;&quot;youtube#video&quot;&lt;/code&gt;.
1280 &quot;suggestions&quot;: { # Specifies suggestions on how to improve video content, # The &lt;code&gt;suggestions&lt;/code&gt; object encapsulates suggestions that identify
1281 # opportunities to improve the video quality or the metadata for the uploaded
1282 # video. This data can only be retrieved by the video owner.
1283 # including encoding hints, tag suggestions, and editor suggestions.
1284 &quot;processingHints&quot;: [ # A list of suggestions that may improve YouTube&#x27;s ability to process the
1285 # video.
Bu Sun Kim65020912020-05-20 12:08:20 -07001286 &quot;A String&quot;,
1287 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001288 &quot;tagSuggestions&quot;: [ # A list of keyword tags that could be added to the video&#x27;s metadata to
1289 # increase the likelihood that users will locate your video when searching
1290 # or browsing on YouTube.
1291 { # A single tag suggestion with it&#x27;s relevance information.
1292 &quot;tag&quot;: &quot;A String&quot;, # The keyword tag suggested for the video.
1293 &quot;categoryRestricts&quot;: [ # A set of video categories for which the tag is relevant. You can use this
1294 # information to display appropriate tag suggestions based on the video
1295 # category that the video uploader associates with the video. By default,
1296 # tag suggestions are relevant for all categories if there are no restricts
1297 # defined for the keyword.
1298 &quot;A String&quot;,
1299 ],
1300 },
1301 ],
1302 &quot;processingErrors&quot;: [ # A list of errors that will prevent YouTube from successfully processing
1303 # the uploaded video video. These errors indicate that, regardless of the
1304 # video&#x27;s current &lt;a href=&quot;#processingProgress.processingStatus&quot;&gt;processing
1305 # status&lt;/a&gt;, eventually, that status will almost certainly be
1306 # &lt;code&gt;failed&lt;/code&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -07001307 &quot;A String&quot;,
1308 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001309 &quot;editorSuggestions&quot;: [ # A list of video editing operations that might improve the video quality
1310 # or playback experience of the uploaded video.
1311 &quot;A String&quot;,
1312 ],
1313 &quot;processingWarnings&quot;: [ # A list of reasons why YouTube may have difficulty transcoding the
1314 # uploaded video or that might result in an erroneous transcoding.
1315 # These warnings are generated before YouTube actually processes the
1316 # uploaded video file. In addition, they identify issues that are unlikely
1317 # to cause the video processing to fail but that might cause problems
1318 # such as sync issues, video artifacts, or a missing audio track.
Bu Sun Kim65020912020-05-20 12:08:20 -07001319 &quot;A String&quot;,
1320 ],
Craig Citroe633be12015-03-02 13:40:36 -08001321 },
John Asmuth614db982014-04-24 15:46:26 -04001322 }</pre>
1323</div>
1324
1325<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001326 <code class="details" id="list">list(part, myRating=None, locale=None, chart=None, videoCategoryId=None, maxWidth=None, regionCode=None, maxHeight=None, id=None, maxResults=None, onBehalfOfContentOwner=None, hl=None, pageToken=None, x__xgafv=None)</code>
1327 <pre>Retrieves a list of resources, possibly filtered.
John Asmuth614db982014-04-24 15:46:26 -04001328
1329Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001330 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter specifies a
1331comma-separated list of one or more &lt;code&gt;video&lt;/code&gt; resource properties
1332that the API response will include.&lt;br&gt;&lt;br&gt;If the parameter identifies a
1333property that contains child properties, the child properties will be
1334included in the response. For example, in a &lt;code&gt;video&lt;/code&gt; resource,
1335the &lt;code&gt;snippet&lt;/code&gt; property contains the &lt;code&gt;channelId&lt;/code&gt;,
1336&lt;code&gt;title&lt;/code&gt;, &lt;code&gt;description&lt;/code&gt;, &lt;code&gt;tags&lt;/code&gt;, and
1337&lt;code&gt;categoryId&lt;/code&gt; properties. As such, if you set
1338&lt;code&gt;&lt;strong&gt;part=snippet&lt;/strong&gt;&lt;/code&gt;, the API response will contain
1339all of those properties. (required) (repeated)
1340 myRating: string, Return videos liked/disliked by the authenticated user.
1341Does not support RateType.RATED_TYPE_NONE.
1342 locale: string, A parameter
1343 chart: string, Return the videos that are in the specified chart.
1344 videoCategoryId: string, Use chart that is specific to the specified video category
1345 maxWidth: integer, Return the player with maximum height specified in
1346 regionCode: string, Use a chart that is specific to the specified region
1347 maxHeight: integer, A parameter
1348 id: string, Return videos with the given ids. (repeated)
1349 maxResults: integer, The &lt;code&gt;&lt;strong&gt;maxResults&lt;/strong&gt;&lt;/code&gt; parameter specifies the
1350maximum number of items that should be returned in the result
1351set.&lt;br&gt;&lt;br&gt;&lt;strong&gt;Note:&lt;/strong&gt; This parameter is supported for use in
1352conjunction with the &lt;code&gt;&lt;a href=&quot;#myRating&quot;&gt;myRating&lt;/a&gt;&lt;/code&gt; and
1353&lt;code&gt;&lt;a href=&quot;#chart&quot;&gt;chart&lt;/a&gt;&lt;/code&gt; parameters, but it is not supported
1354for use in conjunction with the &lt;code&gt;&lt;a href=&quot;#id&quot;&gt;id&lt;/a&gt;&lt;/code&gt;
1355parameter.
1356 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
1357content partners.&lt;br&gt;&lt;br&gt;The
1358&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
1359that the
1360request&#x27;s authorization credentials identify a YouTube CMS user who is
1361acting on behalf of the content owner specified in the parameter value.
1362This parameter is intended for YouTube content partners that own and manage
1363many different YouTube channels. It allows content owners to authenticate
1364once and get access to all their video and channel data, without having to
1365provide authentication credentials for each individual channel. The CMS
1366account that the user authenticates with must be linked to the specified
1367YouTube content owner.
1368 hl: string, Stands for &quot;host language&quot;. Specifies the localization language of the
1369metadata to be filled into snippet.localized. The field is filled with the
1370default metadata if there is no localization in the specified language.
1371The parameter value must be a language code included in the list returned
1372by the i18nLanguages.list method (e.g. en_US, es_MX).
1373 pageToken: string, The &lt;code&gt;&lt;strong&gt;pageToken&lt;/strong&gt;&lt;/code&gt; parameter identifies a specific
1374page in the result set that should be returned. In an API response, the
1375&lt;code&gt;nextPageToken&lt;/code&gt; and &lt;code&gt;prevPageToken&lt;/code&gt; properties
1376identify other pages that could be retrieved.&lt;br&gt;&lt;br&gt;&lt;strong&gt;Note:&lt;/strong&gt;
1377This parameter is supported for use in conjunction with the &lt;code&gt;&lt;a
1378href=&quot;#myRating&quot;&gt;myRating&lt;/a&gt;&lt;/code&gt; and &lt;code&gt;&lt;a
1379href=&quot;#chart&quot;&gt;chart&lt;/a&gt;&lt;/code&gt; parameters, but it is not supported for use
1380in conjunction with the &lt;code&gt;&lt;a href=&quot;#id&quot;&gt;id&lt;/a&gt;&lt;/code&gt; parameter.
1381 x__xgafv: string, V1 error format.
Craig Citroe633be12015-03-02 13:40:36 -08001382 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001383 1 - v1 error format
1384 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -04001385
1386Returns:
1387 An object of the form:
1388
1389 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001390 &quot;tokenPagination&quot;: { # Stub token pagination template to suppress results.
1391 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001392 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001393 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the &lt;code&gt;pageToken&lt;/code&gt;
1394 # parameter to retrieve the next page in the result set.
Bu Sun Kim65020912020-05-20 12:08:20 -07001395 &quot;eventId&quot;: &quot;A String&quot;, # Serialized EventId of the request which produced this response.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001396 &quot;kind&quot;: &quot;youtube#videoListResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string
1397 # &lt;code&gt;&quot;youtube#videoListResponse&quot;&lt;/code&gt;.
1398 &quot;items&quot;: [
1399 { # A &lt;code&gt;&lt;strong&gt;video&lt;/strong&gt;&lt;/code&gt; resource represents a YouTube video.
1400 &quot;recordingDetails&quot;: { # Recording information associated with the video. # The &lt;code&gt;recordingDetails&lt;/code&gt; object encapsulates information about the
1401 # location, date and address where the video was recorded.
1402 &quot;locationDescription&quot;: &quot;A String&quot;, # The text description of the location where the video was recorded.
1403 &quot;recordingDate&quot;: &quot;A String&quot;, # The date and time when the video was recorded. The value is specified in &lt;a
1404 # href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1405 # (&lt;code&gt;YYYY-MM-DDThh:mm:ss.sssZ&lt;/code&gt;) format.
1406 &quot;location&quot;: { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
1407 &quot;latitude&quot;: 3.14, # Latitude in degrees.
1408 &quot;longitude&quot;: 3.14, # Longitude in degrees.
1409 &quot;altitude&quot;: 3.14, # Altitude above the reference ellipsoid, in meters.
1410 },
John Asmuth614db982014-04-24 15:46:26 -04001411 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001412 &quot;contentDetails&quot;: { # Details about the content of a YouTube Video. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the video
1413 # content, including the length of the video and its aspect ratio.
1414 &quot;dimension&quot;: &quot;A String&quot;, # The value of &lt;code&gt;dimension&lt;/code&gt; indicates whether the video is
1415 # available in 3D or in 2D.
1416 &quot;caption&quot;: &quot;A String&quot;, # The value of &lt;code&gt;captions&lt;/code&gt; indicates whether the video
1417 # has captions or not.
1418 &quot;duration&quot;: &quot;A String&quot;, # The length of the video. The tag value is an &lt;a
1419 # href=&quot;//en.wikipedia.org/wiki/ISO_8601#Durations&quot;&gt;ISO 8601&lt;/a&gt; duration in
1420 # the format &lt;code&gt;PT#M#S&lt;/code&gt;, in which the letters &lt;code&gt;PT&lt;/code&gt;
1421 # indicate that the value specifies a period of time, and the letters
1422 # &lt;code&gt;M&lt;/code&gt; and &lt;code&gt;S&lt;/code&gt; refer to length in minutes and seconds,
1423 # respectively. The &lt;code&gt;#&lt;/code&gt; characters preceding the &lt;code&gt;M&lt;/code&gt;
1424 # and &lt;code&gt;S&lt;/code&gt; letters are both integers that specify the number of
1425 # minutes (or seconds) of the video. For example, a value of
1426 # &lt;code&gt;PT15M51S&lt;/code&gt; indicates that the video is 15 minutes and 51 seconds
1427 # long.
1428 &quot;hasCustomThumbnail&quot;: True or False, # Indicates whether the video uploader has provided a custom
1429 # thumbnail image for the video.
1430 # This property is only visible to the video uploader.
1431 &quot;regionRestriction&quot;: { # DEPRECATED Region restriction of the video. # The &lt;code&gt;regionRestriction&lt;/code&gt; object contains information about the
1432 # countries where a video is (or is not) viewable. The object will contain
1433 # either the &lt;code&gt;contentDetails.regionRestriction.allowed&lt;/code&gt; property
1434 # or the &lt;code&gt;contentDetails.regionRestriction.blocked&lt;/code&gt; property.
1435 &quot;allowed&quot;: [ # A list of region codes that identify countries where the video is
1436 # viewable. If this property is present and a country is not listed
1437 # in its value, then the video is blocked from appearing in that
1438 # country. If this property is present and contains an empty list,
1439 # the video is blocked in all countries.
Bu Sun Kim65020912020-05-20 12:08:20 -07001440 &quot;A String&quot;,
1441 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001442 &quot;blocked&quot;: [ # A list of region codes that identify countries where the video is
1443 # blocked. If this property is present and a country is not listed in
1444 # its value, then the video is viewable in that country. If this
1445 # property is present and contains an empty list, the video is
1446 # viewable in all countries.
1447 &quot;A String&quot;,
1448 ],
1449 },
1450 &quot;licensedContent&quot;: True or False, # The value of &lt;code&gt;is_license_content&lt;/code&gt; indicates whether the video is
1451 # licensed content.
1452 &quot;countryRestriction&quot;: { # Rights management policy for YouTube resources. # The &lt;code&gt;countryRestriction&lt;/code&gt; object contains information about the
1453 # countries where a video is (or is not) viewable.
1454 &quot;exception&quot;: [ # A list of region codes that identify countries where the default policy do
1455 # not apply.
1456 &quot;A String&quot;,
1457 ],
1458 &quot;allowed&quot;: True or False, # The value of &lt;code&gt;allowed&lt;/code&gt; indicates whether the access to the
1459 # policy is allowed or denied by default.
1460 },
1461 &quot;definition&quot;: &quot;A String&quot;, # The value of &lt;code&gt;definition&lt;/code&gt; indicates whether the video is
1462 # available in high definition or only in standard definition.
1463 &quot;contentRating&quot;: { # Ratings schemes. The country-specific ratings are mostly for # Specifies the ratings that the video received under various rating schemes.
1464 # movies and shows.
1465 # LINT.IfChange
1466 &quot;cscfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Luxembourg&#x27;s Commission de surveillance
1467 # de la classification des films (CSCF).
1468 &quot;icaaRating&quot;: &quot;A String&quot;, # The video&#x27;s Instituto de la Cinematograf&amp;iacute;a y de las Artes
1469 # Audiovisuales (ICAA - Spain) rating.
1470 &quot;mpaaRating&quot;: &quot;A String&quot;, # The video&#x27;s Motion Picture Association of America (MPAA) rating.
1471 &quot;nbcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Maldives National Bureau of Classification.
1472 &quot;oflcRating&quot;: &quot;A String&quot;, # The video&#x27;s Office of Film and Literature Classification
1473 # (OFLC - New Zealand) rating.
Bu Sun Kim65020912020-05-20 12:08:20 -07001474 &quot;fcbmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Malaysia&#x27;s Film Censorship Board.
Bu Sun Kim65020912020-05-20 12:08:20 -07001475 &quot;fpbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from South Africa&#x27;s Film and Publication Board.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001476 &quot;djctqRating&quot;: &quot;A String&quot;, # The video&#x27;s Departamento de Justi&amp;ccedil;a, Classifica&amp;ccedil;&amp;atilde;o,
1477 # Qualifica&amp;ccedil;&amp;atilde;o e T&amp;iacute;tulos (DJCQT - Brazil) rating.
1478 &quot;mpaatRating&quot;: &quot;A String&quot;, # The rating system for trailer, DVD, and Ad in the US. See
1479 # http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
1480 &quot;chfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Switzerland.
1481 &quot;nmcRating&quot;: &quot;A String&quot;, # The National Media Council ratings system for United Arab Emirates.
1482 &quot;acbRating&quot;: &quot;A String&quot;, # The video&#x27;s Australian Classification Board (ACB) or Australian
1483 # Communications and Media Authority (ACMA) rating. ACMA ratings are used
1484 # to classify children&#x27;s television programming.
1485 &quot;mccaaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Malta&#x27;s Film Age-Classification Board.
1486 &quot;mibacRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Ministero dei Beni e delle Attivit&amp;agrave;
1487 # Culturali e del Turismo (Italy).
1488 &quot;catvfrRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Canadian Radio-Television and
1489 # Telecommunications Commission (CRTC) for Canadian French-language
1490 # broadcasts. For more information, see the
1491 # &lt;a href=&quot;http://www.cbsc.ca/english/agvot/frenchsystem.php&quot;&gt;Canadian
1492 # Broadcast Standards Council&lt;/a&gt; website.
1493 &quot;moctwRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Taiwan&#x27;s Ministry of Culture
1494 # (&amp;#25991;&amp;#21270;&amp;#37096;).
1495 &quot;nkclvRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Nacion&amp;atilde;lais Kino centrs (National Film
1496 # Centre of Latvia).
1497 &quot;csaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from France&#x27;s Conseil sup&amp;eacute;rieur de
1498 # l’audiovisuel, which rates broadcast content.
1499 &quot;rteRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Ireland&#x27;s Raidi&amp;oacute; Teilif&amp;iacute;s
1500 # &amp;Eacute;ireann.
1501 &quot;ifcoRating&quot;: &quot;A String&quot;, # The video&#x27;s Irish Film Classification Office (IFCO - Ireland) rating.
1502 # See the &lt;a
1503 # href=&quot;http://www.ifco.ie/website/ifco/ifcoweb.nsf/web/classcatintro&quot;&gt;IFCO&lt;/a&gt;
1504 # website for more information.
1505 &quot;cceRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Portugal&#x27;s Comiss&amp;atilde;o de
1506 # Classifica&amp;ccedil;&amp;atilde;o de Espect&amp;acute;culos.
1507 &quot;ecbmctRating&quot;: &quot;A String&quot;, # Rating system in Turkey - Evaluation and Classification Board of the
1508 # Ministry of Culture and Tourism
1509 &quot;egfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Egypt.
1510 &quot;eirinRating&quot;: &quot;A String&quot;, # The video&#x27;s Eirin (&amp;#26144;&amp;#20523;) rating.
1511 # Eirin is the Japanese rating system.
1512 &quot;ilfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Israel.
1513 &quot;bmukkRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Austrian Board of Media Classification
1514 # (Bundesministerium f&amp;uuml;r Unterricht, Kunst und Kultur).
Bu Sun Kim65020912020-05-20 12:08:20 -07001515 &quot;fpbRatingReasons&quot;: [ # Reasons that explain why the video received its FPB (South Africa) rating.
1516 &quot;A String&quot;,
1517 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001518 &quot;tvpgRating&quot;: &quot;A String&quot;, # The video&#x27;s TV Parental Guidelines (TVPG) rating.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001519 &quot;smaisRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Iceland.
1520 &quot;mekuRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Finland&#x27;s Kansallinen Audiovisuaalinen Instituutti
1521 # (National Audiovisual Institute).
1522 &quot;smsaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Statens medier&amp;aring;d (Sweden&#x27;s National Media
1523 # Council).
1524 &quot;lsfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Indonesia&#x27;s Lembaga Sensor Film.
1525 &quot;nbcplRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Poland.
Bu Sun Kim65020912020-05-20 12:08:20 -07001526 &quot;ytRating&quot;: &quot;A String&quot;, # A rating that YouTube uses to identify age-restricted content.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001527 &quot;czfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in the Czech Republic.
1528 &quot;kijkwijzerRating&quot;: &quot;A String&quot;, # The video&#x27;s NICAM/Kijkwijzer rating from the Nederlands Instituut
1529 # voor de Classificatie van Audiovisuele Media (Netherlands).
1530 &quot;rcnofRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Hungarian Nemzeti Filmiroda, the Rating
1531 # Committee of the National Office of Film.
1532 &quot;cncRating&quot;: &quot;A String&quot;, # Rating system in France - Commission de classification cinematographique
1533 &quot;cbfcRating&quot;: &quot;A String&quot;, # The video&#x27;s Central Board of Film Certification (CBFC - India) rating.
1534 &quot;cicfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Commission de Contr&amp;ocirc;le des Films
1535 # (Belgium).
1536 &quot;fcoRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Hong Kong&#x27;s Office for Film, Newspaper
1537 # and Article Administration.
1538 &quot;catvRating&quot;: &quot;A String&quot;, # Rating system for Canadian TV - Canadian TV Classification System
1539 # The video&#x27;s rating from the Canadian Radio-Television and
1540 # Telecommunications Commission (CRTC) for Canadian English-language
1541 # broadcasts. For more information, see the
1542 # &lt;a href=&quot;http://www.cbsc.ca/english/agvot/englishsystem.php&quot;&gt;Canadian
1543 # Broadcast Standards Council&lt;/a&gt; website.
1544 &quot;resorteviolenciaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Venezuela.
1545 &quot;russiaRating&quot;: &quot;A String&quot;, # The video&#x27;s National Film Registry of the Russian Federation
1546 # (MKRF - Russia) rating.
1547 &quot;kfcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Kenya Film Classification Board.
1548 &quot;bfvcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Thailand&#x27;s Board of Film and Video Censors.
1549 &quot;medietilsynetRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Medietilsynet, the Norwegian Media Authority.
1550 &quot;djctqRatingReasons&quot;: [ # Reasons that explain why the video received its DJCQT (Brazil) rating.
Bu Sun Kim65020912020-05-20 12:08:20 -07001551 &quot;A String&quot;,
1552 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001553 &quot;agcomRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Italy&#x27;s Autorit&amp;agrave; per le Garanzie nelle
1554 # Comunicazioni (AGCOM).
1555 &quot;pefilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Peru.
1556 &quot;mcstRating&quot;: &quot;A String&quot;, # The video&#x27;s rating system for Vietnam - MCST
1557 &quot;mccypRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Danish Film Institute&#x27;s (Det Danske
1558 # Filminstitut) Media Council for Children and Young People.
1559 &quot;grfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Greece.
1560 &quot;bbfcRating&quot;: &quot;A String&quot;, # The video&#x27;s British Board of Film Classification (BBFC) rating.
1561 &quot;menaMpaaRating&quot;: &quot;A String&quot;, # The rating system for MENA countries, a clone of MPAA. It is needed to
1562 # prevent titles go live w/o additional QC check, since some of them can be
1563 # inappropriate for the countries at all. See b/33408548 for more details.
1564 &quot;chvrsRating&quot;: &quot;A String&quot;, # The video&#x27;s Canadian Home Video Rating System (CHVRS) rating.
1565 &quot;mdaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Singapore&#x27;s Media Development Authority (MDA) and,
1566 # specifically, it&#x27;s Board of Film Censors (BFC).
1567 &quot;kmrbRating&quot;: &quot;A String&quot;, # The video&#x27;s Korea Media Rating Board
1568 # (&amp;#50689;&amp;#49345;&amp;#47932;&amp;#46321;&amp;#44553;&amp;#50948;&amp;#50896;&amp;#54924;) rating.
1569 # The KMRB rates videos in South Korea.
1570 &quot;nfrcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the &lt;a href=&quot;http://www.nfc.bg/&quot;&gt;Bulgarian
1571 # National Film Center&lt;/a&gt;.
1572 &quot;fmocRating&quot;: &quot;A String&quot;, # &lt;span class=&quot;deprecated&quot;&gt;This property has been deprecated. Use the
1573 # &lt;code&gt;&lt;a
1574 # href=&quot;#contentDetails.contentRating.cncRating&quot;&gt;contentDetails.contentRating.cncRating&lt;/a&gt;&lt;/code&gt;
1575 # instead.&lt;/span&gt;
1576 &quot;eefilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Estonia.
1577 &quot;cnaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Romania&#x27;s CONSILIUL NATIONAL AL AUDIOVIZUALULUI
1578 # (CNA).
1579 &quot;fskRating&quot;: &quot;A String&quot;, # The video&#x27;s Freiwillige Selbstkontrolle der Filmwirtschaft
1580 # (FSK - Germany) rating.
1581 &quot;skfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Slovakia.
1582 &quot;incaaRating&quot;: &quot;A String&quot;, # The video&#x27;s INCAA (Instituto Nacional de Cine y Artes Audiovisuales -
1583 # Argentina) rating.
1584 &quot;mocRating&quot;: &quot;A String&quot;, # The video&#x27;s Ministerio de Cultura (Colombia) rating.
1585 &quot;rtcRating&quot;: &quot;A String&quot;, # The video&#x27;s General Directorate of Radio, Television and Cinematography
1586 # (Mexico) rating.
1587 &quot;anatelRating&quot;: &quot;A String&quot;, # The video&#x27;s Anatel (Asociaci&amp;oacute;n Nacional de Televisi&amp;oacute;n)
1588 # rating for Chilean television.
1589 &quot;mtrcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Movie and Television Review and
1590 # Classification Board (Philippines).
1591 &quot;cccRating&quot;: &quot;A String&quot;, # The video&#x27;s Consejo de Calificaci&amp;oacute;n Cinematogr&amp;aacute;fica (Chile)
1592 # rating.
1593 &quot;nfvcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Nigeria&#x27;s National Film and Video Censors Board.
Bu Sun Kim65020912020-05-20 12:08:20 -07001594 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001595 &quot;projection&quot;: &quot;A String&quot;, # Specifies the projection format of the video.
Bu Sun Kim65020912020-05-20 12:08:20 -07001596 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001597 &quot;projectDetails&quot;: { # Project specific details about the content of a YouTube Video. # The &lt;code&gt;projectDetails&lt;/code&gt; object contains information about the
1598 # project specific video metadata.
Bu Sun Kim65020912020-05-20 12:08:20 -07001599 &quot;tags&quot;: [ # A list of project tags associated with the video during the upload.
1600 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04001601 ],
1602 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001603 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the video.
1604 &quot;localizations&quot;: { # The &lt;code&gt;localizations&lt;/code&gt; object contains localized versions of the
1605 # basic details about the video, such as its title and description.
1606 &quot;a_key&quot;: { # Localized versions of certain video properties (e.g. title).
Bu Sun Kim65020912020-05-20 12:08:20 -07001607 &quot;title&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s title.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001608 &quot;description&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s description.
Bu Sun Kim65020912020-05-20 12:08:20 -07001609 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001610 },
1611 &quot;monetizationDetails&quot;: { # Details about monetization of a YouTube Video. # The &lt;code&gt;monetizationDetails&lt;/code&gt; object encapsulates information
1612 # about the monetization status of the video.
1613 &quot;access&quot;: { # Rights management policy for YouTube resources. # The value of &lt;code&gt;access&lt;/code&gt; indicates whether the video can be
1614 # monetized or not.
1615 &quot;exception&quot;: [ # A list of region codes that identify countries where the default policy do
1616 # not apply.
1617 &quot;A String&quot;,
1618 ],
1619 &quot;allowed&quot;: True or False, # The value of &lt;code&gt;allowed&lt;/code&gt; indicates whether the access to the
1620 # policy is allowed or denied by default.
1621 },
1622 },
1623 &quot;status&quot;: { # Basic details about a video category, such as its localized title. # The &lt;code&gt;status&lt;/code&gt; object contains information about the video&#x27;s
1624 # uploading, processing, and privacy statuses.
1625 # Next Id: 17
1626 &quot;failureReason&quot;: &quot;A String&quot;, # This value explains why a video failed to upload. This property is
1627 # only present if the &lt;code&gt;uploadStatus&lt;/code&gt; property indicates that
1628 # the upload failed.
1629 &quot;privacyStatus&quot;: &quot;A String&quot;, # The video&#x27;s privacy status.
1630 &quot;selfDeclaredMadeForKids&quot;: True or False,
1631 &quot;rejectionReason&quot;: &quot;A String&quot;, # This value explains why YouTube rejected an uploaded video. This
1632 # property is only present if the &lt;code&gt;uploadStatus&lt;/code&gt; property
1633 # indicates that the upload was rejected.
1634 &quot;embeddable&quot;: True or False, # This value indicates if the video can be embedded on another website.
1635 # @mutable youtube.videos.insert youtube.videos.update
1636 &quot;publishAt&quot;: &quot;A String&quot;, # The date and time when the video is scheduled to publish. It can be set
1637 # only if the privacy status of the video is private. The value is specified
1638 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1639 # format.
1640 &quot;madeForKids&quot;: True or False,
1641 &quot;license&quot;: &quot;A String&quot;, # The video&#x27;s license.
1642 # @mutable youtube.videos.insert youtube.videos.update
1643 &quot;publicStatsViewable&quot;: True or False, # This value indicates if the extended video statistics on the watch page
1644 # can be viewed by everyone. Note that the view count, likes, etc will still
1645 # be visible if this is disabled.
1646 # @mutable youtube.videos.insert youtube.videos.update
1647 &quot;uploadStatus&quot;: &quot;A String&quot;, # The status of the uploaded video.
1648 },
1649 &quot;statistics&quot;: { # Statistics about the video, such as the number of times the video was viewed # The &lt;code&gt;statistics&lt;/code&gt; object contains statistics about the video.
1650 # or liked.
1651 &quot;likeCount&quot;: &quot;A String&quot;, # The number of users who have indicated that they liked the video by
1652 # giving it a positive rating.
1653 &quot;dislikeCount&quot;: &quot;A String&quot;, # The number of users who have indicated that they disliked the video by
1654 # giving it a negative rating.
1655 &quot;favoriteCount&quot;: &quot;A String&quot;, # The number of users who currently have the video marked as a favorite
1656 # video.
1657 &quot;commentCount&quot;: &quot;A String&quot;, # The number of comments for the video.
1658 &quot;viewCount&quot;: &quot;A String&quot;, # The number of times the video has been viewed.
1659 },
1660 &quot;snippet&quot;: { # Basic details about a video, including title, description, uploader, # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the video,
1661 # such as its title, description, and category.
1662 # thumbnails and category.
1663 &quot;localized&quot;: { # Localized versions of certain video properties (e.g. title). # Localized snippet selected with the hl parameter. If no such localization
1664 # exists, this field is populated with the default snippet. (Read-only)
1665 &quot;title&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s title.
1666 &quot;description&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s description.
1667 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001668 &quot;tags&quot;: [ # A list of keyword tags associated with the video. Tags may contain spaces.
1669 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04001670 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001671 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the videos&#x27;s default snippet.
1672 &quot;title&quot;: &quot;A String&quot;, # The video&#x27;s title.
1673 # @mutable youtube.videos.insert youtube.videos.update
1674 &quot;liveBroadcastContent&quot;: &quot;A String&quot;, # Indicates if the video is an upcoming/active live broadcast.
1675 # Or it&#x27;s &quot;none&quot; if the video is not an upcoming/active live broadcast.
1676 &quot;description&quot;: &quot;A String&quot;, # The video&#x27;s description.
1677 # @mutable youtube.videos.insert youtube.videos.update
1678 &quot;channelTitle&quot;: &quot;A String&quot;, # Channel title for the channel that the video belongs to.
1679 &quot;defaultAudioLanguage&quot;: &quot;A String&quot;, # The &lt;code&gt;default_audio_language&lt;/code&gt; property specifies the language
1680 # spoken in the video&#x27;s default audio track.
1681 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that the
1682 # video was uploaded to.
1683 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the video. For each object in the
1684 # map, the key is the name of the thumbnail image, and the value is an object
1685 # that contains other information about the thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -07001686 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001687 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001688 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1689 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
Bu Sun Kim65020912020-05-20 12:08:20 -07001690 },
1691 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001692 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001693 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1694 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1695 },
1696 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
1697 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1698 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1699 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1700 },
1701 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
1702 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1703 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1704 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1705 },
1706 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
1707 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1708 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1709 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
Bu Sun Kim65020912020-05-20 12:08:20 -07001710 },
1711 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001712 &quot;categoryId&quot;: &quot;A String&quot;, # The YouTube &lt;a href=&quot;/youtube/v3/docs/videoCategories/list&quot;&gt;video
1713 # category&lt;/a&gt; associated with the video.
1714 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the video was uploaded. The value is specified
1715 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1716 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -07001717 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001718 &quot;processingDetails&quot;: { # Describes processing status and progress and availability of some other Video # The &lt;code&gt;processingDetails&lt;/code&gt; object encapsulates information about
1719 # YouTube&#x27;s progress in processing the uploaded video file. The properties
1720 # in the object identify the current processing status and an estimate of
1721 # the time remaining until YouTube finishes processing the video. This part
1722 # also indicates whether different types of data or content, such as file
1723 # details or thumbnail images, are available for the video.&lt;br&gt;&lt;br&gt;
1724 # The &lt;code&gt;processingProgress&lt;/code&gt; object is designed to be polled so
1725 # that the video uploaded can track the progress that YouTube has made in
1726 # processing the uploaded video file. This data can only be retrieved by
1727 # the video owner.
1728 # resource parts.
1729 &quot;fileDetailsAvailability&quot;: &quot;A String&quot;, # This value indicates whether file details are available for the uploaded
1730 # video. You can retrieve a video&#x27;s file details by requesting the
1731 # &lt;code&gt;fileDetails&lt;/code&gt; part in your &lt;code&gt;videos.list()&lt;/code&gt; request.
1732 &quot;processingFailureReason&quot;: &quot;A String&quot;, # The reason that YouTube failed to process the video. This property will
1733 # only have a value if the &lt;code&gt;processingStatus&lt;/code&gt;
1734 # property&#x27;s value is &lt;code&gt;failed&lt;/code&gt;.
1735 &quot;editorSuggestionsAvailability&quot;: &quot;A String&quot;, # This value indicates whether video editing suggestions, which might
1736 # improve video quality or the playback experience, are available for
1737 # the video. You can retrieve these suggestions by requesting the
1738 # &lt;code&gt;suggestions&lt;/code&gt; part in your &lt;code&gt;videos.list()&lt;/code&gt; request.
1739 &quot;tagSuggestionsAvailability&quot;: &quot;A String&quot;, # This value indicates whether keyword (tag) suggestions are available for
1740 # the video. Tags can be added to a video&#x27;s metadata to make it easier for
1741 # other users to find the video. You can retrieve these suggestions by
1742 # requesting the &lt;code&gt;suggestions&lt;/code&gt; part in your
1743 # &lt;code&gt;videos.list()&lt;/code&gt; request.
1744 &quot;processingProgress&quot;: { # Video processing progress and completion time estimate. # The &lt;code&gt;processingProgress&lt;/code&gt; object contains information about the
1745 # progress YouTube has made in processing the video. The values are really
1746 # only relevant if the video&#x27;s processing status is &lt;code&gt;processing&lt;/code&gt;.
1747 &quot;timeLeftMs&quot;: &quot;A String&quot;, # An estimate of the amount of time, in millseconds, that YouTube needs
1748 # to finish processing the video.
1749 &quot;partsProcessed&quot;: &quot;A String&quot;, # The number of parts of the video that YouTube has already processed.
1750 # You can estimate the percentage of the video that YouTube has already
1751 # processed by calculating:&lt;br&gt;
1752 # &lt;code&gt;100 * parts_processed / parts_total&lt;/code&gt;&lt;br&gt;&lt;br&gt;
1753 # Note that since the estimated number of parts could increase without
1754 # a corresponding increase in the number of parts that have already been
1755 # processed, it is possible that the calculated progress could
1756 # periodically decrease while YouTube processes a video.
1757 &quot;partsTotal&quot;: &quot;A String&quot;, # An estimate of the total number of parts that need to be processed
1758 # for the video. The number may be updated with more precise estimates
1759 # while YouTube processes the video.
1760 },
1761 &quot;thumbnailsAvailability&quot;: &quot;A String&quot;, # This value indicates whether thumbnail images have been generated for
1762 # the video.
1763 &quot;processingIssuesAvailability&quot;: &quot;A String&quot;, # This value indicates whether the video processing engine has generated
1764 # suggestions that might improve YouTube&#x27;s ability to process the
1765 # the video, warnings that explain video processing problems, or
1766 # errors that cause video processing problems. You can retrieve these
1767 # suggestions by requesting the &lt;code&gt;suggestions&lt;/code&gt; part in your
1768 # &lt;code&gt;videos.list()&lt;/code&gt; request.
1769 &quot;processingStatus&quot;: &quot;A String&quot;, # The video&#x27;s processing status. This value indicates whether YouTube was
1770 # able to process the video or if the video is still being processed.
Bu Sun Kim65020912020-05-20 12:08:20 -07001771 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001772 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
1773 &quot;player&quot;: { # Player to be used for a video playback. # The &lt;code&gt;player&lt;/code&gt; object contains information that you would use to
1774 # play the video in an embedded player.
1775 &quot;embedWidth&quot;: &quot;A String&quot;, # The embed width
1776 &quot;embedHeight&quot;: &quot;A String&quot;,
1777 &quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; tag that embeds a player that will
1778 # play the video.
Bu Sun Kim65020912020-05-20 12:08:20 -07001779 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001780 &quot;liveStreamingDetails&quot;: { # Details about the live streaming metadata. # The &lt;code&gt;liveStreamingDetails&lt;/code&gt; object contains metadata about a live
1781 # video broadcast. The object will only be present in a &lt;code&gt;video&lt;/code&gt;
1782 # resource if the video is an upcoming, live, or completed live broadcast.
1783 &quot;activeLiveChatId&quot;: &quot;A String&quot;, # The ID of the currently active live chat attached to this video. This
1784 # field is filled only if the video is a currently live broadcast that has
1785 # live chat. Once the broadcast transitions to complete this field will be
1786 # removed and the live chat closed down. For persistent broadcasts that live
1787 # chat id will no longer be tied to this video but rather to the new video
1788 # being displayed at the persistent page.
1789 &quot;concurrentViewers&quot;: &quot;A String&quot;, # The number of viewers currently watching the broadcast. The property and
1790 # its value will be present if the broadcast has current viewers and the
1791 # broadcast owner has not hidden the viewcount for the video. Note that
1792 # YouTube stops tracking the number of concurrent viewers for a broadcast
1793 # when the broadcast ends. So, this property would not identify the number
1794 # of viewers watching an archived video of a live broadcast that already
1795 # ended.
1796 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The time that the broadcast is scheduled to end. The value is specified
1797 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1798 # format. If the value is empty or
1799 # the property is not present, then the broadcast is scheduled to continue
1800 # indefinitely.
1801 &quot;actualStartTime&quot;: &quot;A String&quot;, # The time that the broadcast actually started. The value is specified
1802 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1803 # format. This value will not be
1804 # available until the broadcast begins.
1805 &quot;actualEndTime&quot;: &quot;A String&quot;, # The time that the broadcast actually ended. The value is specified
1806 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1807 # format. This value will not be
1808 # available until the broadcast is over.
1809 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The time that the broadcast is scheduled to begin. The value is specified
1810 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1811 # format.
1812 },
1813 &quot;topicDetails&quot;: { # Freebase topic information related to the video. # The &lt;code&gt;topicDetails&lt;/code&gt; object encapsulates information about &lt;a
1814 # href=&quot;http://www.freebase.com&quot;&gt;Freebase&lt;/a&gt; topics associated with the
1815 # video.
1816 &quot;topicCategories&quot;: [ # A list of Wikipedia URLs that provide a high-level description of the
1817 # video&#x27;s content.
Bu Sun Kim65020912020-05-20 12:08:20 -07001818 &quot;A String&quot;,
1819 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001820 &quot;relevantTopicIds&quot;: [ # Similar to topic_id, except that these topics are merely relevant to the
1821 # video. These are topics that may be mentioned in, or appear in the video.
1822 # You can retrieve information about each topic using &lt;a
1823 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -07001824 &quot;A String&quot;,
1825 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001826 &quot;topicIds&quot;: [ # A list of Freebase topic IDs that are centrally associated with the video.
1827 # These are topics that are centrally featured in the video, and it can be
1828 # said that the video is mainly about each of these. You can retrieve
1829 # information about each topic using the &lt; a
1830 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -07001831 &quot;A String&quot;,
1832 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001833 },
1834 &quot;fileDetails&quot;: { # Describes original video file properties, including technical details about # The &lt;code&gt;fileDetails&lt;/code&gt; object encapsulates information about the
1835 # video file that was uploaded to YouTube, including the file&#x27;s resolution,
1836 # duration, audio and video codecs, stream bitrates, and more. This data can
1837 # only be retrieved by the video owner.
1838 # audio and video streams, but also metadata information like content length,
1839 # digitization time, or geotagging information.
1840 &quot;fileName&quot;: &quot;A String&quot;, # The uploaded file&#x27;s name. This field is present whether a video file or
1841 # another type of file was uploaded.
1842 &quot;videoStreams&quot;: [ # A list of video streams contained in the uploaded video file. Each item
1843 # in the list contains detailed metadata about a video stream.
1844 { # Information about a video stream.
1845 &quot;bitrateBps&quot;: &quot;A String&quot;, # The video stream&#x27;s bitrate, in bits per second.
1846 &quot;heightPixels&quot;: 42, # The encoded video content&#x27;s height in pixels.
1847 &quot;vendor&quot;: &quot;A String&quot;, # A value that uniquely identifies a video vendor. Typically, the value is
1848 # a four-letter vendor code.
1849 &quot;rotation&quot;: &quot;A String&quot;, # The amount that YouTube needs to rotate the original source content
1850 # to properly display the video.
1851 &quot;codec&quot;: &quot;A String&quot;, # The video codec that the stream uses.
1852 &quot;frameRateFps&quot;: 3.14, # The video stream&#x27;s frame rate, in frames per second.
1853 &quot;aspectRatio&quot;: 3.14, # The video content&#x27;s display aspect ratio, which specifies the aspect
1854 # ratio in which the video should be displayed.
1855 &quot;widthPixels&quot;: 42, # The encoded video content&#x27;s width in pixels. You can calculate the
1856 # video&#x27;s encoding aspect ratio as
1857 # &lt;code&gt;width_pixels&lt;/code&gt;&amp;nbsp;/&amp;nbsp;&lt;code&gt;height_pixels&lt;/code&gt;.
John Asmuth614db982014-04-24 15:46:26 -04001858 },
1859 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001860 &quot;audioStreams&quot;: [ # A list of audio streams contained in the uploaded video file. Each item
1861 # in the list contains detailed metadata about an audio stream.
1862 { # Information about an audio stream.
1863 &quot;codec&quot;: &quot;A String&quot;, # The audio codec that the stream uses.
1864 &quot;channelCount&quot;: 42, # The number of audio channels that the stream contains.
1865 &quot;vendor&quot;: &quot;A String&quot;, # A value that uniquely identifies a video vendor. Typically, the value
1866 # is a four-letter vendor code.
1867 &quot;bitrateBps&quot;: &quot;A String&quot;, # The audio stream&#x27;s bitrate, in bits per second.
1868 },
1869 ],
1870 &quot;bitrateBps&quot;: &quot;A String&quot;, # The uploaded video file&#x27;s combined (video and audio) bitrate in bits
1871 # per second.
1872 &quot;durationMs&quot;: &quot;A String&quot;, # The length of the uploaded video in milliseconds.
1873 &quot;fileType&quot;: &quot;A String&quot;, # The uploaded file&#x27;s type as detected by YouTube&#x27;s video processing
1874 # engine. Currently, YouTube only processes video files, but this field
1875 # is present whether a video file or another type of file was uploaded.
1876 &quot;fileSize&quot;: &quot;A String&quot;, # The uploaded file&#x27;s size in bytes. This field is present whether
1877 # a video file or another type of file was uploaded.
1878 &quot;container&quot;: &quot;A String&quot;, # The uploaded video file&#x27;s container format.
1879 &quot;creationTime&quot;: &quot;A String&quot;, # The date and time when the uploaded video file was created. The value is
1880 # specified in &lt;a href=&quot;http://www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1881 # format. Currently, the following ISO 8601 formats are supported:
1882 # &lt;ul&gt;
1883 # &lt;li&gt;Date only: &lt;code&gt;YYYY-MM-DD&lt;/code&gt;&lt;/li&gt;
1884 # &lt;li&gt;Naive time: &lt;code&gt;YYYY-MM-DDTHH:MM:SS&lt;/code&gt;&lt;/li&gt;
1885 # &lt;li&gt;Time with timezone: &lt;code&gt;YYYY-MM-DDTHH:MM:SS+HH:MM&lt;/code&gt;&lt;/li&gt;
1886 # &lt;/ul&gt;
John Asmuth614db982014-04-24 15:46:26 -04001887 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001888 &quot;ageGating&quot;: { # Age restriction details related to a video. This data can only be retrieved
1889 # by the video owner.
1890 &quot;videoGameRating&quot;: &quot;A String&quot;, # Video game rating, if any.
1891 &quot;alcoholContent&quot;: True or False, # Indicates whether or not the video has alcoholic beverage content. Only
1892 # users of legal purchasing age in a particular country, as identified by
1893 # ICAP, can view the content.
1894 &quot;restricted&quot;: True or False, # Age-restricted trailers. For redband trailers and adult-rated video-games.
1895 # Only users aged 18+ can view the content. The the field is
1896 # &lt;code&gt;true&lt;/code&gt; the content is restricted to viewers aged 18+. Otherwise
1897 # The field won&#x27;t be present.
1898 },
1899 &quot;kind&quot;: &quot;youtube#video&quot;, # Identifies what kind of resource this is. Value: the fixed string
1900 # &lt;code&gt;&quot;youtube#video&quot;&lt;/code&gt;.
1901 &quot;suggestions&quot;: { # Specifies suggestions on how to improve video content, # The &lt;code&gt;suggestions&lt;/code&gt; object encapsulates suggestions that identify
1902 # opportunities to improve the video quality or the metadata for the uploaded
1903 # video. This data can only be retrieved by the video owner.
1904 # including encoding hints, tag suggestions, and editor suggestions.
1905 &quot;processingHints&quot;: [ # A list of suggestions that may improve YouTube&#x27;s ability to process the
1906 # video.
Bu Sun Kim65020912020-05-20 12:08:20 -07001907 &quot;A String&quot;,
1908 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001909 &quot;tagSuggestions&quot;: [ # A list of keyword tags that could be added to the video&#x27;s metadata to
1910 # increase the likelihood that users will locate your video when searching
1911 # or browsing on YouTube.
1912 { # A single tag suggestion with it&#x27;s relevance information.
1913 &quot;tag&quot;: &quot;A String&quot;, # The keyword tag suggested for the video.
1914 &quot;categoryRestricts&quot;: [ # A set of video categories for which the tag is relevant. You can use this
1915 # information to display appropriate tag suggestions based on the video
1916 # category that the video uploader associates with the video. By default,
1917 # tag suggestions are relevant for all categories if there are no restricts
1918 # defined for the keyword.
1919 &quot;A String&quot;,
1920 ],
1921 },
1922 ],
1923 &quot;processingErrors&quot;: [ # A list of errors that will prevent YouTube from successfully processing
1924 # the uploaded video video. These errors indicate that, regardless of the
1925 # video&#x27;s current &lt;a href=&quot;#processingProgress.processingStatus&quot;&gt;processing
1926 # status&lt;/a&gt;, eventually, that status will almost certainly be
1927 # &lt;code&gt;failed&lt;/code&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -07001928 &quot;A String&quot;,
1929 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001930 &quot;editorSuggestions&quot;: [ # A list of video editing operations that might improve the video quality
1931 # or playback experience of the uploaded video.
1932 &quot;A String&quot;,
1933 ],
1934 &quot;processingWarnings&quot;: [ # A list of reasons why YouTube may have difficulty transcoding the
1935 # uploaded video or that might result in an erroneous transcoding.
1936 # These warnings are generated before YouTube actually processes the
1937 # uploaded video file. In addition, they identify issues that are unlikely
1938 # to cause the video processing to fail but that might cause problems
1939 # such as sync issues, video artifacts, or a missing audio track.
Bu Sun Kim65020912020-05-20 12:08:20 -07001940 &quot;A String&quot;,
1941 ],
Craig Citroe633be12015-03-02 13:40:36 -08001942 },
John Asmuth614db982014-04-24 15:46:26 -04001943 },
1944 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001945 &quot;pageInfo&quot;: { # Paging details for lists of resources, including total number of items # General pagination information.
1946 # available and number of resources returned in a single page.
Bu Sun Kim65020912020-05-20 12:08:20 -07001947 &quot;resultsPerPage&quot;: 42, # The number of results included in the API response.
1948 &quot;totalResults&quot;: 42, # The total number of results in the result set.
John Asmuth614db982014-04-24 15:46:26 -04001949 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001950 &quot;prevPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the &lt;code&gt;pageToken&lt;/code&gt;
1951 # parameter to retrieve the previous page in the result set.
1952 &quot;visitorId&quot;: &quot;A String&quot;, # The &lt;code&gt;visitorId&lt;/code&gt; identifies the visitor.
John Asmuth614db982014-04-24 15:46:26 -04001953 }</pre>
1954</div>
1955
1956<div class="method">
1957 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1958 <pre>Retrieves the next page of results.
1959
1960Args:
1961 previous_request: The request for the previous page. (required)
1962 previous_response: The response from the request for the previous page. (required)
1963
1964Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001965 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -04001966 page. Returns None if there are no more items in the collection.
1967 </pre>
1968</div>
1969
1970<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001971 <code class="details" id="rate">rate(id, rating, x__xgafv=None)</code>
1972 <pre>Adds a like or dislike rating to a video or removes a rating from a video.
John Asmuth614db982014-04-24 15:46:26 -04001973
1974Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001975 id: string, A parameter (required)
1976 rating: string, A parameter (required)
1977 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -04001978 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001979 1 - v1 error format
1980 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -04001981</pre>
1982</div>
1983
1984<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001985 <code class="details" id="reportAbuse">reportAbuse(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001986 <pre>Report abuse for a video.
1987
1988Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07001989 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001990 The object takes the form of:
1991
1992{
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001993 &quot;secondaryReasonId&quot;: &quot;A String&quot;, # The specific, or secondary, reason that this content is abusive (if
1994 # available). The value is an abuse report reason ID that is a valid
1995 # secondary reason for the primary reason.
Bu Sun Kim65020912020-05-20 12:08:20 -07001996 &quot;language&quot;: &quot;A String&quot;, # The language that the content was viewed in.
Bu Sun Kim65020912020-05-20 12:08:20 -07001997 &quot;videoId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the video.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001998 &quot;reasonId&quot;: &quot;A String&quot;, # The high-level, or primary, reason that the content is abusive. The value
1999 # is an abuse report reason ID.
2000 &quot;comments&quot;: &quot;A String&quot;, # Additional comments regarding the abuse report.
Nathaniel Manista4f877e52015-06-15 16:44:50 +00002001 }
2002
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002003 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
2004content partners.&lt;br&gt;&lt;br&gt;The
2005&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
2006that the
2007request&#x27;s authorization credentials identify a YouTube CMS user who is
2008acting on behalf of the content owner specified in the parameter value.
2009This parameter is intended for YouTube content partners that own and manage
2010many different YouTube channels. It allows content owners to authenticate
2011once and get access to all their video and channel data, without having to
2012provide authentication credentials for each individual channel. The CMS
2013account that the user authenticates with must be linked to the specified
2014YouTube content owner.
2015 x__xgafv: string, V1 error format.
2016 Allowed values
2017 1 - v1 error format
2018 2 - v2 error format
Nathaniel Manista4f877e52015-06-15 16:44:50 +00002019</pre>
2020</div>
2021
2022<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002023 <code class="details" id="update">update(part, body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
2024 <pre>Updates an existing resource.
John Asmuth614db982014-04-24 15:46:26 -04002025
2026Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002027 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter serves two purposes in
2028this operation. It identifies the properties that the write operation will
2029set as well as the properties that the API response will
2030include.&lt;br/&gt;&lt;br/&gt;Note that this method will override the existing values
2031for all of the mutable properties that are contained in any parts that the
2032parameter value specifies. For example, a
2033video&#x27;s privacy setting is contained in the &lt;code&gt;status&lt;/code&gt; part. As
2034such, if your request is updating a private video, and the request&#x27;s
2035&lt;code&gt;part&lt;/code&gt; parameter value includes the &lt;code&gt;status&lt;/code&gt; part,
2036the
2037video&#x27;s privacy setting will be updated to whatever value the request body
2038specifies. If the request body does not specify a value, the existing
2039privacy setting will be removed and the video will revert to the default
2040privacy setting.&lt;br/&gt;&lt;br/&gt;In addition, not all parts contain properties
2041that can be set when inserting or updating a video. For example, the
2042&lt;code&gt;statistics&lt;/code&gt; object encapsulates statistics that YouTube
2043calculates for a video and does not contain values that you can set or
2044modify. If the parameter value specifies a &lt;code&gt;part&lt;/code&gt; that does not
2045contain mutable values, that &lt;code&gt;part&lt;/code&gt; will still be included in
2046the API response. (required) (repeated)
Dan O'Mearadd494642020-05-01 07:42:23 -07002047 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -04002048 The object takes the form of:
2049
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002050{ # A &lt;code&gt;&lt;strong&gt;video&lt;/strong&gt;&lt;/code&gt; resource represents a YouTube video.
2051 &quot;recordingDetails&quot;: { # Recording information associated with the video. # The &lt;code&gt;recordingDetails&lt;/code&gt; object encapsulates information about the
2052 # location, date and address where the video was recorded.
2053 &quot;locationDescription&quot;: &quot;A String&quot;, # The text description of the location where the video was recorded.
2054 &quot;recordingDate&quot;: &quot;A String&quot;, # The date and time when the video was recorded. The value is specified in &lt;a
2055 # href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
2056 # (&lt;code&gt;YYYY-MM-DDThh:mm:ss.sssZ&lt;/code&gt;) format.
2057 &quot;location&quot;: { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
2058 &quot;latitude&quot;: 3.14, # Latitude in degrees.
2059 &quot;longitude&quot;: 3.14, # Longitude in degrees.
2060 &quot;altitude&quot;: 3.14, # Altitude above the reference ellipsoid, in meters.
2061 },
John Asmuth614db982014-04-24 15:46:26 -04002062 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002063 &quot;contentDetails&quot;: { # Details about the content of a YouTube Video. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the video
2064 # content, including the length of the video and its aspect ratio.
2065 &quot;dimension&quot;: &quot;A String&quot;, # The value of &lt;code&gt;dimension&lt;/code&gt; indicates whether the video is
2066 # available in 3D or in 2D.
2067 &quot;caption&quot;: &quot;A String&quot;, # The value of &lt;code&gt;captions&lt;/code&gt; indicates whether the video
2068 # has captions or not.
2069 &quot;duration&quot;: &quot;A String&quot;, # The length of the video. The tag value is an &lt;a
2070 # href=&quot;//en.wikipedia.org/wiki/ISO_8601#Durations&quot;&gt;ISO 8601&lt;/a&gt; duration in
2071 # the format &lt;code&gt;PT#M#S&lt;/code&gt;, in which the letters &lt;code&gt;PT&lt;/code&gt;
2072 # indicate that the value specifies a period of time, and the letters
2073 # &lt;code&gt;M&lt;/code&gt; and &lt;code&gt;S&lt;/code&gt; refer to length in minutes and seconds,
2074 # respectively. The &lt;code&gt;#&lt;/code&gt; characters preceding the &lt;code&gt;M&lt;/code&gt;
2075 # and &lt;code&gt;S&lt;/code&gt; letters are both integers that specify the number of
2076 # minutes (or seconds) of the video. For example, a value of
2077 # &lt;code&gt;PT15M51S&lt;/code&gt; indicates that the video is 15 minutes and 51 seconds
2078 # long.
2079 &quot;hasCustomThumbnail&quot;: True or False, # Indicates whether the video uploader has provided a custom
2080 # thumbnail image for the video.
2081 # This property is only visible to the video uploader.
2082 &quot;regionRestriction&quot;: { # DEPRECATED Region restriction of the video. # The &lt;code&gt;regionRestriction&lt;/code&gt; object contains information about the
2083 # countries where a video is (or is not) viewable. The object will contain
2084 # either the &lt;code&gt;contentDetails.regionRestriction.allowed&lt;/code&gt; property
2085 # or the &lt;code&gt;contentDetails.regionRestriction.blocked&lt;/code&gt; property.
2086 &quot;allowed&quot;: [ # A list of region codes that identify countries where the video is
2087 # viewable. If this property is present and a country is not listed
2088 # in its value, then the video is blocked from appearing in that
2089 # country. If this property is present and contains an empty list,
2090 # the video is blocked in all countries.
Bu Sun Kim65020912020-05-20 12:08:20 -07002091 &quot;A String&quot;,
2092 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002093 &quot;blocked&quot;: [ # A list of region codes that identify countries where the video is
2094 # blocked. If this property is present and a country is not listed in
2095 # its value, then the video is viewable in that country. If this
2096 # property is present and contains an empty list, the video is
2097 # viewable in all countries.
2098 &quot;A String&quot;,
2099 ],
2100 },
2101 &quot;licensedContent&quot;: True or False, # The value of &lt;code&gt;is_license_content&lt;/code&gt; indicates whether the video is
2102 # licensed content.
2103 &quot;countryRestriction&quot;: { # Rights management policy for YouTube resources. # The &lt;code&gt;countryRestriction&lt;/code&gt; object contains information about the
2104 # countries where a video is (or is not) viewable.
2105 &quot;exception&quot;: [ # A list of region codes that identify countries where the default policy do
2106 # not apply.
2107 &quot;A String&quot;,
2108 ],
2109 &quot;allowed&quot;: True or False, # The value of &lt;code&gt;allowed&lt;/code&gt; indicates whether the access to the
2110 # policy is allowed or denied by default.
2111 },
2112 &quot;definition&quot;: &quot;A String&quot;, # The value of &lt;code&gt;definition&lt;/code&gt; indicates whether the video is
2113 # available in high definition or only in standard definition.
2114 &quot;contentRating&quot;: { # Ratings schemes. The country-specific ratings are mostly for # Specifies the ratings that the video received under various rating schemes.
2115 # movies and shows.
2116 # LINT.IfChange
2117 &quot;cscfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Luxembourg&#x27;s Commission de surveillance
2118 # de la classification des films (CSCF).
2119 &quot;icaaRating&quot;: &quot;A String&quot;, # The video&#x27;s Instituto de la Cinematograf&amp;iacute;a y de las Artes
2120 # Audiovisuales (ICAA - Spain) rating.
2121 &quot;mpaaRating&quot;: &quot;A String&quot;, # The video&#x27;s Motion Picture Association of America (MPAA) rating.
2122 &quot;nbcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Maldives National Bureau of Classification.
2123 &quot;oflcRating&quot;: &quot;A String&quot;, # The video&#x27;s Office of Film and Literature Classification
2124 # (OFLC - New Zealand) rating.
Bu Sun Kim65020912020-05-20 12:08:20 -07002125 &quot;fcbmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Malaysia&#x27;s Film Censorship Board.
Bu Sun Kim65020912020-05-20 12:08:20 -07002126 &quot;fpbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from South Africa&#x27;s Film and Publication Board.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002127 &quot;djctqRating&quot;: &quot;A String&quot;, # The video&#x27;s Departamento de Justi&amp;ccedil;a, Classifica&amp;ccedil;&amp;atilde;o,
2128 # Qualifica&amp;ccedil;&amp;atilde;o e T&amp;iacute;tulos (DJCQT - Brazil) rating.
2129 &quot;mpaatRating&quot;: &quot;A String&quot;, # The rating system for trailer, DVD, and Ad in the US. See
2130 # http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
2131 &quot;chfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Switzerland.
2132 &quot;nmcRating&quot;: &quot;A String&quot;, # The National Media Council ratings system for United Arab Emirates.
2133 &quot;acbRating&quot;: &quot;A String&quot;, # The video&#x27;s Australian Classification Board (ACB) or Australian
2134 # Communications and Media Authority (ACMA) rating. ACMA ratings are used
2135 # to classify children&#x27;s television programming.
2136 &quot;mccaaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Malta&#x27;s Film Age-Classification Board.
2137 &quot;mibacRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Ministero dei Beni e delle Attivit&amp;agrave;
2138 # Culturali e del Turismo (Italy).
2139 &quot;catvfrRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Canadian Radio-Television and
2140 # Telecommunications Commission (CRTC) for Canadian French-language
2141 # broadcasts. For more information, see the
2142 # &lt;a href=&quot;http://www.cbsc.ca/english/agvot/frenchsystem.php&quot;&gt;Canadian
2143 # Broadcast Standards Council&lt;/a&gt; website.
2144 &quot;moctwRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Taiwan&#x27;s Ministry of Culture
2145 # (&amp;#25991;&amp;#21270;&amp;#37096;).
2146 &quot;nkclvRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Nacion&amp;atilde;lais Kino centrs (National Film
2147 # Centre of Latvia).
2148 &quot;csaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from France&#x27;s Conseil sup&amp;eacute;rieur de
2149 # l’audiovisuel, which rates broadcast content.
2150 &quot;rteRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Ireland&#x27;s Raidi&amp;oacute; Teilif&amp;iacute;s
2151 # &amp;Eacute;ireann.
2152 &quot;ifcoRating&quot;: &quot;A String&quot;, # The video&#x27;s Irish Film Classification Office (IFCO - Ireland) rating.
2153 # See the &lt;a
2154 # href=&quot;http://www.ifco.ie/website/ifco/ifcoweb.nsf/web/classcatintro&quot;&gt;IFCO&lt;/a&gt;
2155 # website for more information.
2156 &quot;cceRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Portugal&#x27;s Comiss&amp;atilde;o de
2157 # Classifica&amp;ccedil;&amp;atilde;o de Espect&amp;acute;culos.
2158 &quot;ecbmctRating&quot;: &quot;A String&quot;, # Rating system in Turkey - Evaluation and Classification Board of the
2159 # Ministry of Culture and Tourism
2160 &quot;egfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Egypt.
2161 &quot;eirinRating&quot;: &quot;A String&quot;, # The video&#x27;s Eirin (&amp;#26144;&amp;#20523;) rating.
2162 # Eirin is the Japanese rating system.
2163 &quot;ilfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Israel.
2164 &quot;bmukkRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Austrian Board of Media Classification
2165 # (Bundesministerium f&amp;uuml;r Unterricht, Kunst und Kultur).
Bu Sun Kim65020912020-05-20 12:08:20 -07002166 &quot;fpbRatingReasons&quot;: [ # Reasons that explain why the video received its FPB (South Africa) rating.
2167 &quot;A String&quot;,
2168 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002169 &quot;tvpgRating&quot;: &quot;A String&quot;, # The video&#x27;s TV Parental Guidelines (TVPG) rating.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002170 &quot;smaisRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Iceland.
2171 &quot;mekuRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Finland&#x27;s Kansallinen Audiovisuaalinen Instituutti
2172 # (National Audiovisual Institute).
2173 &quot;smsaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Statens medier&amp;aring;d (Sweden&#x27;s National Media
2174 # Council).
2175 &quot;lsfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Indonesia&#x27;s Lembaga Sensor Film.
2176 &quot;nbcplRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Poland.
Bu Sun Kim65020912020-05-20 12:08:20 -07002177 &quot;ytRating&quot;: &quot;A String&quot;, # A rating that YouTube uses to identify age-restricted content.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002178 &quot;czfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in the Czech Republic.
2179 &quot;kijkwijzerRating&quot;: &quot;A String&quot;, # The video&#x27;s NICAM/Kijkwijzer rating from the Nederlands Instituut
2180 # voor de Classificatie van Audiovisuele Media (Netherlands).
2181 &quot;rcnofRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Hungarian Nemzeti Filmiroda, the Rating
2182 # Committee of the National Office of Film.
2183 &quot;cncRating&quot;: &quot;A String&quot;, # Rating system in France - Commission de classification cinematographique
2184 &quot;cbfcRating&quot;: &quot;A String&quot;, # The video&#x27;s Central Board of Film Certification (CBFC - India) rating.
2185 &quot;cicfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Commission de Contr&amp;ocirc;le des Films
2186 # (Belgium).
2187 &quot;fcoRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Hong Kong&#x27;s Office for Film, Newspaper
2188 # and Article Administration.
2189 &quot;catvRating&quot;: &quot;A String&quot;, # Rating system for Canadian TV - Canadian TV Classification System
2190 # The video&#x27;s rating from the Canadian Radio-Television and
2191 # Telecommunications Commission (CRTC) for Canadian English-language
2192 # broadcasts. For more information, see the
2193 # &lt;a href=&quot;http://www.cbsc.ca/english/agvot/englishsystem.php&quot;&gt;Canadian
2194 # Broadcast Standards Council&lt;/a&gt; website.
2195 &quot;resorteviolenciaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Venezuela.
2196 &quot;russiaRating&quot;: &quot;A String&quot;, # The video&#x27;s National Film Registry of the Russian Federation
2197 # (MKRF - Russia) rating.
2198 &quot;kfcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Kenya Film Classification Board.
2199 &quot;bfvcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Thailand&#x27;s Board of Film and Video Censors.
2200 &quot;medietilsynetRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Medietilsynet, the Norwegian Media Authority.
2201 &quot;djctqRatingReasons&quot;: [ # Reasons that explain why the video received its DJCQT (Brazil) rating.
Bu Sun Kim65020912020-05-20 12:08:20 -07002202 &quot;A String&quot;,
2203 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002204 &quot;agcomRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Italy&#x27;s Autorit&amp;agrave; per le Garanzie nelle
2205 # Comunicazioni (AGCOM).
2206 &quot;pefilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Peru.
2207 &quot;mcstRating&quot;: &quot;A String&quot;, # The video&#x27;s rating system for Vietnam - MCST
2208 &quot;mccypRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Danish Film Institute&#x27;s (Det Danske
2209 # Filminstitut) Media Council for Children and Young People.
2210 &quot;grfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Greece.
2211 &quot;bbfcRating&quot;: &quot;A String&quot;, # The video&#x27;s British Board of Film Classification (BBFC) rating.
2212 &quot;menaMpaaRating&quot;: &quot;A String&quot;, # The rating system for MENA countries, a clone of MPAA. It is needed to
2213 # prevent titles go live w/o additional QC check, since some of them can be
2214 # inappropriate for the countries at all. See b/33408548 for more details.
2215 &quot;chvrsRating&quot;: &quot;A String&quot;, # The video&#x27;s Canadian Home Video Rating System (CHVRS) rating.
2216 &quot;mdaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Singapore&#x27;s Media Development Authority (MDA) and,
2217 # specifically, it&#x27;s Board of Film Censors (BFC).
2218 &quot;kmrbRating&quot;: &quot;A String&quot;, # The video&#x27;s Korea Media Rating Board
2219 # (&amp;#50689;&amp;#49345;&amp;#47932;&amp;#46321;&amp;#44553;&amp;#50948;&amp;#50896;&amp;#54924;) rating.
2220 # The KMRB rates videos in South Korea.
2221 &quot;nfrcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the &lt;a href=&quot;http://www.nfc.bg/&quot;&gt;Bulgarian
2222 # National Film Center&lt;/a&gt;.
2223 &quot;fmocRating&quot;: &quot;A String&quot;, # &lt;span class=&quot;deprecated&quot;&gt;This property has been deprecated. Use the
2224 # &lt;code&gt;&lt;a
2225 # href=&quot;#contentDetails.contentRating.cncRating&quot;&gt;contentDetails.contentRating.cncRating&lt;/a&gt;&lt;/code&gt;
2226 # instead.&lt;/span&gt;
2227 &quot;eefilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Estonia.
2228 &quot;cnaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Romania&#x27;s CONSILIUL NATIONAL AL AUDIOVIZUALULUI
2229 # (CNA).
2230 &quot;fskRating&quot;: &quot;A String&quot;, # The video&#x27;s Freiwillige Selbstkontrolle der Filmwirtschaft
2231 # (FSK - Germany) rating.
2232 &quot;skfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Slovakia.
2233 &quot;incaaRating&quot;: &quot;A String&quot;, # The video&#x27;s INCAA (Instituto Nacional de Cine y Artes Audiovisuales -
2234 # Argentina) rating.
2235 &quot;mocRating&quot;: &quot;A String&quot;, # The video&#x27;s Ministerio de Cultura (Colombia) rating.
2236 &quot;rtcRating&quot;: &quot;A String&quot;, # The video&#x27;s General Directorate of Radio, Television and Cinematography
2237 # (Mexico) rating.
2238 &quot;anatelRating&quot;: &quot;A String&quot;, # The video&#x27;s Anatel (Asociaci&amp;oacute;n Nacional de Televisi&amp;oacute;n)
2239 # rating for Chilean television.
2240 &quot;mtrcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Movie and Television Review and
2241 # Classification Board (Philippines).
2242 &quot;cccRating&quot;: &quot;A String&quot;, # The video&#x27;s Consejo de Calificaci&amp;oacute;n Cinematogr&amp;aacute;fica (Chile)
2243 # rating.
2244 &quot;nfvcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Nigeria&#x27;s National Film and Video Censors Board.
Bu Sun Kim65020912020-05-20 12:08:20 -07002245 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002246 &quot;projection&quot;: &quot;A String&quot;, # Specifies the projection format of the video.
Bu Sun Kim65020912020-05-20 12:08:20 -07002247 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002248 &quot;projectDetails&quot;: { # Project specific details about the content of a YouTube Video. # The &lt;code&gt;projectDetails&lt;/code&gt; object contains information about the
2249 # project specific video metadata.
Bu Sun Kim65020912020-05-20 12:08:20 -07002250 &quot;tags&quot;: [ # A list of project tags associated with the video during the upload.
2251 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04002252 ],
2253 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002254 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the video.
2255 &quot;localizations&quot;: { # The &lt;code&gt;localizations&lt;/code&gt; object contains localized versions of the
2256 # basic details about the video, such as its title and description.
2257 &quot;a_key&quot;: { # Localized versions of certain video properties (e.g. title).
Bu Sun Kim65020912020-05-20 12:08:20 -07002258 &quot;title&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s title.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002259 &quot;description&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s description.
Bu Sun Kim65020912020-05-20 12:08:20 -07002260 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002261 },
2262 &quot;monetizationDetails&quot;: { # Details about monetization of a YouTube Video. # The &lt;code&gt;monetizationDetails&lt;/code&gt; object encapsulates information
2263 # about the monetization status of the video.
2264 &quot;access&quot;: { # Rights management policy for YouTube resources. # The value of &lt;code&gt;access&lt;/code&gt; indicates whether the video can be
2265 # monetized or not.
2266 &quot;exception&quot;: [ # A list of region codes that identify countries where the default policy do
2267 # not apply.
2268 &quot;A String&quot;,
2269 ],
2270 &quot;allowed&quot;: True or False, # The value of &lt;code&gt;allowed&lt;/code&gt; indicates whether the access to the
2271 # policy is allowed or denied by default.
2272 },
2273 },
2274 &quot;status&quot;: { # Basic details about a video category, such as its localized title. # The &lt;code&gt;status&lt;/code&gt; object contains information about the video&#x27;s
2275 # uploading, processing, and privacy statuses.
2276 # Next Id: 17
2277 &quot;failureReason&quot;: &quot;A String&quot;, # This value explains why a video failed to upload. This property is
2278 # only present if the &lt;code&gt;uploadStatus&lt;/code&gt; property indicates that
2279 # the upload failed.
2280 &quot;privacyStatus&quot;: &quot;A String&quot;, # The video&#x27;s privacy status.
2281 &quot;selfDeclaredMadeForKids&quot;: True or False,
2282 &quot;rejectionReason&quot;: &quot;A String&quot;, # This value explains why YouTube rejected an uploaded video. This
2283 # property is only present if the &lt;code&gt;uploadStatus&lt;/code&gt; property
2284 # indicates that the upload was rejected.
2285 &quot;embeddable&quot;: True or False, # This value indicates if the video can be embedded on another website.
2286 # @mutable youtube.videos.insert youtube.videos.update
2287 &quot;publishAt&quot;: &quot;A String&quot;, # The date and time when the video is scheduled to publish. It can be set
2288 # only if the privacy status of the video is private. The value is specified
2289 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
2290 # format.
2291 &quot;madeForKids&quot;: True or False,
2292 &quot;license&quot;: &quot;A String&quot;, # The video&#x27;s license.
2293 # @mutable youtube.videos.insert youtube.videos.update
2294 &quot;publicStatsViewable&quot;: True or False, # This value indicates if the extended video statistics on the watch page
2295 # can be viewed by everyone. Note that the view count, likes, etc will still
2296 # be visible if this is disabled.
2297 # @mutable youtube.videos.insert youtube.videos.update
2298 &quot;uploadStatus&quot;: &quot;A String&quot;, # The status of the uploaded video.
2299 },
2300 &quot;statistics&quot;: { # Statistics about the video, such as the number of times the video was viewed # The &lt;code&gt;statistics&lt;/code&gt; object contains statistics about the video.
2301 # or liked.
2302 &quot;likeCount&quot;: &quot;A String&quot;, # The number of users who have indicated that they liked the video by
2303 # giving it a positive rating.
2304 &quot;dislikeCount&quot;: &quot;A String&quot;, # The number of users who have indicated that they disliked the video by
2305 # giving it a negative rating.
2306 &quot;favoriteCount&quot;: &quot;A String&quot;, # The number of users who currently have the video marked as a favorite
2307 # video.
2308 &quot;commentCount&quot;: &quot;A String&quot;, # The number of comments for the video.
2309 &quot;viewCount&quot;: &quot;A String&quot;, # The number of times the video has been viewed.
2310 },
2311 &quot;snippet&quot;: { # Basic details about a video, including title, description, uploader, # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the video,
2312 # such as its title, description, and category.
2313 # thumbnails and category.
2314 &quot;localized&quot;: { # Localized versions of certain video properties (e.g. title). # Localized snippet selected with the hl parameter. If no such localization
2315 # exists, this field is populated with the default snippet. (Read-only)
2316 &quot;title&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s title.
2317 &quot;description&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s description.
2318 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002319 &quot;tags&quot;: [ # A list of keyword tags associated with the video. Tags may contain spaces.
2320 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04002321 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002322 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the videos&#x27;s default snippet.
2323 &quot;title&quot;: &quot;A String&quot;, # The video&#x27;s title.
2324 # @mutable youtube.videos.insert youtube.videos.update
2325 &quot;liveBroadcastContent&quot;: &quot;A String&quot;, # Indicates if the video is an upcoming/active live broadcast.
2326 # Or it&#x27;s &quot;none&quot; if the video is not an upcoming/active live broadcast.
2327 &quot;description&quot;: &quot;A String&quot;, # The video&#x27;s description.
2328 # @mutable youtube.videos.insert youtube.videos.update
2329 &quot;channelTitle&quot;: &quot;A String&quot;, # Channel title for the channel that the video belongs to.
2330 &quot;defaultAudioLanguage&quot;: &quot;A String&quot;, # The &lt;code&gt;default_audio_language&lt;/code&gt; property specifies the language
2331 # spoken in the video&#x27;s default audio track.
2332 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that the
2333 # video was uploaded to.
2334 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the video. For each object in the
2335 # map, the key is the name of the thumbnail image, and the value is an object
2336 # that contains other information about the thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -07002337 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07002338 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002339 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
2340 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
Bu Sun Kim65020912020-05-20 12:08:20 -07002341 },
2342 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07002343 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002344 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
2345 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
2346 },
2347 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
2348 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
2349 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
2350 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
2351 },
2352 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
2353 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
2354 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
2355 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
2356 },
2357 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
2358 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
2359 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
2360 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
Bu Sun Kim65020912020-05-20 12:08:20 -07002361 },
2362 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002363 &quot;categoryId&quot;: &quot;A String&quot;, # The YouTube &lt;a href=&quot;/youtube/v3/docs/videoCategories/list&quot;&gt;video
2364 # category&lt;/a&gt; associated with the video.
2365 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the video was uploaded. The value is specified
2366 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
2367 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -07002368 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002369 &quot;processingDetails&quot;: { # Describes processing status and progress and availability of some other Video # The &lt;code&gt;processingDetails&lt;/code&gt; object encapsulates information about
2370 # YouTube&#x27;s progress in processing the uploaded video file. The properties
2371 # in the object identify the current processing status and an estimate of
2372 # the time remaining until YouTube finishes processing the video. This part
2373 # also indicates whether different types of data or content, such as file
2374 # details or thumbnail images, are available for the video.&lt;br&gt;&lt;br&gt;
2375 # The &lt;code&gt;processingProgress&lt;/code&gt; object is designed to be polled so
2376 # that the video uploaded can track the progress that YouTube has made in
2377 # processing the uploaded video file. This data can only be retrieved by
2378 # the video owner.
2379 # resource parts.
2380 &quot;fileDetailsAvailability&quot;: &quot;A String&quot;, # This value indicates whether file details are available for the uploaded
2381 # video. You can retrieve a video&#x27;s file details by requesting the
2382 # &lt;code&gt;fileDetails&lt;/code&gt; part in your &lt;code&gt;videos.list()&lt;/code&gt; request.
2383 &quot;processingFailureReason&quot;: &quot;A String&quot;, # The reason that YouTube failed to process the video. This property will
2384 # only have a value if the &lt;code&gt;processingStatus&lt;/code&gt;
2385 # property&#x27;s value is &lt;code&gt;failed&lt;/code&gt;.
2386 &quot;editorSuggestionsAvailability&quot;: &quot;A String&quot;, # This value indicates whether video editing suggestions, which might
2387 # improve video quality or the playback experience, are available for
2388 # the video. You can retrieve these suggestions by requesting the
2389 # &lt;code&gt;suggestions&lt;/code&gt; part in your &lt;code&gt;videos.list()&lt;/code&gt; request.
2390 &quot;tagSuggestionsAvailability&quot;: &quot;A String&quot;, # This value indicates whether keyword (tag) suggestions are available for
2391 # the video. Tags can be added to a video&#x27;s metadata to make it easier for
2392 # other users to find the video. You can retrieve these suggestions by
2393 # requesting the &lt;code&gt;suggestions&lt;/code&gt; part in your
2394 # &lt;code&gt;videos.list()&lt;/code&gt; request.
2395 &quot;processingProgress&quot;: { # Video processing progress and completion time estimate. # The &lt;code&gt;processingProgress&lt;/code&gt; object contains information about the
2396 # progress YouTube has made in processing the video. The values are really
2397 # only relevant if the video&#x27;s processing status is &lt;code&gt;processing&lt;/code&gt;.
2398 &quot;timeLeftMs&quot;: &quot;A String&quot;, # An estimate of the amount of time, in millseconds, that YouTube needs
2399 # to finish processing the video.
2400 &quot;partsProcessed&quot;: &quot;A String&quot;, # The number of parts of the video that YouTube has already processed.
2401 # You can estimate the percentage of the video that YouTube has already
2402 # processed by calculating:&lt;br&gt;
2403 # &lt;code&gt;100 * parts_processed / parts_total&lt;/code&gt;&lt;br&gt;&lt;br&gt;
2404 # Note that since the estimated number of parts could increase without
2405 # a corresponding increase in the number of parts that have already been
2406 # processed, it is possible that the calculated progress could
2407 # periodically decrease while YouTube processes a video.
2408 &quot;partsTotal&quot;: &quot;A String&quot;, # An estimate of the total number of parts that need to be processed
2409 # for the video. The number may be updated with more precise estimates
2410 # while YouTube processes the video.
2411 },
2412 &quot;thumbnailsAvailability&quot;: &quot;A String&quot;, # This value indicates whether thumbnail images have been generated for
2413 # the video.
2414 &quot;processingIssuesAvailability&quot;: &quot;A String&quot;, # This value indicates whether the video processing engine has generated
2415 # suggestions that might improve YouTube&#x27;s ability to process the
2416 # the video, warnings that explain video processing problems, or
2417 # errors that cause video processing problems. You can retrieve these
2418 # suggestions by requesting the &lt;code&gt;suggestions&lt;/code&gt; part in your
2419 # &lt;code&gt;videos.list()&lt;/code&gt; request.
2420 &quot;processingStatus&quot;: &quot;A String&quot;, # The video&#x27;s processing status. This value indicates whether YouTube was
2421 # able to process the video or if the video is still being processed.
Bu Sun Kim65020912020-05-20 12:08:20 -07002422 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002423 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
2424 &quot;player&quot;: { # Player to be used for a video playback. # The &lt;code&gt;player&lt;/code&gt; object contains information that you would use to
2425 # play the video in an embedded player.
2426 &quot;embedWidth&quot;: &quot;A String&quot;, # The embed width
2427 &quot;embedHeight&quot;: &quot;A String&quot;,
2428 &quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; tag that embeds a player that will
2429 # play the video.
Bu Sun Kim65020912020-05-20 12:08:20 -07002430 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002431 &quot;liveStreamingDetails&quot;: { # Details about the live streaming metadata. # The &lt;code&gt;liveStreamingDetails&lt;/code&gt; object contains metadata about a live
2432 # video broadcast. The object will only be present in a &lt;code&gt;video&lt;/code&gt;
2433 # resource if the video is an upcoming, live, or completed live broadcast.
2434 &quot;activeLiveChatId&quot;: &quot;A String&quot;, # The ID of the currently active live chat attached to this video. This
2435 # field is filled only if the video is a currently live broadcast that has
2436 # live chat. Once the broadcast transitions to complete this field will be
2437 # removed and the live chat closed down. For persistent broadcasts that live
2438 # chat id will no longer be tied to this video but rather to the new video
2439 # being displayed at the persistent page.
2440 &quot;concurrentViewers&quot;: &quot;A String&quot;, # The number of viewers currently watching the broadcast. The property and
2441 # its value will be present if the broadcast has current viewers and the
2442 # broadcast owner has not hidden the viewcount for the video. Note that
2443 # YouTube stops tracking the number of concurrent viewers for a broadcast
2444 # when the broadcast ends. So, this property would not identify the number
2445 # of viewers watching an archived video of a live broadcast that already
2446 # ended.
2447 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The time that the broadcast is scheduled to end. The value is specified
2448 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
2449 # format. If the value is empty or
2450 # the property is not present, then the broadcast is scheduled to continue
2451 # indefinitely.
2452 &quot;actualStartTime&quot;: &quot;A String&quot;, # The time that the broadcast actually started. The value is specified
2453 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
2454 # format. This value will not be
2455 # available until the broadcast begins.
2456 &quot;actualEndTime&quot;: &quot;A String&quot;, # The time that the broadcast actually ended. The value is specified
2457 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
2458 # format. This value will not be
2459 # available until the broadcast is over.
2460 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The time that the broadcast is scheduled to begin. The value is specified
2461 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
2462 # format.
2463 },
2464 &quot;topicDetails&quot;: { # Freebase topic information related to the video. # The &lt;code&gt;topicDetails&lt;/code&gt; object encapsulates information about &lt;a
2465 # href=&quot;http://www.freebase.com&quot;&gt;Freebase&lt;/a&gt; topics associated with the
2466 # video.
2467 &quot;topicCategories&quot;: [ # A list of Wikipedia URLs that provide a high-level description of the
2468 # video&#x27;s content.
Bu Sun Kim65020912020-05-20 12:08:20 -07002469 &quot;A String&quot;,
2470 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002471 &quot;relevantTopicIds&quot;: [ # Similar to topic_id, except that these topics are merely relevant to the
2472 # video. These are topics that may be mentioned in, or appear in the video.
2473 # You can retrieve information about each topic using &lt;a
2474 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -07002475 &quot;A String&quot;,
2476 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002477 &quot;topicIds&quot;: [ # A list of Freebase topic IDs that are centrally associated with the video.
2478 # These are topics that are centrally featured in the video, and it can be
2479 # said that the video is mainly about each of these. You can retrieve
2480 # information about each topic using the &lt; a
2481 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -07002482 &quot;A String&quot;,
2483 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002484 },
2485 &quot;fileDetails&quot;: { # Describes original video file properties, including technical details about # The &lt;code&gt;fileDetails&lt;/code&gt; object encapsulates information about the
2486 # video file that was uploaded to YouTube, including the file&#x27;s resolution,
2487 # duration, audio and video codecs, stream bitrates, and more. This data can
2488 # only be retrieved by the video owner.
2489 # audio and video streams, but also metadata information like content length,
2490 # digitization time, or geotagging information.
2491 &quot;fileName&quot;: &quot;A String&quot;, # The uploaded file&#x27;s name. This field is present whether a video file or
2492 # another type of file was uploaded.
2493 &quot;videoStreams&quot;: [ # A list of video streams contained in the uploaded video file. Each item
2494 # in the list contains detailed metadata about a video stream.
2495 { # Information about a video stream.
2496 &quot;bitrateBps&quot;: &quot;A String&quot;, # The video stream&#x27;s bitrate, in bits per second.
2497 &quot;heightPixels&quot;: 42, # The encoded video content&#x27;s height in pixels.
2498 &quot;vendor&quot;: &quot;A String&quot;, # A value that uniquely identifies a video vendor. Typically, the value is
2499 # a four-letter vendor code.
2500 &quot;rotation&quot;: &quot;A String&quot;, # The amount that YouTube needs to rotate the original source content
2501 # to properly display the video.
2502 &quot;codec&quot;: &quot;A String&quot;, # The video codec that the stream uses.
2503 &quot;frameRateFps&quot;: 3.14, # The video stream&#x27;s frame rate, in frames per second.
2504 &quot;aspectRatio&quot;: 3.14, # The video content&#x27;s display aspect ratio, which specifies the aspect
2505 # ratio in which the video should be displayed.
2506 &quot;widthPixels&quot;: 42, # The encoded video content&#x27;s width in pixels. You can calculate the
2507 # video&#x27;s encoding aspect ratio as
2508 # &lt;code&gt;width_pixels&lt;/code&gt;&amp;nbsp;/&amp;nbsp;&lt;code&gt;height_pixels&lt;/code&gt;.
John Asmuth614db982014-04-24 15:46:26 -04002509 },
2510 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002511 &quot;audioStreams&quot;: [ # A list of audio streams contained in the uploaded video file. Each item
2512 # in the list contains detailed metadata about an audio stream.
2513 { # Information about an audio stream.
2514 &quot;codec&quot;: &quot;A String&quot;, # The audio codec that the stream uses.
2515 &quot;channelCount&quot;: 42, # The number of audio channels that the stream contains.
2516 &quot;vendor&quot;: &quot;A String&quot;, # A value that uniquely identifies a video vendor. Typically, the value
2517 # is a four-letter vendor code.
2518 &quot;bitrateBps&quot;: &quot;A String&quot;, # The audio stream&#x27;s bitrate, in bits per second.
2519 },
2520 ],
2521 &quot;bitrateBps&quot;: &quot;A String&quot;, # The uploaded video file&#x27;s combined (video and audio) bitrate in bits
2522 # per second.
2523 &quot;durationMs&quot;: &quot;A String&quot;, # The length of the uploaded video in milliseconds.
2524 &quot;fileType&quot;: &quot;A String&quot;, # The uploaded file&#x27;s type as detected by YouTube&#x27;s video processing
2525 # engine. Currently, YouTube only processes video files, but this field
2526 # is present whether a video file or another type of file was uploaded.
2527 &quot;fileSize&quot;: &quot;A String&quot;, # The uploaded file&#x27;s size in bytes. This field is present whether
2528 # a video file or another type of file was uploaded.
2529 &quot;container&quot;: &quot;A String&quot;, # The uploaded video file&#x27;s container format.
2530 &quot;creationTime&quot;: &quot;A String&quot;, # The date and time when the uploaded video file was created. The value is
2531 # specified in &lt;a href=&quot;http://www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
2532 # format. Currently, the following ISO 8601 formats are supported:
2533 # &lt;ul&gt;
2534 # &lt;li&gt;Date only: &lt;code&gt;YYYY-MM-DD&lt;/code&gt;&lt;/li&gt;
2535 # &lt;li&gt;Naive time: &lt;code&gt;YYYY-MM-DDTHH:MM:SS&lt;/code&gt;&lt;/li&gt;
2536 # &lt;li&gt;Time with timezone: &lt;code&gt;YYYY-MM-DDTHH:MM:SS+HH:MM&lt;/code&gt;&lt;/li&gt;
2537 # &lt;/ul&gt;
John Asmuth614db982014-04-24 15:46:26 -04002538 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002539 &quot;ageGating&quot;: { # Age restriction details related to a video. This data can only be retrieved
2540 # by the video owner.
2541 &quot;videoGameRating&quot;: &quot;A String&quot;, # Video game rating, if any.
2542 &quot;alcoholContent&quot;: True or False, # Indicates whether or not the video has alcoholic beverage content. Only
2543 # users of legal purchasing age in a particular country, as identified by
2544 # ICAP, can view the content.
2545 &quot;restricted&quot;: True or False, # Age-restricted trailers. For redband trailers and adult-rated video-games.
2546 # Only users aged 18+ can view the content. The the field is
2547 # &lt;code&gt;true&lt;/code&gt; the content is restricted to viewers aged 18+. Otherwise
2548 # The field won&#x27;t be present.
2549 },
2550 &quot;kind&quot;: &quot;youtube#video&quot;, # Identifies what kind of resource this is. Value: the fixed string
2551 # &lt;code&gt;&quot;youtube#video&quot;&lt;/code&gt;.
2552 &quot;suggestions&quot;: { # Specifies suggestions on how to improve video content, # The &lt;code&gt;suggestions&lt;/code&gt; object encapsulates suggestions that identify
2553 # opportunities to improve the video quality or the metadata for the uploaded
2554 # video. This data can only be retrieved by the video owner.
2555 # including encoding hints, tag suggestions, and editor suggestions.
2556 &quot;processingHints&quot;: [ # A list of suggestions that may improve YouTube&#x27;s ability to process the
2557 # video.
Bu Sun Kim65020912020-05-20 12:08:20 -07002558 &quot;A String&quot;,
2559 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002560 &quot;tagSuggestions&quot;: [ # A list of keyword tags that could be added to the video&#x27;s metadata to
2561 # increase the likelihood that users will locate your video when searching
2562 # or browsing on YouTube.
2563 { # A single tag suggestion with it&#x27;s relevance information.
2564 &quot;tag&quot;: &quot;A String&quot;, # The keyword tag suggested for the video.
2565 &quot;categoryRestricts&quot;: [ # A set of video categories for which the tag is relevant. You can use this
2566 # information to display appropriate tag suggestions based on the video
2567 # category that the video uploader associates with the video. By default,
2568 # tag suggestions are relevant for all categories if there are no restricts
2569 # defined for the keyword.
2570 &quot;A String&quot;,
2571 ],
2572 },
2573 ],
2574 &quot;processingErrors&quot;: [ # A list of errors that will prevent YouTube from successfully processing
2575 # the uploaded video video. These errors indicate that, regardless of the
2576 # video&#x27;s current &lt;a href=&quot;#processingProgress.processingStatus&quot;&gt;processing
2577 # status&lt;/a&gt;, eventually, that status will almost certainly be
2578 # &lt;code&gt;failed&lt;/code&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -07002579 &quot;A String&quot;,
2580 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002581 &quot;editorSuggestions&quot;: [ # A list of video editing operations that might improve the video quality
2582 # or playback experience of the uploaded video.
2583 &quot;A String&quot;,
2584 ],
2585 &quot;processingWarnings&quot;: [ # A list of reasons why YouTube may have difficulty transcoding the
2586 # uploaded video or that might result in an erroneous transcoding.
2587 # These warnings are generated before YouTube actually processes the
2588 # uploaded video file. In addition, they identify issues that are unlikely
2589 # to cause the video processing to fail but that might cause problems
2590 # such as sync issues, video artifacts, or a missing audio track.
Bu Sun Kim65020912020-05-20 12:08:20 -07002591 &quot;A String&quot;,
2592 ],
Craig Citroe633be12015-03-02 13:40:36 -08002593 },
John Asmuth614db982014-04-24 15:46:26 -04002594 }
2595
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002596 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
2597content partners.&lt;br&gt;&lt;br&gt;The
2598&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
2599that the
2600request&#x27;s authorization credentials identify a YouTube CMS user who is
2601acting on behalf of the content owner specified in the parameter value.
2602This parameter is intended for YouTube content partners that own and manage
2603many different YouTube channels. It allows content owners to authenticate
2604once and get access to all their video and channel data, without having to
2605provide authentication credentials for each individual channel. The actual
2606CMS account that the user authenticates with must be linked to the
2607specified YouTube content owner.
2608 x__xgafv: string, V1 error format.
2609 Allowed values
2610 1 - v1 error format
2611 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -04002612
2613Returns:
2614 An object of the form:
2615
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002616 { # A &lt;code&gt;&lt;strong&gt;video&lt;/strong&gt;&lt;/code&gt; resource represents a YouTube video.
2617 &quot;recordingDetails&quot;: { # Recording information associated with the video. # The &lt;code&gt;recordingDetails&lt;/code&gt; object encapsulates information about the
2618 # location, date and address where the video was recorded.
2619 &quot;locationDescription&quot;: &quot;A String&quot;, # The text description of the location where the video was recorded.
2620 &quot;recordingDate&quot;: &quot;A String&quot;, # The date and time when the video was recorded. The value is specified in &lt;a
2621 # href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
2622 # (&lt;code&gt;YYYY-MM-DDThh:mm:ss.sssZ&lt;/code&gt;) format.
2623 &quot;location&quot;: { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
2624 &quot;latitude&quot;: 3.14, # Latitude in degrees.
2625 &quot;longitude&quot;: 3.14, # Longitude in degrees.
2626 &quot;altitude&quot;: 3.14, # Altitude above the reference ellipsoid, in meters.
2627 },
John Asmuth614db982014-04-24 15:46:26 -04002628 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002629 &quot;contentDetails&quot;: { # Details about the content of a YouTube Video. # The &lt;code&gt;contentDetails&lt;/code&gt; object contains information about the video
2630 # content, including the length of the video and its aspect ratio.
2631 &quot;dimension&quot;: &quot;A String&quot;, # The value of &lt;code&gt;dimension&lt;/code&gt; indicates whether the video is
2632 # available in 3D or in 2D.
2633 &quot;caption&quot;: &quot;A String&quot;, # The value of &lt;code&gt;captions&lt;/code&gt; indicates whether the video
2634 # has captions or not.
2635 &quot;duration&quot;: &quot;A String&quot;, # The length of the video. The tag value is an &lt;a
2636 # href=&quot;//en.wikipedia.org/wiki/ISO_8601#Durations&quot;&gt;ISO 8601&lt;/a&gt; duration in
2637 # the format &lt;code&gt;PT#M#S&lt;/code&gt;, in which the letters &lt;code&gt;PT&lt;/code&gt;
2638 # indicate that the value specifies a period of time, and the letters
2639 # &lt;code&gt;M&lt;/code&gt; and &lt;code&gt;S&lt;/code&gt; refer to length in minutes and seconds,
2640 # respectively. The &lt;code&gt;#&lt;/code&gt; characters preceding the &lt;code&gt;M&lt;/code&gt;
2641 # and &lt;code&gt;S&lt;/code&gt; letters are both integers that specify the number of
2642 # minutes (or seconds) of the video. For example, a value of
2643 # &lt;code&gt;PT15M51S&lt;/code&gt; indicates that the video is 15 minutes and 51 seconds
2644 # long.
2645 &quot;hasCustomThumbnail&quot;: True or False, # Indicates whether the video uploader has provided a custom
2646 # thumbnail image for the video.
2647 # This property is only visible to the video uploader.
2648 &quot;regionRestriction&quot;: { # DEPRECATED Region restriction of the video. # The &lt;code&gt;regionRestriction&lt;/code&gt; object contains information about the
2649 # countries where a video is (or is not) viewable. The object will contain
2650 # either the &lt;code&gt;contentDetails.regionRestriction.allowed&lt;/code&gt; property
2651 # or the &lt;code&gt;contentDetails.regionRestriction.blocked&lt;/code&gt; property.
2652 &quot;allowed&quot;: [ # A list of region codes that identify countries where the video is
2653 # viewable. If this property is present and a country is not listed
2654 # in its value, then the video is blocked from appearing in that
2655 # country. If this property is present and contains an empty list,
2656 # the video is blocked in all countries.
Bu Sun Kim65020912020-05-20 12:08:20 -07002657 &quot;A String&quot;,
2658 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002659 &quot;blocked&quot;: [ # A list of region codes that identify countries where the video is
2660 # blocked. If this property is present and a country is not listed in
2661 # its value, then the video is viewable in that country. If this
2662 # property is present and contains an empty list, the video is
2663 # viewable in all countries.
2664 &quot;A String&quot;,
2665 ],
2666 },
2667 &quot;licensedContent&quot;: True or False, # The value of &lt;code&gt;is_license_content&lt;/code&gt; indicates whether the video is
2668 # licensed content.
2669 &quot;countryRestriction&quot;: { # Rights management policy for YouTube resources. # The &lt;code&gt;countryRestriction&lt;/code&gt; object contains information about the
2670 # countries where a video is (or is not) viewable.
2671 &quot;exception&quot;: [ # A list of region codes that identify countries where the default policy do
2672 # not apply.
2673 &quot;A String&quot;,
2674 ],
2675 &quot;allowed&quot;: True or False, # The value of &lt;code&gt;allowed&lt;/code&gt; indicates whether the access to the
2676 # policy is allowed or denied by default.
2677 },
2678 &quot;definition&quot;: &quot;A String&quot;, # The value of &lt;code&gt;definition&lt;/code&gt; indicates whether the video is
2679 # available in high definition or only in standard definition.
2680 &quot;contentRating&quot;: { # Ratings schemes. The country-specific ratings are mostly for # Specifies the ratings that the video received under various rating schemes.
2681 # movies and shows.
2682 # LINT.IfChange
2683 &quot;cscfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Luxembourg&#x27;s Commission de surveillance
2684 # de la classification des films (CSCF).
2685 &quot;icaaRating&quot;: &quot;A String&quot;, # The video&#x27;s Instituto de la Cinematograf&amp;iacute;a y de las Artes
2686 # Audiovisuales (ICAA - Spain) rating.
2687 &quot;mpaaRating&quot;: &quot;A String&quot;, # The video&#x27;s Motion Picture Association of America (MPAA) rating.
2688 &quot;nbcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Maldives National Bureau of Classification.
2689 &quot;oflcRating&quot;: &quot;A String&quot;, # The video&#x27;s Office of Film and Literature Classification
2690 # (OFLC - New Zealand) rating.
Bu Sun Kim65020912020-05-20 12:08:20 -07002691 &quot;fcbmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Malaysia&#x27;s Film Censorship Board.
Bu Sun Kim65020912020-05-20 12:08:20 -07002692 &quot;fpbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from South Africa&#x27;s Film and Publication Board.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002693 &quot;djctqRating&quot;: &quot;A String&quot;, # The video&#x27;s Departamento de Justi&amp;ccedil;a, Classifica&amp;ccedil;&amp;atilde;o,
2694 # Qualifica&amp;ccedil;&amp;atilde;o e T&amp;iacute;tulos (DJCQT - Brazil) rating.
2695 &quot;mpaatRating&quot;: &quot;A String&quot;, # The rating system for trailer, DVD, and Ad in the US. See
2696 # http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
2697 &quot;chfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Switzerland.
2698 &quot;nmcRating&quot;: &quot;A String&quot;, # The National Media Council ratings system for United Arab Emirates.
2699 &quot;acbRating&quot;: &quot;A String&quot;, # The video&#x27;s Australian Classification Board (ACB) or Australian
2700 # Communications and Media Authority (ACMA) rating. ACMA ratings are used
2701 # to classify children&#x27;s television programming.
2702 &quot;mccaaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Malta&#x27;s Film Age-Classification Board.
2703 &quot;mibacRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Ministero dei Beni e delle Attivit&amp;agrave;
2704 # Culturali e del Turismo (Italy).
2705 &quot;catvfrRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Canadian Radio-Television and
2706 # Telecommunications Commission (CRTC) for Canadian French-language
2707 # broadcasts. For more information, see the
2708 # &lt;a href=&quot;http://www.cbsc.ca/english/agvot/frenchsystem.php&quot;&gt;Canadian
2709 # Broadcast Standards Council&lt;/a&gt; website.
2710 &quot;moctwRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Taiwan&#x27;s Ministry of Culture
2711 # (&amp;#25991;&amp;#21270;&amp;#37096;).
2712 &quot;nkclvRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Nacion&amp;atilde;lais Kino centrs (National Film
2713 # Centre of Latvia).
2714 &quot;csaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from France&#x27;s Conseil sup&amp;eacute;rieur de
2715 # l’audiovisuel, which rates broadcast content.
2716 &quot;rteRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Ireland&#x27;s Raidi&amp;oacute; Teilif&amp;iacute;s
2717 # &amp;Eacute;ireann.
2718 &quot;ifcoRating&quot;: &quot;A String&quot;, # The video&#x27;s Irish Film Classification Office (IFCO - Ireland) rating.
2719 # See the &lt;a
2720 # href=&quot;http://www.ifco.ie/website/ifco/ifcoweb.nsf/web/classcatintro&quot;&gt;IFCO&lt;/a&gt;
2721 # website for more information.
2722 &quot;cceRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Portugal&#x27;s Comiss&amp;atilde;o de
2723 # Classifica&amp;ccedil;&amp;atilde;o de Espect&amp;acute;culos.
2724 &quot;ecbmctRating&quot;: &quot;A String&quot;, # Rating system in Turkey - Evaluation and Classification Board of the
2725 # Ministry of Culture and Tourism
2726 &quot;egfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Egypt.
2727 &quot;eirinRating&quot;: &quot;A String&quot;, # The video&#x27;s Eirin (&amp;#26144;&amp;#20523;) rating.
2728 # Eirin is the Japanese rating system.
2729 &quot;ilfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Israel.
2730 &quot;bmukkRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Austrian Board of Media Classification
2731 # (Bundesministerium f&amp;uuml;r Unterricht, Kunst und Kultur).
Bu Sun Kim65020912020-05-20 12:08:20 -07002732 &quot;fpbRatingReasons&quot;: [ # Reasons that explain why the video received its FPB (South Africa) rating.
2733 &quot;A String&quot;,
2734 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002735 &quot;tvpgRating&quot;: &quot;A String&quot;, # The video&#x27;s TV Parental Guidelines (TVPG) rating.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002736 &quot;smaisRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Iceland.
2737 &quot;mekuRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Finland&#x27;s Kansallinen Audiovisuaalinen Instituutti
2738 # (National Audiovisual Institute).
2739 &quot;smsaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Statens medier&amp;aring;d (Sweden&#x27;s National Media
2740 # Council).
2741 &quot;lsfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Indonesia&#x27;s Lembaga Sensor Film.
2742 &quot;nbcplRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Poland.
Bu Sun Kim65020912020-05-20 12:08:20 -07002743 &quot;ytRating&quot;: &quot;A String&quot;, # A rating that YouTube uses to identify age-restricted content.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002744 &quot;czfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in the Czech Republic.
2745 &quot;kijkwijzerRating&quot;: &quot;A String&quot;, # The video&#x27;s NICAM/Kijkwijzer rating from the Nederlands Instituut
2746 # voor de Classificatie van Audiovisuele Media (Netherlands).
2747 &quot;rcnofRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Hungarian Nemzeti Filmiroda, the Rating
2748 # Committee of the National Office of Film.
2749 &quot;cncRating&quot;: &quot;A String&quot;, # Rating system in France - Commission de classification cinematographique
2750 &quot;cbfcRating&quot;: &quot;A String&quot;, # The video&#x27;s Central Board of Film Certification (CBFC - India) rating.
2751 &quot;cicfRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Commission de Contr&amp;ocirc;le des Films
2752 # (Belgium).
2753 &quot;fcoRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Hong Kong&#x27;s Office for Film, Newspaper
2754 # and Article Administration.
2755 &quot;catvRating&quot;: &quot;A String&quot;, # Rating system for Canadian TV - Canadian TV Classification System
2756 # The video&#x27;s rating from the Canadian Radio-Television and
2757 # Telecommunications Commission (CRTC) for Canadian English-language
2758 # broadcasts. For more information, see the
2759 # &lt;a href=&quot;http://www.cbsc.ca/english/agvot/englishsystem.php&quot;&gt;Canadian
2760 # Broadcast Standards Council&lt;/a&gt; website.
2761 &quot;resorteviolenciaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Venezuela.
2762 &quot;russiaRating&quot;: &quot;A String&quot;, # The video&#x27;s National Film Registry of the Russian Federation
2763 # (MKRF - Russia) rating.
2764 &quot;kfcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Kenya Film Classification Board.
2765 &quot;bfvcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Thailand&#x27;s Board of Film and Video Censors.
2766 &quot;medietilsynetRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Medietilsynet, the Norwegian Media Authority.
2767 &quot;djctqRatingReasons&quot;: [ # Reasons that explain why the video received its DJCQT (Brazil) rating.
Bu Sun Kim65020912020-05-20 12:08:20 -07002768 &quot;A String&quot;,
2769 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002770 &quot;agcomRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Italy&#x27;s Autorit&amp;agrave; per le Garanzie nelle
2771 # Comunicazioni (AGCOM).
2772 &quot;pefilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Peru.
2773 &quot;mcstRating&quot;: &quot;A String&quot;, # The video&#x27;s rating system for Vietnam - MCST
2774 &quot;mccypRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Danish Film Institute&#x27;s (Det Danske
2775 # Filminstitut) Media Council for Children and Young People.
2776 &quot;grfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Greece.
2777 &quot;bbfcRating&quot;: &quot;A String&quot;, # The video&#x27;s British Board of Film Classification (BBFC) rating.
2778 &quot;menaMpaaRating&quot;: &quot;A String&quot;, # The rating system for MENA countries, a clone of MPAA. It is needed to
2779 # prevent titles go live w/o additional QC check, since some of them can be
2780 # inappropriate for the countries at all. See b/33408548 for more details.
2781 &quot;chvrsRating&quot;: &quot;A String&quot;, # The video&#x27;s Canadian Home Video Rating System (CHVRS) rating.
2782 &quot;mdaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Singapore&#x27;s Media Development Authority (MDA) and,
2783 # specifically, it&#x27;s Board of Film Censors (BFC).
2784 &quot;kmrbRating&quot;: &quot;A String&quot;, # The video&#x27;s Korea Media Rating Board
2785 # (&amp;#50689;&amp;#49345;&amp;#47932;&amp;#46321;&amp;#44553;&amp;#50948;&amp;#50896;&amp;#54924;) rating.
2786 # The KMRB rates videos in South Korea.
2787 &quot;nfrcRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the &lt;a href=&quot;http://www.nfc.bg/&quot;&gt;Bulgarian
2788 # National Film Center&lt;/a&gt;.
2789 &quot;fmocRating&quot;: &quot;A String&quot;, # &lt;span class=&quot;deprecated&quot;&gt;This property has been deprecated. Use the
2790 # &lt;code&gt;&lt;a
2791 # href=&quot;#contentDetails.contentRating.cncRating&quot;&gt;contentDetails.contentRating.cncRating&lt;/a&gt;&lt;/code&gt;
2792 # instead.&lt;/span&gt;
2793 &quot;eefilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Estonia.
2794 &quot;cnaRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Romania&#x27;s CONSILIUL NATIONAL AL AUDIOVIZUALULUI
2795 # (CNA).
2796 &quot;fskRating&quot;: &quot;A String&quot;, # The video&#x27;s Freiwillige Selbstkontrolle der Filmwirtschaft
2797 # (FSK - Germany) rating.
2798 &quot;skfilmRating&quot;: &quot;A String&quot;, # The video&#x27;s rating in Slovakia.
2799 &quot;incaaRating&quot;: &quot;A String&quot;, # The video&#x27;s INCAA (Instituto Nacional de Cine y Artes Audiovisuales -
2800 # Argentina) rating.
2801 &quot;mocRating&quot;: &quot;A String&quot;, # The video&#x27;s Ministerio de Cultura (Colombia) rating.
2802 &quot;rtcRating&quot;: &quot;A String&quot;, # The video&#x27;s General Directorate of Radio, Television and Cinematography
2803 # (Mexico) rating.
2804 &quot;anatelRating&quot;: &quot;A String&quot;, # The video&#x27;s Anatel (Asociaci&amp;oacute;n Nacional de Televisi&amp;oacute;n)
2805 # rating for Chilean television.
2806 &quot;mtrcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from the Movie and Television Review and
2807 # Classification Board (Philippines).
2808 &quot;cccRating&quot;: &quot;A String&quot;, # The video&#x27;s Consejo de Calificaci&amp;oacute;n Cinematogr&amp;aacute;fica (Chile)
2809 # rating.
2810 &quot;nfvcbRating&quot;: &quot;A String&quot;, # The video&#x27;s rating from Nigeria&#x27;s National Film and Video Censors Board.
Bu Sun Kim65020912020-05-20 12:08:20 -07002811 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002812 &quot;projection&quot;: &quot;A String&quot;, # Specifies the projection format of the video.
Bu Sun Kim65020912020-05-20 12:08:20 -07002813 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002814 &quot;projectDetails&quot;: { # Project specific details about the content of a YouTube Video. # The &lt;code&gt;projectDetails&lt;/code&gt; object contains information about the
2815 # project specific video metadata.
Bu Sun Kim65020912020-05-20 12:08:20 -07002816 &quot;tags&quot;: [ # A list of project tags associated with the video during the upload.
2817 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04002818 ],
2819 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002820 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the video.
2821 &quot;localizations&quot;: { # The &lt;code&gt;localizations&lt;/code&gt; object contains localized versions of the
2822 # basic details about the video, such as its title and description.
2823 &quot;a_key&quot;: { # Localized versions of certain video properties (e.g. title).
Bu Sun Kim65020912020-05-20 12:08:20 -07002824 &quot;title&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s title.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002825 &quot;description&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s description.
Bu Sun Kim65020912020-05-20 12:08:20 -07002826 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002827 },
2828 &quot;monetizationDetails&quot;: { # Details about monetization of a YouTube Video. # The &lt;code&gt;monetizationDetails&lt;/code&gt; object encapsulates information
2829 # about the monetization status of the video.
2830 &quot;access&quot;: { # Rights management policy for YouTube resources. # The value of &lt;code&gt;access&lt;/code&gt; indicates whether the video can be
2831 # monetized or not.
2832 &quot;exception&quot;: [ # A list of region codes that identify countries where the default policy do
2833 # not apply.
2834 &quot;A String&quot;,
2835 ],
2836 &quot;allowed&quot;: True or False, # The value of &lt;code&gt;allowed&lt;/code&gt; indicates whether the access to the
2837 # policy is allowed or denied by default.
2838 },
2839 },
2840 &quot;status&quot;: { # Basic details about a video category, such as its localized title. # The &lt;code&gt;status&lt;/code&gt; object contains information about the video&#x27;s
2841 # uploading, processing, and privacy statuses.
2842 # Next Id: 17
2843 &quot;failureReason&quot;: &quot;A String&quot;, # This value explains why a video failed to upload. This property is
2844 # only present if the &lt;code&gt;uploadStatus&lt;/code&gt; property indicates that
2845 # the upload failed.
2846 &quot;privacyStatus&quot;: &quot;A String&quot;, # The video&#x27;s privacy status.
2847 &quot;selfDeclaredMadeForKids&quot;: True or False,
2848 &quot;rejectionReason&quot;: &quot;A String&quot;, # This value explains why YouTube rejected an uploaded video. This
2849 # property is only present if the &lt;code&gt;uploadStatus&lt;/code&gt; property
2850 # indicates that the upload was rejected.
2851 &quot;embeddable&quot;: True or False, # This value indicates if the video can be embedded on another website.
2852 # @mutable youtube.videos.insert youtube.videos.update
2853 &quot;publishAt&quot;: &quot;A String&quot;, # The date and time when the video is scheduled to publish. It can be set
2854 # only if the privacy status of the video is private. The value is specified
2855 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
2856 # format.
2857 &quot;madeForKids&quot;: True or False,
2858 &quot;license&quot;: &quot;A String&quot;, # The video&#x27;s license.
2859 # @mutable youtube.videos.insert youtube.videos.update
2860 &quot;publicStatsViewable&quot;: True or False, # This value indicates if the extended video statistics on the watch page
2861 # can be viewed by everyone. Note that the view count, likes, etc will still
2862 # be visible if this is disabled.
2863 # @mutable youtube.videos.insert youtube.videos.update
2864 &quot;uploadStatus&quot;: &quot;A String&quot;, # The status of the uploaded video.
2865 },
2866 &quot;statistics&quot;: { # Statistics about the video, such as the number of times the video was viewed # The &lt;code&gt;statistics&lt;/code&gt; object contains statistics about the video.
2867 # or liked.
2868 &quot;likeCount&quot;: &quot;A String&quot;, # The number of users who have indicated that they liked the video by
2869 # giving it a positive rating.
2870 &quot;dislikeCount&quot;: &quot;A String&quot;, # The number of users who have indicated that they disliked the video by
2871 # giving it a negative rating.
2872 &quot;favoriteCount&quot;: &quot;A String&quot;, # The number of users who currently have the video marked as a favorite
2873 # video.
2874 &quot;commentCount&quot;: &quot;A String&quot;, # The number of comments for the video.
2875 &quot;viewCount&quot;: &quot;A String&quot;, # The number of times the video has been viewed.
2876 },
2877 &quot;snippet&quot;: { # Basic details about a video, including title, description, uploader, # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the video,
2878 # such as its title, description, and category.
2879 # thumbnails and category.
2880 &quot;localized&quot;: { # Localized versions of certain video properties (e.g. title). # Localized snippet selected with the hl parameter. If no such localization
2881 # exists, this field is populated with the default snippet. (Read-only)
2882 &quot;title&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s title.
2883 &quot;description&quot;: &quot;A String&quot;, # Localized version of the video&#x27;s description.
2884 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002885 &quot;tags&quot;: [ # A list of keyword tags associated with the video. Tags may contain spaces.
2886 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04002887 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002888 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the videos&#x27;s default snippet.
2889 &quot;title&quot;: &quot;A String&quot;, # The video&#x27;s title.
2890 # @mutable youtube.videos.insert youtube.videos.update
2891 &quot;liveBroadcastContent&quot;: &quot;A String&quot;, # Indicates if the video is an upcoming/active live broadcast.
2892 # Or it&#x27;s &quot;none&quot; if the video is not an upcoming/active live broadcast.
2893 &quot;description&quot;: &quot;A String&quot;, # The video&#x27;s description.
2894 # @mutable youtube.videos.insert youtube.videos.update
2895 &quot;channelTitle&quot;: &quot;A String&quot;, # Channel title for the channel that the video belongs to.
2896 &quot;defaultAudioLanguage&quot;: &quot;A String&quot;, # The &lt;code&gt;default_audio_language&lt;/code&gt; property specifies the language
2897 # spoken in the video&#x27;s default audio track.
2898 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that the
2899 # video was uploaded to.
2900 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the video. For each object in the
2901 # map, the key is the name of the thumbnail image, and the value is an object
2902 # that contains other information about the thumbnail.
Bu Sun Kim65020912020-05-20 12:08:20 -07002903 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07002904 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002905 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
2906 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
Bu Sun Kim65020912020-05-20 12:08:20 -07002907 },
2908 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07002909 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002910 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
2911 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
2912 },
2913 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
2914 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
2915 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
2916 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
2917 },
2918 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
2919 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
2920 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
2921 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
2922 },
2923 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
2924 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
2925 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
2926 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
Bu Sun Kim65020912020-05-20 12:08:20 -07002927 },
2928 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002929 &quot;categoryId&quot;: &quot;A String&quot;, # The YouTube &lt;a href=&quot;/youtube/v3/docs/videoCategories/list&quot;&gt;video
2930 # category&lt;/a&gt; associated with the video.
2931 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the video was uploaded. The value is specified
2932 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
2933 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -07002934 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002935 &quot;processingDetails&quot;: { # Describes processing status and progress and availability of some other Video # The &lt;code&gt;processingDetails&lt;/code&gt; object encapsulates information about
2936 # YouTube&#x27;s progress in processing the uploaded video file. The properties
2937 # in the object identify the current processing status and an estimate of
2938 # the time remaining until YouTube finishes processing the video. This part
2939 # also indicates whether different types of data or content, such as file
2940 # details or thumbnail images, are available for the video.&lt;br&gt;&lt;br&gt;
2941 # The &lt;code&gt;processingProgress&lt;/code&gt; object is designed to be polled so
2942 # that the video uploaded can track the progress that YouTube has made in
2943 # processing the uploaded video file. This data can only be retrieved by
2944 # the video owner.
2945 # resource parts.
2946 &quot;fileDetailsAvailability&quot;: &quot;A String&quot;, # This value indicates whether file details are available for the uploaded
2947 # video. You can retrieve a video&#x27;s file details by requesting the
2948 # &lt;code&gt;fileDetails&lt;/code&gt; part in your &lt;code&gt;videos.list()&lt;/code&gt; request.
2949 &quot;processingFailureReason&quot;: &quot;A String&quot;, # The reason that YouTube failed to process the video. This property will
2950 # only have a value if the &lt;code&gt;processingStatus&lt;/code&gt;
2951 # property&#x27;s value is &lt;code&gt;failed&lt;/code&gt;.
2952 &quot;editorSuggestionsAvailability&quot;: &quot;A String&quot;, # This value indicates whether video editing suggestions, which might
2953 # improve video quality or the playback experience, are available for
2954 # the video. You can retrieve these suggestions by requesting the
2955 # &lt;code&gt;suggestions&lt;/code&gt; part in your &lt;code&gt;videos.list()&lt;/code&gt; request.
2956 &quot;tagSuggestionsAvailability&quot;: &quot;A String&quot;, # This value indicates whether keyword (tag) suggestions are available for
2957 # the video. Tags can be added to a video&#x27;s metadata to make it easier for
2958 # other users to find the video. You can retrieve these suggestions by
2959 # requesting the &lt;code&gt;suggestions&lt;/code&gt; part in your
2960 # &lt;code&gt;videos.list()&lt;/code&gt; request.
2961 &quot;processingProgress&quot;: { # Video processing progress and completion time estimate. # The &lt;code&gt;processingProgress&lt;/code&gt; object contains information about the
2962 # progress YouTube has made in processing the video. The values are really
2963 # only relevant if the video&#x27;s processing status is &lt;code&gt;processing&lt;/code&gt;.
2964 &quot;timeLeftMs&quot;: &quot;A String&quot;, # An estimate of the amount of time, in millseconds, that YouTube needs
2965 # to finish processing the video.
2966 &quot;partsProcessed&quot;: &quot;A String&quot;, # The number of parts of the video that YouTube has already processed.
2967 # You can estimate the percentage of the video that YouTube has already
2968 # processed by calculating:&lt;br&gt;
2969 # &lt;code&gt;100 * parts_processed / parts_total&lt;/code&gt;&lt;br&gt;&lt;br&gt;
2970 # Note that since the estimated number of parts could increase without
2971 # a corresponding increase in the number of parts that have already been
2972 # processed, it is possible that the calculated progress could
2973 # periodically decrease while YouTube processes a video.
2974 &quot;partsTotal&quot;: &quot;A String&quot;, # An estimate of the total number of parts that need to be processed
2975 # for the video. The number may be updated with more precise estimates
2976 # while YouTube processes the video.
2977 },
2978 &quot;thumbnailsAvailability&quot;: &quot;A String&quot;, # This value indicates whether thumbnail images have been generated for
2979 # the video.
2980 &quot;processingIssuesAvailability&quot;: &quot;A String&quot;, # This value indicates whether the video processing engine has generated
2981 # suggestions that might improve YouTube&#x27;s ability to process the
2982 # the video, warnings that explain video processing problems, or
2983 # errors that cause video processing problems. You can retrieve these
2984 # suggestions by requesting the &lt;code&gt;suggestions&lt;/code&gt; part in your
2985 # &lt;code&gt;videos.list()&lt;/code&gt; request.
2986 &quot;processingStatus&quot;: &quot;A String&quot;, # The video&#x27;s processing status. This value indicates whether YouTube was
2987 # able to process the video or if the video is still being processed.
Bu Sun Kim65020912020-05-20 12:08:20 -07002988 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002989 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
2990 &quot;player&quot;: { # Player to be used for a video playback. # The &lt;code&gt;player&lt;/code&gt; object contains information that you would use to
2991 # play the video in an embedded player.
2992 &quot;embedWidth&quot;: &quot;A String&quot;, # The embed width
2993 &quot;embedHeight&quot;: &quot;A String&quot;,
2994 &quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; tag that embeds a player that will
2995 # play the video.
Bu Sun Kim65020912020-05-20 12:08:20 -07002996 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002997 &quot;liveStreamingDetails&quot;: { # Details about the live streaming metadata. # The &lt;code&gt;liveStreamingDetails&lt;/code&gt; object contains metadata about a live
2998 # video broadcast. The object will only be present in a &lt;code&gt;video&lt;/code&gt;
2999 # resource if the video is an upcoming, live, or completed live broadcast.
3000 &quot;activeLiveChatId&quot;: &quot;A String&quot;, # The ID of the currently active live chat attached to this video. This
3001 # field is filled only if the video is a currently live broadcast that has
3002 # live chat. Once the broadcast transitions to complete this field will be
3003 # removed and the live chat closed down. For persistent broadcasts that live
3004 # chat id will no longer be tied to this video but rather to the new video
3005 # being displayed at the persistent page.
3006 &quot;concurrentViewers&quot;: &quot;A String&quot;, # The number of viewers currently watching the broadcast. The property and
3007 # its value will be present if the broadcast has current viewers and the
3008 # broadcast owner has not hidden the viewcount for the video. Note that
3009 # YouTube stops tracking the number of concurrent viewers for a broadcast
3010 # when the broadcast ends. So, this property would not identify the number
3011 # of viewers watching an archived video of a live broadcast that already
3012 # ended.
3013 &quot;scheduledEndTime&quot;: &quot;A String&quot;, # The time that the broadcast is scheduled to end. The value is specified
3014 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
3015 # format. If the value is empty or
3016 # the property is not present, then the broadcast is scheduled to continue
3017 # indefinitely.
3018 &quot;actualStartTime&quot;: &quot;A String&quot;, # The time that the broadcast actually started. The value is specified
3019 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
3020 # format. This value will not be
3021 # available until the broadcast begins.
3022 &quot;actualEndTime&quot;: &quot;A String&quot;, # The time that the broadcast actually ended. The value is specified
3023 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
3024 # format. This value will not be
3025 # available until the broadcast is over.
3026 &quot;scheduledStartTime&quot;: &quot;A String&quot;, # The time that the broadcast is scheduled to begin. The value is specified
3027 # in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
3028 # format.
3029 },
3030 &quot;topicDetails&quot;: { # Freebase topic information related to the video. # The &lt;code&gt;topicDetails&lt;/code&gt; object encapsulates information about &lt;a
3031 # href=&quot;http://www.freebase.com&quot;&gt;Freebase&lt;/a&gt; topics associated with the
3032 # video.
3033 &quot;topicCategories&quot;: [ # A list of Wikipedia URLs that provide a high-level description of the
3034 # video&#x27;s content.
Bu Sun Kim65020912020-05-20 12:08:20 -07003035 &quot;A String&quot;,
3036 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003037 &quot;relevantTopicIds&quot;: [ # Similar to topic_id, except that these topics are merely relevant to the
3038 # video. These are topics that may be mentioned in, or appear in the video.
3039 # You can retrieve information about each topic using &lt;a
3040 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -07003041 &quot;A String&quot;,
3042 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003043 &quot;topicIds&quot;: [ # A list of Freebase topic IDs that are centrally associated with the video.
3044 # These are topics that are centrally featured in the video, and it can be
3045 # said that the video is mainly about each of these. You can retrieve
3046 # information about each topic using the &lt; a
3047 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -07003048 &quot;A String&quot;,
3049 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003050 },
3051 &quot;fileDetails&quot;: { # Describes original video file properties, including technical details about # The &lt;code&gt;fileDetails&lt;/code&gt; object encapsulates information about the
3052 # video file that was uploaded to YouTube, including the file&#x27;s resolution,
3053 # duration, audio and video codecs, stream bitrates, and more. This data can
3054 # only be retrieved by the video owner.
3055 # audio and video streams, but also metadata information like content length,
3056 # digitization time, or geotagging information.
3057 &quot;fileName&quot;: &quot;A String&quot;, # The uploaded file&#x27;s name. This field is present whether a video file or
3058 # another type of file was uploaded.
3059 &quot;videoStreams&quot;: [ # A list of video streams contained in the uploaded video file. Each item
3060 # in the list contains detailed metadata about a video stream.
3061 { # Information about a video stream.
3062 &quot;bitrateBps&quot;: &quot;A String&quot;, # The video stream&#x27;s bitrate, in bits per second.
3063 &quot;heightPixels&quot;: 42, # The encoded video content&#x27;s height in pixels.
3064 &quot;vendor&quot;: &quot;A String&quot;, # A value that uniquely identifies a video vendor. Typically, the value is
3065 # a four-letter vendor code.
3066 &quot;rotation&quot;: &quot;A String&quot;, # The amount that YouTube needs to rotate the original source content
3067 # to properly display the video.
3068 &quot;codec&quot;: &quot;A String&quot;, # The video codec that the stream uses.
3069 &quot;frameRateFps&quot;: 3.14, # The video stream&#x27;s frame rate, in frames per second.
3070 &quot;aspectRatio&quot;: 3.14, # The video content&#x27;s display aspect ratio, which specifies the aspect
3071 # ratio in which the video should be displayed.
3072 &quot;widthPixels&quot;: 42, # The encoded video content&#x27;s width in pixels. You can calculate the
3073 # video&#x27;s encoding aspect ratio as
3074 # &lt;code&gt;width_pixels&lt;/code&gt;&amp;nbsp;/&amp;nbsp;&lt;code&gt;height_pixels&lt;/code&gt;.
John Asmuth614db982014-04-24 15:46:26 -04003075 },
3076 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003077 &quot;audioStreams&quot;: [ # A list of audio streams contained in the uploaded video file. Each item
3078 # in the list contains detailed metadata about an audio stream.
3079 { # Information about an audio stream.
3080 &quot;codec&quot;: &quot;A String&quot;, # The audio codec that the stream uses.
3081 &quot;channelCount&quot;: 42, # The number of audio channels that the stream contains.
3082 &quot;vendor&quot;: &quot;A String&quot;, # A value that uniquely identifies a video vendor. Typically, the value
3083 # is a four-letter vendor code.
3084 &quot;bitrateBps&quot;: &quot;A String&quot;, # The audio stream&#x27;s bitrate, in bits per second.
3085 },
3086 ],
3087 &quot;bitrateBps&quot;: &quot;A String&quot;, # The uploaded video file&#x27;s combined (video and audio) bitrate in bits
3088 # per second.
3089 &quot;durationMs&quot;: &quot;A String&quot;, # The length of the uploaded video in milliseconds.
3090 &quot;fileType&quot;: &quot;A String&quot;, # The uploaded file&#x27;s type as detected by YouTube&#x27;s video processing
3091 # engine. Currently, YouTube only processes video files, but this field
3092 # is present whether a video file or another type of file was uploaded.
3093 &quot;fileSize&quot;: &quot;A String&quot;, # The uploaded file&#x27;s size in bytes. This field is present whether
3094 # a video file or another type of file was uploaded.
3095 &quot;container&quot;: &quot;A String&quot;, # The uploaded video file&#x27;s container format.
3096 &quot;creationTime&quot;: &quot;A String&quot;, # The date and time when the uploaded video file was created. The value is
3097 # specified in &lt;a href=&quot;http://www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
3098 # format. Currently, the following ISO 8601 formats are supported:
3099 # &lt;ul&gt;
3100 # &lt;li&gt;Date only: &lt;code&gt;YYYY-MM-DD&lt;/code&gt;&lt;/li&gt;
3101 # &lt;li&gt;Naive time: &lt;code&gt;YYYY-MM-DDTHH:MM:SS&lt;/code&gt;&lt;/li&gt;
3102 # &lt;li&gt;Time with timezone: &lt;code&gt;YYYY-MM-DDTHH:MM:SS+HH:MM&lt;/code&gt;&lt;/li&gt;
3103 # &lt;/ul&gt;
John Asmuth614db982014-04-24 15:46:26 -04003104 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003105 &quot;ageGating&quot;: { # Age restriction details related to a video. This data can only be retrieved
3106 # by the video owner.
3107 &quot;videoGameRating&quot;: &quot;A String&quot;, # Video game rating, if any.
3108 &quot;alcoholContent&quot;: True or False, # Indicates whether or not the video has alcoholic beverage content. Only
3109 # users of legal purchasing age in a particular country, as identified by
3110 # ICAP, can view the content.
3111 &quot;restricted&quot;: True or False, # Age-restricted trailers. For redband trailers and adult-rated video-games.
3112 # Only users aged 18+ can view the content. The the field is
3113 # &lt;code&gt;true&lt;/code&gt; the content is restricted to viewers aged 18+. Otherwise
3114 # The field won&#x27;t be present.
3115 },
3116 &quot;kind&quot;: &quot;youtube#video&quot;, # Identifies what kind of resource this is. Value: the fixed string
3117 # &lt;code&gt;&quot;youtube#video&quot;&lt;/code&gt;.
3118 &quot;suggestions&quot;: { # Specifies suggestions on how to improve video content, # The &lt;code&gt;suggestions&lt;/code&gt; object encapsulates suggestions that identify
3119 # opportunities to improve the video quality or the metadata for the uploaded
3120 # video. This data can only be retrieved by the video owner.
3121 # including encoding hints, tag suggestions, and editor suggestions.
3122 &quot;processingHints&quot;: [ # A list of suggestions that may improve YouTube&#x27;s ability to process the
3123 # video.
Bu Sun Kim65020912020-05-20 12:08:20 -07003124 &quot;A String&quot;,
3125 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003126 &quot;tagSuggestions&quot;: [ # A list of keyword tags that could be added to the video&#x27;s metadata to
3127 # increase the likelihood that users will locate your video when searching
3128 # or browsing on YouTube.
3129 { # A single tag suggestion with it&#x27;s relevance information.
3130 &quot;tag&quot;: &quot;A String&quot;, # The keyword tag suggested for the video.
3131 &quot;categoryRestricts&quot;: [ # A set of video categories for which the tag is relevant. You can use this
3132 # information to display appropriate tag suggestions based on the video
3133 # category that the video uploader associates with the video. By default,
3134 # tag suggestions are relevant for all categories if there are no restricts
3135 # defined for the keyword.
3136 &quot;A String&quot;,
3137 ],
3138 },
3139 ],
3140 &quot;processingErrors&quot;: [ # A list of errors that will prevent YouTube from successfully processing
3141 # the uploaded video video. These errors indicate that, regardless of the
3142 # video&#x27;s current &lt;a href=&quot;#processingProgress.processingStatus&quot;&gt;processing
3143 # status&lt;/a&gt;, eventually, that status will almost certainly be
3144 # &lt;code&gt;failed&lt;/code&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -07003145 &quot;A String&quot;,
3146 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003147 &quot;editorSuggestions&quot;: [ # A list of video editing operations that might improve the video quality
3148 # or playback experience of the uploaded video.
3149 &quot;A String&quot;,
3150 ],
3151 &quot;processingWarnings&quot;: [ # A list of reasons why YouTube may have difficulty transcoding the
3152 # uploaded video or that might result in an erroneous transcoding.
3153 # These warnings are generated before YouTube actually processes the
3154 # uploaded video file. In addition, they identify issues that are unlikely
3155 # to cause the video processing to fail but that might cause problems
3156 # such as sync issues, video artifacts, or a missing audio track.
Bu Sun Kim65020912020-05-20 12:08:20 -07003157 &quot;A String&quot;,
3158 ],
Craig Citroe633be12015-03-02 13:40:36 -08003159 },
John Asmuth614db982014-04-24 15:46:26 -04003160 }</pre>
3161</div>
3162
3163</body></html>