google-api-client 0.9.pre3 → 0.9.pre4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGELOG.md +14 -2
  4. data/Gemfile +4 -0
  5. data/MIGRATING.md +1 -1
  6. data/README.md +17 -3
  7. data/api_names.yaml +127 -14
  8. data/api_names_out.yaml +5442 -710
  9. data/bin/generate-api +16 -14
  10. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
  12. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
  13. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  15. data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
  16. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  17. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  18. data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
  19. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  20. data/generated/google/apis/admin_directory_v1.rb +25 -1
  21. data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
  22. data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
  23. data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
  24. data/generated/google/apis/admin_reports_v1.rb +1 -1
  25. data/generated/google/apis/admin_reports_v1/service.rb +5 -10
  26. data/generated/google/apis/adsense_v1_4.rb +1 -1
  27. data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
  28. data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
  29. data/generated/google/apis/adsense_v1_4/service.rb +40 -78
  30. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  31. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
  32. data/generated/google/apis/analytics_v3.rb +1 -1
  33. data/generated/google/apis/analytics_v3/classes.rb +11 -13
  34. data/generated/google/apis/analytics_v3/service.rb +84 -158
  35. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
  38. data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  41. data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
  42. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  43. data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
  44. data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
  45. data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
  46. data/generated/google/apis/appsactivity_v1.rb +1 -1
  47. data/generated/google/apis/appsactivity_v1/service.rb +1 -2
  48. data/generated/google/apis/appstate_v1.rb +1 -1
  49. data/generated/google/apis/appstate_v1/service.rb +6 -11
  50. data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
  51. data/generated/google/apis/bigquery_v2.rb +4 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +231 -16
  53. data/generated/google/apis/bigquery_v2/representations.rb +62 -0
  54. data/generated/google/apis/bigquery_v2/service.rb +24 -45
  55. data/generated/google/apis/blogger_v3/service.rb +33 -66
  56. data/generated/google/apis/books_v1.rb +1 -1
  57. data/generated/google/apis/books_v1/classes.rb +441 -0
  58. data/generated/google/apis/books_v1/representations.rb +177 -0
  59. data/generated/google/apis/books_v1/service.rb +210 -90
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +34 -18
  62. data/generated/google/apis/calendar_v3/service.rb +118 -103
  63. data/generated/google/apis/civicinfo_v2.rb +1 -1
  64. data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
  65. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +5 -10
  67. data/generated/google/apis/classroom_v1.rb +49 -0
  68. data/generated/google/apis/classroom_v1/classes.rb +512 -0
  69. data/generated/google/apis/classroom_v1/representations.rb +217 -0
  70. data/generated/google/apis/classroom_v1/service.rb +970 -0
  71. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
  74. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  75. data/generated/google/apis/clouddebugger_v2.rb +41 -0
  76. data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
  77. data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
  78. data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
  79. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  80. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
  81. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
  85. data/generated/google/apis/cloudtrace_v1.rb +35 -0
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
  88. data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
  89. data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
  90. data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
  91. data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
  92. data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
  93. data/generated/google/apis/compute_beta.rb +49 -0
  94. data/generated/google/apis/compute_beta/classes.rb +9128 -0
  95. data/generated/google/apis/compute_beta/representations.rb +3048 -0
  96. data/generated/google/apis/compute_beta/service.rb +10154 -0
  97. data/generated/google/apis/compute_v1.rb +1 -1
  98. data/generated/google/apis/compute_v1/classes.rb +1305 -520
  99. data/generated/google/apis/compute_v1/representations.rb +122 -15
  100. data/generated/google/apis/compute_v1/service.rb +2202 -1085
  101. data/generated/google/apis/container_v1.rb +1 -1
  102. data/generated/google/apis/container_v1/classes.rb +56 -31
  103. data/generated/google/apis/container_v1/representations.rb +12 -0
  104. data/generated/google/apis/container_v1/service.rb +62 -41
  105. data/generated/google/apis/content_v2.rb +2 -2
  106. data/generated/google/apis/content_v2/classes.rb +2252 -56
  107. data/generated/google/apis/content_v2/representations.rb +917 -87
  108. data/generated/google/apis/content_v2/service.rb +680 -85
  109. data/generated/google/apis/coordinate_v1.rb +1 -1
  110. data/generated/google/apis/coordinate_v1/service.rb +16 -25
  111. data/generated/google/apis/customsearch_v1/service.rb +1 -2
  112. data/generated/google/apis/datastore_v1beta2.rb +1 -1
  113. data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
  114. data/generated/google/apis/deploymentmanager_v2.rb +44 -0
  115. data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
  116. data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
  117. data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
  118. data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
  119. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
  120. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
  121. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
  122. data/generated/google/apis/dfareporting_v2_1.rb +1 -1
  123. data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
  124. data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
  125. data/generated/google/apis/discovery_v1/classes.rb +7 -0
  126. data/generated/google/apis/discovery_v1/representations.rb +1 -0
  127. data/generated/google/apis/discovery_v1/service.rb +2 -4
  128. data/generated/google/apis/dns_v1.rb +4 -1
  129. data/generated/google/apis/dns_v1/service.rb +9 -18
  130. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  131. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
  132. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
  133. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
  134. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  135. data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
  136. data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
  137. data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
  138. data/generated/google/apis/drive_v2.rb +1 -1
  139. data/generated/google/apis/drive_v2/classes.rb +73 -30
  140. data/generated/google/apis/drive_v2/representations.rb +14 -0
  141. data/generated/google/apis/drive_v2/service.rb +139 -135
  142. data/generated/google/apis/drive_v3.rb +55 -0
  143. data/generated/google/apis/drive_v3/classes.rb +1534 -0
  144. data/generated/google/apis/drive_v3/representations.rb +497 -0
  145. data/generated/google/apis/drive_v3/service.rb +1541 -0
  146. data/generated/google/apis/fitness_v1.rb +1 -1
  147. data/generated/google/apis/fitness_v1/service.rb +14 -27
  148. data/generated/google/apis/fusiontables_v2/service.rb +40 -73
  149. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  150. data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
  151. data/generated/google/apis/games_management_v1management.rb +37 -0
  152. data/generated/google/apis/games_management_v1management/classes.rb +524 -0
  153. data/generated/google/apis/games_management_v1management/representations.rb +231 -0
  154. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  155. data/generated/google/apis/games_v1.rb +1 -1
  156. data/generated/google/apis/games_v1/classes.rb +39 -0
  157. data/generated/google/apis/games_v1/representations.rb +14 -0
  158. data/generated/google/apis/games_v1/service.rb +93 -109
  159. data/generated/google/apis/gan_v1beta1/service.rb +10 -20
  160. data/generated/google/apis/genomics_v1.rb +5 -3
  161. data/generated/google/apis/genomics_v1/classes.rb +519 -200
  162. data/generated/google/apis/genomics_v1/representations.rb +126 -13
  163. data/generated/google/apis/genomics_v1/service.rb +392 -236
  164. data/generated/google/apis/gmail_v1.rb +4 -1
  165. data/generated/google/apis/gmail_v1/service.rb +39 -71
  166. data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
  167. data/generated/google/apis/groupssettings_v1/service.rb +3 -6
  168. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  169. data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
  170. data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
  171. data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
  172. data/generated/google/apis/kgsearch_v1.rb +32 -0
  173. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  174. data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
  175. data/generated/google/apis/kgsearch_v1/service.rb +111 -0
  176. data/generated/google/apis/licensing_v1.rb +1 -1
  177. data/generated/google/apis/licensing_v1/service.rb +7 -14
  178. data/generated/google/apis/logging_v1beta3.rb +16 -4
  179. data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
  180. data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
  181. data/generated/google/apis/logging_v1beta3/service.rb +435 -104
  182. data/generated/google/apis/manager_v1beta2.rb +3 -0
  183. data/generated/google/apis/manager_v1beta2/service.rb +8 -16
  184. data/generated/google/apis/mapsengine_v1.rb +1 -1
  185. data/generated/google/apis/mapsengine_v1/service.rb +85 -162
  186. data/generated/google/apis/mirror_v1.rb +1 -1
  187. data/generated/google/apis/mirror_v1/service.rb +28 -52
  188. data/generated/google/apis/oauth2_v2.rb +1 -1
  189. data/generated/google/apis/oauth2_v2/service.rb +4 -8
  190. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
  191. data/generated/google/apis/partners_v2.rb +32 -0
  192. data/generated/google/apis/partners_v2/classes.rb +942 -0
  193. data/generated/google/apis/partners_v2/representations.rb +402 -0
  194. data/generated/google/apis/partners_v2/service.rb +400 -0
  195. data/generated/google/apis/plus_domains_v1.rb +1 -1
  196. data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
  197. data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
  198. data/generated/google/apis/plus_domains_v1/service.rb +21 -41
  199. data/generated/google/apis/plus_v1.rb +1 -1
  200. data/generated/google/apis/plus_v1/classes.rb +207 -0
  201. data/generated/google/apis/plus_v1/representations.rb +114 -0
  202. data/generated/google/apis/plus_v1/service.rb +11 -56
  203. data/generated/google/apis/prediction_v1_6.rb +1 -1
  204. data/generated/google/apis/prediction_v1_6/service.rb +8 -16
  205. data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
  206. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
  207. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
  208. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
  209. data/generated/google/apis/pubsub_v1.rb +37 -0
  210. data/generated/google/apis/pubsub_v1/classes.rb +614 -0
  211. data/generated/google/apis/pubsub_v1/representations.rb +281 -0
  212. data/generated/google/apis/pubsub_v1/service.rb +774 -0
  213. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  214. data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
  215. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
  216. data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
  217. data/generated/google/apis/qpx_express_v1/service.rb +1 -2
  218. data/generated/google/apis/replicapool_v1beta2.rb +3 -0
  219. data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
  220. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
  221. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
  222. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
  223. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
  224. data/generated/google/apis/reseller_v1.rb +1 -1
  225. data/generated/google/apis/reseller_v1/classes.rb +19 -1
  226. data/generated/google/apis/reseller_v1/representations.rb +1 -0
  227. data/generated/google/apis/reseller_v1/service.rb +16 -30
  228. data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
  230. data/generated/google/apis/script_v1.rb +61 -0
  231. data/generated/google/apis/script_v1/classes.rb +259 -0
  232. data/generated/google/apis/script_v1/representations.rb +106 -0
  233. data/generated/google/apis/script_v1/service.rb +98 -0
  234. data/generated/google/apis/site_verification_v1.rb +1 -1
  235. data/generated/google/apis/site_verification_v1/service.rb +8 -15
  236. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  237. data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
  238. data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
  239. data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
  240. data/generated/google/apis/storage_v1.rb +5 -2
  241. data/generated/google/apis/storage_v1/classes.rb +47 -4
  242. data/generated/google/apis/storage_v1/representations.rb +18 -0
  243. data/generated/google/apis/storage_v1/service.rb +77 -94
  244. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  245. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  246. data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
  247. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  248. data/generated/google/apis/tagmanager_v1.rb +1 -1
  249. data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
  250. data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
  251. data/generated/google/apis/tagmanager_v1/service.rb +114 -275
  252. data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
  253. data/generated/google/apis/tasks_v1/service.rb +14 -28
  254. data/generated/google/apis/translate_v2/service.rb +3 -6
  255. data/generated/google/apis/urlshortener_v1/service.rb +3 -6
  256. data/generated/google/apis/webmasters_v3.rb +3 -3
  257. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  258. data/generated/google/apis/webmasters_v3/service.rb +16 -30
  259. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  260. data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
  261. data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
  262. data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
  263. data/generated/google/apis/youtube_v3.rb +1 -1
  264. data/generated/google/apis/youtube_v3/classes.rb +111 -78
  265. data/generated/google/apis/youtube_v3/representations.rb +2 -0
  266. data/generated/google/apis/youtube_v3/service.rb +78 -246
  267. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  268. data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
  269. data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
  270. data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
  271. data/google-api-client.gemspec +3 -3
  272. data/lib/google/api_client/auth/installed_app.rb +2 -2
  273. data/lib/google/api_client/auth/key_utils.rb +1 -0
  274. data/lib/google/api_client/auth/storage.rb +1 -0
  275. data/lib/google/api_client/auth/storages/file_store.rb +1 -0
  276. data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
  277. data/lib/google/api_client/client_secrets.rb +4 -5
  278. data/lib/google/apis/core/api_command.rb +2 -2
  279. data/lib/google/apis/core/base_service.rb +1 -0
  280. data/lib/google/apis/core/batch.rb +25 -8
  281. data/lib/google/apis/core/download.rb +1 -1
  282. data/lib/google/apis/core/http_command.rb +24 -12
  283. data/lib/google/apis/core/multipart.rb +20 -6
  284. data/lib/google/apis/core/upload.rb +11 -4
  285. data/lib/google/apis/generator/annotator.rb +29 -10
  286. data/lib/google/apis/generator/helpers.rb +1 -1
  287. data/lib/google/apis/generator/templates/_method.tmpl +5 -6
  288. data/lib/google/apis/options.rb +7 -3
  289. data/lib/google/apis/version.rb +1 -1
  290. data/samples/calendar/calendar.rb +1 -1
  291. data/samples/drive/drive.rb +9 -2
  292. data/samples/pubsub/pubsub.rb +5 -6
  293. data/samples/translate/translate.rb +1 -5
  294. data/script/generate +20 -5
  295. data/spec/fixtures/files/child/.gitignore +0 -0
  296. data/spec/fixtures/files/invalid.json +1 -0
  297. data/spec/google/api_client/client_secrets_spec.rb +38 -1
  298. data/spec/google/apis/core/batch_spec.rb +22 -8
  299. data/spec/google/apis/core/download_spec.rb +13 -0
  300. data/spec/google/apis/core/http_command_spec.rb +26 -9
  301. data/spec/google/apis/core/upload_spec.rb +65 -17
  302. data/spec/google/apis/options_spec.rb +8 -0
  303. data/spec/integration_tests/adsense_spec.rb +28 -0
  304. data/spec/integration_tests/pubsub_spec.rb +3 -3
  305. data/spec/spec_helper.rb +5 -1
  306. data/third_party/hurley_patches.rb +103 -0
  307. metadata +87 -7
@@ -25,7 +25,7 @@ module Google
25
25
  # @see http://developers.google.com/youtube/analytics/
26
26
  module YoutubeAnalyticsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20150304'
28
+ REVISION = '20151211'
29
29
 
30
30
  # Manage your YouTube account
31
31
  AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
@@ -444,6 +444,11 @@ module Google
444
444
  # @return [String]
445
445
  attr_accessor :kind
446
446
 
447
+ #
448
+ # Corresponds to the JSON property `nextPageToken`
449
+ # @return [String]
450
+ attr_accessor :next_page_token
451
+
447
452
  def initialize(**args)
448
453
  update!(**args)
449
454
  end
@@ -453,6 +458,7 @@ module Google
453
458
  @etag = args[:etag] unless args[:etag].nil?
454
459
  @items = args[:items] unless args[:items].nil?
455
460
  @kind = args[:kind] unless args[:kind].nil?
461
+ @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
456
462
  end
457
463
  end
458
464
 
@@ -212,6 +212,7 @@ module Google
212
212
  collection :items, as: 'items', class: Google::Apis::YoutubeAnalyticsV1::Group, decorator: Google::Apis::YoutubeAnalyticsV1::Group::Representation
213
213
 
214
214
  property :kind, as: 'kind'
215
+ property :next_page_token, as: 'nextPageToken'
215
216
  end
216
217
  end
217
218
 
@@ -78,8 +78,7 @@ module Google
78
78
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
79
  # @raise [Google::Apis::AuthorizationError] Authorization is required
80
80
  def list_batch_report_definitions(on_behalf_of_content_owner, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
81
- path = 'batchReportDefinitions'
82
- command = make_simple_command(:get, path, options)
81
+ command = make_simple_command(:get, 'batchReportDefinitions', options)
83
82
  command.response_representation = Google::Apis::YoutubeAnalyticsV1::BatchReportDefinitionList::Representation
84
83
  command.response_class = Google::Apis::YoutubeAnalyticsV1::BatchReportDefinitionList
85
84
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
@@ -118,8 +117,7 @@ module Google
118
117
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
119
118
  # @raise [Google::Apis::AuthorizationError] Authorization is required
120
119
  def list_batch_reports(batch_report_definition_id, on_behalf_of_content_owner, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
121
- path = 'batchReports'
122
- command = make_simple_command(:get, path, options)
120
+ command = make_simple_command(:get, 'batchReports', options)
123
121
  command.response_representation = Google::Apis::YoutubeAnalyticsV1::BatchReportList::Representation
124
122
  command.response_class = Google::Apis::YoutubeAnalyticsV1::BatchReportList
125
123
  command.query['batchReportDefinitionId'] = batch_report_definition_id unless batch_report_definition_id.nil?
@@ -166,8 +164,7 @@ module Google
166
164
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
167
165
  # @raise [Google::Apis::AuthorizationError] Authorization is required
168
166
  def delete_group_item(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
169
- path = 'groupItems'
170
- command = make_simple_command(:delete, path, options)
167
+ command = make_simple_command(:delete, 'groupItems', options)
171
168
  command.query['id'] = id unless id.nil?
172
169
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
173
170
  command.query['fields'] = fields unless fields.nil?
@@ -210,8 +207,7 @@ module Google
210
207
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
211
208
  # @raise [Google::Apis::AuthorizationError] Authorization is required
212
209
  def insert_group_item(group_item_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
213
- path = 'groupItems'
214
- command = make_simple_command(:post, path, options)
210
+ command = make_simple_command(:post, 'groupItems', options)
215
211
  command.request_representation = Google::Apis::YoutubeAnalyticsV1::GroupItem::Representation
216
212
  command.request_object = group_item_object
217
213
  command.response_representation = Google::Apis::YoutubeAnalyticsV1::GroupItem::Representation
@@ -259,8 +255,7 @@ module Google
259
255
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
260
256
  # @raise [Google::Apis::AuthorizationError] Authorization is required
261
257
  def list_group_items(group_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
262
- path = 'groupItems'
263
- command = make_simple_command(:get, path, options)
258
+ command = make_simple_command(:get, 'groupItems', options)
264
259
  command.response_representation = Google::Apis::YoutubeAnalyticsV1::ListGroupItemResponse::Representation
265
260
  command.response_class = Google::Apis::YoutubeAnalyticsV1::ListGroupItemResponse
266
261
  command.query['groupId'] = group_id unless group_id.nil?
@@ -307,8 +302,7 @@ module Google
307
302
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
308
303
  # @raise [Google::Apis::AuthorizationError] Authorization is required
309
304
  def delete_group(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
310
- path = 'groups'
311
- command = make_simple_command(:delete, path, options)
305
+ command = make_simple_command(:delete, 'groups', options)
312
306
  command.query['id'] = id unless id.nil?
313
307
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
314
308
  command.query['fields'] = fields unless fields.nil?
@@ -351,8 +345,7 @@ module Google
351
345
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
352
346
  # @raise [Google::Apis::AuthorizationError] Authorization is required
353
347
  def insert_group(group_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
354
- path = 'groups'
355
- command = make_simple_command(:post, path, options)
348
+ command = make_simple_command(:post, 'groups', options)
356
349
  command.request_representation = Google::Apis::YoutubeAnalyticsV1::Group::Representation
357
350
  command.request_object = group_object
358
351
  command.response_representation = Google::Apis::YoutubeAnalyticsV1::Group::Representation
@@ -384,6 +377,10 @@ module Google
384
377
  # to all their video and channel data, without having to provide authentication
385
378
  # credentials for each individual channel. The CMS account that the user
386
379
  # authenticates with must be linked to the specified YouTube content owner.
380
+ # @param [String] page_token
381
+ # The pageToken parameter identifies a specific page in the result set that
382
+ # should be returned. In an API response, the nextPageToken property identifies
383
+ # the next page that can be retrieved.
387
384
  # @param [String] fields
388
385
  # Selector specifying which fields to include in a partial response.
389
386
  # @param [String] quota_user
@@ -405,14 +402,14 @@ module Google
405
402
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
406
403
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
407
404
  # @raise [Google::Apis::AuthorizationError] Authorization is required
408
- def list_groups(id: nil, mine: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
409
- path = 'groups'
410
- command = make_simple_command(:get, path, options)
405
+ def list_groups(id: nil, mine: nil, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
406
+ command = make_simple_command(:get, 'groups', options)
411
407
  command.response_representation = Google::Apis::YoutubeAnalyticsV1::ListGroupsResponse::Representation
412
408
  command.response_class = Google::Apis::YoutubeAnalyticsV1::ListGroupsResponse
413
409
  command.query['id'] = id unless id.nil?
414
410
  command.query['mine'] = mine unless mine.nil?
415
411
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
412
+ command.query['pageToken'] = page_token unless page_token.nil?
416
413
  command.query['fields'] = fields unless fields.nil?
417
414
  command.query['quotaUser'] = quota_user unless quota_user.nil?
418
415
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -453,8 +450,7 @@ module Google
453
450
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
454
451
  # @raise [Google::Apis::AuthorizationError] Authorization is required
455
452
  def update_group(group_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
456
- path = 'groups'
457
- command = make_simple_command(:put, path, options)
453
+ command = make_simple_command(:put, 'groups', options)
458
454
  command.request_representation = Google::Apis::YoutubeAnalyticsV1::Group::Representation
459
455
  command.request_object = group_object
460
456
  command.response_representation = Google::Apis::YoutubeAnalyticsV1::Group::Representation
@@ -534,8 +530,7 @@ module Google
534
530
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
535
531
  # @raise [Google::Apis::AuthorizationError] Authorization is required
536
532
  def query_report(ids, start_date, end_date, metrics, currency: nil, dimensions: nil, filters: nil, max_results: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
537
- path = 'reports'
538
- command = make_simple_command(:get, path, options)
533
+ command = make_simple_command(:get, 'reports', options)
539
534
  command.response_representation = Google::Apis::YoutubeAnalyticsV1::ResultTable::Representation
540
535
  command.response_class = Google::Apis::YoutubeAnalyticsV1::ResultTable
541
536
  command.query['currency'] = currency unless currency.nil?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/youtube/v3
26
26
  module YoutubeV3
27
27
  VERSION = 'V3'
28
- REVISION = '20150706'
28
+ REVISION = '20151209'
29
29
 
30
30
  # Manage your YouTube account
31
31
  AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
@@ -2258,335 +2258,361 @@ module Google
2258
2258
  end
2259
2259
 
2260
2260
  # Ratings schemes. The country-specific ratings are mostly for movies and shows.
2261
- # NEXT_ID: 65
2261
+ # NEXT_ID: 66
2262
2262
  class ContentRating
2263
2263
  include Google::Apis::Core::Hashable
2264
2264
 
2265
- # Rating system in Australia - Australian Classification Board
2265
+ # The video's Australian Classification Board (ACB) or Australian Communications
2266
+ # and Media Authority (ACMA) rating. ACMA ratings are used to classify children'
2267
+ # s television programming.
2266
2268
  # Corresponds to the JSON property `acbRating`
2267
2269
  # @return [String]
2268
2270
  attr_accessor :acb_rating
2269
2271
 
2270
- # Rating system for Italy - Autorit� per le Garanzie nelle Comunicazioni
2272
+ # The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (
2273
+ # AGCOM).
2271
2274
  # Corresponds to the JSON property `agcomRating`
2272
2275
  # @return [String]
2273
2276
  attr_accessor :agcom_rating
2274
2277
 
2275
- # Rating system for Chile - Asociaci�n Nacional de Televisi�n
2278
+ # The video's Anatel (Asociación Nacional de Televisión) rating for Chilean
2279
+ # television.
2276
2280
  # Corresponds to the JSON property `anatelRating`
2277
2281
  # @return [String]
2278
2282
  attr_accessor :anatel_rating
2279
2283
 
2280
- # British Board of Film Classification
2284
+ # The video's British Board of Film Classification (BBFC) rating.
2281
2285
  # Corresponds to the JSON property `bbfcRating`
2282
2286
  # @return [String]
2283
2287
  attr_accessor :bbfc_rating
2284
2288
 
2285
- # Rating system for Thailand - Board of Filmand Video Censors
2289
+ # The video's rating from Thailand's Board of Film and Video Censors.
2286
2290
  # Corresponds to the JSON property `bfvcRating`
2287
2291
  # @return [String]
2288
2292
  attr_accessor :bfvc_rating
2289
2293
 
2290
- # Rating system for Austria - Bundesministerium f�r Unterricht, Kunst und Kultur
2294
+ # The video's rating from the Austrian Board of Media Classification (
2295
+ # Bundesministerium für Unterricht, Kunst und Kultur).
2291
2296
  # Corresponds to the JSON property `bmukkRating`
2292
2297
  # @return [String]
2293
2298
  attr_accessor :bmukk_rating
2294
2299
 
2295
- # Rating system for Canadian TV - Canadian TV Classification System
2300
+ # Rating system for Canadian TV - Canadian TV Classification System The video's
2301
+ # rating from the Canadian Radio-Television and Telecommunications Commission (
2302
+ # CRTC) for Canadian English-language broadcasts. For more information, see the
2303
+ # Canadian Broadcast Standards Council website.
2296
2304
  # Corresponds to the JSON property `catvRating`
2297
2305
  # @return [String]
2298
2306
  attr_accessor :catv_rating
2299
2307
 
2300
- # Rating system for French Canadian TV - Regie du cinema
2308
+ # The video's rating from the Canadian Radio-Television and Telecommunications
2309
+ # Commission (CRTC) for Canadian French-language broadcasts. For more
2310
+ # information, see the Canadian Broadcast Standards Council website.
2301
2311
  # Corresponds to the JSON property `catvfrRating`
2302
2312
  # @return [String]
2303
2313
  attr_accessor :catvfr_rating
2304
2314
 
2305
- # Rating system in India - Central Board of Film Certification
2315
+ # The video's Central Board of Film Certification (CBFC - India) rating.
2306
2316
  # Corresponds to the JSON property `cbfcRating`
2307
2317
  # @return [String]
2308
2318
  attr_accessor :cbfc_rating
2309
2319
 
2310
- # Rating system for Chile - Consejo de Calificaci�n Cinematogr�fica
2320
+ # The video's Consejo de Calificación Cinematográfica (Chile) rating.
2311
2321
  # Corresponds to the JSON property `cccRating`
2312
2322
  # @return [String]
2313
2323
  attr_accessor :ccc_rating
2314
2324
 
2315
- # Rating system for Portugal - Comiss�o de Classifica��o de Espectculos
2325
+ # The video's rating from Portugal's Comissão de Classificação de Espect´culos.
2316
2326
  # Corresponds to the JSON property `cceRating`
2317
2327
  # @return [String]
2318
2328
  attr_accessor :cce_rating
2319
2329
 
2320
- # Rating system for Switzerland - Switzerland Rating System
2330
+ # The video's rating in Switzerland.
2321
2331
  # Corresponds to the JSON property `chfilmRating`
2322
2332
  # @return [String]
2323
2333
  attr_accessor :chfilm_rating
2324
2334
 
2325
- # Canadian Home Video Rating System
2335
+ # The video's Canadian Home Video Rating System (CHVRS) rating.
2326
2336
  # Corresponds to the JSON property `chvrsRating`
2327
2337
  # @return [String]
2328
2338
  attr_accessor :chvrs_rating
2329
2339
 
2330
- # Rating system for Belgium - Belgium Rating System
2340
+ # The video's rating from the Commission de Contrôle des Films (Belgium).
2331
2341
  # Corresponds to the JSON property `cicfRating`
2332
2342
  # @return [String]
2333
2343
  attr_accessor :cicf_rating
2334
2344
 
2335
- # Rating system for Romania - CONSILIUL NATIONAL AL AUDIOVIZUALULUI - CNA
2345
+ # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA).
2336
2346
  # Corresponds to the JSON property `cnaRating`
2337
2347
  # @return [String]
2338
2348
  attr_accessor :cna_rating
2339
2349
 
2340
- # Rating system for France - Conseil sup�rieur de l?audiovisuel
2350
+ # Rating system in France - Commission de classification cinematographique
2351
+ # Corresponds to the JSON property `cncRating`
2352
+ # @return [String]
2353
+ attr_accessor :cnc_rating
2354
+
2355
+ # The video's rating from France's Conseil supérieur de l?audiovisuel, which
2356
+ # rates broadcast content.
2341
2357
  # Corresponds to the JSON property `csaRating`
2342
2358
  # @return [String]
2343
2359
  attr_accessor :csa_rating
2344
2360
 
2345
- # Rating system for Luxembourg - Commission de surveillance de la classification
2346
- # des films
2361
+ # The video's rating from Luxembourg's Commission de surveillance de la
2362
+ # classification des films (CSCF).
2347
2363
  # Corresponds to the JSON property `cscfRating`
2348
2364
  # @return [String]
2349
2365
  attr_accessor :cscf_rating
2350
2366
 
2351
- # Rating system for Czech republic - Czech republic Rating System
2367
+ # The video's rating in the Czech Republic.
2352
2368
  # Corresponds to the JSON property `czfilmRating`
2353
2369
  # @return [String]
2354
2370
  attr_accessor :czfilm_rating
2355
2371
 
2356
- # Rating system in Brazil - Department of Justice, Rating, Titles and
2357
- # Qualification
2372
+ # The video's Departamento de Justiça, Classificação, Qualificação e Títulos (
2373
+ # DJCQT - Brazil) rating.
2358
2374
  # Corresponds to the JSON property `djctqRating`
2359
2375
  # @return [String]
2360
2376
  attr_accessor :djctq_rating
2361
2377
 
2362
- #
2378
+ # Reasons that explain why the video received its DJCQT (Brazil) rating.
2363
2379
  # Corresponds to the JSON property `djctqRatingReasons`
2364
2380
  # @return [Array<String>]
2365
2381
  attr_accessor :djctq_rating_reasons
2366
2382
 
2367
- # Rating system for Estonia - Estonia Rating System
2383
+ # The video's rating in Estonia.
2368
2384
  # Corresponds to the JSON property `eefilmRating`
2369
2385
  # @return [String]
2370
2386
  attr_accessor :eefilm_rating
2371
2387
 
2372
- # Rating system for Egypt - Egypt Rating System
2388
+ # The video's rating in Egypt.
2373
2389
  # Corresponds to the JSON property `egfilmRating`
2374
2390
  # @return [String]
2375
2391
  attr_accessor :egfilm_rating
2376
2392
 
2377
- # Rating system in Japan - Eiga Rinri Kanri Iinkai
2393
+ # The video's Eirin (映倫) rating. Eirin is the Japanese rating system.
2378
2394
  # Corresponds to the JSON property `eirinRating`
2379
2395
  # @return [String]
2380
2396
  attr_accessor :eirin_rating
2381
2397
 
2382
- # Rating system for Malaysia - Film Censorship Board of Malaysia
2398
+ # The video's rating from Malaysia's Film Censorship Board.
2383
2399
  # Corresponds to the JSON property `fcbmRating`
2384
2400
  # @return [String]
2385
2401
  attr_accessor :fcbm_rating
2386
2402
 
2387
- # Rating system for Hong kong - Office for Film, Newspaper and Article
2388
- # Administration
2403
+ # The video's rating from Hong Kong's Office for Film, Newspaper and Article
2404
+ # Administration.
2389
2405
  # Corresponds to the JSON property `fcoRating`
2390
2406
  # @return [String]
2391
2407
  attr_accessor :fco_rating
2392
2408
 
2393
- # Rating system in France - French Minister of Culture
2409
+ # This property has been deprecated. Use the contentDetails.contentRating.
2410
+ # cncRating instead.
2394
2411
  # Corresponds to the JSON property `fmocRating`
2395
2412
  # @return [String]
2396
2413
  attr_accessor :fmoc_rating
2397
2414
 
2398
- # Rating system for South africa - Film & Publication Board
2415
+ # The video's rating from South Africa's Film and Publication Board.
2399
2416
  # Corresponds to the JSON property `fpbRating`
2400
2417
  # @return [String]
2401
2418
  attr_accessor :fpb_rating
2402
2419
 
2403
- # Rating system in Germany - Voluntary Self Regulation of the Movie Industry
2420
+ # The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany)
2421
+ # rating.
2404
2422
  # Corresponds to the JSON property `fskRating`
2405
2423
  # @return [String]
2406
2424
  attr_accessor :fsk_rating
2407
2425
 
2408
- # Rating system for Greece - Greece Rating System
2426
+ # The video's rating in Greece.
2409
2427
  # Corresponds to the JSON property `grfilmRating`
2410
2428
  # @return [String]
2411
2429
  attr_accessor :grfilm_rating
2412
2430
 
2413
- # Rating system in Spain - Instituto de Cinematografia y de las Artes
2414
- # Audiovisuales
2431
+ # The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA -
2432
+ # Spain) rating.
2415
2433
  # Corresponds to the JSON property `icaaRating`
2416
2434
  # @return [String]
2417
2435
  attr_accessor :icaa_rating
2418
2436
 
2419
- # Rating system in Ireland - Irish Film Classification Office
2437
+ # The video's Irish Film Classification Office (IFCO - Ireland) rating. See the
2438
+ # IFCO website for more information.
2420
2439
  # Corresponds to the JSON property `ifcoRating`
2421
2440
  # @return [String]
2422
2441
  attr_accessor :ifco_rating
2423
2442
 
2424
- # Rating system for Israel - Israel Rating System
2443
+ # The video's rating in Israel.
2425
2444
  # Corresponds to the JSON property `ilfilmRating`
2426
2445
  # @return [String]
2427
2446
  attr_accessor :ilfilm_rating
2428
2447
 
2429
- # Rating system for Argentina - Instituto Nacional de Cine y Artes Audiovisuales
2448
+ # The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales -
2449
+ # Argentina) rating.
2430
2450
  # Corresponds to the JSON property `incaaRating`
2431
2451
  # @return [String]
2432
2452
  attr_accessor :incaa_rating
2433
2453
 
2434
- # Rating system for Kenya - Kenya Film Classification Board
2454
+ # The video's rating from the Kenya Film Classification Board.
2435
2455
  # Corresponds to the JSON property `kfcbRating`
2436
2456
  # @return [String]
2437
2457
  attr_accessor :kfcb_rating
2438
2458
 
2439
- # Rating system for Netherlands - Nederlands Instituut voor de Classificatie van
2440
- # Audiovisuele Media
2459
+ # voor de Classificatie van Audiovisuele Media (Netherlands).
2441
2460
  # Corresponds to the JSON property `kijkwijzerRating`
2442
2461
  # @return [String]
2443
2462
  attr_accessor :kijkwijzer_rating
2444
2463
 
2445
- # Rating system in South Korea - Korea Media Rating Board
2464
+ # The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos
2465
+ # in South Korea.
2446
2466
  # Corresponds to the JSON property `kmrbRating`
2447
2467
  # @return [String]
2448
2468
  attr_accessor :kmrb_rating
2449
2469
 
2450
- # Rating system for Indonesia - Lembaga Sensor Film
2470
+ # The video's rating from Indonesia's Lembaga Sensor Film.
2451
2471
  # Corresponds to the JSON property `lsfRating`
2452
2472
  # @return [String]
2453
2473
  attr_accessor :lsf_rating
2454
2474
 
2455
- # Rating system for Malta - Film Age-Classification Board
2475
+ # The video's rating from Malta's Film Age-Classification Board.
2456
2476
  # Corresponds to the JSON property `mccaaRating`
2457
2477
  # @return [String]
2458
2478
  attr_accessor :mccaa_rating
2459
2479
 
2460
- # Rating system for Denmark - The Media Council for Children and Young People
2480
+ # The video's rating from the Danish Film Institute's (Det Danske Filminstitut)
2481
+ # Media Council for Children and Young People.
2461
2482
  # Corresponds to the JSON property `mccypRating`
2462
2483
  # @return [String]
2463
2484
  attr_accessor :mccyp_rating
2464
2485
 
2465
- # Rating system for Singapore - Media Development Authority
2486
+ # The video's rating from Singapore's Media Development Authority (MDA) and,
2487
+ # specifically, it's Board of Film Censors (BFC).
2466
2488
  # Corresponds to the JSON property `mdaRating`
2467
2489
  # @return [String]
2468
2490
  attr_accessor :mda_rating
2469
2491
 
2470
- # Rating system for Norway - Medietilsynet
2492
+ # The video's rating from Medietilsynet, the Norwegian Media Authority.
2471
2493
  # Corresponds to the JSON property `medietilsynetRating`
2472
2494
  # @return [String]
2473
2495
  attr_accessor :medietilsynet_rating
2474
2496
 
2475
- # Rating system for Finland - Finnish Centre for Media Education and Audiovisual
2476
- # Media
2497
+ # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (
2498
+ # National Audiovisual Institute).
2477
2499
  # Corresponds to the JSON property `mekuRating`
2478
2500
  # @return [String]
2479
2501
  attr_accessor :meku_rating
2480
2502
 
2481
- # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del
2482
- # Turismo
2503
+ # The video's rating from the Ministero dei Beni e delle Attività Culturali e
2504
+ # del Turismo (Italy).
2483
2505
  # Corresponds to the JSON property `mibacRating`
2484
2506
  # @return [String]
2485
2507
  attr_accessor :mibac_rating
2486
2508
 
2487
- # Rating system for Colombia - MoC
2509
+ # The video's Ministerio de Cultura (Colombia) rating.
2488
2510
  # Corresponds to the JSON property `mocRating`
2489
2511
  # @return [String]
2490
2512
  attr_accessor :moc_rating
2491
2513
 
2492
- # Rating system for Taiwan - Ministry of Culture - Tawan
2514
+ # The video's rating from Taiwan's Ministry of Culture (文化部).
2493
2515
  # Corresponds to the JSON property `moctwRating`
2494
2516
  # @return [String]
2495
2517
  attr_accessor :moctw_rating
2496
2518
 
2497
- # Motion Picture Association of America rating for the content.
2519
+ # The video's Motion Picture Association of America (MPAA) rating.
2498
2520
  # Corresponds to the JSON property `mpaaRating`
2499
2521
  # @return [String]
2500
2522
  attr_accessor :mpaa_rating
2501
2523
 
2502
- # Rating system for Philippines - MOVIE AND TELEVISION REVIEW AND CLASSIFICATION
2503
- # BOARD
2524
+ # The video's rating from the Movie and Television Review and Classification
2525
+ # Board (Philippines).
2504
2526
  # Corresponds to the JSON property `mtrcbRating`
2505
2527
  # @return [String]
2506
2528
  attr_accessor :mtrcb_rating
2507
2529
 
2508
- # Rating system for Maldives - National Bureau of Classification
2530
+ # The video's rating from the Maldives National Bureau of Classification.
2509
2531
  # Corresponds to the JSON property `nbcRating`
2510
2532
  # @return [String]
2511
2533
  attr_accessor :nbc_rating
2512
2534
 
2513
- # Rating system for Poland - National Broadcasting Council
2535
+ # The video's rating in Poland.
2514
2536
  # Corresponds to the JSON property `nbcplRating`
2515
2537
  # @return [String]
2516
2538
  attr_accessor :nbcpl_rating
2517
2539
 
2518
- # Rating system for Bulgaria - National Film Centre
2540
+ # The video's rating from the Bulgarian National Film Center.
2519
2541
  # Corresponds to the JSON property `nfrcRating`
2520
2542
  # @return [String]
2521
2543
  attr_accessor :nfrc_rating
2522
2544
 
2523
- # Rating system for Nigeria - National Film and Video Censors Board
2545
+ # The video's rating from Nigeria's National Film and Video Censors Board.
2524
2546
  # Corresponds to the JSON property `nfvcbRating`
2525
2547
  # @return [String]
2526
2548
  attr_accessor :nfvcb_rating
2527
2549
 
2528
- # Rating system for Latvia - National Film Center of Latvia
2550
+ # The video's rating from the Nacionãlais Kino centrs (National Film Centre of
2551
+ # Latvia).
2529
2552
  # Corresponds to the JSON property `nkclvRating`
2530
2553
  # @return [String]
2531
2554
  attr_accessor :nkclv_rating
2532
2555
 
2533
- # Rating system in New Zealand - Office of Film and Literature Classification
2556
+ # The video's Office of Film and Literature Classification (OFLC - New Zealand)
2557
+ # rating.
2534
2558
  # Corresponds to the JSON property `oflcRating`
2535
2559
  # @return [String]
2536
2560
  attr_accessor :oflc_rating
2537
2561
 
2538
- # Rating system for Peru - Peru Rating System
2562
+ # The video's rating in Peru.
2539
2563
  # Corresponds to the JSON property `pefilmRating`
2540
2564
  # @return [String]
2541
2565
  attr_accessor :pefilm_rating
2542
2566
 
2543
- # Rating system for Hungary - Rating Committee of the National Office of Film
2567
+ # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee
2568
+ # of the National Office of Film.
2544
2569
  # Corresponds to the JSON property `rcnofRating`
2545
2570
  # @return [String]
2546
2571
  attr_accessor :rcnof_rating
2547
2572
 
2548
- # Rating system for Venezuela - SiBCI
2573
+ # The video's rating in Venezuela.
2549
2574
  # Corresponds to the JSON property `resorteviolenciaRating`
2550
2575
  # @return [String]
2551
2576
  attr_accessor :resorteviolencia_rating
2552
2577
 
2553
- # Rating system in Mexico - General Directorate of Radio, Television and
2554
- # Cinematography
2578
+ # The video's General Directorate of Radio, Television and Cinematography (
2579
+ # Mexico) rating.
2555
2580
  # Corresponds to the JSON property `rtcRating`
2556
2581
  # @return [String]
2557
2582
  attr_accessor :rtc_rating
2558
2583
 
2559
- # Rating system for Ireland - Raidi� Teilif�s �ireann
2584
+ # The video's rating from Ireland's Raidió Teilifís Éireann.
2560
2585
  # Corresponds to the JSON property `rteRating`
2561
2586
  # @return [String]
2562
2587
  attr_accessor :rte_rating
2563
2588
 
2564
- # Rating system in Russia
2589
+ # The video's National Film Registry of the Russian Federation (MKRF - Russia)
2590
+ # rating.
2565
2591
  # Corresponds to the JSON property `russiaRating`
2566
2592
  # @return [String]
2567
2593
  attr_accessor :russia_rating
2568
2594
 
2569
- # Rating system for Slovakia - Slovakia Rating System
2595
+ # The video's rating in Slovakia.
2570
2596
  # Corresponds to the JSON property `skfilmRating`
2571
2597
  # @return [String]
2572
2598
  attr_accessor :skfilm_rating
2573
2599
 
2574
- # Rating system for Iceland - SMAIS
2600
+ # The video's rating in Iceland.
2575
2601
  # Corresponds to the JSON property `smaisRating`
2576
2602
  # @return [String]
2577
2603
  attr_accessor :smais_rating
2578
2604
 
2579
- # Rating system for Sweden - Statens medier�d (National Media Council)
2605
+ # The video's rating from Statens medieråd (Sweden's National Media Council).
2580
2606
  # Corresponds to the JSON property `smsaRating`
2581
2607
  # @return [String]
2582
2608
  attr_accessor :smsa_rating
2583
2609
 
2584
- # TV Parental Guidelines rating of the content.
2610
+ # The video's TV Parental Guidelines (TVPG) rating.
2585
2611
  # Corresponds to the JSON property `tvpgRating`
2586
2612
  # @return [String]
2587
2613
  attr_accessor :tvpg_rating
2588
2614
 
2589
- # Internal YouTube rating.
2615
+ # A rating that YouTube uses to identify age-restricted content.
2590
2616
  # Corresponds to the JSON property `ytRating`
2591
2617
  # @return [String]
2592
2618
  attr_accessor :yt_rating
@@ -2612,6 +2638,7 @@ module Google
2612
2638
  @chvrs_rating = args[:chvrs_rating] unless args[:chvrs_rating].nil?
2613
2639
  @cicf_rating = args[:cicf_rating] unless args[:cicf_rating].nil?
2614
2640
  @cna_rating = args[:cna_rating] unless args[:cna_rating].nil?
2641
+ @cnc_rating = args[:cnc_rating] unless args[:cnc_rating].nil?
2615
2642
  @csa_rating = args[:csa_rating] unless args[:csa_rating].nil?
2616
2643
  @cscf_rating = args[:cscf_rating] unless args[:cscf_rating].nil?
2617
2644
  @czfilm_rating = args[:czfilm_rating] unless args[:czfilm_rating].nil?
@@ -3524,7 +3551,7 @@ module Google
3524
3551
  attr_accessor :enable_embed
3525
3552
  alias_method :enable_embed?, :enable_embed
3526
3553
 
3527
- #
3554
+ # Indicates whether this broadcast has low latency enabled.
3528
3555
  # Corresponds to the JSON property `enableLowLatency`
3529
3556
  # @return [Boolean]
3530
3557
  attr_accessor :enable_low_latency
@@ -3683,6 +3710,11 @@ module Google
3683
3710
  attr_accessor :is_default_broadcast
3684
3711
  alias_method :is_default_broadcast?, :is_default_broadcast
3685
3712
 
3713
+ # The id of the live chat for this broadcast.
3714
+ # Corresponds to the JSON property `liveChatId`
3715
+ # @return [String]
3716
+ attr_accessor :live_chat_id
3717
+
3686
3718
  # The date and time that the broadcast was added to YouTube's live broadcast
3687
3719
  # schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
3688
3720
  # Corresponds to the JSON property `publishedAt`
@@ -3724,6 +3756,7 @@ module Google
3724
3756
  @channel_id = args[:channel_id] unless args[:channel_id].nil?
3725
3757
  @description = args[:description] unless args[:description].nil?
3726
3758
  @is_default_broadcast = args[:is_default_broadcast] unless args[:is_default_broadcast].nil?
3759
+ @live_chat_id = args[:live_chat_id] unless args[:live_chat_id].nil?
3727
3760
  @published_at = args[:published_at] unless args[:published_at].nil?
3728
3761
  @scheduled_end_time = args[:scheduled_end_time] unless args[:scheduled_end_time].nil?
3729
3762
  @scheduled_start_time = args[:scheduled_start_time] unless args[:scheduled_start_time].nil?
@@ -5605,7 +5638,8 @@ module Google
5605
5638
  class Video
5606
5639
  include Google::Apis::Core::Hashable
5607
5640
 
5608
- # Age restriction details related to a video.
5641
+ # Age restriction details related to a video. This data can only be retrieved by
5642
+ # the video owner.
5609
5643
  # Corresponds to the JSON property `ageGating`
5610
5644
  # @return [Google::Apis::YoutubeV3::VideoAgeGating]
5611
5645
  attr_accessor :age_gating
@@ -6108,7 +6142,7 @@ module Google
6108
6142
  attr_accessor :caption
6109
6143
 
6110
6144
  # Ratings schemes. The country-specific ratings are mostly for movies and shows.
6111
- # NEXT_ID: 65
6145
+ # NEXT_ID: 66
6112
6146
  # Corresponds to the JSON property `contentRating`
6113
6147
  # @return [Google::Apis::YoutubeV3::ContentRating]
6114
6148
  attr_accessor :content_rating
@@ -6923,7 +6957,6 @@ module Google
6923
6957
  attr_accessor :published_at
6924
6958
 
6925
6959
  # A list of keyword tags associated with the video. Tags may contain spaces.
6926
- # This field is only visible to the video's uploader.
6927
6960
  # Corresponds to the JSON property `tags`
6928
6961
  # @return [Array<String>]
6929
6962
  attr_accessor :tags