google-api-client 0.8.3 → 0.9

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