google-api-client 0.8.6 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (537) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +20 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +7 -0
  5. data/.rubocop_todo.yml +63 -0
  6. data/.travis.yml +23 -0
  7. data/.yardopts +12 -0
  8. data/CHANGELOG.md +58 -2
  9. data/CONTRIBUTING.md +31 -0
  10. data/Gemfile +38 -2
  11. data/MIGRATING.md +171 -0
  12. data/README.md +189 -147
  13. data/Rakefile +1 -40
  14. data/api_names.yaml +1088 -0
  15. data/api_names_out.yaml +26978 -0
  16. data/bin/generate-api +109 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
  20. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +3025 -0
  22. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1240 -0
  23. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1446 -0
  24. data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
  25. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
  26. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +347 -0
  27. data/generated/google/apis/adexchangeseller_v2_0/service.rb +668 -0
  28. data/generated/google/apis/adexchangeseller_v2_0.rb +38 -0
  29. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  30. data/generated/google/apis/admin_datatransfer_v1/representations.rb +130 -0
  31. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  32. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  33. data/generated/google/apis/admin_directory_v1/classes.rb +3141 -0
  34. data/generated/google/apis/admin_directory_v1/representations.rb +1147 -0
  35. data/generated/google/apis/admin_directory_v1/service.rb +3818 -0
  36. data/generated/google/apis/admin_directory_v1.rb +113 -0
  37. data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
  38. data/generated/google/apis/admin_reports_v1/representations.rb +257 -0
  39. data/generated/google/apis/admin_reports_v1/service.rb +336 -0
  40. data/generated/google/apis/admin_reports_v1.rb +38 -0
  41. data/generated/google/apis/adsense_v1_4/classes.rb +1280 -0
  42. data/generated/google/apis/adsense_v1_4/representations.rb +555 -0
  43. data/generated/google/apis/adsense_v1_4/service.rb +1714 -0
  44. data/generated/google/apis/adsense_v1_4.rb +38 -0
  45. data/generated/google/apis/adsensehost_v4_1/classes.rb +837 -0
  46. data/generated/google/apis/adsensehost_v4_1/representations.rb +367 -0
  47. data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
  48. data/generated/google/apis/adsensehost_v4_1.rb +35 -0
  49. data/generated/google/apis/analytics_v3/classes.rb +5118 -0
  50. data/generated/google/apis/analytics_v3/representations.rb +1850 -0
  51. data/generated/google/apis/analytics_v3/service.rb +3568 -0
  52. data/generated/google/apis/analytics_v3.rb +49 -0
  53. data/generated/google/apis/androidenterprise_v1/classes.rb +1443 -0
  54. data/generated/google/apis/androidenterprise_v1/representations.rb +614 -0
  55. data/generated/google/apis/androidenterprise_v1/service.rb +2607 -0
  56. data/generated/google/apis/androidenterprise_v1.rb +35 -0
  57. data/generated/google/apis/androidpublisher_v2/classes.rb +1411 -0
  58. data/generated/google/apis/androidpublisher_v2/representations.rb +738 -0
  59. data/generated/google/apis/androidpublisher_v2/service.rb +2338 -0
  60. data/generated/google/apis/androidpublisher_v2.rb +34 -0
  61. data/generated/google/apis/appengine_v1beta4/classes.rb +1585 -0
  62. data/generated/google/apis/appengine_v1beta4/representations.rb +542 -0
  63. data/generated/google/apis/appengine_v1beta4/service.rb +477 -0
  64. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  65. data/generated/google/apis/appengine_v1beta5/classes.rb +1544 -0
  66. data/generated/google/apis/appengine_v1beta5/representations.rb +594 -0
  67. data/generated/google/apis/appengine_v1beta5/service.rb +521 -0
  68. data/generated/google/apis/appengine_v1beta5.rb +35 -0
  69. data/generated/google/apis/appsactivity_v1/classes.rb +392 -0
  70. data/generated/google/apis/appsactivity_v1/representations.rb +206 -0
  71. data/generated/google/apis/appsactivity_v1/service.rb +128 -0
  72. data/generated/google/apis/appsactivity_v1.rb +46 -0
  73. data/generated/google/apis/appstate_v1/classes.rb +154 -0
  74. data/generated/google/apis/appstate_v1/representations.rb +87 -0
  75. data/generated/google/apis/appstate_v1/service.rb +260 -0
  76. data/generated/google/apis/appstate_v1.rb +34 -0
  77. data/generated/google/apis/autoscaler_v1beta2/classes.rb +747 -0
  78. data/generated/google/apis/autoscaler_v1beta2/representations.rb +313 -0
  79. data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
  80. data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
  81. data/generated/google/apis/bigquery_v2/classes.rb +2503 -0
  82. data/generated/google/apis/bigquery_v2/representations.rb +914 -0
  83. data/generated/google/apis/bigquery_v2/service.rb +982 -0
  84. data/generated/google/apis/bigquery_v2.rb +52 -0
  85. data/generated/google/apis/blogger_v3/classes.rb +1354 -0
  86. data/generated/google/apis/blogger_v3/representations.rb +632 -0
  87. data/generated/google/apis/blogger_v3/service.rb +1587 -0
  88. data/generated/google/apis/blogger_v3.rb +37 -0
  89. data/generated/google/apis/books_v1/classes.rb +4006 -0
  90. data/generated/google/apis/books_v1/representations.rb +1742 -0
  91. data/generated/google/apis/books_v1/service.rb +2293 -0
  92. data/generated/google/apis/books_v1.rb +34 -0
  93. data/generated/google/apis/calendar_v3/classes.rb +1742 -0
  94. data/generated/google/apis/calendar_v3/representations.rb +631 -0
  95. data/generated/google/apis/calendar_v3/service.rb +1968 -0
  96. data/generated/google/apis/calendar_v3.rb +37 -0
  97. data/generated/google/apis/civicinfo_v2/classes.rb +1127 -0
  98. data/generated/google/apis/civicinfo_v2/representations.rb +423 -0
  99. data/generated/google/apis/civicinfo_v2/service.rb +279 -0
  100. data/generated/google/apis/civicinfo_v2.rb +31 -0
  101. data/generated/google/apis/classroom_v1/classes.rb +512 -0
  102. data/generated/google/apis/classroom_v1/representations.rb +245 -0
  103. data/generated/google/apis/classroom_v1/service.rb +970 -0
  104. data/generated/google/apis/classroom_v1.rb +49 -0
  105. data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
  106. data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
  107. data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
  108. data/generated/google/apis/classroom_v1beta1.rb +49 -0
  109. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  110. data/generated/google/apis/cloudbilling_v1/representations.rb +87 -0
  111. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  112. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  113. data/generated/google/apis/cloudbuild_v1/classes.rb +521 -0
  114. data/generated/google/apis/cloudbuild_v1/representations.rb +214 -0
  115. data/generated/google/apis/cloudbuild_v1/service.rb +278 -0
  116. data/generated/google/apis/cloudbuild_v1.rb +35 -0
  117. data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
  118. data/generated/google/apis/clouddebugger_v2/representations.rb +464 -0
  119. data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
  120. data/generated/google/apis/clouddebugger_v2.rb +41 -0
  121. data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
  122. data/generated/google/apis/cloudlatencytest_v2/representations.rb +127 -0
  123. data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
  124. data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
  125. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
  126. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +353 -0
  127. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
  128. data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
  129. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +450 -0
  130. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +226 -0
  131. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +626 -0
  132. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
  133. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  134. data/generated/google/apis/cloudtrace_v1/representations.rb +102 -0
  135. data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
  136. data/generated/google/apis/cloudtrace_v1.rb +35 -0
  137. data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
  138. data/generated/google/apis/clouduseraccounts_beta/representations.rb +351 -0
  139. data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
  140. data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
  141. data/generated/google/apis/compute_beta/classes.rb +9741 -0
  142. data/generated/google/apis/compute_beta/representations.rb +3649 -0
  143. data/generated/google/apis/compute_beta/service.rb +10636 -0
  144. data/generated/google/apis/compute_beta.rb +49 -0
  145. data/generated/google/apis/compute_v1/classes.rb +9095 -0
  146. data/generated/google/apis/compute_v1/representations.rb +3389 -0
  147. data/generated/google/apis/compute_v1/service.rb +9627 -0
  148. data/generated/google/apis/compute_v1.rb +49 -0
  149. data/generated/google/apis/container_v1/classes.rb +463 -0
  150. data/generated/google/apis/container_v1/representations.rb +195 -0
  151. data/generated/google/apis/container_v1/service.rb +367 -0
  152. data/generated/google/apis/container_v1.rb +35 -0
  153. data/generated/google/apis/container_v1beta1/classes.rb +466 -0
  154. data/generated/google/apis/container_v1beta1/representations.rb +177 -0
  155. data/generated/google/apis/container_v1beta1/service.rb +394 -0
  156. data/generated/google/apis/container_v1beta1.rb +35 -0
  157. data/generated/google/apis/content_v2/classes.rb +6114 -0
  158. data/generated/google/apis/content_v2/representations.rb +2624 -0
  159. data/generated/google/apis/content_v2/service.rb +2338 -0
  160. data/generated/google/apis/content_v2.rb +35 -0
  161. data/generated/google/apis/coordinate_v1/classes.rb +669 -0
  162. data/generated/google/apis/coordinate_v1/representations.rb +321 -0
  163. data/generated/google/apis/coordinate_v1/service.rb +678 -0
  164. data/generated/google/apis/coordinate_v1.rb +37 -0
  165. data/generated/google/apis/customsearch_v1/classes.rb +771 -0
  166. data/generated/google/apis/customsearch_v1/representations.rb +302 -0
  167. data/generated/google/apis/customsearch_v1/service.rb +207 -0
  168. data/{lib/google/api_client/auth/compute_service_account.rb → generated/google/apis/customsearch_v1.rb} +13 -10
  169. data/generated/google/apis/dataproc_v1/classes.rb +1590 -0
  170. data/generated/google/apis/dataproc_v1/representations.rb +653 -0
  171. data/generated/google/apis/dataproc_v1/service.rb +719 -0
  172. data/generated/google/apis/dataproc_v1.rb +43 -0
  173. data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
  174. data/generated/google/apis/datastore_v1beta2/representations.rb +594 -0
  175. data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
  176. data/generated/google/apis/datastore_v1beta2.rb +40 -0
  177. data/generated/google/apis/deploymentmanager_v2/classes.rb +1162 -0
  178. data/generated/google/apis/deploymentmanager_v2/representations.rb +508 -0
  179. data/generated/google/apis/deploymentmanager_v2/service.rb +862 -0
  180. data/generated/google/apis/deploymentmanager_v2.rb +44 -0
  181. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
  182. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
  183. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
  184. data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
  185. data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
  186. data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
  187. data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
  188. data/generated/google/apis/dfareporting_v2_1.rb +37 -0
  189. data/generated/google/apis/dfareporting_v2_3/classes.rb +10830 -0
  190. data/generated/google/apis/dfareporting_v2_3/representations.rb +3829 -0
  191. data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
  192. data/generated/google/apis/dfareporting_v2_3.rb +37 -0
  193. data/generated/google/apis/discovery_v1/classes.rb +961 -0
  194. data/generated/google/apis/discovery_v1/representations.rb +397 -0
  195. data/generated/google/apis/discovery_v1/service.rb +142 -0
  196. data/generated/google/apis/discovery_v1.rb +32 -0
  197. data/generated/google/apis/dns_v1/classes.rb +406 -0
  198. data/generated/google/apis/dns_v1/representations.rb +167 -0
  199. data/generated/google/apis/dns_v1/service.rb +454 -0
  200. data/generated/google/apis/dns_v1.rb +44 -0
  201. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +802 -0
  202. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +371 -0
  203. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +374 -0
  204. data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
  205. data/generated/google/apis/doubleclicksearch_v2/classes.rb +958 -0
  206. data/generated/google/apis/doubleclicksearch_v2/representations.rb +350 -0
  207. data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
  208. data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
  209. data/generated/google/apis/drive_v2/classes.rb +2569 -0
  210. data/generated/google/apis/drive_v2/representations.rb +878 -0
  211. data/generated/google/apis/drive_v2/service.rb +2740 -0
  212. data/generated/google/apis/drive_v2.rb +58 -0
  213. data/generated/google/apis/drive_v3/classes.rb +1541 -0
  214. data/generated/google/apis/drive_v3/representations.rb +548 -0
  215. data/generated/google/apis/drive_v3/service.rb +1542 -0
  216. data/generated/google/apis/drive_v3.rb +55 -0
  217. data/generated/google/apis/fitness_v1/classes.rb +885 -0
  218. data/generated/google/apis/fitness_v1/representations.rb +360 -0
  219. data/generated/google/apis/fitness_v1/service.rb +675 -0
  220. data/generated/google/apis/fitness_v1.rb +49 -0
  221. data/generated/google/apis/fusiontables_v2/classes.rb +1048 -0
  222. data/generated/google/apis/fusiontables_v2/representations.rb +457 -0
  223. data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
  224. data/generated/google/apis/fusiontables_v2.rb +37 -0
  225. data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
  226. data/generated/google/apis/games_configuration_v1configuration/representations.rb +228 -0
  227. data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
  228. data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
  229. data/generated/google/apis/games_management_v1management/classes.rb +533 -0
  230. data/generated/google/apis/games_management_v1management/representations.rb +262 -0
  231. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  232. data/generated/google/apis/games_management_v1management.rb +37 -0
  233. data/generated/google/apis/games_v1/classes.rb +4626 -0
  234. data/generated/google/apis/games_v1/representations.rb +1783 -0
  235. data/generated/google/apis/games_v1/service.rb +2290 -0
  236. data/generated/google/apis/games_v1.rb +40 -0
  237. data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
  238. data/generated/google/apis/gan_v1beta1/representations.rb +462 -0
  239. data/generated/google/apis/gan_v1beta1/service.rb +682 -0
  240. data/generated/google/apis/gan_v1beta1.rb +31 -0
  241. data/generated/google/apis/genomics_v1/classes.rb +2609 -0
  242. data/generated/google/apis/genomics_v1/representations.rb +1029 -0
  243. data/generated/google/apis/genomics_v1/service.rb +1676 -0
  244. data/generated/google/apis/genomics_v1.rb +49 -0
  245. data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
  246. data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
  247. data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
  248. data/generated/google/apis/genomics_v1beta2.rb +46 -0
  249. data/generated/google/apis/gmail_v1/classes.rb +794 -0
  250. data/generated/google/apis/gmail_v1/representations.rb +383 -0
  251. data/generated/google/apis/gmail_v1/service.rb +1470 -0
  252. data/generated/google/apis/gmail_v1.rb +52 -0
  253. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  254. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  255. data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
  256. data/generated/google/apis/groupsmigration_v1.rb +34 -0
  257. data/generated/google/apis/groupssettings_v1/classes.rb +221 -0
  258. data/generated/google/apis/groupssettings_v1/representations.rb +66 -0
  259. data/generated/google/apis/groupssettings_v1/service.rb +179 -0
  260. data/generated/google/apis/groupssettings_v1.rb +34 -0
  261. data/generated/google/apis/identitytoolkit_v3/classes.rb +1637 -0
  262. data/generated/google/apis/identitytoolkit_v3/representations.rb +618 -0
  263. data/generated/google/apis/identitytoolkit_v3/service.rb +616 -0
  264. data/generated/google/apis/identitytoolkit_v3.rb +31 -0
  265. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  266. data/generated/google/apis/kgsearch_v1/representations.rb +41 -0
  267. data/generated/google/apis/kgsearch_v1/service.rb +111 -0
  268. data/{spec/google/api_client/request_spec.rb → generated/google/apis/kgsearch_v1.rb} +16 -13
  269. data/generated/google/apis/licensing_v1/classes.rb +132 -0
  270. data/generated/google/apis/licensing_v1/representations.rb +74 -0
  271. data/generated/google/apis/licensing_v1/service.rb +369 -0
  272. data/generated/google/apis/licensing_v1.rb +34 -0
  273. data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
  274. data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
  275. data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
  276. data/generated/google/apis/logging_v1beta3.rb +47 -0
  277. data/generated/google/apis/logging_v2beta1/classes.rb +990 -0
  278. data/generated/google/apis/logging_v2beta1/representations.rb +377 -0
  279. data/generated/google/apis/logging_v2beta1/service.rb +547 -0
  280. data/generated/google/apis/logging_v2beta1.rb +47 -0
  281. data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
  282. data/generated/google/apis/manager_v1beta2/representations.rb +606 -0
  283. data/generated/google/apis/manager_v1beta2/service.rb +372 -0
  284. data/generated/google/apis/manager_v1beta2.rb +53 -0
  285. data/generated/google/apis/mirror_v1/classes.rb +1072 -0
  286. data/generated/google/apis/mirror_v1/representations.rb +390 -0
  287. data/generated/google/apis/mirror_v1/service.rb +977 -0
  288. data/generated/google/apis/mirror_v1.rb +37 -0
  289. data/generated/google/apis/oauth2_v2/classes.rb +245 -0
  290. data/generated/google/apis/oauth2_v2/representations.rb +102 -0
  291. data/generated/google/apis/oauth2_v2/service.rb +199 -0
  292. data/generated/google/apis/oauth2_v2.rb +43 -0
  293. data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
  294. data/generated/google/apis/pagespeedonline_v2/representations.rb +272 -0
  295. data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
  296. data/generated/google/apis/pagespeedonline_v2.rb +32 -0
  297. data/generated/google/apis/partners_v2/classes.rb +942 -0
  298. data/generated/google/apis/partners_v2/representations.rb +454 -0
  299. data/generated/google/apis/partners_v2/service.rb +400 -0
  300. data/generated/google/apis/partners_v2.rb +32 -0
  301. data/generated/google/apis/people_v1/classes.rb +1521 -0
  302. data/generated/google/apis/people_v1/representations.rb +663 -0
  303. data/generated/google/apis/people_v1/service.rb +189 -0
  304. data/generated/google/apis/people_v1.rb +59 -0
  305. data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
  306. data/generated/google/apis/plus_domains_v1/representations.rb +1111 -0
  307. data/generated/google/apis/plus_domains_v1/service.rb +904 -0
  308. data/generated/google/apis/plus_domains_v1.rb +61 -0
  309. data/generated/google/apis/plus_v1/classes.rb +2094 -0
  310. data/generated/google/apis/plus_v1/representations.rb +907 -0
  311. data/generated/google/apis/plus_v1/service.rb +470 -0
  312. data/generated/google/apis/plus_v1.rb +43 -0
  313. data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
  314. data/generated/google/apis/prediction_v1_6/representations.rb +369 -0
  315. data/generated/google/apis/prediction_v1_6/service.rb +380 -0
  316. data/generated/google/apis/prediction_v1_6.rb +44 -0
  317. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
  318. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +312 -0
  319. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
  320. data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
  321. data/generated/google/apis/pubsub_v1/classes.rb +614 -0
  322. data/generated/google/apis/pubsub_v1/representations.rb +323 -0
  323. data/generated/google/apis/pubsub_v1/service.rb +774 -0
  324. data/generated/google/apis/pubsub_v1.rb +37 -0
  325. data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
  326. data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
  327. data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
  328. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  329. data/generated/google/apis/qpx_express_v1/classes.rb +1268 -0
  330. data/generated/google/apis/qpx_express_v1/representations.rb +472 -0
  331. data/generated/google/apis/qpx_express_v1/service.rb +100 -0
  332. data/generated/google/apis/qpx_express_v1.rb +31 -0
  333. data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
  334. data/generated/google/apis/replicapool_v1beta2/representations.rb +264 -0
  335. data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
  336. data/generated/google/apis/replicapool_v1beta2.rb +44 -0
  337. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
  338. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +294 -0
  339. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +508 -0
  340. data/generated/google/apis/replicapoolupdater_v1beta1.rb +44 -0
  341. data/generated/google/apis/reseller_v1/classes.rb +526 -0
  342. data/generated/google/apis/reseller_v1/representations.rb +223 -0
  343. data/generated/google/apis/reseller_v1/service.rb +623 -0
  344. data/generated/google/apis/reseller_v1.rb +37 -0
  345. data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
  346. data/generated/google/apis/resourceviews_v1beta2/representations.rb +301 -0
  347. data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
  348. data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
  349. data/generated/google/apis/script_v1/classes.rb +259 -0
  350. data/generated/google/apis/script_v1/representations.rb +118 -0
  351. data/generated/google/apis/script_v1/service.rb +98 -0
  352. data/generated/google/apis/script_v1.rb +61 -0
  353. data/generated/google/apis/site_verification_v1/classes.rb +185 -0
  354. data/generated/google/apis/site_verification_v1/representations.rb +113 -0
  355. data/generated/google/apis/site_verification_v1/service.rb +315 -0
  356. data/generated/google/apis/site_verification_v1.rb +37 -0
  357. data/generated/google/apis/sqladmin_v1beta4/classes.rb +2030 -0
  358. data/generated/google/apis/sqladmin_v1beta4/representations.rb +856 -0
  359. data/generated/google/apis/sqladmin_v1beta4/service.rb +1625 -0
  360. data/generated/google/apis/sqladmin_v1beta4.rb +37 -0
  361. data/generated/google/apis/storage_v1/classes.rb +1222 -0
  362. data/generated/google/apis/storage_v1/representations.rb +497 -0
  363. data/generated/google/apis/storage_v1/service.rb +1903 -0
  364. data/generated/google/apis/storage_v1.rb +46 -0
  365. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  366. data/generated/google/apis/storagetransfer_v1/representations.rb +418 -0
  367. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  368. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  369. data/generated/google/apis/tagmanager_v1/classes.rb +1494 -0
  370. data/generated/google/apis/tagmanager_v1/representations.rb +611 -0
  371. data/generated/google/apis/tagmanager_v1/service.rb +2119 -0
  372. data/generated/google/apis/tagmanager_v1.rb +52 -0
  373. data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
  374. data/generated/google/apis/taskqueue_v1beta2/representations.rb +126 -0
  375. data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
  376. data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
  377. data/generated/google/apis/tasks_v1/classes.rb +296 -0
  378. data/generated/google/apis/tasks_v1/representations.rb +125 -0
  379. data/generated/google/apis/tasks_v1/service.rb +643 -0
  380. data/generated/google/apis/tasks_v1.rb +37 -0
  381. data/generated/google/apis/translate_v2/classes.rb +168 -0
  382. data/generated/google/apis/translate_v2/representations.rb +121 -0
  383. data/generated/google/apis/translate_v2/service.rb +182 -0
  384. data/generated/google/apis/translate_v2.rb +31 -0
  385. data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
  386. data/generated/google/apis/urlshortener_v1/representations.rb +121 -0
  387. data/generated/google/apis/urlshortener_v1/service.rb +176 -0
  388. data/generated/google/apis/urlshortener_v1.rb +34 -0
  389. data/generated/google/apis/vision_v1/classes.rb +1259 -0
  390. data/generated/google/apis/vision_v1/representations.rb +418 -0
  391. data/generated/google/apis/vision_v1/service.rb +91 -0
  392. data/generated/google/apis/vision_v1.rb +37 -0
  393. data/generated/google/apis/webmasters_v3/classes.rb +563 -0
  394. data/generated/google/apis/webmasters_v3/representations.rb +282 -0
  395. data/generated/google/apis/webmasters_v3/service.rb +573 -0
  396. data/generated/google/apis/webmasters_v3.rb +37 -0
  397. data/generated/google/apis/youtube_analytics_v1/classes.rb +546 -0
  398. data/generated/google/apis/youtube_analytics_v1/representations.rb +273 -0
  399. data/generated/google/apis/youtube_analytics_v1/service.rb +562 -0
  400. data/generated/google/apis/youtube_analytics_v1.rb +46 -0
  401. data/generated/google/apis/youtube_v3/classes.rb +8071 -0
  402. data/generated/google/apis/youtube_v3/representations.rb +3134 -0
  403. data/generated/google/apis/youtube_v3/service.rb +4403 -0
  404. data/generated/google/apis/youtube_v3.rb +49 -0
  405. data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
  406. data/generated/google/apis/youtubereporting_v1/representations.rb +144 -0
  407. data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
  408. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  409. data/google-api-client.gemspec +25 -39
  410. data/lib/google/api_client/auth/installed_app.rb +7 -5
  411. data/lib/google/api_client/auth/key_utils.rb +1 -0
  412. data/lib/google/api_client/auth/storage.rb +4 -2
  413. data/lib/google/api_client/auth/storages/file_store.rb +2 -3
  414. data/lib/google/api_client/auth/storages/redis_store.rb +7 -2
  415. data/lib/google/api_client/client_secrets.rb +7 -9
  416. data/lib/google/apis/core/api_command.rb +136 -0
  417. data/lib/google/apis/core/base_service.rb +317 -0
  418. data/lib/google/apis/core/batch.rb +239 -0
  419. data/lib/google/apis/core/download.rb +94 -0
  420. data/lib/google/apis/core/hashable.rb +44 -0
  421. data/lib/google/apis/core/http_client_adapter.rb +82 -0
  422. data/lib/google/apis/core/http_command.rb +328 -0
  423. data/lib/google/apis/core/json_representation.rb +145 -0
  424. data/lib/google/{api_client/version.rb → apis/core/logging.rb} +12 -8
  425. data/lib/google/apis/core/multipart.rb +187 -0
  426. data/lib/google/apis/core/upload.rb +289 -0
  427. data/lib/google/{api_client → apis}/errors.rb +39 -28
  428. data/lib/google/apis/generator/annotator.rb +295 -0
  429. data/lib/google/apis/generator/helpers.rb +74 -0
  430. data/lib/google/apis/generator/model.rb +143 -0
  431. data/lib/google/apis/generator/template.rb +124 -0
  432. data/lib/google/apis/generator/templates/_class.tmpl +40 -0
  433. data/lib/google/apis/generator/templates/_method.tmpl +92 -0
  434. data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
  435. data/lib/google/apis/generator/templates/_representation_stub.tmpl +17 -0
  436. data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
  437. data/lib/google/{api_client/reference.rb → apis/generator/templates/classes.rb.tmpl} +11 -9
  438. data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
  439. data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
  440. data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
  441. data/lib/google/apis/generator.rb +70 -0
  442. data/lib/google/apis/options.rb +85 -0
  443. data/lib/google/apis/version.rb +39 -0
  444. data/lib/google/apis.rb +48 -0
  445. data/rakelib/metrics.rake +22 -0
  446. data/rakelib/rubocop.rake +10 -0
  447. data/rakelib/spec.rake +11 -0
  448. data/rakelib/yard.rake +11 -0
  449. data/samples/cli/Gemfile +7 -0
  450. data/samples/cli/README.md +51 -0
  451. data/samples/cli/google-api-samples +32 -0
  452. data/samples/cli/lib/base_cli.rb +95 -0
  453. data/samples/cli/lib/samples/analytics.rb +62 -0
  454. data/samples/cli/lib/samples/androidpublisher.rb +47 -0
  455. data/samples/cli/lib/samples/calendar.rb +83 -0
  456. data/samples/cli/lib/samples/drive.rb +82 -0
  457. data/samples/cli/lib/samples/gmail.rb +50 -0
  458. data/samples/cli/lib/samples/pubsub.rb +114 -0
  459. data/samples/cli/lib/samples/translate.rb +44 -0
  460. data/samples/cli/lib/samples/you_tube.rb +44 -0
  461. data/samples/web/Gemfile +7 -0
  462. data/samples/web/README.md +44 -0
  463. data/samples/web/app.rb +120 -0
  464. data/samples/web/views/calendar.erb +34 -0
  465. data/{lib/google/api_client/service_account.rb → samples/web/views/drive.erb} +20 -8
  466. data/samples/web/views/home.erb +35 -0
  467. data/samples/web/views/layout.erb +40 -0
  468. data/script/generate +100 -0
  469. data/script/package +8 -0
  470. data/script/release +15 -0
  471. data/spec/fixtures/files/api_names.yaml +3 -0
  472. data/spec/fixtures/files/auth_stored_credentials.json +8 -0
  473. data/spec/fixtures/files/child/.gitignore +0 -0
  474. data/spec/fixtures/files/client_secrets.json +1 -0
  475. data/spec/fixtures/files/invalid.json +1 -0
  476. data/spec/fixtures/files/test.blah +1 -0
  477. data/spec/fixtures/files/test.txt +1 -0
  478. data/spec/fixtures/files/test_api.json +440 -0
  479. data/spec/google/api_client/auth/storage_spec.rb +1 -3
  480. data/spec/google/api_client/auth/storages/file_store_spec.rb +1 -2
  481. data/spec/google/api_client/auth/storages/redis_store_spec.rb +1 -3
  482. data/spec/google/api_client/client_secrets_spec.rb +338 -2
  483. data/spec/google/apis/core/api_command_spec.rb +209 -0
  484. data/spec/google/apis/core/batch_spec.rb +142 -0
  485. data/spec/google/apis/core/download_spec.rb +103 -0
  486. data/spec/google/apis/core/hashable_spec.rb +60 -0
  487. data/spec/google/apis/core/http_command_spec.rb +303 -0
  488. data/spec/google/apis/core/json_representation_spec.rb +199 -0
  489. data/spec/google/apis/core/service_spec.rb +247 -0
  490. data/spec/google/apis/core/upload_spec.rb +300 -0
  491. data/{lib/google/api_client/discovery.rb → spec/google/apis/generated_spec.rb} +13 -5
  492. data/spec/google/apis/generator/generator_spec.rb +324 -0
  493. data/spec/google/apis/logging_spec.rb +45 -0
  494. data/spec/google/apis/options_spec.rb +40 -0
  495. data/spec/integration_tests/adsense_spec.rb +29 -0
  496. data/spec/integration_tests/drive_spec.rb +35 -0
  497. data/spec/integration_tests/pubsub_spec.rb +48 -0
  498. data/spec/integration_tests/url_shortener_spec.rb +45 -0
  499. data/spec/spec_helper/load_path_spec.rb +33 -0
  500. data/spec/spec_helper.rb +131 -44
  501. data/third_party/hurley_patches.rb +103 -0
  502. metadata +563 -188
  503. data/lib/compat/multi_json.rb +0 -19
  504. data/lib/google/api_client/auth/file_storage.rb +0 -59
  505. data/lib/google/api_client/auth/jwt_asserter.rb +0 -126
  506. data/lib/google/api_client/auth/pkcs12.rb +0 -41
  507. data/lib/google/api_client/batch.rb +0 -326
  508. data/lib/google/api_client/charset.rb +0 -33
  509. data/lib/google/api_client/discovery/api.rb +0 -310
  510. data/lib/google/api_client/discovery/media.rb +0 -77
  511. data/lib/google/api_client/discovery/method.rb +0 -363
  512. data/lib/google/api_client/discovery/resource.rb +0 -156
  513. data/lib/google/api_client/discovery/schema.rb +0 -117
  514. data/lib/google/api_client/environment.rb +0 -42
  515. data/lib/google/api_client/gzip.rb +0 -28
  516. data/lib/google/api_client/logging.rb +0 -32
  517. data/lib/google/api_client/media.rb +0 -259
  518. data/lib/google/api_client/railtie.rb +0 -18
  519. data/lib/google/api_client/request.rb +0 -350
  520. data/lib/google/api_client/result.rb +0 -255
  521. data/lib/google/api_client/service/batch.rb +0 -110
  522. data/lib/google/api_client/service/request.rb +0 -144
  523. data/lib/google/api_client/service/resource.rb +0 -40
  524. data/lib/google/api_client/service/result.rb +0 -162
  525. data/lib/google/api_client/service/simple_file_store.rb +0 -151
  526. data/lib/google/api_client/service/stub_generator.rb +0 -61
  527. data/lib/google/api_client/service.rb +0 -233
  528. data/lib/google/api_client.rb +0 -750
  529. data/spec/google/api_client/batch_spec.rb +0 -248
  530. data/spec/google/api_client/discovery_spec.rb +0 -708
  531. data/spec/google/api_client/gzip_spec.rb +0 -98
  532. data/spec/google/api_client/media_spec.rb +0 -178
  533. data/spec/google/api_client/result_spec.rb +0 -207
  534. data/spec/google/api_client/service_account_spec.rb +0 -169
  535. data/spec/google/api_client/service_spec.rb +0 -618
  536. data/spec/google/api_client/simple_file_store_spec.rb +0 -133
  537. data/spec/google/api_client_spec.rb +0 -352
@@ -0,0 +1,3134 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module YoutubeV3
24
+
25
+ class AccessPolicy
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Activity
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ActivityContentDetails
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class ActivityContentDetailsBulletin
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class ActivityContentDetailsChannelItem
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ActivityContentDetailsComment
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class ActivityContentDetailsFavorite
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ActivityContentDetailsLike
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ActivityContentDetailsPlaylistItem
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ActivityContentDetailsPromotedItem
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ActivityContentDetailsRecommendation
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ActivityContentDetailsSocial
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ActivityContentDetailsSubscription
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ActivityContentDetailsUpload
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ListActivitiesResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ActivitySnippet
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Caption
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ListCaptionsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class CaptionSnippet
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class CdnSettings
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Channel
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ChannelAuditDetails
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ChannelBannerResource
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ChannelBrandingSettings
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ChannelContentDetails
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ class RelatedPlaylists
173
+ class Representation < Google::Apis::Core::JsonRepresentation; end
174
+
175
+ include Google::Apis::Core::JsonObjectSupport
176
+ end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ChannelContentOwnerDetails
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ChannelConversionPing
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ChannelConversionPings
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ListChannelsResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ChannelLocalization
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ChannelProfileDetails
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class ChannelSection
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ChannelSectionContentDetails
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ListChannelSectionsResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ChannelSectionLocalization
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ChannelSectionSnippet
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class ChannelSectionTargeting
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ChannelSettings
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ChannelSnippet
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ChannelStatistics
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ChannelStatus
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ChannelTopicDetails
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class Comment
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class ListCommentsResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class CommentSnippet
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class CommentThread
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class ListCommentThreadsResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class CommentThreadReplies
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class CommentThreadSnippet
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class ContentRating
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class FanFundingEvent
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class FanFundingEventListResponse
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class FanFundingEventSnippet
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class GeoPoint
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class GuideCategory
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class ListGuideCategoriesResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class GuideCategorySnippet
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class I18nLanguage
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class ListI18nLanguagesResponse
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class I18nLanguageSnippet
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class I18nRegion
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class ListI18nRegionsResponse
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class I18nRegionSnippet
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class ImageSettings
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class IngestionInfo
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class InvideoBranding
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class InvideoPosition
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class InvideoPromotion
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class InvideoTiming
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class LanguageTag
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class LiveBroadcast
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class LiveBroadcastContentDetails
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class ListLiveBroadcastsResponse
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class LiveBroadcastSnippet
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class LiveBroadcastStatistics
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class LiveBroadcastStatus
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class LiveBroadcastTopic
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class LiveBroadcastTopicDetails
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class LiveBroadcastTopicSnippet
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class LiveChatBan
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class LiveChatBanSnippet
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class LiveChatFanFundingEventDetails
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class LiveChatMessage
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class LiveChatMessageAuthorDetails
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class LiveChatMessageListResponse
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class LiveChatMessageSnippet
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
547
+ class LiveChatModerator
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class LiveChatModeratorListResponse
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
559
+ class LiveChatModeratorSnippet
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
565
+ class LiveChatTextMessageDetails
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
571
+ class LiveStream
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
577
+ class LiveStreamConfigurationIssue
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
583
+ class LiveStreamContentDetails
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
589
+ class LiveStreamHealthStatus
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class ListLiveStreamsResponse
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class LiveStreamSnippet
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class LiveStreamStatus
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class LocalizedProperty
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class LocalizedString
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class MonitorStreamInfo
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
631
+ class PageInfo
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
637
+ class Playlist
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class PlaylistContentDetails
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class PlaylistItem
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class PlaylistItemContentDetails
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class ListPlaylistItemsResponse
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class PlaylistItemSnippet
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
673
+ class PlaylistItemStatus
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
679
+ class ListPlaylistResponse
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class PlaylistLocalization
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
691
+ class PlaylistPlayer
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
697
+ class PlaylistSnippet
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class PlaylistStatus
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class PromotedItem
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
715
+ class PromotedItemId
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
721
+ class PropertyValue
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
727
+ class ResourceId
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
733
+ class SearchListsResponse
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
739
+ class SearchResult
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
745
+ class SearchResultSnippet
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
751
+ class Sponsor
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
757
+ class SponsorListResponse
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
763
+ class SponsorSnippet
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
769
+ class Subscription
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
775
+ class SubscriptionContentDetails
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class ListSubscriptionResponse
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
787
+ class SubscriptionSnippet
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
793
+ class SubscriptionSubscriberSnippet
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
799
+ class Thumbnail
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
805
+ class ThumbnailDetails
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
811
+ class SetThumbnailResponse
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
817
+ class TokenPagination
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
823
+ class Video
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
829
+ class VideoAbuseReport
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
835
+ class VideoAbuseReportReason
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
841
+ class ListVideoAbuseReportReasonResponse
842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
843
+
844
+ include Google::Apis::Core::JsonObjectSupport
845
+ end
846
+
847
+ class VideoAbuseReportReasonSnippet
848
+ class Representation < Google::Apis::Core::JsonRepresentation; end
849
+
850
+ include Google::Apis::Core::JsonObjectSupport
851
+ end
852
+
853
+ class VideoAbuseReportSecondaryReason
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
859
+ class VideoAgeGating
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
865
+ class VideoCategory
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
871
+ class ListVideoCategoryResponse
872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
873
+
874
+ include Google::Apis::Core::JsonObjectSupport
875
+ end
876
+
877
+ class VideoCategorySnippet
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
883
+ class VideoContentDetails
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
889
+ class VideoContentDetailsRegionRestriction
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
895
+ class VideoFileDetails
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
901
+ class VideoFileDetailsAudioStream
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ class VideoFileDetailsVideoStream
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
913
+ class GetVideoRatingResponse
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
919
+ class ListVideosResponse
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
925
+ class VideoLiveStreamingDetails
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
931
+ class VideoLocalization
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
937
+ class VideoMonetizationDetails
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
943
+ class VideoPlayer
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
949
+ class VideoProcessingDetails
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
955
+ class VideoProcessingDetailsProcessingProgress
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
961
+ class VideoProjectDetails
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
967
+ class VideoRating
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
973
+ class VideoRecordingDetails
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
979
+ class VideoSnippet
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
985
+ class VideoStatistics
986
+ class Representation < Google::Apis::Core::JsonRepresentation; end
987
+
988
+ include Google::Apis::Core::JsonObjectSupport
989
+ end
990
+
991
+ class VideoStatus
992
+ class Representation < Google::Apis::Core::JsonRepresentation; end
993
+
994
+ include Google::Apis::Core::JsonObjectSupport
995
+ end
996
+
997
+ class VideoSuggestions
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
1003
+ class VideoSuggestionsTagSuggestion
1004
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1005
+
1006
+ include Google::Apis::Core::JsonObjectSupport
1007
+ end
1008
+
1009
+ class VideoTopicDetails
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
1015
+ class WatchSettings
1016
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1017
+
1018
+ include Google::Apis::Core::JsonObjectSupport
1019
+ end
1020
+
1021
+ class AccessPolicy
1022
+ # @private
1023
+ class Representation < Google::Apis::Core::JsonRepresentation
1024
+ property :allowed, as: 'allowed'
1025
+ collection :exception, as: 'exception'
1026
+ end
1027
+ end
1028
+
1029
+ class Activity
1030
+ # @private
1031
+ class Representation < Google::Apis::Core::JsonRepresentation
1032
+ property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::ActivityContentDetails, decorator: Google::Apis::YoutubeV3::ActivityContentDetails::Representation
1033
+
1034
+ property :etag, as: 'etag'
1035
+ property :id, as: 'id'
1036
+ property :kind, as: 'kind'
1037
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::ActivitySnippet, decorator: Google::Apis::YoutubeV3::ActivitySnippet::Representation
1038
+
1039
+ end
1040
+ end
1041
+
1042
+ class ActivityContentDetails
1043
+ # @private
1044
+ class Representation < Google::Apis::Core::JsonRepresentation
1045
+ property :bulletin, as: 'bulletin', class: Google::Apis::YoutubeV3::ActivityContentDetailsBulletin, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsBulletin::Representation
1046
+
1047
+ property :channel_item, as: 'channelItem', class: Google::Apis::YoutubeV3::ActivityContentDetailsChannelItem, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsChannelItem::Representation
1048
+
1049
+ property :comment, as: 'comment', class: Google::Apis::YoutubeV3::ActivityContentDetailsComment, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsComment::Representation
1050
+
1051
+ property :favorite, as: 'favorite', class: Google::Apis::YoutubeV3::ActivityContentDetailsFavorite, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsFavorite::Representation
1052
+
1053
+ property :like, as: 'like', class: Google::Apis::YoutubeV3::ActivityContentDetailsLike, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsLike::Representation
1054
+
1055
+ property :playlist_item, as: 'playlistItem', class: Google::Apis::YoutubeV3::ActivityContentDetailsPlaylistItem, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsPlaylistItem::Representation
1056
+
1057
+ property :promoted_item, as: 'promotedItem', class: Google::Apis::YoutubeV3::ActivityContentDetailsPromotedItem, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsPromotedItem::Representation
1058
+
1059
+ property :recommendation, as: 'recommendation', class: Google::Apis::YoutubeV3::ActivityContentDetailsRecommendation, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsRecommendation::Representation
1060
+
1061
+ property :social, as: 'social', class: Google::Apis::YoutubeV3::ActivityContentDetailsSocial, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsSocial::Representation
1062
+
1063
+ property :subscription, as: 'subscription', class: Google::Apis::YoutubeV3::ActivityContentDetailsSubscription, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsSubscription::Representation
1064
+
1065
+ property :upload, as: 'upload', class: Google::Apis::YoutubeV3::ActivityContentDetailsUpload, decorator: Google::Apis::YoutubeV3::ActivityContentDetailsUpload::Representation
1066
+
1067
+ end
1068
+ end
1069
+
1070
+ class ActivityContentDetailsBulletin
1071
+ # @private
1072
+ class Representation < Google::Apis::Core::JsonRepresentation
1073
+ property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
1074
+
1075
+ end
1076
+ end
1077
+
1078
+ class ActivityContentDetailsChannelItem
1079
+ # @private
1080
+ class Representation < Google::Apis::Core::JsonRepresentation
1081
+ property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
1082
+
1083
+ end
1084
+ end
1085
+
1086
+ class ActivityContentDetailsComment
1087
+ # @private
1088
+ class Representation < Google::Apis::Core::JsonRepresentation
1089
+ property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
1090
+
1091
+ end
1092
+ end
1093
+
1094
+ class ActivityContentDetailsFavorite
1095
+ # @private
1096
+ class Representation < Google::Apis::Core::JsonRepresentation
1097
+ property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
1098
+
1099
+ end
1100
+ end
1101
+
1102
+ class ActivityContentDetailsLike
1103
+ # @private
1104
+ class Representation < Google::Apis::Core::JsonRepresentation
1105
+ property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
1106
+
1107
+ end
1108
+ end
1109
+
1110
+ class ActivityContentDetailsPlaylistItem
1111
+ # @private
1112
+ class Representation < Google::Apis::Core::JsonRepresentation
1113
+ property :playlist_id, as: 'playlistId'
1114
+ property :playlist_item_id, as: 'playlistItemId'
1115
+ property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
1116
+
1117
+ end
1118
+ end
1119
+
1120
+ class ActivityContentDetailsPromotedItem
1121
+ # @private
1122
+ class Representation < Google::Apis::Core::JsonRepresentation
1123
+ property :ad_tag, as: 'adTag'
1124
+ property :click_tracking_url, as: 'clickTrackingUrl'
1125
+ property :creative_view_url, as: 'creativeViewUrl'
1126
+ property :cta_type, as: 'ctaType'
1127
+ property :custom_cta_button_text, as: 'customCtaButtonText'
1128
+ property :description_text, as: 'descriptionText'
1129
+ property :destination_url, as: 'destinationUrl'
1130
+ collection :forecasting_url, as: 'forecastingUrl'
1131
+ collection :impression_url, as: 'impressionUrl'
1132
+ property :video_id, as: 'videoId'
1133
+ end
1134
+ end
1135
+
1136
+ class ActivityContentDetailsRecommendation
1137
+ # @private
1138
+ class Representation < Google::Apis::Core::JsonRepresentation
1139
+ property :reason, as: 'reason'
1140
+ property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
1141
+
1142
+ property :seed_resource_id, as: 'seedResourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
1143
+
1144
+ end
1145
+ end
1146
+
1147
+ class ActivityContentDetailsSocial
1148
+ # @private
1149
+ class Representation < Google::Apis::Core::JsonRepresentation
1150
+ property :author, as: 'author'
1151
+ property :image_url, as: 'imageUrl'
1152
+ property :reference_url, as: 'referenceUrl'
1153
+ property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
1154
+
1155
+ property :type, as: 'type'
1156
+ end
1157
+ end
1158
+
1159
+ class ActivityContentDetailsSubscription
1160
+ # @private
1161
+ class Representation < Google::Apis::Core::JsonRepresentation
1162
+ property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
1163
+
1164
+ end
1165
+ end
1166
+
1167
+ class ActivityContentDetailsUpload
1168
+ # @private
1169
+ class Representation < Google::Apis::Core::JsonRepresentation
1170
+ property :video_id, as: 'videoId'
1171
+ end
1172
+ end
1173
+
1174
+ class ListActivitiesResponse
1175
+ # @private
1176
+ class Representation < Google::Apis::Core::JsonRepresentation
1177
+ property :etag, as: 'etag'
1178
+ property :event_id, as: 'eventId'
1179
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::Activity, decorator: Google::Apis::YoutubeV3::Activity::Representation
1180
+
1181
+ property :kind, as: 'kind'
1182
+ property :next_page_token, as: 'nextPageToken'
1183
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
1184
+
1185
+ property :prev_page_token, as: 'prevPageToken'
1186
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
1187
+
1188
+ property :visitor_id, as: 'visitorId'
1189
+ end
1190
+ end
1191
+
1192
+ class ActivitySnippet
1193
+ # @private
1194
+ class Representation < Google::Apis::Core::JsonRepresentation
1195
+ property :channel_id, as: 'channelId'
1196
+ property :channel_title, as: 'channelTitle'
1197
+ property :description, as: 'description'
1198
+ property :group_id, as: 'groupId'
1199
+ property :published_at, as: 'publishedAt', type: DateTime
1200
+
1201
+ property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
1202
+
1203
+ property :title, as: 'title'
1204
+ property :type, as: 'type'
1205
+ end
1206
+ end
1207
+
1208
+ class Caption
1209
+ # @private
1210
+ class Representation < Google::Apis::Core::JsonRepresentation
1211
+ property :etag, as: 'etag'
1212
+ property :id, as: 'id'
1213
+ property :kind, as: 'kind'
1214
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::CaptionSnippet, decorator: Google::Apis::YoutubeV3::CaptionSnippet::Representation
1215
+
1216
+ end
1217
+ end
1218
+
1219
+ class ListCaptionsResponse
1220
+ # @private
1221
+ class Representation < Google::Apis::Core::JsonRepresentation
1222
+ property :etag, as: 'etag'
1223
+ property :event_id, as: 'eventId'
1224
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::Caption, decorator: Google::Apis::YoutubeV3::Caption::Representation
1225
+
1226
+ property :kind, as: 'kind'
1227
+ property :visitor_id, as: 'visitorId'
1228
+ end
1229
+ end
1230
+
1231
+ class CaptionSnippet
1232
+ # @private
1233
+ class Representation < Google::Apis::Core::JsonRepresentation
1234
+ property :audio_track_type, as: 'audioTrackType'
1235
+ property :failure_reason, as: 'failureReason'
1236
+ property :is_auto_synced, as: 'isAutoSynced'
1237
+ property :is_cc, as: 'isCC'
1238
+ property :is_draft, as: 'isDraft'
1239
+ property :is_easy_reader, as: 'isEasyReader'
1240
+ property :is_large, as: 'isLarge'
1241
+ property :language, as: 'language'
1242
+ property :last_updated, as: 'lastUpdated', type: DateTime
1243
+
1244
+ property :name, as: 'name'
1245
+ property :status, as: 'status'
1246
+ property :track_kind, as: 'trackKind'
1247
+ property :video_id, as: 'videoId'
1248
+ end
1249
+ end
1250
+
1251
+ class CdnSettings
1252
+ # @private
1253
+ class Representation < Google::Apis::Core::JsonRepresentation
1254
+ property :format, as: 'format'
1255
+ property :ingestion_info, as: 'ingestionInfo', class: Google::Apis::YoutubeV3::IngestionInfo, decorator: Google::Apis::YoutubeV3::IngestionInfo::Representation
1256
+
1257
+ property :ingestion_type, as: 'ingestionType'
1258
+ end
1259
+ end
1260
+
1261
+ class Channel
1262
+ # @private
1263
+ class Representation < Google::Apis::Core::JsonRepresentation
1264
+ property :audit_details, as: 'auditDetails', class: Google::Apis::YoutubeV3::ChannelAuditDetails, decorator: Google::Apis::YoutubeV3::ChannelAuditDetails::Representation
1265
+
1266
+ property :branding_settings, as: 'brandingSettings', class: Google::Apis::YoutubeV3::ChannelBrandingSettings, decorator: Google::Apis::YoutubeV3::ChannelBrandingSettings::Representation
1267
+
1268
+ property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::ChannelContentDetails, decorator: Google::Apis::YoutubeV3::ChannelContentDetails::Representation
1269
+
1270
+ property :content_owner_details, as: 'contentOwnerDetails', class: Google::Apis::YoutubeV3::ChannelContentOwnerDetails, decorator: Google::Apis::YoutubeV3::ChannelContentOwnerDetails::Representation
1271
+
1272
+ property :conversion_pings, as: 'conversionPings', class: Google::Apis::YoutubeV3::ChannelConversionPings, decorator: Google::Apis::YoutubeV3::ChannelConversionPings::Representation
1273
+
1274
+ property :etag, as: 'etag'
1275
+ property :id, as: 'id'
1276
+ property :invideo_promotion, as: 'invideoPromotion', class: Google::Apis::YoutubeV3::InvideoPromotion, decorator: Google::Apis::YoutubeV3::InvideoPromotion::Representation
1277
+
1278
+ property :kind, as: 'kind'
1279
+ hash :localizations, as: 'localizations', class: Google::Apis::YoutubeV3::ChannelLocalization, decorator: Google::Apis::YoutubeV3::ChannelLocalization::Representation
1280
+
1281
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::ChannelSnippet, decorator: Google::Apis::YoutubeV3::ChannelSnippet::Representation
1282
+
1283
+ property :statistics, as: 'statistics', class: Google::Apis::YoutubeV3::ChannelStatistics, decorator: Google::Apis::YoutubeV3::ChannelStatistics::Representation
1284
+
1285
+ property :status, as: 'status', class: Google::Apis::YoutubeV3::ChannelStatus, decorator: Google::Apis::YoutubeV3::ChannelStatus::Representation
1286
+
1287
+ property :topic_details, as: 'topicDetails', class: Google::Apis::YoutubeV3::ChannelTopicDetails, decorator: Google::Apis::YoutubeV3::ChannelTopicDetails::Representation
1288
+
1289
+ end
1290
+ end
1291
+
1292
+ class ChannelAuditDetails
1293
+ # @private
1294
+ class Representation < Google::Apis::Core::JsonRepresentation
1295
+ property :community_guidelines_good_standing, as: 'communityGuidelinesGoodStanding'
1296
+ property :content_id_claims_good_standing, as: 'contentIdClaimsGoodStanding'
1297
+ property :copyright_strikes_good_standing, as: 'copyrightStrikesGoodStanding'
1298
+ property :overall_good_standing, as: 'overallGoodStanding'
1299
+ end
1300
+ end
1301
+
1302
+ class ChannelBannerResource
1303
+ # @private
1304
+ class Representation < Google::Apis::Core::JsonRepresentation
1305
+ property :etag, as: 'etag'
1306
+ property :kind, as: 'kind'
1307
+ property :url, as: 'url'
1308
+ end
1309
+ end
1310
+
1311
+ class ChannelBrandingSettings
1312
+ # @private
1313
+ class Representation < Google::Apis::Core::JsonRepresentation
1314
+ property :channel, as: 'channel', class: Google::Apis::YoutubeV3::ChannelSettings, decorator: Google::Apis::YoutubeV3::ChannelSettings::Representation
1315
+
1316
+ collection :hints, as: 'hints', class: Google::Apis::YoutubeV3::PropertyValue, decorator: Google::Apis::YoutubeV3::PropertyValue::Representation
1317
+
1318
+ property :image, as: 'image', class: Google::Apis::YoutubeV3::ImageSettings, decorator: Google::Apis::YoutubeV3::ImageSettings::Representation
1319
+
1320
+ property :watch, as: 'watch', class: Google::Apis::YoutubeV3::WatchSettings, decorator: Google::Apis::YoutubeV3::WatchSettings::Representation
1321
+
1322
+ end
1323
+ end
1324
+
1325
+ class ChannelContentDetails
1326
+ # @private
1327
+ class Representation < Google::Apis::Core::JsonRepresentation
1328
+ property :google_plus_user_id, as: 'googlePlusUserId'
1329
+ property :related_playlists, as: 'relatedPlaylists', class: Google::Apis::YoutubeV3::ChannelContentDetails::RelatedPlaylists, decorator: Google::Apis::YoutubeV3::ChannelContentDetails::RelatedPlaylists::Representation
1330
+
1331
+ end
1332
+
1333
+ class RelatedPlaylists
1334
+ # @private
1335
+ class Representation < Google::Apis::Core::JsonRepresentation
1336
+ property :favorites, as: 'favorites'
1337
+ property :likes, as: 'likes'
1338
+ property :uploads, as: 'uploads'
1339
+ property :watch_history, as: 'watchHistory'
1340
+ property :watch_later, as: 'watchLater'
1341
+ end
1342
+ end
1343
+ end
1344
+
1345
+ class ChannelContentOwnerDetails
1346
+ # @private
1347
+ class Representation < Google::Apis::Core::JsonRepresentation
1348
+ property :content_owner, as: 'contentOwner'
1349
+ property :time_linked, as: 'timeLinked', type: DateTime
1350
+
1351
+ end
1352
+ end
1353
+
1354
+ class ChannelConversionPing
1355
+ # @private
1356
+ class Representation < Google::Apis::Core::JsonRepresentation
1357
+ property :context, as: 'context'
1358
+ property :conversion_url, as: 'conversionUrl'
1359
+ end
1360
+ end
1361
+
1362
+ class ChannelConversionPings
1363
+ # @private
1364
+ class Representation < Google::Apis::Core::JsonRepresentation
1365
+ collection :pings, as: 'pings', class: Google::Apis::YoutubeV3::ChannelConversionPing, decorator: Google::Apis::YoutubeV3::ChannelConversionPing::Representation
1366
+
1367
+ end
1368
+ end
1369
+
1370
+ class ListChannelsResponse
1371
+ # @private
1372
+ class Representation < Google::Apis::Core::JsonRepresentation
1373
+ property :etag, as: 'etag'
1374
+ property :event_id, as: 'eventId'
1375
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::Channel, decorator: Google::Apis::YoutubeV3::Channel::Representation
1376
+
1377
+ property :kind, as: 'kind'
1378
+ property :next_page_token, as: 'nextPageToken'
1379
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
1380
+
1381
+ property :prev_page_token, as: 'prevPageToken'
1382
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
1383
+
1384
+ property :visitor_id, as: 'visitorId'
1385
+ end
1386
+ end
1387
+
1388
+ class ChannelLocalization
1389
+ # @private
1390
+ class Representation < Google::Apis::Core::JsonRepresentation
1391
+ property :description, as: 'description'
1392
+ property :title, as: 'title'
1393
+ end
1394
+ end
1395
+
1396
+ class ChannelProfileDetails
1397
+ # @private
1398
+ class Representation < Google::Apis::Core::JsonRepresentation
1399
+ property :channel_id, as: 'channelId'
1400
+ property :channel_url, as: 'channelUrl'
1401
+ property :display_name, as: 'displayName'
1402
+ property :profile_image_url, as: 'profileImageUrl'
1403
+ end
1404
+ end
1405
+
1406
+ class ChannelSection
1407
+ # @private
1408
+ class Representation < Google::Apis::Core::JsonRepresentation
1409
+ property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::ChannelSectionContentDetails, decorator: Google::Apis::YoutubeV3::ChannelSectionContentDetails::Representation
1410
+
1411
+ property :etag, as: 'etag'
1412
+ property :id, as: 'id'
1413
+ property :kind, as: 'kind'
1414
+ hash :localizations, as: 'localizations', class: Google::Apis::YoutubeV3::ChannelSectionLocalization, decorator: Google::Apis::YoutubeV3::ChannelSectionLocalization::Representation
1415
+
1416
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::ChannelSectionSnippet, decorator: Google::Apis::YoutubeV3::ChannelSectionSnippet::Representation
1417
+
1418
+ property :targeting, as: 'targeting', class: Google::Apis::YoutubeV3::ChannelSectionTargeting, decorator: Google::Apis::YoutubeV3::ChannelSectionTargeting::Representation
1419
+
1420
+ end
1421
+ end
1422
+
1423
+ class ChannelSectionContentDetails
1424
+ # @private
1425
+ class Representation < Google::Apis::Core::JsonRepresentation
1426
+ collection :channels, as: 'channels'
1427
+ collection :playlists, as: 'playlists'
1428
+ end
1429
+ end
1430
+
1431
+ class ListChannelSectionsResponse
1432
+ # @private
1433
+ class Representation < Google::Apis::Core::JsonRepresentation
1434
+ property :etag, as: 'etag'
1435
+ property :event_id, as: 'eventId'
1436
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::ChannelSection, decorator: Google::Apis::YoutubeV3::ChannelSection::Representation
1437
+
1438
+ property :kind, as: 'kind'
1439
+ property :visitor_id, as: 'visitorId'
1440
+ end
1441
+ end
1442
+
1443
+ class ChannelSectionLocalization
1444
+ # @private
1445
+ class Representation < Google::Apis::Core::JsonRepresentation
1446
+ property :title, as: 'title'
1447
+ end
1448
+ end
1449
+
1450
+ class ChannelSectionSnippet
1451
+ # @private
1452
+ class Representation < Google::Apis::Core::JsonRepresentation
1453
+ property :channel_id, as: 'channelId'
1454
+ property :default_language, as: 'defaultLanguage'
1455
+ property :localized, as: 'localized', class: Google::Apis::YoutubeV3::ChannelSectionLocalization, decorator: Google::Apis::YoutubeV3::ChannelSectionLocalization::Representation
1456
+
1457
+ property :position, as: 'position'
1458
+ property :style, as: 'style'
1459
+ property :title, as: 'title'
1460
+ property :type, as: 'type'
1461
+ end
1462
+ end
1463
+
1464
+ class ChannelSectionTargeting
1465
+ # @private
1466
+ class Representation < Google::Apis::Core::JsonRepresentation
1467
+ collection :countries, as: 'countries'
1468
+ collection :languages, as: 'languages'
1469
+ collection :regions, as: 'regions'
1470
+ end
1471
+ end
1472
+
1473
+ class ChannelSettings
1474
+ # @private
1475
+ class Representation < Google::Apis::Core::JsonRepresentation
1476
+ property :country, as: 'country'
1477
+ property :default_language, as: 'defaultLanguage'
1478
+ property :default_tab, as: 'defaultTab'
1479
+ property :description, as: 'description'
1480
+ property :featured_channels_title, as: 'featuredChannelsTitle'
1481
+ collection :featured_channels_urls, as: 'featuredChannelsUrls'
1482
+ property :keywords, as: 'keywords'
1483
+ property :moderate_comments, as: 'moderateComments'
1484
+ property :profile_color, as: 'profileColor'
1485
+ property :show_browse_view, as: 'showBrowseView'
1486
+ property :show_related_channels, as: 'showRelatedChannels'
1487
+ property :title, as: 'title'
1488
+ property :tracking_analytics_account_id, as: 'trackingAnalyticsAccountId'
1489
+ property :unsubscribed_trailer, as: 'unsubscribedTrailer'
1490
+ end
1491
+ end
1492
+
1493
+ class ChannelSnippet
1494
+ # @private
1495
+ class Representation < Google::Apis::Core::JsonRepresentation
1496
+ property :country, as: 'country'
1497
+ property :default_language, as: 'defaultLanguage'
1498
+ property :description, as: 'description'
1499
+ property :localized, as: 'localized', class: Google::Apis::YoutubeV3::ChannelLocalization, decorator: Google::Apis::YoutubeV3::ChannelLocalization::Representation
1500
+
1501
+ property :published_at, as: 'publishedAt', type: DateTime
1502
+
1503
+ property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
1504
+
1505
+ property :title, as: 'title'
1506
+ end
1507
+ end
1508
+
1509
+ class ChannelStatistics
1510
+ # @private
1511
+ class Representation < Google::Apis::Core::JsonRepresentation
1512
+ property :comment_count, as: 'commentCount'
1513
+ property :hidden_subscriber_count, as: 'hiddenSubscriberCount'
1514
+ property :subscriber_count, as: 'subscriberCount'
1515
+ property :video_count, as: 'videoCount'
1516
+ property :view_count, as: 'viewCount'
1517
+ end
1518
+ end
1519
+
1520
+ class ChannelStatus
1521
+ # @private
1522
+ class Representation < Google::Apis::Core::JsonRepresentation
1523
+ property :is_linked, as: 'isLinked'
1524
+ property :long_uploads_status, as: 'longUploadsStatus'
1525
+ property :privacy_status, as: 'privacyStatus'
1526
+ end
1527
+ end
1528
+
1529
+ class ChannelTopicDetails
1530
+ # @private
1531
+ class Representation < Google::Apis::Core::JsonRepresentation
1532
+ collection :topic_ids, as: 'topicIds'
1533
+ end
1534
+ end
1535
+
1536
+ class Comment
1537
+ # @private
1538
+ class Representation < Google::Apis::Core::JsonRepresentation
1539
+ property :etag, as: 'etag'
1540
+ property :id, as: 'id'
1541
+ property :kind, as: 'kind'
1542
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::CommentSnippet, decorator: Google::Apis::YoutubeV3::CommentSnippet::Representation
1543
+
1544
+ end
1545
+ end
1546
+
1547
+ class ListCommentsResponse
1548
+ # @private
1549
+ class Representation < Google::Apis::Core::JsonRepresentation
1550
+ property :etag, as: 'etag'
1551
+ property :event_id, as: 'eventId'
1552
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::Comment, decorator: Google::Apis::YoutubeV3::Comment::Representation
1553
+
1554
+ property :kind, as: 'kind'
1555
+ property :next_page_token, as: 'nextPageToken'
1556
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
1557
+
1558
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
1559
+
1560
+ property :visitor_id, as: 'visitorId'
1561
+ end
1562
+ end
1563
+
1564
+ class CommentSnippet
1565
+ # @private
1566
+ class Representation < Google::Apis::Core::JsonRepresentation
1567
+ property :author_channel_id, as: 'authorChannelId'
1568
+ property :author_channel_url, as: 'authorChannelUrl'
1569
+ property :author_display_name, as: 'authorDisplayName'
1570
+ property :author_googleplus_profile_url, as: 'authorGoogleplusProfileUrl'
1571
+ property :author_profile_image_url, as: 'authorProfileImageUrl'
1572
+ property :can_rate, as: 'canRate'
1573
+ property :channel_id, as: 'channelId'
1574
+ property :like_count, as: 'likeCount'
1575
+ property :moderation_status, as: 'moderationStatus'
1576
+ property :parent_id, as: 'parentId'
1577
+ property :published_at, as: 'publishedAt', type: DateTime
1578
+
1579
+ property :text_display, as: 'textDisplay'
1580
+ property :text_original, as: 'textOriginal'
1581
+ property :updated_at, as: 'updatedAt', type: DateTime
1582
+
1583
+ property :video_id, as: 'videoId'
1584
+ property :viewer_rating, as: 'viewerRating'
1585
+ end
1586
+ end
1587
+
1588
+ class CommentThread
1589
+ # @private
1590
+ class Representation < Google::Apis::Core::JsonRepresentation
1591
+ property :etag, as: 'etag'
1592
+ property :id, as: 'id'
1593
+ property :kind, as: 'kind'
1594
+ property :replies, as: 'replies', class: Google::Apis::YoutubeV3::CommentThreadReplies, decorator: Google::Apis::YoutubeV3::CommentThreadReplies::Representation
1595
+
1596
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::CommentThreadSnippet, decorator: Google::Apis::YoutubeV3::CommentThreadSnippet::Representation
1597
+
1598
+ end
1599
+ end
1600
+
1601
+ class ListCommentThreadsResponse
1602
+ # @private
1603
+ class Representation < Google::Apis::Core::JsonRepresentation
1604
+ property :etag, as: 'etag'
1605
+ property :event_id, as: 'eventId'
1606
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::CommentThread, decorator: Google::Apis::YoutubeV3::CommentThread::Representation
1607
+
1608
+ property :kind, as: 'kind'
1609
+ property :next_page_token, as: 'nextPageToken'
1610
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
1611
+
1612
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
1613
+
1614
+ property :visitor_id, as: 'visitorId'
1615
+ end
1616
+ end
1617
+
1618
+ class CommentThreadReplies
1619
+ # @private
1620
+ class Representation < Google::Apis::Core::JsonRepresentation
1621
+ collection :comments, as: 'comments', class: Google::Apis::YoutubeV3::Comment, decorator: Google::Apis::YoutubeV3::Comment::Representation
1622
+
1623
+ end
1624
+ end
1625
+
1626
+ class CommentThreadSnippet
1627
+ # @private
1628
+ class Representation < Google::Apis::Core::JsonRepresentation
1629
+ property :can_reply, as: 'canReply'
1630
+ property :channel_id, as: 'channelId'
1631
+ property :is_public, as: 'isPublic'
1632
+ property :top_level_comment, as: 'topLevelComment', class: Google::Apis::YoutubeV3::Comment, decorator: Google::Apis::YoutubeV3::Comment::Representation
1633
+
1634
+ property :total_reply_count, as: 'totalReplyCount'
1635
+ property :video_id, as: 'videoId'
1636
+ end
1637
+ end
1638
+
1639
+ class ContentRating
1640
+ # @private
1641
+ class Representation < Google::Apis::Core::JsonRepresentation
1642
+ property :acb_rating, as: 'acbRating'
1643
+ property :agcom_rating, as: 'agcomRating'
1644
+ property :anatel_rating, as: 'anatelRating'
1645
+ property :bbfc_rating, as: 'bbfcRating'
1646
+ property :bfvc_rating, as: 'bfvcRating'
1647
+ property :bmukk_rating, as: 'bmukkRating'
1648
+ property :catv_rating, as: 'catvRating'
1649
+ property :catvfr_rating, as: 'catvfrRating'
1650
+ property :cbfc_rating, as: 'cbfcRating'
1651
+ property :ccc_rating, as: 'cccRating'
1652
+ property :cce_rating, as: 'cceRating'
1653
+ property :chfilm_rating, as: 'chfilmRating'
1654
+ property :chvrs_rating, as: 'chvrsRating'
1655
+ property :cicf_rating, as: 'cicfRating'
1656
+ property :cna_rating, as: 'cnaRating'
1657
+ property :cnc_rating, as: 'cncRating'
1658
+ property :csa_rating, as: 'csaRating'
1659
+ property :cscf_rating, as: 'cscfRating'
1660
+ property :czfilm_rating, as: 'czfilmRating'
1661
+ property :djctq_rating, as: 'djctqRating'
1662
+ collection :djctq_rating_reasons, as: 'djctqRatingReasons'
1663
+ property :ecbmct_rating, as: 'ecbmctRating'
1664
+ property :eefilm_rating, as: 'eefilmRating'
1665
+ property :egfilm_rating, as: 'egfilmRating'
1666
+ property :eirin_rating, as: 'eirinRating'
1667
+ property :fcbm_rating, as: 'fcbmRating'
1668
+ property :fco_rating, as: 'fcoRating'
1669
+ property :fmoc_rating, as: 'fmocRating'
1670
+ property :fpb_rating, as: 'fpbRating'
1671
+ property :fsk_rating, as: 'fskRating'
1672
+ property :grfilm_rating, as: 'grfilmRating'
1673
+ property :icaa_rating, as: 'icaaRating'
1674
+ property :ifco_rating, as: 'ifcoRating'
1675
+ property :ilfilm_rating, as: 'ilfilmRating'
1676
+ property :incaa_rating, as: 'incaaRating'
1677
+ property :kfcb_rating, as: 'kfcbRating'
1678
+ property :kijkwijzer_rating, as: 'kijkwijzerRating'
1679
+ property :kmrb_rating, as: 'kmrbRating'
1680
+ property :lsf_rating, as: 'lsfRating'
1681
+ property :mccaa_rating, as: 'mccaaRating'
1682
+ property :mccyp_rating, as: 'mccypRating'
1683
+ property :mda_rating, as: 'mdaRating'
1684
+ property :medietilsynet_rating, as: 'medietilsynetRating'
1685
+ property :meku_rating, as: 'mekuRating'
1686
+ property :mibac_rating, as: 'mibacRating'
1687
+ property :moc_rating, as: 'mocRating'
1688
+ property :moctw_rating, as: 'moctwRating'
1689
+ property :mpaa_rating, as: 'mpaaRating'
1690
+ property :mtrcb_rating, as: 'mtrcbRating'
1691
+ property :nbc_rating, as: 'nbcRating'
1692
+ property :nbcpl_rating, as: 'nbcplRating'
1693
+ property :nfrc_rating, as: 'nfrcRating'
1694
+ property :nfvcb_rating, as: 'nfvcbRating'
1695
+ property :nkclv_rating, as: 'nkclvRating'
1696
+ property :oflc_rating, as: 'oflcRating'
1697
+ property :pefilm_rating, as: 'pefilmRating'
1698
+ property :rcnof_rating, as: 'rcnofRating'
1699
+ property :resorteviolencia_rating, as: 'resorteviolenciaRating'
1700
+ property :rtc_rating, as: 'rtcRating'
1701
+ property :rte_rating, as: 'rteRating'
1702
+ property :russia_rating, as: 'russiaRating'
1703
+ property :skfilm_rating, as: 'skfilmRating'
1704
+ property :smais_rating, as: 'smaisRating'
1705
+ property :smsa_rating, as: 'smsaRating'
1706
+ property :tvpg_rating, as: 'tvpgRating'
1707
+ property :yt_rating, as: 'ytRating'
1708
+ end
1709
+ end
1710
+
1711
+ class FanFundingEvent
1712
+ # @private
1713
+ class Representation < Google::Apis::Core::JsonRepresentation
1714
+ property :etag, as: 'etag'
1715
+ property :id, as: 'id'
1716
+ property :kind, as: 'kind'
1717
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::FanFundingEventSnippet, decorator: Google::Apis::YoutubeV3::FanFundingEventSnippet::Representation
1718
+
1719
+ end
1720
+ end
1721
+
1722
+ class FanFundingEventListResponse
1723
+ # @private
1724
+ class Representation < Google::Apis::Core::JsonRepresentation
1725
+ property :etag, as: 'etag'
1726
+ property :event_id, as: 'eventId'
1727
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::FanFundingEvent, decorator: Google::Apis::YoutubeV3::FanFundingEvent::Representation
1728
+
1729
+ property :kind, as: 'kind'
1730
+ property :next_page_token, as: 'nextPageToken'
1731
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
1732
+
1733
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
1734
+
1735
+ property :visitor_id, as: 'visitorId'
1736
+ end
1737
+ end
1738
+
1739
+ class FanFundingEventSnippet
1740
+ # @private
1741
+ class Representation < Google::Apis::Core::JsonRepresentation
1742
+ property :amount_micros, as: 'amountMicros'
1743
+ property :channel_id, as: 'channelId'
1744
+ property :comment_text, as: 'commentText'
1745
+ property :created_at, as: 'createdAt', type: DateTime
1746
+
1747
+ property :currency, as: 'currency'
1748
+ property :display_string, as: 'displayString'
1749
+ property :supporter_details, as: 'supporterDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
1750
+
1751
+ end
1752
+ end
1753
+
1754
+ class GeoPoint
1755
+ # @private
1756
+ class Representation < Google::Apis::Core::JsonRepresentation
1757
+ property :altitude, as: 'altitude'
1758
+ property :latitude, as: 'latitude'
1759
+ property :longitude, as: 'longitude'
1760
+ end
1761
+ end
1762
+
1763
+ class GuideCategory
1764
+ # @private
1765
+ class Representation < Google::Apis::Core::JsonRepresentation
1766
+ property :etag, as: 'etag'
1767
+ property :id, as: 'id'
1768
+ property :kind, as: 'kind'
1769
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::GuideCategorySnippet, decorator: Google::Apis::YoutubeV3::GuideCategorySnippet::Representation
1770
+
1771
+ end
1772
+ end
1773
+
1774
+ class ListGuideCategoriesResponse
1775
+ # @private
1776
+ class Representation < Google::Apis::Core::JsonRepresentation
1777
+ property :etag, as: 'etag'
1778
+ property :event_id, as: 'eventId'
1779
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::GuideCategory, decorator: Google::Apis::YoutubeV3::GuideCategory::Representation
1780
+
1781
+ property :kind, as: 'kind'
1782
+ property :next_page_token, as: 'nextPageToken'
1783
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
1784
+
1785
+ property :prev_page_token, as: 'prevPageToken'
1786
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
1787
+
1788
+ property :visitor_id, as: 'visitorId'
1789
+ end
1790
+ end
1791
+
1792
+ class GuideCategorySnippet
1793
+ # @private
1794
+ class Representation < Google::Apis::Core::JsonRepresentation
1795
+ property :channel_id, as: 'channelId'
1796
+ property :title, as: 'title'
1797
+ end
1798
+ end
1799
+
1800
+ class I18nLanguage
1801
+ # @private
1802
+ class Representation < Google::Apis::Core::JsonRepresentation
1803
+ property :etag, as: 'etag'
1804
+ property :id, as: 'id'
1805
+ property :kind, as: 'kind'
1806
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::I18nLanguageSnippet, decorator: Google::Apis::YoutubeV3::I18nLanguageSnippet::Representation
1807
+
1808
+ end
1809
+ end
1810
+
1811
+ class ListI18nLanguagesResponse
1812
+ # @private
1813
+ class Representation < Google::Apis::Core::JsonRepresentation
1814
+ property :etag, as: 'etag'
1815
+ property :event_id, as: 'eventId'
1816
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::I18nLanguage, decorator: Google::Apis::YoutubeV3::I18nLanguage::Representation
1817
+
1818
+ property :kind, as: 'kind'
1819
+ property :visitor_id, as: 'visitorId'
1820
+ end
1821
+ end
1822
+
1823
+ class I18nLanguageSnippet
1824
+ # @private
1825
+ class Representation < Google::Apis::Core::JsonRepresentation
1826
+ property :hl, as: 'hl'
1827
+ property :name, as: 'name'
1828
+ end
1829
+ end
1830
+
1831
+ class I18nRegion
1832
+ # @private
1833
+ class Representation < Google::Apis::Core::JsonRepresentation
1834
+ property :etag, as: 'etag'
1835
+ property :id, as: 'id'
1836
+ property :kind, as: 'kind'
1837
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::I18nRegionSnippet, decorator: Google::Apis::YoutubeV3::I18nRegionSnippet::Representation
1838
+
1839
+ end
1840
+ end
1841
+
1842
+ class ListI18nRegionsResponse
1843
+ # @private
1844
+ class Representation < Google::Apis::Core::JsonRepresentation
1845
+ property :etag, as: 'etag'
1846
+ property :event_id, as: 'eventId'
1847
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::I18nRegion, decorator: Google::Apis::YoutubeV3::I18nRegion::Representation
1848
+
1849
+ property :kind, as: 'kind'
1850
+ property :visitor_id, as: 'visitorId'
1851
+ end
1852
+ end
1853
+
1854
+ class I18nRegionSnippet
1855
+ # @private
1856
+ class Representation < Google::Apis::Core::JsonRepresentation
1857
+ property :gl, as: 'gl'
1858
+ property :name, as: 'name'
1859
+ end
1860
+ end
1861
+
1862
+ class ImageSettings
1863
+ # @private
1864
+ class Representation < Google::Apis::Core::JsonRepresentation
1865
+ property :background_image_url, as: 'backgroundImageUrl', class: Google::Apis::YoutubeV3::LocalizedProperty, decorator: Google::Apis::YoutubeV3::LocalizedProperty::Representation
1866
+
1867
+ property :banner_external_url, as: 'bannerExternalUrl'
1868
+ property :banner_image_url, as: 'bannerImageUrl'
1869
+ property :banner_mobile_extra_hd_image_url, as: 'bannerMobileExtraHdImageUrl'
1870
+ property :banner_mobile_hd_image_url, as: 'bannerMobileHdImageUrl'
1871
+ property :banner_mobile_image_url, as: 'bannerMobileImageUrl'
1872
+ property :banner_mobile_low_image_url, as: 'bannerMobileLowImageUrl'
1873
+ property :banner_mobile_medium_hd_image_url, as: 'bannerMobileMediumHdImageUrl'
1874
+ property :banner_tablet_extra_hd_image_url, as: 'bannerTabletExtraHdImageUrl'
1875
+ property :banner_tablet_hd_image_url, as: 'bannerTabletHdImageUrl'
1876
+ property :banner_tablet_image_url, as: 'bannerTabletImageUrl'
1877
+ property :banner_tablet_low_image_url, as: 'bannerTabletLowImageUrl'
1878
+ property :banner_tv_high_image_url, as: 'bannerTvHighImageUrl'
1879
+ property :banner_tv_image_url, as: 'bannerTvImageUrl'
1880
+ property :banner_tv_low_image_url, as: 'bannerTvLowImageUrl'
1881
+ property :banner_tv_medium_image_url, as: 'bannerTvMediumImageUrl'
1882
+ property :large_branded_banner_image_imap_script, as: 'largeBrandedBannerImageImapScript', class: Google::Apis::YoutubeV3::LocalizedProperty, decorator: Google::Apis::YoutubeV3::LocalizedProperty::Representation
1883
+
1884
+ property :large_branded_banner_image_url, as: 'largeBrandedBannerImageUrl', class: Google::Apis::YoutubeV3::LocalizedProperty, decorator: Google::Apis::YoutubeV3::LocalizedProperty::Representation
1885
+
1886
+ property :small_branded_banner_image_imap_script, as: 'smallBrandedBannerImageImapScript', class: Google::Apis::YoutubeV3::LocalizedProperty, decorator: Google::Apis::YoutubeV3::LocalizedProperty::Representation
1887
+
1888
+ property :small_branded_banner_image_url, as: 'smallBrandedBannerImageUrl', class: Google::Apis::YoutubeV3::LocalizedProperty, decorator: Google::Apis::YoutubeV3::LocalizedProperty::Representation
1889
+
1890
+ property :tracking_image_url, as: 'trackingImageUrl'
1891
+ property :watch_icon_image_url, as: 'watchIconImageUrl'
1892
+ end
1893
+ end
1894
+
1895
+ class IngestionInfo
1896
+ # @private
1897
+ class Representation < Google::Apis::Core::JsonRepresentation
1898
+ property :backup_ingestion_address, as: 'backupIngestionAddress'
1899
+ property :ingestion_address, as: 'ingestionAddress'
1900
+ property :stream_name, as: 'streamName'
1901
+ end
1902
+ end
1903
+
1904
+ class InvideoBranding
1905
+ # @private
1906
+ class Representation < Google::Apis::Core::JsonRepresentation
1907
+ property :image_bytes, :base64 => true, as: 'imageBytes'
1908
+ property :image_url, as: 'imageUrl'
1909
+ property :position, as: 'position', class: Google::Apis::YoutubeV3::InvideoPosition, decorator: Google::Apis::YoutubeV3::InvideoPosition::Representation
1910
+
1911
+ property :target_channel_id, as: 'targetChannelId'
1912
+ property :timing, as: 'timing', class: Google::Apis::YoutubeV3::InvideoTiming, decorator: Google::Apis::YoutubeV3::InvideoTiming::Representation
1913
+
1914
+ end
1915
+ end
1916
+
1917
+ class InvideoPosition
1918
+ # @private
1919
+ class Representation < Google::Apis::Core::JsonRepresentation
1920
+ property :corner_position, as: 'cornerPosition'
1921
+ property :type, as: 'type'
1922
+ end
1923
+ end
1924
+
1925
+ class InvideoPromotion
1926
+ # @private
1927
+ class Representation < Google::Apis::Core::JsonRepresentation
1928
+ property :default_timing, as: 'defaultTiming', class: Google::Apis::YoutubeV3::InvideoTiming, decorator: Google::Apis::YoutubeV3::InvideoTiming::Representation
1929
+
1930
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::PromotedItem, decorator: Google::Apis::YoutubeV3::PromotedItem::Representation
1931
+
1932
+ property :position, as: 'position', class: Google::Apis::YoutubeV3::InvideoPosition, decorator: Google::Apis::YoutubeV3::InvideoPosition::Representation
1933
+
1934
+ property :use_smart_timing, as: 'useSmartTiming'
1935
+ end
1936
+ end
1937
+
1938
+ class InvideoTiming
1939
+ # @private
1940
+ class Representation < Google::Apis::Core::JsonRepresentation
1941
+ property :duration_ms, as: 'durationMs'
1942
+ property :offset_ms, as: 'offsetMs'
1943
+ property :type, as: 'type'
1944
+ end
1945
+ end
1946
+
1947
+ class LanguageTag
1948
+ # @private
1949
+ class Representation < Google::Apis::Core::JsonRepresentation
1950
+ property :value, as: 'value'
1951
+ end
1952
+ end
1953
+
1954
+ class LiveBroadcast
1955
+ # @private
1956
+ class Representation < Google::Apis::Core::JsonRepresentation
1957
+ property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::LiveBroadcastContentDetails, decorator: Google::Apis::YoutubeV3::LiveBroadcastContentDetails::Representation
1958
+
1959
+ property :etag, as: 'etag'
1960
+ property :id, as: 'id'
1961
+ property :kind, as: 'kind'
1962
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveBroadcastSnippet, decorator: Google::Apis::YoutubeV3::LiveBroadcastSnippet::Representation
1963
+
1964
+ property :statistics, as: 'statistics', class: Google::Apis::YoutubeV3::LiveBroadcastStatistics, decorator: Google::Apis::YoutubeV3::LiveBroadcastStatistics::Representation
1965
+
1966
+ property :status, as: 'status', class: Google::Apis::YoutubeV3::LiveBroadcastStatus, decorator: Google::Apis::YoutubeV3::LiveBroadcastStatus::Representation
1967
+
1968
+ property :topic_details, as: 'topicDetails', class: Google::Apis::YoutubeV3::LiveBroadcastTopicDetails, decorator: Google::Apis::YoutubeV3::LiveBroadcastTopicDetails::Representation
1969
+
1970
+ end
1971
+ end
1972
+
1973
+ class LiveBroadcastContentDetails
1974
+ # @private
1975
+ class Representation < Google::Apis::Core::JsonRepresentation
1976
+ property :bound_stream_id, as: 'boundStreamId'
1977
+ property :closed_captions_type, as: 'closedCaptionsType'
1978
+ property :enable_closed_captions, as: 'enableClosedCaptions'
1979
+ property :enable_content_encryption, as: 'enableContentEncryption'
1980
+ property :enable_dvr, as: 'enableDvr'
1981
+ property :enable_embed, as: 'enableEmbed'
1982
+ property :enable_low_latency, as: 'enableLowLatency'
1983
+ property :monitor_stream, as: 'monitorStream', class: Google::Apis::YoutubeV3::MonitorStreamInfo, decorator: Google::Apis::YoutubeV3::MonitorStreamInfo::Representation
1984
+
1985
+ property :record_from_start, as: 'recordFromStart'
1986
+ property :start_with_slate, as: 'startWithSlate'
1987
+ end
1988
+ end
1989
+
1990
+ class ListLiveBroadcastsResponse
1991
+ # @private
1992
+ class Representation < Google::Apis::Core::JsonRepresentation
1993
+ property :etag, as: 'etag'
1994
+ property :event_id, as: 'eventId'
1995
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::LiveBroadcast, decorator: Google::Apis::YoutubeV3::LiveBroadcast::Representation
1996
+
1997
+ property :kind, as: 'kind'
1998
+ property :next_page_token, as: 'nextPageToken'
1999
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
2000
+
2001
+ property :prev_page_token, as: 'prevPageToken'
2002
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
2003
+
2004
+ property :visitor_id, as: 'visitorId'
2005
+ end
2006
+ end
2007
+
2008
+ class LiveBroadcastSnippet
2009
+ # @private
2010
+ class Representation < Google::Apis::Core::JsonRepresentation
2011
+ property :actual_end_time, as: 'actualEndTime', type: DateTime
2012
+
2013
+ property :actual_start_time, as: 'actualStartTime', type: DateTime
2014
+
2015
+ property :channel_id, as: 'channelId'
2016
+ property :description, as: 'description'
2017
+ property :is_default_broadcast, as: 'isDefaultBroadcast'
2018
+ property :live_chat_id, as: 'liveChatId'
2019
+ property :published_at, as: 'publishedAt', type: DateTime
2020
+
2021
+ property :scheduled_end_time, as: 'scheduledEndTime', type: DateTime
2022
+
2023
+ property :scheduled_start_time, as: 'scheduledStartTime', type: DateTime
2024
+
2025
+ property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
2026
+
2027
+ property :title, as: 'title'
2028
+ end
2029
+ end
2030
+
2031
+ class LiveBroadcastStatistics
2032
+ # @private
2033
+ class Representation < Google::Apis::Core::JsonRepresentation
2034
+ property :concurrent_viewers, as: 'concurrentViewers'
2035
+ property :total_chat_count, as: 'totalChatCount'
2036
+ end
2037
+ end
2038
+
2039
+ class LiveBroadcastStatus
2040
+ # @private
2041
+ class Representation < Google::Apis::Core::JsonRepresentation
2042
+ property :life_cycle_status, as: 'lifeCycleStatus'
2043
+ property :live_broadcast_priority, as: 'liveBroadcastPriority'
2044
+ property :privacy_status, as: 'privacyStatus'
2045
+ property :recording_status, as: 'recordingStatus'
2046
+ end
2047
+ end
2048
+
2049
+ class LiveBroadcastTopic
2050
+ # @private
2051
+ class Representation < Google::Apis::Core::JsonRepresentation
2052
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveBroadcastTopicSnippet, decorator: Google::Apis::YoutubeV3::LiveBroadcastTopicSnippet::Representation
2053
+
2054
+ property :type, as: 'type'
2055
+ property :unmatched, as: 'unmatched'
2056
+ end
2057
+ end
2058
+
2059
+ class LiveBroadcastTopicDetails
2060
+ # @private
2061
+ class Representation < Google::Apis::Core::JsonRepresentation
2062
+ collection :topics, as: 'topics', class: Google::Apis::YoutubeV3::LiveBroadcastTopic, decorator: Google::Apis::YoutubeV3::LiveBroadcastTopic::Representation
2063
+
2064
+ end
2065
+ end
2066
+
2067
+ class LiveBroadcastTopicSnippet
2068
+ # @private
2069
+ class Representation < Google::Apis::Core::JsonRepresentation
2070
+ property :name, as: 'name'
2071
+ property :release_date, as: 'releaseDate'
2072
+ end
2073
+ end
2074
+
2075
+ class LiveChatBan
2076
+ # @private
2077
+ class Representation < Google::Apis::Core::JsonRepresentation
2078
+ property :etag, as: 'etag'
2079
+ property :id, as: 'id'
2080
+ property :kind, as: 'kind'
2081
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveChatBanSnippet, decorator: Google::Apis::YoutubeV3::LiveChatBanSnippet::Representation
2082
+
2083
+ end
2084
+ end
2085
+
2086
+ class LiveChatBanSnippet
2087
+ # @private
2088
+ class Representation < Google::Apis::Core::JsonRepresentation
2089
+ property :ban_duration_seconds, as: 'banDurationSeconds'
2090
+ property :banned_user_details, as: 'bannedUserDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
2091
+
2092
+ property :live_chat_id, as: 'liveChatId'
2093
+ property :type, as: 'type'
2094
+ end
2095
+ end
2096
+
2097
+ class LiveChatFanFundingEventDetails
2098
+ # @private
2099
+ class Representation < Google::Apis::Core::JsonRepresentation
2100
+ property :amount_display_string, as: 'amountDisplayString'
2101
+ property :amount_micros, as: 'amountMicros'
2102
+ property :currency, as: 'currency'
2103
+ property :user_comment, as: 'userComment'
2104
+ end
2105
+ end
2106
+
2107
+ class LiveChatMessage
2108
+ # @private
2109
+ class Representation < Google::Apis::Core::JsonRepresentation
2110
+ property :author_details, as: 'authorDetails', class: Google::Apis::YoutubeV3::LiveChatMessageAuthorDetails, decorator: Google::Apis::YoutubeV3::LiveChatMessageAuthorDetails::Representation
2111
+
2112
+ property :etag, as: 'etag'
2113
+ property :id, as: 'id'
2114
+ property :kind, as: 'kind'
2115
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveChatMessageSnippet, decorator: Google::Apis::YoutubeV3::LiveChatMessageSnippet::Representation
2116
+
2117
+ end
2118
+ end
2119
+
2120
+ class LiveChatMessageAuthorDetails
2121
+ # @private
2122
+ class Representation < Google::Apis::Core::JsonRepresentation
2123
+ property :channel_id, as: 'channelId'
2124
+ property :channel_url, as: 'channelUrl'
2125
+ property :display_name, as: 'displayName'
2126
+ property :is_chat_moderator, as: 'isChatModerator'
2127
+ property :is_chat_owner, as: 'isChatOwner'
2128
+ property :is_chat_sponsor, as: 'isChatSponsor'
2129
+ property :is_verified, as: 'isVerified'
2130
+ property :profile_image_url, as: 'profileImageUrl'
2131
+ end
2132
+ end
2133
+
2134
+ class LiveChatMessageListResponse
2135
+ # @private
2136
+ class Representation < Google::Apis::Core::JsonRepresentation
2137
+ property :etag, as: 'etag'
2138
+ property :event_id, as: 'eventId'
2139
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::LiveChatMessage, decorator: Google::Apis::YoutubeV3::LiveChatMessage::Representation
2140
+
2141
+ property :kind, as: 'kind'
2142
+ property :next_page_token, as: 'nextPageToken'
2143
+ property :offline_at, as: 'offlineAt', type: DateTime
2144
+
2145
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
2146
+
2147
+ property :polling_interval_millis, as: 'pollingIntervalMillis'
2148
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
2149
+
2150
+ property :visitor_id, as: 'visitorId'
2151
+ end
2152
+ end
2153
+
2154
+ class LiveChatMessageSnippet
2155
+ # @private
2156
+ class Representation < Google::Apis::Core::JsonRepresentation
2157
+ property :author_channel_id, as: 'authorChannelId'
2158
+ property :display_message, as: 'displayMessage'
2159
+ property :fan_funding_event_details, as: 'fanFundingEventDetails', class: Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails, decorator: Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails::Representation
2160
+
2161
+ property :has_display_content, as: 'hasDisplayContent'
2162
+ property :live_chat_id, as: 'liveChatId'
2163
+ property :published_at, as: 'publishedAt', type: DateTime
2164
+
2165
+ property :text_message_details, as: 'textMessageDetails', class: Google::Apis::YoutubeV3::LiveChatTextMessageDetails, decorator: Google::Apis::YoutubeV3::LiveChatTextMessageDetails::Representation
2166
+
2167
+ property :type, as: 'type'
2168
+ end
2169
+ end
2170
+
2171
+ class LiveChatModerator
2172
+ # @private
2173
+ class Representation < Google::Apis::Core::JsonRepresentation
2174
+ property :etag, as: 'etag'
2175
+ property :id, as: 'id'
2176
+ property :kind, as: 'kind'
2177
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveChatModeratorSnippet, decorator: Google::Apis::YoutubeV3::LiveChatModeratorSnippet::Representation
2178
+
2179
+ end
2180
+ end
2181
+
2182
+ class LiveChatModeratorListResponse
2183
+ # @private
2184
+ class Representation < Google::Apis::Core::JsonRepresentation
2185
+ property :etag, as: 'etag'
2186
+ property :event_id, as: 'eventId'
2187
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::LiveChatModerator, decorator: Google::Apis::YoutubeV3::LiveChatModerator::Representation
2188
+
2189
+ property :kind, as: 'kind'
2190
+ property :next_page_token, as: 'nextPageToken'
2191
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
2192
+
2193
+ property :prev_page_token, as: 'prevPageToken'
2194
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
2195
+
2196
+ property :visitor_id, as: 'visitorId'
2197
+ end
2198
+ end
2199
+
2200
+ class LiveChatModeratorSnippet
2201
+ # @private
2202
+ class Representation < Google::Apis::Core::JsonRepresentation
2203
+ property :live_chat_id, as: 'liveChatId'
2204
+ property :moderator_details, as: 'moderatorDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
2205
+
2206
+ end
2207
+ end
2208
+
2209
+ class LiveChatTextMessageDetails
2210
+ # @private
2211
+ class Representation < Google::Apis::Core::JsonRepresentation
2212
+ property :message_text, as: 'messageText'
2213
+ end
2214
+ end
2215
+
2216
+ class LiveStream
2217
+ # @private
2218
+ class Representation < Google::Apis::Core::JsonRepresentation
2219
+ property :cdn, as: 'cdn', class: Google::Apis::YoutubeV3::CdnSettings, decorator: Google::Apis::YoutubeV3::CdnSettings::Representation
2220
+
2221
+ property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::LiveStreamContentDetails, decorator: Google::Apis::YoutubeV3::LiveStreamContentDetails::Representation
2222
+
2223
+ property :etag, as: 'etag'
2224
+ property :id, as: 'id'
2225
+ property :kind, as: 'kind'
2226
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveStreamSnippet, decorator: Google::Apis::YoutubeV3::LiveStreamSnippet::Representation
2227
+
2228
+ property :status, as: 'status', class: Google::Apis::YoutubeV3::LiveStreamStatus, decorator: Google::Apis::YoutubeV3::LiveStreamStatus::Representation
2229
+
2230
+ end
2231
+ end
2232
+
2233
+ class LiveStreamConfigurationIssue
2234
+ # @private
2235
+ class Representation < Google::Apis::Core::JsonRepresentation
2236
+ property :description, as: 'description'
2237
+ property :reason, as: 'reason'
2238
+ property :severity, as: 'severity'
2239
+ property :type, as: 'type'
2240
+ end
2241
+ end
2242
+
2243
+ class LiveStreamContentDetails
2244
+ # @private
2245
+ class Representation < Google::Apis::Core::JsonRepresentation
2246
+ property :closed_captions_ingestion_url, as: 'closedCaptionsIngestionUrl'
2247
+ property :is_reusable, as: 'isReusable'
2248
+ end
2249
+ end
2250
+
2251
+ class LiveStreamHealthStatus
2252
+ # @private
2253
+ class Representation < Google::Apis::Core::JsonRepresentation
2254
+ collection :configuration_issues, as: 'configurationIssues', class: Google::Apis::YoutubeV3::LiveStreamConfigurationIssue, decorator: Google::Apis::YoutubeV3::LiveStreamConfigurationIssue::Representation
2255
+
2256
+ property :last_update_time_seconds, as: 'lastUpdateTimeSeconds'
2257
+ property :status, as: 'status'
2258
+ end
2259
+ end
2260
+
2261
+ class ListLiveStreamsResponse
2262
+ # @private
2263
+ class Representation < Google::Apis::Core::JsonRepresentation
2264
+ property :etag, as: 'etag'
2265
+ property :event_id, as: 'eventId'
2266
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::LiveStream, decorator: Google::Apis::YoutubeV3::LiveStream::Representation
2267
+
2268
+ property :kind, as: 'kind'
2269
+ property :next_page_token, as: 'nextPageToken'
2270
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
2271
+
2272
+ property :prev_page_token, as: 'prevPageToken'
2273
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
2274
+
2275
+ property :visitor_id, as: 'visitorId'
2276
+ end
2277
+ end
2278
+
2279
+ class LiveStreamSnippet
2280
+ # @private
2281
+ class Representation < Google::Apis::Core::JsonRepresentation
2282
+ property :channel_id, as: 'channelId'
2283
+ property :description, as: 'description'
2284
+ property :is_default_stream, as: 'isDefaultStream'
2285
+ property :published_at, as: 'publishedAt', type: DateTime
2286
+
2287
+ property :title, as: 'title'
2288
+ end
2289
+ end
2290
+
2291
+ class LiveStreamStatus
2292
+ # @private
2293
+ class Representation < Google::Apis::Core::JsonRepresentation
2294
+ property :health_status, as: 'healthStatus', class: Google::Apis::YoutubeV3::LiveStreamHealthStatus, decorator: Google::Apis::YoutubeV3::LiveStreamHealthStatus::Representation
2295
+
2296
+ property :stream_status, as: 'streamStatus'
2297
+ end
2298
+ end
2299
+
2300
+ class LocalizedProperty
2301
+ # @private
2302
+ class Representation < Google::Apis::Core::JsonRepresentation
2303
+ property :default, as: 'default'
2304
+ property :default_language, as: 'defaultLanguage', class: Google::Apis::YoutubeV3::LanguageTag, decorator: Google::Apis::YoutubeV3::LanguageTag::Representation
2305
+
2306
+ collection :localized, as: 'localized', class: Google::Apis::YoutubeV3::LocalizedString, decorator: Google::Apis::YoutubeV3::LocalizedString::Representation
2307
+
2308
+ end
2309
+ end
2310
+
2311
+ class LocalizedString
2312
+ # @private
2313
+ class Representation < Google::Apis::Core::JsonRepresentation
2314
+ property :language, as: 'language'
2315
+ property :value, as: 'value'
2316
+ end
2317
+ end
2318
+
2319
+ class MonitorStreamInfo
2320
+ # @private
2321
+ class Representation < Google::Apis::Core::JsonRepresentation
2322
+ property :broadcast_stream_delay_ms, as: 'broadcastStreamDelayMs'
2323
+ property :embed_html, as: 'embedHtml'
2324
+ property :enable_monitor_stream, as: 'enableMonitorStream'
2325
+ end
2326
+ end
2327
+
2328
+ class PageInfo
2329
+ # @private
2330
+ class Representation < Google::Apis::Core::JsonRepresentation
2331
+ property :results_per_page, as: 'resultsPerPage'
2332
+ property :total_results, as: 'totalResults'
2333
+ end
2334
+ end
2335
+
2336
+ class Playlist
2337
+ # @private
2338
+ class Representation < Google::Apis::Core::JsonRepresentation
2339
+ property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::PlaylistContentDetails, decorator: Google::Apis::YoutubeV3::PlaylistContentDetails::Representation
2340
+
2341
+ property :etag, as: 'etag'
2342
+ property :id, as: 'id'
2343
+ property :kind, as: 'kind'
2344
+ hash :localizations, as: 'localizations', class: Google::Apis::YoutubeV3::PlaylistLocalization, decorator: Google::Apis::YoutubeV3::PlaylistLocalization::Representation
2345
+
2346
+ property :player, as: 'player', class: Google::Apis::YoutubeV3::PlaylistPlayer, decorator: Google::Apis::YoutubeV3::PlaylistPlayer::Representation
2347
+
2348
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::PlaylistSnippet, decorator: Google::Apis::YoutubeV3::PlaylistSnippet::Representation
2349
+
2350
+ property :status, as: 'status', class: Google::Apis::YoutubeV3::PlaylistStatus, decorator: Google::Apis::YoutubeV3::PlaylistStatus::Representation
2351
+
2352
+ end
2353
+ end
2354
+
2355
+ class PlaylistContentDetails
2356
+ # @private
2357
+ class Representation < Google::Apis::Core::JsonRepresentation
2358
+ property :item_count, as: 'itemCount'
2359
+ end
2360
+ end
2361
+
2362
+ class PlaylistItem
2363
+ # @private
2364
+ class Representation < Google::Apis::Core::JsonRepresentation
2365
+ property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::PlaylistItemContentDetails, decorator: Google::Apis::YoutubeV3::PlaylistItemContentDetails::Representation
2366
+
2367
+ property :etag, as: 'etag'
2368
+ property :id, as: 'id'
2369
+ property :kind, as: 'kind'
2370
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::PlaylistItemSnippet, decorator: Google::Apis::YoutubeV3::PlaylistItemSnippet::Representation
2371
+
2372
+ property :status, as: 'status', class: Google::Apis::YoutubeV3::PlaylistItemStatus, decorator: Google::Apis::YoutubeV3::PlaylistItemStatus::Representation
2373
+
2374
+ end
2375
+ end
2376
+
2377
+ class PlaylistItemContentDetails
2378
+ # @private
2379
+ class Representation < Google::Apis::Core::JsonRepresentation
2380
+ property :end_at, as: 'endAt'
2381
+ property :note, as: 'note'
2382
+ property :start_at, as: 'startAt'
2383
+ property :video_id, as: 'videoId'
2384
+ end
2385
+ end
2386
+
2387
+ class ListPlaylistItemsResponse
2388
+ # @private
2389
+ class Representation < Google::Apis::Core::JsonRepresentation
2390
+ property :etag, as: 'etag'
2391
+ property :event_id, as: 'eventId'
2392
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::PlaylistItem, decorator: Google::Apis::YoutubeV3::PlaylistItem::Representation
2393
+
2394
+ property :kind, as: 'kind'
2395
+ property :next_page_token, as: 'nextPageToken'
2396
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
2397
+
2398
+ property :prev_page_token, as: 'prevPageToken'
2399
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
2400
+
2401
+ property :visitor_id, as: 'visitorId'
2402
+ end
2403
+ end
2404
+
2405
+ class PlaylistItemSnippet
2406
+ # @private
2407
+ class Representation < Google::Apis::Core::JsonRepresentation
2408
+ property :channel_id, as: 'channelId'
2409
+ property :channel_title, as: 'channelTitle'
2410
+ property :description, as: 'description'
2411
+ property :playlist_id, as: 'playlistId'
2412
+ property :position, as: 'position'
2413
+ property :published_at, as: 'publishedAt', type: DateTime
2414
+
2415
+ property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
2416
+
2417
+ property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
2418
+
2419
+ property :title, as: 'title'
2420
+ end
2421
+ end
2422
+
2423
+ class PlaylistItemStatus
2424
+ # @private
2425
+ class Representation < Google::Apis::Core::JsonRepresentation
2426
+ property :privacy_status, as: 'privacyStatus'
2427
+ end
2428
+ end
2429
+
2430
+ class ListPlaylistResponse
2431
+ # @private
2432
+ class Representation < Google::Apis::Core::JsonRepresentation
2433
+ property :etag, as: 'etag'
2434
+ property :event_id, as: 'eventId'
2435
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::Playlist, decorator: Google::Apis::YoutubeV3::Playlist::Representation
2436
+
2437
+ property :kind, as: 'kind'
2438
+ property :next_page_token, as: 'nextPageToken'
2439
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
2440
+
2441
+ property :prev_page_token, as: 'prevPageToken'
2442
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
2443
+
2444
+ property :visitor_id, as: 'visitorId'
2445
+ end
2446
+ end
2447
+
2448
+ class PlaylistLocalization
2449
+ # @private
2450
+ class Representation < Google::Apis::Core::JsonRepresentation
2451
+ property :description, as: 'description'
2452
+ property :title, as: 'title'
2453
+ end
2454
+ end
2455
+
2456
+ class PlaylistPlayer
2457
+ # @private
2458
+ class Representation < Google::Apis::Core::JsonRepresentation
2459
+ property :embed_html, as: 'embedHtml'
2460
+ end
2461
+ end
2462
+
2463
+ class PlaylistSnippet
2464
+ # @private
2465
+ class Representation < Google::Apis::Core::JsonRepresentation
2466
+ property :channel_id, as: 'channelId'
2467
+ property :channel_title, as: 'channelTitle'
2468
+ property :default_language, as: 'defaultLanguage'
2469
+ property :description, as: 'description'
2470
+ property :localized, as: 'localized', class: Google::Apis::YoutubeV3::PlaylistLocalization, decorator: Google::Apis::YoutubeV3::PlaylistLocalization::Representation
2471
+
2472
+ property :published_at, as: 'publishedAt', type: DateTime
2473
+
2474
+ collection :tags, as: 'tags'
2475
+ property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
2476
+
2477
+ property :title, as: 'title'
2478
+ end
2479
+ end
2480
+
2481
+ class PlaylistStatus
2482
+ # @private
2483
+ class Representation < Google::Apis::Core::JsonRepresentation
2484
+ property :privacy_status, as: 'privacyStatus'
2485
+ end
2486
+ end
2487
+
2488
+ class PromotedItem
2489
+ # @private
2490
+ class Representation < Google::Apis::Core::JsonRepresentation
2491
+ property :custom_message, as: 'customMessage'
2492
+ property :id, as: 'id', class: Google::Apis::YoutubeV3::PromotedItemId, decorator: Google::Apis::YoutubeV3::PromotedItemId::Representation
2493
+
2494
+ property :promoted_by_content_owner, as: 'promotedByContentOwner'
2495
+ property :timing, as: 'timing', class: Google::Apis::YoutubeV3::InvideoTiming, decorator: Google::Apis::YoutubeV3::InvideoTiming::Representation
2496
+
2497
+ end
2498
+ end
2499
+
2500
+ class PromotedItemId
2501
+ # @private
2502
+ class Representation < Google::Apis::Core::JsonRepresentation
2503
+ property :recently_uploaded_by, as: 'recentlyUploadedBy'
2504
+ property :type, as: 'type'
2505
+ property :video_id, as: 'videoId'
2506
+ property :website_url, as: 'websiteUrl'
2507
+ end
2508
+ end
2509
+
2510
+ class PropertyValue
2511
+ # @private
2512
+ class Representation < Google::Apis::Core::JsonRepresentation
2513
+ property :property, as: 'property'
2514
+ property :value, as: 'value'
2515
+ end
2516
+ end
2517
+
2518
+ class ResourceId
2519
+ # @private
2520
+ class Representation < Google::Apis::Core::JsonRepresentation
2521
+ property :channel_id, as: 'channelId'
2522
+ property :kind, as: 'kind'
2523
+ property :playlist_id, as: 'playlistId'
2524
+ property :video_id, as: 'videoId'
2525
+ end
2526
+ end
2527
+
2528
+ class SearchListsResponse
2529
+ # @private
2530
+ class Representation < Google::Apis::Core::JsonRepresentation
2531
+ property :etag, as: 'etag'
2532
+ property :event_id, as: 'eventId'
2533
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::SearchResult, decorator: Google::Apis::YoutubeV3::SearchResult::Representation
2534
+
2535
+ property :kind, as: 'kind'
2536
+ property :next_page_token, as: 'nextPageToken'
2537
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
2538
+
2539
+ property :prev_page_token, as: 'prevPageToken'
2540
+ property :region_code, as: 'regionCode'
2541
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
2542
+
2543
+ property :visitor_id, as: 'visitorId'
2544
+ end
2545
+ end
2546
+
2547
+ class SearchResult
2548
+ # @private
2549
+ class Representation < Google::Apis::Core::JsonRepresentation
2550
+ property :etag, as: 'etag'
2551
+ property :id, as: 'id', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
2552
+
2553
+ property :kind, as: 'kind'
2554
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::SearchResultSnippet, decorator: Google::Apis::YoutubeV3::SearchResultSnippet::Representation
2555
+
2556
+ end
2557
+ end
2558
+
2559
+ class SearchResultSnippet
2560
+ # @private
2561
+ class Representation < Google::Apis::Core::JsonRepresentation
2562
+ property :channel_id, as: 'channelId'
2563
+ property :channel_title, as: 'channelTitle'
2564
+ property :description, as: 'description'
2565
+ property :live_broadcast_content, as: 'liveBroadcastContent'
2566
+ property :published_at, as: 'publishedAt', type: DateTime
2567
+
2568
+ property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
2569
+
2570
+ property :title, as: 'title'
2571
+ end
2572
+ end
2573
+
2574
+ class Sponsor
2575
+ # @private
2576
+ class Representation < Google::Apis::Core::JsonRepresentation
2577
+ property :etag, as: 'etag'
2578
+ property :id, as: 'id'
2579
+ property :kind, as: 'kind'
2580
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::SponsorSnippet, decorator: Google::Apis::YoutubeV3::SponsorSnippet::Representation
2581
+
2582
+ end
2583
+ end
2584
+
2585
+ class SponsorListResponse
2586
+ # @private
2587
+ class Representation < Google::Apis::Core::JsonRepresentation
2588
+ property :etag, as: 'etag'
2589
+ property :event_id, as: 'eventId'
2590
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::Sponsor, decorator: Google::Apis::YoutubeV3::Sponsor::Representation
2591
+
2592
+ property :kind, as: 'kind'
2593
+ property :next_page_token, as: 'nextPageToken'
2594
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
2595
+
2596
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
2597
+
2598
+ property :visitor_id, as: 'visitorId'
2599
+ end
2600
+ end
2601
+
2602
+ class SponsorSnippet
2603
+ # @private
2604
+ class Representation < Google::Apis::Core::JsonRepresentation
2605
+ property :channel_id, as: 'channelId'
2606
+ property :sponsor_details, as: 'sponsorDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
2607
+
2608
+ property :sponsor_since, as: 'sponsorSince', type: DateTime
2609
+
2610
+ end
2611
+ end
2612
+
2613
+ class Subscription
2614
+ # @private
2615
+ class Representation < Google::Apis::Core::JsonRepresentation
2616
+ property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::SubscriptionContentDetails, decorator: Google::Apis::YoutubeV3::SubscriptionContentDetails::Representation
2617
+
2618
+ property :etag, as: 'etag'
2619
+ property :id, as: 'id'
2620
+ property :kind, as: 'kind'
2621
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::SubscriptionSnippet, decorator: Google::Apis::YoutubeV3::SubscriptionSnippet::Representation
2622
+
2623
+ property :subscriber_snippet, as: 'subscriberSnippet', class: Google::Apis::YoutubeV3::SubscriptionSubscriberSnippet, decorator: Google::Apis::YoutubeV3::SubscriptionSubscriberSnippet::Representation
2624
+
2625
+ end
2626
+ end
2627
+
2628
+ class SubscriptionContentDetails
2629
+ # @private
2630
+ class Representation < Google::Apis::Core::JsonRepresentation
2631
+ property :activity_type, as: 'activityType'
2632
+ property :new_item_count, as: 'newItemCount'
2633
+ property :total_item_count, as: 'totalItemCount'
2634
+ end
2635
+ end
2636
+
2637
+ class ListSubscriptionResponse
2638
+ # @private
2639
+ class Representation < Google::Apis::Core::JsonRepresentation
2640
+ property :etag, as: 'etag'
2641
+ property :event_id, as: 'eventId'
2642
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::Subscription, decorator: Google::Apis::YoutubeV3::Subscription::Representation
2643
+
2644
+ property :kind, as: 'kind'
2645
+ property :next_page_token, as: 'nextPageToken'
2646
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
2647
+
2648
+ property :prev_page_token, as: 'prevPageToken'
2649
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
2650
+
2651
+ property :visitor_id, as: 'visitorId'
2652
+ end
2653
+ end
2654
+
2655
+ class SubscriptionSnippet
2656
+ # @private
2657
+ class Representation < Google::Apis::Core::JsonRepresentation
2658
+ property :channel_id, as: 'channelId'
2659
+ property :channel_title, as: 'channelTitle'
2660
+ property :description, as: 'description'
2661
+ property :published_at, as: 'publishedAt', type: DateTime
2662
+
2663
+ property :resource_id, as: 'resourceId', class: Google::Apis::YoutubeV3::ResourceId, decorator: Google::Apis::YoutubeV3::ResourceId::Representation
2664
+
2665
+ property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
2666
+
2667
+ property :title, as: 'title'
2668
+ end
2669
+ end
2670
+
2671
+ class SubscriptionSubscriberSnippet
2672
+ # @private
2673
+ class Representation < Google::Apis::Core::JsonRepresentation
2674
+ property :channel_id, as: 'channelId'
2675
+ property :description, as: 'description'
2676
+ property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
2677
+
2678
+ property :title, as: 'title'
2679
+ end
2680
+ end
2681
+
2682
+ class Thumbnail
2683
+ # @private
2684
+ class Representation < Google::Apis::Core::JsonRepresentation
2685
+ property :height, as: 'height'
2686
+ property :url, as: 'url'
2687
+ property :width, as: 'width'
2688
+ end
2689
+ end
2690
+
2691
+ class ThumbnailDetails
2692
+ # @private
2693
+ class Representation < Google::Apis::Core::JsonRepresentation
2694
+ property :default, as: 'default', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
2695
+
2696
+ property :high, as: 'high', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
2697
+
2698
+ property :maxres, as: 'maxres', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
2699
+
2700
+ property :medium, as: 'medium', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
2701
+
2702
+ property :standard, as: 'standard', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
2703
+
2704
+ end
2705
+ end
2706
+
2707
+ class SetThumbnailResponse
2708
+ # @private
2709
+ class Representation < Google::Apis::Core::JsonRepresentation
2710
+ property :etag, as: 'etag'
2711
+ property :event_id, as: 'eventId'
2712
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
2713
+
2714
+ property :kind, as: 'kind'
2715
+ property :visitor_id, as: 'visitorId'
2716
+ end
2717
+ end
2718
+
2719
+ class TokenPagination
2720
+ # @private
2721
+ class Representation < Google::Apis::Core::JsonRepresentation
2722
+ end
2723
+ end
2724
+
2725
+ class Video
2726
+ # @private
2727
+ class Representation < Google::Apis::Core::JsonRepresentation
2728
+ property :age_gating, as: 'ageGating', class: Google::Apis::YoutubeV3::VideoAgeGating, decorator: Google::Apis::YoutubeV3::VideoAgeGating::Representation
2729
+
2730
+ property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::VideoContentDetails, decorator: Google::Apis::YoutubeV3::VideoContentDetails::Representation
2731
+
2732
+ property :etag, as: 'etag'
2733
+ property :file_details, as: 'fileDetails', class: Google::Apis::YoutubeV3::VideoFileDetails, decorator: Google::Apis::YoutubeV3::VideoFileDetails::Representation
2734
+
2735
+ property :id, as: 'id'
2736
+ property :kind, as: 'kind'
2737
+ property :live_streaming_details, as: 'liveStreamingDetails', class: Google::Apis::YoutubeV3::VideoLiveStreamingDetails, decorator: Google::Apis::YoutubeV3::VideoLiveStreamingDetails::Representation
2738
+
2739
+ hash :localizations, as: 'localizations', class: Google::Apis::YoutubeV3::VideoLocalization, decorator: Google::Apis::YoutubeV3::VideoLocalization::Representation
2740
+
2741
+ property :monetization_details, as: 'monetizationDetails', class: Google::Apis::YoutubeV3::VideoMonetizationDetails, decorator: Google::Apis::YoutubeV3::VideoMonetizationDetails::Representation
2742
+
2743
+ property :player, as: 'player', class: Google::Apis::YoutubeV3::VideoPlayer, decorator: Google::Apis::YoutubeV3::VideoPlayer::Representation
2744
+
2745
+ property :processing_details, as: 'processingDetails', class: Google::Apis::YoutubeV3::VideoProcessingDetails, decorator: Google::Apis::YoutubeV3::VideoProcessingDetails::Representation
2746
+
2747
+ property :project_details, as: 'projectDetails', class: Google::Apis::YoutubeV3::VideoProjectDetails, decorator: Google::Apis::YoutubeV3::VideoProjectDetails::Representation
2748
+
2749
+ property :recording_details, as: 'recordingDetails', class: Google::Apis::YoutubeV3::VideoRecordingDetails, decorator: Google::Apis::YoutubeV3::VideoRecordingDetails::Representation
2750
+
2751
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::VideoSnippet, decorator: Google::Apis::YoutubeV3::VideoSnippet::Representation
2752
+
2753
+ property :statistics, as: 'statistics', class: Google::Apis::YoutubeV3::VideoStatistics, decorator: Google::Apis::YoutubeV3::VideoStatistics::Representation
2754
+
2755
+ property :status, as: 'status', class: Google::Apis::YoutubeV3::VideoStatus, decorator: Google::Apis::YoutubeV3::VideoStatus::Representation
2756
+
2757
+ property :suggestions, as: 'suggestions', class: Google::Apis::YoutubeV3::VideoSuggestions, decorator: Google::Apis::YoutubeV3::VideoSuggestions::Representation
2758
+
2759
+ property :topic_details, as: 'topicDetails', class: Google::Apis::YoutubeV3::VideoTopicDetails, decorator: Google::Apis::YoutubeV3::VideoTopicDetails::Representation
2760
+
2761
+ end
2762
+ end
2763
+
2764
+ class VideoAbuseReport
2765
+ # @private
2766
+ class Representation < Google::Apis::Core::JsonRepresentation
2767
+ property :comments, as: 'comments'
2768
+ property :language, as: 'language'
2769
+ property :reason_id, as: 'reasonId'
2770
+ property :secondary_reason_id, as: 'secondaryReasonId'
2771
+ property :video_id, as: 'videoId'
2772
+ end
2773
+ end
2774
+
2775
+ class VideoAbuseReportReason
2776
+ # @private
2777
+ class Representation < Google::Apis::Core::JsonRepresentation
2778
+ property :etag, as: 'etag'
2779
+ property :id, as: 'id'
2780
+ property :kind, as: 'kind'
2781
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::VideoAbuseReportReasonSnippet, decorator: Google::Apis::YoutubeV3::VideoAbuseReportReasonSnippet::Representation
2782
+
2783
+ end
2784
+ end
2785
+
2786
+ class ListVideoAbuseReportReasonResponse
2787
+ # @private
2788
+ class Representation < Google::Apis::Core::JsonRepresentation
2789
+ property :etag, as: 'etag'
2790
+ property :event_id, as: 'eventId'
2791
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::VideoAbuseReportReason, decorator: Google::Apis::YoutubeV3::VideoAbuseReportReason::Representation
2792
+
2793
+ property :kind, as: 'kind'
2794
+ property :visitor_id, as: 'visitorId'
2795
+ end
2796
+ end
2797
+
2798
+ class VideoAbuseReportReasonSnippet
2799
+ # @private
2800
+ class Representation < Google::Apis::Core::JsonRepresentation
2801
+ property :label, as: 'label'
2802
+ collection :secondary_reasons, as: 'secondaryReasons', class: Google::Apis::YoutubeV3::VideoAbuseReportSecondaryReason, decorator: Google::Apis::YoutubeV3::VideoAbuseReportSecondaryReason::Representation
2803
+
2804
+ end
2805
+ end
2806
+
2807
+ class VideoAbuseReportSecondaryReason
2808
+ # @private
2809
+ class Representation < Google::Apis::Core::JsonRepresentation
2810
+ property :id, as: 'id'
2811
+ property :label, as: 'label'
2812
+ end
2813
+ end
2814
+
2815
+ class VideoAgeGating
2816
+ # @private
2817
+ class Representation < Google::Apis::Core::JsonRepresentation
2818
+ property :alcohol_content, as: 'alcoholContent'
2819
+ property :restricted, as: 'restricted'
2820
+ property :video_game_rating, as: 'videoGameRating'
2821
+ end
2822
+ end
2823
+
2824
+ class VideoCategory
2825
+ # @private
2826
+ class Representation < Google::Apis::Core::JsonRepresentation
2827
+ property :etag, as: 'etag'
2828
+ property :id, as: 'id'
2829
+ property :kind, as: 'kind'
2830
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::VideoCategorySnippet, decorator: Google::Apis::YoutubeV3::VideoCategorySnippet::Representation
2831
+
2832
+ end
2833
+ end
2834
+
2835
+ class ListVideoCategoryResponse
2836
+ # @private
2837
+ class Representation < Google::Apis::Core::JsonRepresentation
2838
+ property :etag, as: 'etag'
2839
+ property :event_id, as: 'eventId'
2840
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::VideoCategory, decorator: Google::Apis::YoutubeV3::VideoCategory::Representation
2841
+
2842
+ property :kind, as: 'kind'
2843
+ property :next_page_token, as: 'nextPageToken'
2844
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
2845
+
2846
+ property :prev_page_token, as: 'prevPageToken'
2847
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
2848
+
2849
+ property :visitor_id, as: 'visitorId'
2850
+ end
2851
+ end
2852
+
2853
+ class VideoCategorySnippet
2854
+ # @private
2855
+ class Representation < Google::Apis::Core::JsonRepresentation
2856
+ property :assignable, as: 'assignable'
2857
+ property :channel_id, as: 'channelId'
2858
+ property :title, as: 'title'
2859
+ end
2860
+ end
2861
+
2862
+ class VideoContentDetails
2863
+ # @private
2864
+ class Representation < Google::Apis::Core::JsonRepresentation
2865
+ property :caption, as: 'caption'
2866
+ property :content_rating, as: 'contentRating', class: Google::Apis::YoutubeV3::ContentRating, decorator: Google::Apis::YoutubeV3::ContentRating::Representation
2867
+
2868
+ property :country_restriction, as: 'countryRestriction', class: Google::Apis::YoutubeV3::AccessPolicy, decorator: Google::Apis::YoutubeV3::AccessPolicy::Representation
2869
+
2870
+ property :definition, as: 'definition'
2871
+ property :dimension, as: 'dimension'
2872
+ property :duration, as: 'duration'
2873
+ property :licensed_content, as: 'licensedContent'
2874
+ property :region_restriction, as: 'regionRestriction', class: Google::Apis::YoutubeV3::VideoContentDetailsRegionRestriction, decorator: Google::Apis::YoutubeV3::VideoContentDetailsRegionRestriction::Representation
2875
+
2876
+ end
2877
+ end
2878
+
2879
+ class VideoContentDetailsRegionRestriction
2880
+ # @private
2881
+ class Representation < Google::Apis::Core::JsonRepresentation
2882
+ collection :allowed, as: 'allowed'
2883
+ collection :blocked, as: 'blocked'
2884
+ end
2885
+ end
2886
+
2887
+ class VideoFileDetails
2888
+ # @private
2889
+ class Representation < Google::Apis::Core::JsonRepresentation
2890
+ collection :audio_streams, as: 'audioStreams', class: Google::Apis::YoutubeV3::VideoFileDetailsAudioStream, decorator: Google::Apis::YoutubeV3::VideoFileDetailsAudioStream::Representation
2891
+
2892
+ property :bitrate_bps, as: 'bitrateBps'
2893
+ property :container, as: 'container'
2894
+ property :creation_time, as: 'creationTime'
2895
+ property :duration_ms, as: 'durationMs'
2896
+ property :file_name, as: 'fileName'
2897
+ property :file_size, as: 'fileSize'
2898
+ property :file_type, as: 'fileType'
2899
+ property :recording_location, as: 'recordingLocation', class: Google::Apis::YoutubeV3::GeoPoint, decorator: Google::Apis::YoutubeV3::GeoPoint::Representation
2900
+
2901
+ collection :video_streams, as: 'videoStreams', class: Google::Apis::YoutubeV3::VideoFileDetailsVideoStream, decorator: Google::Apis::YoutubeV3::VideoFileDetailsVideoStream::Representation
2902
+
2903
+ end
2904
+ end
2905
+
2906
+ class VideoFileDetailsAudioStream
2907
+ # @private
2908
+ class Representation < Google::Apis::Core::JsonRepresentation
2909
+ property :bitrate_bps, as: 'bitrateBps'
2910
+ property :channel_count, as: 'channelCount'
2911
+ property :codec, as: 'codec'
2912
+ property :vendor, as: 'vendor'
2913
+ end
2914
+ end
2915
+
2916
+ class VideoFileDetailsVideoStream
2917
+ # @private
2918
+ class Representation < Google::Apis::Core::JsonRepresentation
2919
+ property :aspect_ratio, as: 'aspectRatio'
2920
+ property :bitrate_bps, as: 'bitrateBps'
2921
+ property :codec, as: 'codec'
2922
+ property :frame_rate_fps, as: 'frameRateFps'
2923
+ property :height_pixels, as: 'heightPixels'
2924
+ property :rotation, as: 'rotation'
2925
+ property :vendor, as: 'vendor'
2926
+ property :width_pixels, as: 'widthPixels'
2927
+ end
2928
+ end
2929
+
2930
+ class GetVideoRatingResponse
2931
+ # @private
2932
+ class Representation < Google::Apis::Core::JsonRepresentation
2933
+ property :etag, as: 'etag'
2934
+ property :event_id, as: 'eventId'
2935
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::VideoRating, decorator: Google::Apis::YoutubeV3::VideoRating::Representation
2936
+
2937
+ property :kind, as: 'kind'
2938
+ property :visitor_id, as: 'visitorId'
2939
+ end
2940
+ end
2941
+
2942
+ class ListVideosResponse
2943
+ # @private
2944
+ class Representation < Google::Apis::Core::JsonRepresentation
2945
+ property :etag, as: 'etag'
2946
+ property :event_id, as: 'eventId'
2947
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::Video, decorator: Google::Apis::YoutubeV3::Video::Representation
2948
+
2949
+ property :kind, as: 'kind'
2950
+ property :next_page_token, as: 'nextPageToken'
2951
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
2952
+
2953
+ property :prev_page_token, as: 'prevPageToken'
2954
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
2955
+
2956
+ property :visitor_id, as: 'visitorId'
2957
+ end
2958
+ end
2959
+
2960
+ class VideoLiveStreamingDetails
2961
+ # @private
2962
+ class Representation < Google::Apis::Core::JsonRepresentation
2963
+ property :active_live_chat_id, as: 'activeLiveChatId'
2964
+ property :actual_end_time, as: 'actualEndTime', type: DateTime
2965
+
2966
+ property :actual_start_time, as: 'actualStartTime', type: DateTime
2967
+
2968
+ property :concurrent_viewers, as: 'concurrentViewers'
2969
+ property :scheduled_end_time, as: 'scheduledEndTime', type: DateTime
2970
+
2971
+ property :scheduled_start_time, as: 'scheduledStartTime', type: DateTime
2972
+
2973
+ end
2974
+ end
2975
+
2976
+ class VideoLocalization
2977
+ # @private
2978
+ class Representation < Google::Apis::Core::JsonRepresentation
2979
+ property :description, as: 'description'
2980
+ property :title, as: 'title'
2981
+ end
2982
+ end
2983
+
2984
+ class VideoMonetizationDetails
2985
+ # @private
2986
+ class Representation < Google::Apis::Core::JsonRepresentation
2987
+ property :access, as: 'access', class: Google::Apis::YoutubeV3::AccessPolicy, decorator: Google::Apis::YoutubeV3::AccessPolicy::Representation
2988
+
2989
+ end
2990
+ end
2991
+
2992
+ class VideoPlayer
2993
+ # @private
2994
+ class Representation < Google::Apis::Core::JsonRepresentation
2995
+ property :embed_html, as: 'embedHtml'
2996
+ end
2997
+ end
2998
+
2999
+ class VideoProcessingDetails
3000
+ # @private
3001
+ class Representation < Google::Apis::Core::JsonRepresentation
3002
+ property :editor_suggestions_availability, as: 'editorSuggestionsAvailability'
3003
+ property :file_details_availability, as: 'fileDetailsAvailability'
3004
+ property :processing_failure_reason, as: 'processingFailureReason'
3005
+ property :processing_issues_availability, as: 'processingIssuesAvailability'
3006
+ property :processing_progress, as: 'processingProgress', class: Google::Apis::YoutubeV3::VideoProcessingDetailsProcessingProgress, decorator: Google::Apis::YoutubeV3::VideoProcessingDetailsProcessingProgress::Representation
3007
+
3008
+ property :processing_status, as: 'processingStatus'
3009
+ property :tag_suggestions_availability, as: 'tagSuggestionsAvailability'
3010
+ property :thumbnails_availability, as: 'thumbnailsAvailability'
3011
+ end
3012
+ end
3013
+
3014
+ class VideoProcessingDetailsProcessingProgress
3015
+ # @private
3016
+ class Representation < Google::Apis::Core::JsonRepresentation
3017
+ property :parts_processed, as: 'partsProcessed'
3018
+ property :parts_total, as: 'partsTotal'
3019
+ property :time_left_ms, as: 'timeLeftMs'
3020
+ end
3021
+ end
3022
+
3023
+ class VideoProjectDetails
3024
+ # @private
3025
+ class Representation < Google::Apis::Core::JsonRepresentation
3026
+ collection :tags, as: 'tags'
3027
+ end
3028
+ end
3029
+
3030
+ class VideoRating
3031
+ # @private
3032
+ class Representation < Google::Apis::Core::JsonRepresentation
3033
+ property :rating, as: 'rating'
3034
+ property :video_id, as: 'videoId'
3035
+ end
3036
+ end
3037
+
3038
+ class VideoRecordingDetails
3039
+ # @private
3040
+ class Representation < Google::Apis::Core::JsonRepresentation
3041
+ property :location, as: 'location', class: Google::Apis::YoutubeV3::GeoPoint, decorator: Google::Apis::YoutubeV3::GeoPoint::Representation
3042
+
3043
+ property :location_description, as: 'locationDescription'
3044
+ property :recording_date, as: 'recordingDate', type: DateTime
3045
+
3046
+ end
3047
+ end
3048
+
3049
+ class VideoSnippet
3050
+ # @private
3051
+ class Representation < Google::Apis::Core::JsonRepresentation
3052
+ property :category_id, as: 'categoryId'
3053
+ property :channel_id, as: 'channelId'
3054
+ property :channel_title, as: 'channelTitle'
3055
+ property :default_audio_language, as: 'defaultAudioLanguage'
3056
+ property :default_language, as: 'defaultLanguage'
3057
+ property :description, as: 'description'
3058
+ property :live_broadcast_content, as: 'liveBroadcastContent'
3059
+ property :localized, as: 'localized', class: Google::Apis::YoutubeV3::VideoLocalization, decorator: Google::Apis::YoutubeV3::VideoLocalization::Representation
3060
+
3061
+ property :published_at, as: 'publishedAt', type: DateTime
3062
+
3063
+ collection :tags, as: 'tags'
3064
+ property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
3065
+
3066
+ property :title, as: 'title'
3067
+ end
3068
+ end
3069
+
3070
+ class VideoStatistics
3071
+ # @private
3072
+ class Representation < Google::Apis::Core::JsonRepresentation
3073
+ property :comment_count, as: 'commentCount'
3074
+ property :dislike_count, as: 'dislikeCount'
3075
+ property :favorite_count, as: 'favoriteCount'
3076
+ property :like_count, as: 'likeCount'
3077
+ property :view_count, as: 'viewCount'
3078
+ end
3079
+ end
3080
+
3081
+ class VideoStatus
3082
+ # @private
3083
+ class Representation < Google::Apis::Core::JsonRepresentation
3084
+ property :embeddable, as: 'embeddable'
3085
+ property :failure_reason, as: 'failureReason'
3086
+ property :license, as: 'license'
3087
+ property :privacy_status, as: 'privacyStatus'
3088
+ property :public_stats_viewable, as: 'publicStatsViewable'
3089
+ property :publish_at, as: 'publishAt', type: DateTime
3090
+
3091
+ property :rejection_reason, as: 'rejectionReason'
3092
+ property :upload_status, as: 'uploadStatus'
3093
+ end
3094
+ end
3095
+
3096
+ class VideoSuggestions
3097
+ # @private
3098
+ class Representation < Google::Apis::Core::JsonRepresentation
3099
+ collection :editor_suggestions, as: 'editorSuggestions'
3100
+ collection :processing_errors, as: 'processingErrors'
3101
+ collection :processing_hints, as: 'processingHints'
3102
+ collection :processing_warnings, as: 'processingWarnings'
3103
+ collection :tag_suggestions, as: 'tagSuggestions', class: Google::Apis::YoutubeV3::VideoSuggestionsTagSuggestion, decorator: Google::Apis::YoutubeV3::VideoSuggestionsTagSuggestion::Representation
3104
+
3105
+ end
3106
+ end
3107
+
3108
+ class VideoSuggestionsTagSuggestion
3109
+ # @private
3110
+ class Representation < Google::Apis::Core::JsonRepresentation
3111
+ collection :category_restricts, as: 'categoryRestricts'
3112
+ property :tag, as: 'tag'
3113
+ end
3114
+ end
3115
+
3116
+ class VideoTopicDetails
3117
+ # @private
3118
+ class Representation < Google::Apis::Core::JsonRepresentation
3119
+ collection :relevant_topic_ids, as: 'relevantTopicIds'
3120
+ collection :topic_ids, as: 'topicIds'
3121
+ end
3122
+ end
3123
+
3124
+ class WatchSettings
3125
+ # @private
3126
+ class Representation < Google::Apis::Core::JsonRepresentation
3127
+ property :background_color, as: 'backgroundColor'
3128
+ property :featured_playlist_id, as: 'featuredPlaylistId'
3129
+ property :text_color, as: 'textColor'
3130
+ end
3131
+ end
3132
+ end
3133
+ end
3134
+ end