google-api-client 0.29.1 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (472) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +102 -0
  3. data/README.md +1 -1
  4. data/bin/generate-api +4 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
  9. data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
  10. data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
  21. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
  22. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
  23. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
  24. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
  26. data/generated/google/apis/admin_directory_v1/service.rb +113 -113
  27. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  28. data/generated/google/apis/adsense_v1_4/service.rb +39 -39
  29. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
  30. data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
  31. data/generated/google/apis/analytics_v2_4/service.rb +6 -6
  32. data/generated/google/apis/analytics_v3/service.rb +88 -88
  33. data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
  34. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  35. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  36. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  37. data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
  40. data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
  41. data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
  42. data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
  43. data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
  44. data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
  45. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  46. data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
  47. data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
  48. data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
  49. data/generated/google/apis/appengine_v1.rb +1 -1
  50. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  51. data/generated/google/apis/appengine_v1/service.rb +38 -38
  52. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  53. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
  54. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  55. data/generated/google/apis/appengine_v1beta.rb +1 -1
  56. data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
  57. data/generated/google/apis/appengine_v1beta/service.rb +38 -38
  58. data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
  59. data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
  60. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  61. data/generated/google/apis/appsmarket_v2/service.rb +3 -3
  62. data/generated/google/apis/appstate_v1/service.rb +5 -5
  63. data/generated/google/apis/bigquery_v2.rb +1 -1
  64. data/generated/google/apis/bigquery_v2/classes.rb +934 -0
  65. data/generated/google/apis/bigquery_v2/representations.rb +367 -0
  66. data/generated/google/apis/bigquery_v2/service.rb +184 -22
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
  68. data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
  69. data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
  70. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  71. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
  72. data/generated/google/apis/blogger_v2/service.rb +9 -9
  73. data/generated/google/apis/blogger_v3/service.rb +33 -33
  74. data/generated/google/apis/books_v1/service.rb +51 -51
  75. data/generated/google/apis/calendar_v3/service.rb +37 -37
  76. data/generated/google/apis/chat_v1/service.rb +8 -8
  77. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  78. data/generated/google/apis/classroom_v1.rb +1 -1
  79. data/generated/google/apis/classroom_v1/service.rb +57 -56
  80. data/generated/google/apis/cloudasset_v1/service.rb +3 -3
  81. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  82. data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
  83. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  84. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
  86. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
  87. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  88. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  91. data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
  92. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  93. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
  98. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  99. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  100. data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
  101. data/generated/google/apis/cloudiot_v1.rb +1 -1
  102. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  103. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  104. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
  105. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
  106. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
  107. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
  108. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
  109. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  110. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
  113. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
  114. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  116. data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
  117. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
  120. data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
  121. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
  122. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  123. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
  124. data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
  125. data/generated/google/apis/cloudshell_v1.rb +1 -1
  126. data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
  127. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  128. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  129. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
  130. data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
  131. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  132. data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
  133. data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
  134. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
  136. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
  137. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  138. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
  139. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  140. data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
  141. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  142. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  143. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
  144. data/generated/google/apis/composer_v1/service.rb +9 -9
  145. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  146. data/generated/google/apis/compute_alpha.rb +1 -1
  147. data/generated/google/apis/compute_alpha/classes.rb +29 -0
  148. data/generated/google/apis/compute_alpha/representations.rb +15 -0
  149. data/generated/google/apis/compute_alpha/service.rb +625 -623
  150. data/generated/google/apis/compute_beta.rb +1 -1
  151. data/generated/google/apis/compute_beta/service.rb +504 -503
  152. data/generated/google/apis/compute_v1.rb +1 -1
  153. data/generated/google/apis/compute_v1/service.rb +411 -410
  154. data/generated/google/apis/container_v1.rb +1 -1
  155. data/generated/google/apis/container_v1/classes.rb +2 -1
  156. data/generated/google/apis/container_v1/service.rb +63 -63
  157. data/generated/google/apis/container_v1beta1.rb +1 -1
  158. data/generated/google/apis/container_v1beta1/classes.rb +52 -4
  159. data/generated/google/apis/container_v1beta1/representations.rb +20 -0
  160. data/generated/google/apis/container_v1beta1/service.rb +64 -64
  161. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  162. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
  163. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  164. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  165. data/generated/google/apis/content_v2.rb +1 -1
  166. data/generated/google/apis/content_v2/classes.rb +9 -3
  167. data/generated/google/apis/content_v2/service.rb +101 -105
  168. data/generated/google/apis/content_v2_1.rb +1 -1
  169. data/generated/google/apis/content_v2_1/classes.rb +9 -3
  170. data/generated/google/apis/content_v2_1/service.rb +89 -93
  171. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  172. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  173. data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
  174. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  175. data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
  176. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  177. data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
  178. data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
  179. data/generated/google/apis/dataproc_v1.rb +1 -1
  180. data/generated/google/apis/dataproc_v1/classes.rb +2 -2
  181. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  182. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  183. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
  184. data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
  185. data/generated/google/apis/datastore_v1.rb +1 -1
  186. data/generated/google/apis/datastore_v1/service.rb +15 -15
  187. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  188. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  189. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  190. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  191. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  192. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  193. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  194. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  195. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  196. data/generated/google/apis/dialogflow_v2.rb +1 -1
  197. data/generated/google/apis/dialogflow_v2/classes.rb +5 -5
  198. data/generated/google/apis/dialogflow_v2/service.rb +36 -36
  199. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  200. data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
  201. data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
  202. data/generated/google/apis/digitalassetlinks_v1/service.rb +2 -2
  203. data/generated/google/apis/discovery_v1/service.rb +2 -2
  204. data/generated/google/apis/dlp_v2.rb +1 -1
  205. data/generated/google/apis/dlp_v2/classes.rb +8 -2
  206. data/generated/google/apis/dlp_v2/service.rb +51 -46
  207. data/generated/google/apis/dns_v1/service.rb +15 -15
  208. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  209. data/generated/google/apis/dns_v2beta1/service.rb +15 -15
  210. data/generated/google/apis/docs_v1.rb +1 -1
  211. data/generated/google/apis/docs_v1/classes.rb +137 -0
  212. data/generated/google/apis/docs_v1/representations.rb +57 -0
  213. data/generated/google/apis/docs_v1/service.rb +3 -3
  214. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  215. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  216. data/generated/google/apis/drive_v2/service.rb +74 -74
  217. data/generated/google/apis/drive_v3/service.rb +46 -46
  218. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  219. data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
  220. data/generated/google/apis/fcm_v1.rb +35 -0
  221. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  222. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  223. data/generated/google/apis/fcm_v1/service.rb +97 -0
  224. data/generated/google/apis/file_v1.rb +1 -1
  225. data/generated/google/apis/file_v1/classes.rb +52 -1
  226. data/generated/google/apis/file_v1/representations.rb +16 -0
  227. data/generated/google/apis/file_v1/service.rb +11 -11
  228. data/generated/google/apis/file_v1beta1.rb +1 -1
  229. data/generated/google/apis/file_v1beta1/classes.rb +52 -1
  230. data/generated/google/apis/file_v1beta1/representations.rb +16 -0
  231. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  232. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  233. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  234. data/generated/google/apis/firebaserules_v1/service.rb +11 -11
  235. data/generated/google/apis/firestore_v1/service.rb +28 -28
  236. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  237. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  238. data/generated/google/apis/fitness_v1/service.rb +13 -13
  239. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  240. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  241. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  242. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  243. data/generated/google/apis/games_v1/service.rb +53 -53
  244. data/generated/google/apis/genomics_v1.rb +1 -1
  245. data/generated/google/apis/genomics_v1/service.rb +3 -3
  246. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  247. data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
  248. data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
  249. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  250. data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
  251. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  252. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
  253. data/generated/google/apis/gmail_v1/service.rb +68 -68
  254. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  255. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  256. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  257. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  258. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  259. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  260. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  261. data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
  262. data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
  263. data/generated/google/apis/iam_v1/service.rb +36 -36
  264. data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
  265. data/generated/google/apis/iap_v1/service.rb +3 -3
  266. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  267. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  268. data/generated/google/apis/indexing_v3/service.rb +2 -2
  269. data/generated/google/apis/jobs_v2/service.rb +17 -17
  270. data/generated/google/apis/jobs_v3/service.rb +15 -15
  271. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  272. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
  273. data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
  274. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  275. data/generated/google/apis/language_v1.rb +1 -1
  276. data/generated/google/apis/language_v1/service.rb +6 -6
  277. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  278. data/generated/google/apis/language_v1beta2.rb +1 -1
  279. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  280. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  281. data/generated/google/apis/licensing_v1/service.rb +7 -7
  282. data/generated/google/apis/logging_v2.rb +1 -1
  283. data/generated/google/apis/logging_v2/classes.rb +6 -0
  284. data/generated/google/apis/logging_v2/representations.rb +1 -0
  285. data/generated/google/apis/logging_v2/service.rb +72 -72
  286. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  287. data/generated/google/apis/mirror_v1/service.rb +24 -24
  288. data/generated/google/apis/ml_v1.rb +1 -1
  289. data/generated/google/apis/ml_v1/classes.rb +73 -55
  290. data/generated/google/apis/ml_v1/service.rb +31 -31
  291. data/generated/google/apis/monitoring_v3.rb +1 -1
  292. data/generated/google/apis/monitoring_v3/classes.rb +14 -1
  293. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  294. data/generated/google/apis/monitoring_v3/service.rb +36 -36
  295. data/generated/google/apis/oauth2_v1/service.rb +3 -3
  296. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  297. data/generated/google/apis/oslogin_v1/service.rb +6 -6
  298. data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
  299. data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
  300. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  301. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  302. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  303. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  304. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  305. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  306. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  307. data/generated/google/apis/people_v1.rb +1 -1
  308. data/generated/google/apis/people_v1/service.rb +13 -13
  309. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  310. data/generated/google/apis/plus_domains_v1/service.rb +10 -10
  311. data/generated/google/apis/plus_v1/service.rb +9 -9
  312. data/generated/google/apis/poly_v1/service.rb +4 -4
  313. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  314. data/generated/google/apis/pubsub_v1.rb +1 -1
  315. data/generated/google/apis/pubsub_v1/service.rb +32 -32
  316. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  317. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  318. data/generated/google/apis/redis_v1.rb +1 -1
  319. data/generated/google/apis/redis_v1/service.rb +19 -19
  320. data/generated/google/apis/redis_v1beta1.rb +1 -1
  321. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  322. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  323. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  324. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  325. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  326. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  327. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  328. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  329. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  330. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  331. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  332. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  333. data/generated/google/apis/reseller_v1/service.rb +17 -17
  334. data/generated/google/apis/run_v1/service.rb +1 -1
  335. data/generated/google/apis/run_v1alpha1.rb +1 -1
  336. data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
  337. data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
  338. data/generated/google/apis/run_v1alpha1/service.rb +446 -38
  339. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  340. data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
  341. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  342. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  343. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  344. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  345. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  346. data/generated/google/apis/script_v1.rb +1 -1
  347. data/generated/google/apis/script_v1/classes.rb +167 -0
  348. data/generated/google/apis/script_v1/representations.rb +79 -0
  349. data/generated/google/apis/script_v1/service.rb +16 -16
  350. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  351. data/generated/google/apis/securitycenter_v1.rb +1 -1
  352. data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
  353. data/generated/google/apis/securitycenter_v1/service.rb +23 -23
  354. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  355. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
  356. data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
  357. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  358. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  359. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  360. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  361. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -60
  362. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -29
  363. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
  364. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  365. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
  366. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
  367. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  368. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  369. data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
  370. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  371. data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
  372. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  373. data/generated/google/apis/servicenetworking_v1/classes.rb +8 -60
  374. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -29
  375. data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
  376. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  377. data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -60
  378. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -29
  379. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  380. data/generated/google/apis/serviceusage_v1.rb +1 -1
  381. data/generated/google/apis/serviceusage_v1/classes.rb +8 -60
  382. data/generated/google/apis/serviceusage_v1/representations.rb +1 -29
  383. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  384. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  385. data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -60
  386. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -29
  387. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  388. data/generated/google/apis/sheets_v4.rb +1 -1
  389. data/generated/google/apis/sheets_v4/service.rb +17 -17
  390. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  391. data/generated/google/apis/slides_v1/service.rb +5 -5
  392. data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
  393. data/generated/google/apis/spanner_v1.rb +1 -1
  394. data/generated/google/apis/spanner_v1/classes.rb +3 -3
  395. data/generated/google/apis/spanner_v1/service.rb +41 -41
  396. data/generated/google/apis/speech_v1.rb +1 -1
  397. data/generated/google/apis/speech_v1/classes.rb +2 -2
  398. data/generated/google/apis/speech_v1/service.rb +7 -7
  399. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  400. data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
  401. data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
  402. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  403. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  404. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  405. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  406. data/generated/google/apis/storage_v1/service.rb +52 -52
  407. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  408. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  409. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  410. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
  411. data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
  412. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  413. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  414. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
  415. data/generated/google/apis/surveys_v2/service.rb +8 -8
  416. data/generated/google/apis/tagmanager_v1/service.rb +49 -49
  417. data/generated/google/apis/tagmanager_v2/service.rb +74 -74
  418. data/generated/google/apis/tasks_v1/service.rb +14 -14
  419. data/generated/google/apis/testing_v1.rb +1 -1
  420. data/generated/google/apis/testing_v1/classes.rb +25 -12
  421. data/generated/google/apis/testing_v1/representations.rb +2 -0
  422. data/generated/google/apis/testing_v1/service.rb +5 -5
  423. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  424. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  425. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  426. data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
  427. data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
  428. data/generated/google/apis/tpu_v1.rb +1 -1
  429. data/generated/google/apis/tpu_v1/classes.rb +1 -1
  430. data/generated/google/apis/tpu_v1/service.rb +17 -17
  431. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  432. data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
  433. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  434. data/generated/google/apis/translate_v2/service.rb +5 -5
  435. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  436. data/generated/google/apis/vault_v1/service.rb +28 -28
  437. data/generated/google/apis/videointelligence_v1/service.rb +5 -5
  438. data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
  439. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
  440. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
  441. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
  442. data/generated/google/apis/vision_v1.rb +1 -1
  443. data/generated/google/apis/vision_v1/classes.rb +2372 -73
  444. data/generated/google/apis/vision_v1/representations.rb +1643 -651
  445. data/generated/google/apis/vision_v1/service.rb +98 -35
  446. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  447. data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
  448. data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
  449. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  450. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  451. data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
  452. data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
  453. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  454. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  455. data/generated/google/apis/webmasters_v3/service.rb +9 -9
  456. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  457. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  458. data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
  459. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  460. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  461. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  462. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  463. data/generated/google/apis/youtube_v3.rb +1 -1
  464. data/generated/google/apis/youtube_v3/service.rb +71 -71
  465. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  466. data/google-api-client.gemspec +1 -1
  467. data/lib/google/apis/core/json_representation.rb +4 -0
  468. data/lib/google/apis/core/upload.rb +3 -3
  469. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  470. data/lib/google/apis/version.rb +1 -1
  471. metadata +13 -6
  472. data/samples/web/.env +0 -2
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/youtube/v3
27
27
  module YoutubeV3
28
28
  VERSION = 'V3'
29
- REVISION = '20190415'
29
+ REVISION = '20190513'
30
30
 
31
31
  # Manage your YouTube account
32
32
  AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
@@ -84,7 +84,7 @@ module Google
84
84
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
85
85
  # @raise [Google::Apis::AuthorizationError] Authorization is required
86
86
  def insert_activity(part, activity_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
87
- command = make_simple_command(:post, 'activities', options)
87
+ command = make_simple_command(:post, 'activities', options)
88
88
  command.request_representation = Google::Apis::YoutubeV3::Activity::Representation
89
89
  command.request_object = activity_object
90
90
  command.response_representation = Google::Apis::YoutubeV3::Activity::Representation
@@ -162,7 +162,7 @@ module Google
162
162
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
163
163
  # @raise [Google::Apis::AuthorizationError] Authorization is required
164
164
  def list_activities(part, channel_id: nil, home: nil, max_results: nil, mine: nil, page_token: nil, published_after: nil, published_before: nil, region_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
165
- command = make_simple_command(:get, 'activities', options)
165
+ command = make_simple_command(:get, 'activities', options)
166
166
  command.response_representation = Google::Apis::YoutubeV3::ListActivitiesResponse::Representation
167
167
  command.response_class = Google::Apis::YoutubeV3::ListActivitiesResponse
168
168
  command.query['channelId'] = channel_id unless channel_id.nil?
@@ -216,7 +216,7 @@ module Google
216
216
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
217
217
  # @raise [Google::Apis::AuthorizationError] Authorization is required
218
218
  def delete_caption(id, on_behalf_of: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
219
- command = make_simple_command(:delete, 'captions', options)
219
+ command = make_simple_command(:delete, 'captions', options)
220
220
  command.query['id'] = id unless id.nil?
221
221
  command.query['onBehalfOf'] = on_behalf_of unless on_behalf_of.nil?
222
222
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
@@ -278,7 +278,7 @@ module Google
278
278
  # @raise [Google::Apis::AuthorizationError] Authorization is required
279
279
  def download_caption(id, on_behalf_of: nil, on_behalf_of_content_owner: nil, tfmt: nil, tlang: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
280
280
  if download_dest.nil?
281
- command = make_simple_command(:get, 'captions/{id}', options)
281
+ command = make_simple_command(:get, 'captions/{id}', options)
282
282
  else
283
283
  command = make_download_command(:get, 'captions/{id}', options)
284
284
  command.download_dest = download_dest
@@ -344,7 +344,7 @@ module Google
344
344
  # @raise [Google::Apis::AuthorizationError] Authorization is required
345
345
  def insert_caption(part, caption_object = nil, on_behalf_of: nil, on_behalf_of_content_owner: nil, sync: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
346
346
  if upload_source.nil?
347
- command = make_simple_command(:post, 'captions', options)
347
+ command = make_simple_command(:post, 'captions', options)
348
348
  else
349
349
  command = make_upload_command(:post, 'captions', options)
350
350
  command.upload_source = upload_source
@@ -410,7 +410,7 @@ module Google
410
410
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
411
411
  # @raise [Google::Apis::AuthorizationError] Authorization is required
412
412
  def list_captions(part, video_id, id: nil, on_behalf_of: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
413
- command = make_simple_command(:get, 'captions', options)
413
+ command = make_simple_command(:get, 'captions', options)
414
414
  command.response_representation = Google::Apis::YoutubeV3::ListCaptionsResponse::Representation
415
415
  command.response_class = Google::Apis::YoutubeV3::ListCaptionsResponse
416
416
  command.query['id'] = id unless id.nil?
@@ -476,7 +476,7 @@ module Google
476
476
  # @raise [Google::Apis::AuthorizationError] Authorization is required
477
477
  def update_caption(part, caption_object = nil, on_behalf_of: nil, on_behalf_of_content_owner: nil, sync: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
478
478
  if upload_source.nil?
479
- command = make_simple_command(:put, 'captions', options)
479
+ command = make_simple_command(:put, 'captions', options)
480
480
  else
481
481
  command = make_upload_command(:put, 'captions', options)
482
482
  command.upload_source = upload_source
@@ -551,7 +551,7 @@ module Google
551
551
  # @raise [Google::Apis::AuthorizationError] Authorization is required
552
552
  def insert_channel_banner(channel_banner_resource_object = nil, channel_id: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
553
553
  if upload_source.nil?
554
- command = make_simple_command(:post, 'channelBanners/insert', options)
554
+ command = make_simple_command(:post, 'channelBanners/insert', options)
555
555
  else
556
556
  command = make_upload_command(:post, 'channelBanners/insert', options)
557
557
  command.upload_source = upload_source
@@ -604,7 +604,7 @@ module Google
604
604
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
605
605
  # @raise [Google::Apis::AuthorizationError] Authorization is required
606
606
  def delete_channel_section(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
607
- command = make_simple_command(:delete, 'channelSections', options)
607
+ command = make_simple_command(:delete, 'channelSections', options)
608
608
  command.query['id'] = id unless id.nil?
609
609
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
610
610
  command.query['fields'] = fields unless fields.nil?
@@ -667,7 +667,7 @@ module Google
667
667
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
668
668
  # @raise [Google::Apis::AuthorizationError] Authorization is required
669
669
  def insert_channel_section(part, channel_section_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
670
- command = make_simple_command(:post, 'channelSections', options)
670
+ command = make_simple_command(:post, 'channelSections', options)
671
671
  command.request_representation = Google::Apis::YoutubeV3::ChannelSection::Representation
672
672
  command.request_object = channel_section_object
673
673
  command.response_representation = Google::Apis::YoutubeV3::ChannelSection::Representation
@@ -741,7 +741,7 @@ module Google
741
741
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
742
742
  # @raise [Google::Apis::AuthorizationError] Authorization is required
743
743
  def list_channel_sections(part, channel_id: nil, hl: nil, id: nil, mine: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
744
- command = make_simple_command(:get, 'channelSections', options)
744
+ command = make_simple_command(:get, 'channelSections', options)
745
745
  command.response_representation = Google::Apis::YoutubeV3::ListChannelSectionsResponse::Representation
746
746
  command.response_class = Google::Apis::YoutubeV3::ListChannelSectionsResponse
747
747
  command.query['channelId'] = channel_id unless channel_id.nil?
@@ -794,7 +794,7 @@ module Google
794
794
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
795
795
  # @raise [Google::Apis::AuthorizationError] Authorization is required
796
796
  def update_channel_section(part, channel_section_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
797
- command = make_simple_command(:put, 'channelSections', options)
797
+ command = make_simple_command(:put, 'channelSections', options)
798
798
  command.request_representation = Google::Apis::YoutubeV3::ChannelSection::Representation
799
799
  command.request_object = channel_section_object
800
800
  command.response_representation = Google::Apis::YoutubeV3::ChannelSection::Representation
@@ -879,7 +879,7 @@ module Google
879
879
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
880
880
  # @raise [Google::Apis::AuthorizationError] Authorization is required
881
881
  def list_channels(part, category_id: nil, for_username: nil, hl: nil, id: nil, managed_by_me: nil, max_results: nil, mine: nil, my_subscribers: nil, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
882
- command = make_simple_command(:get, 'channels', options)
882
+ command = make_simple_command(:get, 'channels', options)
883
883
  command.response_representation = Google::Apis::YoutubeV3::ListChannelsResponse::Representation
884
884
  command.response_class = Google::Apis::YoutubeV3::ListChannelsResponse
885
885
  command.query['categoryId'] = category_id unless category_id.nil?
@@ -941,7 +941,7 @@ module Google
941
941
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
942
942
  # @raise [Google::Apis::AuthorizationError] Authorization is required
943
943
  def update_channel(part, channel_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
944
- command = make_simple_command(:put, 'channels', options)
944
+ command = make_simple_command(:put, 'channels', options)
945
945
  command.request_representation = Google::Apis::YoutubeV3::Channel::Representation
946
946
  command.request_object = channel_object
947
947
  command.response_representation = Google::Apis::YoutubeV3::Channel::Representation
@@ -981,7 +981,7 @@ module Google
981
981
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
982
982
  # @raise [Google::Apis::AuthorizationError] Authorization is required
983
983
  def insert_comment_thread(part, comment_thread_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
984
- command = make_simple_command(:post, 'commentThreads', options)
984
+ command = make_simple_command(:post, 'commentThreads', options)
985
985
  command.request_representation = Google::Apis::YoutubeV3::CommentThread::Representation
986
986
  command.request_object = comment_thread_object
987
987
  command.response_representation = Google::Apis::YoutubeV3::CommentThread::Representation
@@ -1061,7 +1061,7 @@ module Google
1061
1061
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1062
1062
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1063
1063
  def list_comment_threads(part, all_threads_related_to_channel_id: nil, channel_id: nil, id: nil, max_results: nil, moderation_status: nil, order: nil, page_token: nil, search_terms: nil, text_format: nil, video_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1064
- command = make_simple_command(:get, 'commentThreads', options)
1064
+ command = make_simple_command(:get, 'commentThreads', options)
1065
1065
  command.response_representation = Google::Apis::YoutubeV3::ListCommentThreadsResponse::Representation
1066
1066
  command.response_class = Google::Apis::YoutubeV3::ListCommentThreadsResponse
1067
1067
  command.query['allThreadsRelatedToChannelId'] = all_threads_related_to_channel_id unless all_threads_related_to_channel_id.nil?
@@ -1108,7 +1108,7 @@ module Google
1108
1108
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1109
1109
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1110
1110
  def update_comment_thread(part, comment_thread_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1111
- command = make_simple_command(:put, 'commentThreads', options)
1111
+ command = make_simple_command(:put, 'commentThreads', options)
1112
1112
  command.request_representation = Google::Apis::YoutubeV3::CommentThread::Representation
1113
1113
  command.request_object = comment_thread_object
1114
1114
  command.response_representation = Google::Apis::YoutubeV3::CommentThread::Representation
@@ -1144,7 +1144,7 @@ module Google
1144
1144
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1145
1145
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1146
1146
  def delete_comment(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1147
- command = make_simple_command(:delete, 'comments', options)
1147
+ command = make_simple_command(:delete, 'comments', options)
1148
1148
  command.query['id'] = id unless id.nil?
1149
1149
  command.query['fields'] = fields unless fields.nil?
1150
1150
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1179,7 +1179,7 @@ module Google
1179
1179
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1180
1180
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1181
1181
  def insert_comment(part, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1182
- command = make_simple_command(:post, 'comments', options)
1182
+ command = make_simple_command(:post, 'comments', options)
1183
1183
  command.request_representation = Google::Apis::YoutubeV3::Comment::Representation
1184
1184
  command.request_object = comment_object
1185
1185
  command.response_representation = Google::Apis::YoutubeV3::Comment::Representation
@@ -1238,7 +1238,7 @@ module Google
1238
1238
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1239
1239
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1240
1240
  def list_comments(part, id: nil, max_results: nil, page_token: nil, parent_id: nil, text_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1241
- command = make_simple_command(:get, 'comments', options)
1241
+ command = make_simple_command(:get, 'comments', options)
1242
1242
  command.response_representation = Google::Apis::YoutubeV3::ListCommentsResponse::Representation
1243
1243
  command.response_class = Google::Apis::YoutubeV3::ListCommentsResponse
1244
1244
  command.query['id'] = id unless id.nil?
@@ -1278,7 +1278,7 @@ module Google
1278
1278
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1279
1279
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1280
1280
  def mark_comment_as_spam(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1281
- command = make_simple_command(:post, 'comments/markAsSpam', options)
1281
+ command = make_simple_command(:post, 'comments/markAsSpam', options)
1282
1282
  command.query['id'] = id unless id.nil?
1283
1283
  command.query['fields'] = fields unless fields.nil?
1284
1284
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1319,7 +1319,7 @@ module Google
1319
1319
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1320
1320
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1321
1321
  def set_comment_moderation_status(id, moderation_status, ban_author: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1322
- command = make_simple_command(:post, 'comments/setModerationStatus', options)
1322
+ command = make_simple_command(:post, 'comments/setModerationStatus', options)
1323
1323
  command.query['banAuthor'] = ban_author unless ban_author.nil?
1324
1324
  command.query['id'] = id unless id.nil?
1325
1325
  command.query['moderationStatus'] = moderation_status unless moderation_status.nil?
@@ -1355,7 +1355,7 @@ module Google
1355
1355
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1356
1356
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1357
1357
  def update_comment(part, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1358
- command = make_simple_command(:put, 'comments', options)
1358
+ command = make_simple_command(:put, 'comments', options)
1359
1359
  command.request_representation = Google::Apis::YoutubeV3::Comment::Representation
1360
1360
  command.request_object = comment_object
1361
1361
  command.response_representation = Google::Apis::YoutubeV3::Comment::Representation
@@ -1403,7 +1403,7 @@ module Google
1403
1403
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1404
1404
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1405
1405
  def list_guide_categories(part, hl: nil, id: nil, region_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1406
- command = make_simple_command(:get, 'guideCategories', options)
1406
+ command = make_simple_command(:get, 'guideCategories', options)
1407
1407
  command.response_representation = Google::Apis::YoutubeV3::ListGuideCategoriesResponse::Representation
1408
1408
  command.response_class = Google::Apis::YoutubeV3::ListGuideCategoriesResponse
1409
1409
  command.query['hl'] = hl unless hl.nil?
@@ -1443,7 +1443,7 @@ module Google
1443
1443
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1444
1444
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1445
1445
  def list_i18n_languages(part, hl: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1446
- command = make_simple_command(:get, 'i18nLanguages', options)
1446
+ command = make_simple_command(:get, 'i18nLanguages', options)
1447
1447
  command.response_representation = Google::Apis::YoutubeV3::ListI18nLanguagesResponse::Representation
1448
1448
  command.response_class = Google::Apis::YoutubeV3::ListI18nLanguagesResponse
1449
1449
  command.query['hl'] = hl unless hl.nil?
@@ -1481,7 +1481,7 @@ module Google
1481
1481
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1482
1482
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1483
1483
  def list_i18n_regions(part, hl: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1484
- command = make_simple_command(:get, 'i18nRegions', options)
1484
+ command = make_simple_command(:get, 'i18nRegions', options)
1485
1485
  command.response_representation = Google::Apis::YoutubeV3::ListI18nRegionsResponse::Representation
1486
1486
  command.response_class = Google::Apis::YoutubeV3::ListI18nRegionsResponse
1487
1487
  command.query['hl'] = hl unless hl.nil?
@@ -1553,7 +1553,7 @@ module Google
1553
1553
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1554
1554
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1555
1555
  def bind_live_broadcast(id, part, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, stream_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1556
- command = make_simple_command(:post, 'liveBroadcasts/bind', options)
1556
+ command = make_simple_command(:post, 'liveBroadcasts/bind', options)
1557
1557
  command.response_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
1558
1558
  command.response_class = Google::Apis::YoutubeV3::LiveBroadcast
1559
1559
  command.query['id'] = id unless id.nil?
@@ -1641,7 +1641,7 @@ module Google
1641
1641
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1642
1642
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1643
1643
  def control_live_broadcast(id, part, display_slate: nil, offset_time_ms: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, walltime: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1644
- command = make_simple_command(:post, 'liveBroadcasts/control', options)
1644
+ command = make_simple_command(:post, 'liveBroadcasts/control', options)
1645
1645
  command.response_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
1646
1646
  command.response_class = Google::Apis::YoutubeV3::LiveBroadcast
1647
1647
  command.query['displaySlate'] = display_slate unless display_slate.nil?
@@ -1707,7 +1707,7 @@ module Google
1707
1707
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1708
1708
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1709
1709
  def delete_live_broadcast(id, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1710
- command = make_simple_command(:delete, 'liveBroadcasts', options)
1710
+ command = make_simple_command(:delete, 'liveBroadcasts', options)
1711
1711
  command.query['id'] = id unless id.nil?
1712
1712
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
1713
1713
  command.query['onBehalfOfContentOwnerChannel'] = on_behalf_of_content_owner_channel unless on_behalf_of_content_owner_channel.nil?
@@ -1771,7 +1771,7 @@ module Google
1771
1771
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1772
1772
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1773
1773
  def insert_live_broadcast(part, live_broadcast_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1774
- command = make_simple_command(:post, 'liveBroadcasts', options)
1774
+ command = make_simple_command(:post, 'liveBroadcasts', options)
1775
1775
  command.request_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
1776
1776
  command.request_object = live_broadcast_object
1777
1777
  command.response_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
@@ -1859,7 +1859,7 @@ module Google
1859
1859
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1860
1860
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1861
1861
  def list_live_broadcasts(part, broadcast_status: nil, broadcast_type: nil, id: nil, max_results: nil, mine: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1862
- command = make_simple_command(:get, 'liveBroadcasts', options)
1862
+ command = make_simple_command(:get, 'liveBroadcasts', options)
1863
1863
  command.response_representation = Google::Apis::YoutubeV3::ListLiveBroadcastsResponse::Representation
1864
1864
  command.response_class = Google::Apis::YoutubeV3::ListLiveBroadcastsResponse
1865
1865
  command.query['broadcastStatus'] = broadcast_status unless broadcast_status.nil?
@@ -1942,7 +1942,7 @@ module Google
1942
1942
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1943
1943
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1944
1944
  def transition_live_broadcast(broadcast_status, id, part, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1945
- command = make_simple_command(:post, 'liveBroadcasts/transition', options)
1945
+ command = make_simple_command(:post, 'liveBroadcasts/transition', options)
1946
1946
  command.response_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
1947
1947
  command.response_class = Google::Apis::YoutubeV3::LiveBroadcast
1948
1948
  command.query['broadcastStatus'] = broadcast_status unless broadcast_status.nil?
@@ -2019,7 +2019,7 @@ module Google
2019
2019
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2020
2020
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2021
2021
  def update_live_broadcast(part, live_broadcast_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2022
- command = make_simple_command(:put, 'liveBroadcasts', options)
2022
+ command = make_simple_command(:put, 'liveBroadcasts', options)
2023
2023
  command.request_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
2024
2024
  command.request_object = live_broadcast_object
2025
2025
  command.response_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
@@ -2057,7 +2057,7 @@ module Google
2057
2057
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2058
2058
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2059
2059
  def delete_live_chat_ban(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2060
- command = make_simple_command(:delete, 'liveChat/bans', options)
2060
+ command = make_simple_command(:delete, 'liveChat/bans', options)
2061
2061
  command.query['id'] = id unless id.nil?
2062
2062
  command.query['fields'] = fields unless fields.nil?
2063
2063
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2091,7 +2091,7 @@ module Google
2091
2091
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2092
2092
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2093
2093
  def insert_live_chat_ban(part, live_chat_ban_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2094
- command = make_simple_command(:post, 'liveChat/bans', options)
2094
+ command = make_simple_command(:post, 'liveChat/bans', options)
2095
2095
  command.request_representation = Google::Apis::YoutubeV3::LiveChatBan::Representation
2096
2096
  command.request_object = live_chat_ban_object
2097
2097
  command.response_representation = Google::Apis::YoutubeV3::LiveChatBan::Representation
@@ -2127,7 +2127,7 @@ module Google
2127
2127
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2128
2128
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2129
2129
  def delete_live_chat_message(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2130
- command = make_simple_command(:delete, 'liveChat/messages', options)
2130
+ command = make_simple_command(:delete, 'liveChat/messages', options)
2131
2131
  command.query['id'] = id unless id.nil?
2132
2132
  command.query['fields'] = fields unless fields.nil?
2133
2133
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2161,7 +2161,7 @@ module Google
2161
2161
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2162
2162
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2163
2163
  def insert_live_chat_message(part, live_chat_message_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2164
- command = make_simple_command(:post, 'liveChat/messages', options)
2164
+ command = make_simple_command(:post, 'liveChat/messages', options)
2165
2165
  command.request_representation = Google::Apis::YoutubeV3::LiveChatMessage::Representation
2166
2166
  command.request_object = live_chat_message_object
2167
2167
  command.response_representation = Google::Apis::YoutubeV3::LiveChatMessage::Representation
@@ -2219,7 +2219,7 @@ module Google
2219
2219
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2220
2220
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2221
2221
  def list_live_chat_messages(live_chat_id, part, hl: nil, max_results: nil, page_token: nil, profile_image_size: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2222
- command = make_simple_command(:get, 'liveChat/messages', options)
2222
+ command = make_simple_command(:get, 'liveChat/messages', options)
2223
2223
  command.response_representation = Google::Apis::YoutubeV3::LiveChatMessageListResponse::Representation
2224
2224
  command.response_class = Google::Apis::YoutubeV3::LiveChatMessageListResponse
2225
2225
  command.query['hl'] = hl unless hl.nil?
@@ -2258,7 +2258,7 @@ module Google
2258
2258
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2259
2259
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2260
2260
  def delete_live_chat_moderator(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2261
- command = make_simple_command(:delete, 'liveChat/moderators', options)
2261
+ command = make_simple_command(:delete, 'liveChat/moderators', options)
2262
2262
  command.query['id'] = id unless id.nil?
2263
2263
  command.query['fields'] = fields unless fields.nil?
2264
2264
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2292,7 +2292,7 @@ module Google
2292
2292
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2293
2293
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2294
2294
  def insert_live_chat_moderator(part, live_chat_moderator_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2295
- command = make_simple_command(:post, 'liveChat/moderators', options)
2295
+ command = make_simple_command(:post, 'liveChat/moderators', options)
2296
2296
  command.request_representation = Google::Apis::YoutubeV3::LiveChatModerator::Representation
2297
2297
  command.request_object = live_chat_moderator_object
2298
2298
  command.response_representation = Google::Apis::YoutubeV3::LiveChatModerator::Representation
@@ -2338,7 +2338,7 @@ module Google
2338
2338
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2339
2339
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2340
2340
  def list_live_chat_moderators(live_chat_id, part, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2341
- command = make_simple_command(:get, 'liveChat/moderators', options)
2341
+ command = make_simple_command(:get, 'liveChat/moderators', options)
2342
2342
  command.response_representation = Google::Apis::YoutubeV3::LiveChatModeratorListResponse::Representation
2343
2343
  command.response_class = Google::Apis::YoutubeV3::LiveChatModeratorListResponse
2344
2344
  command.query['liveChatId'] = live_chat_id unless live_chat_id.nil?
@@ -2401,7 +2401,7 @@ module Google
2401
2401
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2402
2402
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2403
2403
  def delete_live_stream(id, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2404
- command = make_simple_command(:delete, 'liveStreams', options)
2404
+ command = make_simple_command(:delete, 'liveStreams', options)
2405
2405
  command.query['id'] = id unless id.nil?
2406
2406
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
2407
2407
  command.query['onBehalfOfContentOwnerChannel'] = on_behalf_of_content_owner_channel unless on_behalf_of_content_owner_channel.nil?
@@ -2466,7 +2466,7 @@ module Google
2466
2466
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2467
2467
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2468
2468
  def insert_live_stream(part, live_stream_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2469
- command = make_simple_command(:post, 'liveStreams', options)
2469
+ command = make_simple_command(:post, 'liveStreams', options)
2470
2470
  command.request_representation = Google::Apis::YoutubeV3::LiveStream::Representation
2471
2471
  command.request_object = live_stream_object
2472
2472
  command.response_representation = Google::Apis::YoutubeV3::LiveStream::Representation
@@ -2546,7 +2546,7 @@ module Google
2546
2546
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2547
2547
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2548
2548
  def list_live_streams(part, id: nil, max_results: nil, mine: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2549
- command = make_simple_command(:get, 'liveStreams', options)
2549
+ command = make_simple_command(:get, 'liveStreams', options)
2550
2550
  command.response_representation = Google::Apis::YoutubeV3::ListLiveStreamsResponse::Representation
2551
2551
  command.response_class = Google::Apis::YoutubeV3::ListLiveStreamsResponse
2552
2552
  command.query['id'] = id unless id.nil?
@@ -2621,7 +2621,7 @@ module Google
2621
2621
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2622
2622
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2623
2623
  def update_live_stream(part, live_stream_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2624
- command = make_simple_command(:put, 'liveStreams', options)
2624
+ command = make_simple_command(:put, 'liveStreams', options)
2625
2625
  command.request_representation = Google::Apis::YoutubeV3::LiveStream::Representation
2626
2626
  command.request_object = live_stream_object
2627
2627
  command.response_representation = Google::Apis::YoutubeV3::LiveStream::Representation
@@ -2670,7 +2670,7 @@ module Google
2670
2670
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2671
2671
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2672
2672
  def delete_playlist_item(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2673
- command = make_simple_command(:delete, 'playlistItems', options)
2673
+ command = make_simple_command(:delete, 'playlistItems', options)
2674
2674
  command.query['id'] = id unless id.nil?
2675
2675
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
2676
2676
  command.query['fields'] = fields unless fields.nil?
@@ -2715,7 +2715,7 @@ module Google
2715
2715
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2716
2716
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2717
2717
  def insert_playlist_item(part, playlist_item_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2718
- command = make_simple_command(:post, 'playlistItems', options)
2718
+ command = make_simple_command(:post, 'playlistItems', options)
2719
2719
  command.request_representation = Google::Apis::YoutubeV3::PlaylistItem::Representation
2720
2720
  command.request_object = playlist_item_object
2721
2721
  command.response_representation = Google::Apis::YoutubeV3::PlaylistItem::Representation
@@ -2788,7 +2788,7 @@ module Google
2788
2788
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2789
2789
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2790
2790
  def list_playlist_items(part, id: nil, max_results: nil, on_behalf_of_content_owner: nil, page_token: nil, playlist_id: nil, video_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2791
- command = make_simple_command(:get, 'playlistItems', options)
2791
+ command = make_simple_command(:get, 'playlistItems', options)
2792
2792
  command.response_representation = Google::Apis::YoutubeV3::ListPlaylistItemsResponse::Representation
2793
2793
  command.response_class = Google::Apis::YoutubeV3::ListPlaylistItemsResponse
2794
2794
  command.query['id'] = id unless id.nil?
@@ -2851,7 +2851,7 @@ module Google
2851
2851
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2852
2852
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2853
2853
  def update_playlist_item(part, playlist_item_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2854
- command = make_simple_command(:put, 'playlistItems', options)
2854
+ command = make_simple_command(:put, 'playlistItems', options)
2855
2855
  command.request_representation = Google::Apis::YoutubeV3::PlaylistItem::Representation
2856
2856
  command.request_object = playlist_item_object
2857
2857
  command.response_representation = Google::Apis::YoutubeV3::PlaylistItem::Representation
@@ -2899,7 +2899,7 @@ module Google
2899
2899
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2900
2900
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2901
2901
  def delete_playlist(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2902
- command = make_simple_command(:delete, 'playlists', options)
2902
+ command = make_simple_command(:delete, 'playlists', options)
2903
2903
  command.query['id'] = id unless id.nil?
2904
2904
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
2905
2905
  command.query['fields'] = fields unless fields.nil?
@@ -2960,7 +2960,7 @@ module Google
2960
2960
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2961
2961
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2962
2962
  def insert_playlist(part, playlist_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2963
- command = make_simple_command(:post, 'playlists', options)
2963
+ command = make_simple_command(:post, 'playlists', options)
2964
2964
  command.request_representation = Google::Apis::YoutubeV3::Playlist::Representation
2965
2965
  command.request_object = playlist_object
2966
2966
  command.response_representation = Google::Apis::YoutubeV3::Playlist::Representation
@@ -3051,7 +3051,7 @@ module Google
3051
3051
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3052
3052
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3053
3053
  def list_playlists(part, channel_id: nil, hl: nil, id: nil, max_results: nil, mine: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3054
- command = make_simple_command(:get, 'playlists', options)
3054
+ command = make_simple_command(:get, 'playlists', options)
3055
3055
  command.response_representation = Google::Apis::YoutubeV3::ListPlaylistResponse::Representation
3056
3056
  command.response_class = Google::Apis::YoutubeV3::ListPlaylistResponse
3057
3057
  command.query['channelId'] = channel_id unless channel_id.nil?
@@ -3112,7 +3112,7 @@ module Google
3112
3112
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3113
3113
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3114
3114
  def update_playlist(part, playlist_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3115
- command = make_simple_command(:put, 'playlists', options)
3115
+ command = make_simple_command(:put, 'playlists', options)
3116
3116
  command.request_representation = Google::Apis::YoutubeV3::Playlist::Representation
3117
3117
  command.request_object = playlist_object
3118
3118
  command.response_representation = Google::Apis::YoutubeV3::Playlist::Representation
@@ -3302,7 +3302,7 @@ module Google
3302
3302
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3303
3303
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3304
3304
  def list_searches(part, channel_id: nil, channel_type: nil, event_type: nil, for_content_owner: nil, for_developer: nil, for_mine: nil, location: nil, location_radius: nil, max_results: nil, on_behalf_of_content_owner: nil, order: nil, page_token: nil, published_after: nil, published_before: nil, q: nil, region_code: nil, related_to_video_id: nil, relevance_language: nil, safe_search: nil, topic_id: nil, type: nil, video_caption: nil, video_category_id: nil, video_definition: nil, video_dimension: nil, video_duration: nil, video_embeddable: nil, video_license: nil, video_syndicated: nil, video_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3305
- command = make_simple_command(:get, 'search', options)
3305
+ command = make_simple_command(:get, 'search', options)
3306
3306
  command.response_representation = Google::Apis::YoutubeV3::SearchListsResponse::Representation
3307
3307
  command.response_class = Google::Apis::YoutubeV3::SearchListsResponse
3308
3308
  command.query['channelId'] = channel_id unless channel_id.nil?
@@ -3375,7 +3375,7 @@ module Google
3375
3375
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3376
3376
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3377
3377
  def list_sponsors(part, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3378
- command = make_simple_command(:get, 'sponsors', options)
3378
+ command = make_simple_command(:get, 'sponsors', options)
3379
3379
  command.response_representation = Google::Apis::YoutubeV3::SponsorListResponse::Representation
3380
3380
  command.response_class = Google::Apis::YoutubeV3::SponsorListResponse
3381
3381
  command.query['filter'] = filter unless filter.nil?
@@ -3413,7 +3413,7 @@ module Google
3413
3413
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3414
3414
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3415
3415
  def delete_subscription(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3416
- command = make_simple_command(:delete, 'subscriptions', options)
3416
+ command = make_simple_command(:delete, 'subscriptions', options)
3417
3417
  command.query['id'] = id unless id.nil?
3418
3418
  command.query['fields'] = fields unless fields.nil?
3419
3419
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3447,7 +3447,7 @@ module Google
3447
3447
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3448
3448
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3449
3449
  def insert_subscription(part, subscription_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3450
- command = make_simple_command(:post, 'subscriptions', options)
3450
+ command = make_simple_command(:post, 'subscriptions', options)
3451
3451
  command.request_representation = Google::Apis::YoutubeV3::Subscription::Representation
3452
3452
  command.request_object = subscription_object
3453
3453
  command.response_representation = Google::Apis::YoutubeV3::Subscription::Representation
@@ -3543,7 +3543,7 @@ module Google
3543
3543
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3544
3544
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3545
3545
  def list_subscriptions(part, channel_id: nil, for_channel_id: nil, id: nil, max_results: nil, mine: nil, my_recent_subscribers: nil, my_subscribers: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, order: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3546
- command = make_simple_command(:get, 'subscriptions', options)
3546
+ command = make_simple_command(:get, 'subscriptions', options)
3547
3547
  command.response_representation = Google::Apis::YoutubeV3::ListSubscriptionResponse::Representation
3548
3548
  command.response_class = Google::Apis::YoutubeV3::ListSubscriptionResponse
3549
3549
  command.query['channelId'] = channel_id unless channel_id.nil?
@@ -3604,7 +3604,7 @@ module Google
3604
3604
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3605
3605
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3606
3606
  def list_super_chat_events(part, hl: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3607
- command = make_simple_command(:get, 'superChatEvents', options)
3607
+ command = make_simple_command(:get, 'superChatEvents', options)
3608
3608
  command.response_representation = Google::Apis::YoutubeV3::SuperChatEventListResponse::Representation
3609
3609
  command.response_class = Google::Apis::YoutubeV3::SuperChatEventListResponse
3610
3610
  command.query['hl'] = hl unless hl.nil?
@@ -3656,7 +3656,7 @@ module Google
3656
3656
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3657
3657
  def set_thumbnail(video_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
3658
3658
  if upload_source.nil?
3659
- command = make_simple_command(:post, 'thumbnails/set', options)
3659
+ command = make_simple_command(:post, 'thumbnails/set', options)
3660
3660
  else
3661
3661
  command = make_upload_command(:post, 'thumbnails/set', options)
3662
3662
  command.upload_source = upload_source
@@ -3699,7 +3699,7 @@ module Google
3699
3699
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3700
3700
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3701
3701
  def list_video_abuse_report_reasons(part, hl: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3702
- command = make_simple_command(:get, 'videoAbuseReportReasons', options)
3702
+ command = make_simple_command(:get, 'videoAbuseReportReasons', options)
3703
3703
  command.response_representation = Google::Apis::YoutubeV3::ListVideoAbuseReportReasonResponse::Representation
3704
3704
  command.response_class = Google::Apis::YoutubeV3::ListVideoAbuseReportReasonResponse
3705
3705
  command.query['hl'] = hl unless hl.nil?
@@ -3744,7 +3744,7 @@ module Google
3744
3744
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3745
3745
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3746
3746
  def list_video_categories(part, hl: nil, id: nil, region_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3747
- command = make_simple_command(:get, 'videoCategories', options)
3747
+ command = make_simple_command(:get, 'videoCategories', options)
3748
3748
  command.response_representation = Google::Apis::YoutubeV3::ListVideoCategoryResponse::Representation
3749
3749
  command.response_class = Google::Apis::YoutubeV3::ListVideoCategoryResponse
3750
3750
  command.query['hl'] = hl unless hl.nil?
@@ -3791,7 +3791,7 @@ module Google
3791
3791
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3792
3792
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3793
3793
  def delete_video(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3794
- command = make_simple_command(:delete, 'videos', options)
3794
+ command = make_simple_command(:delete, 'videos', options)
3795
3795
  command.query['id'] = id unless id.nil?
3796
3796
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
3797
3797
  command.query['fields'] = fields unless fields.nil?
@@ -3836,7 +3836,7 @@ module Google
3836
3836
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3837
3837
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3838
3838
  def get_video_rating(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3839
- command = make_simple_command(:get, 'videos/getRating', options)
3839
+ command = make_simple_command(:get, 'videos/getRating', options)
3840
3840
  command.response_representation = Google::Apis::YoutubeV3::GetVideoRatingResponse::Representation
3841
3841
  command.response_class = Google::Apis::YoutubeV3::GetVideoRatingResponse
3842
3842
  command.query['id'] = id unless id.nil?
@@ -3922,7 +3922,7 @@ module Google
3922
3922
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3923
3923
  def insert_video(part, video_object = nil, auto_levels: nil, notify_subscribers: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, stabilize: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
3924
3924
  if upload_source.nil?
3925
- command = make_simple_command(:post, 'videos', options)
3925
+ command = make_simple_command(:post, 'videos', options)
3926
3926
  else
3927
3927
  command = make_upload_command(:post, 'videos', options)
3928
3928
  command.upload_source = upload_source
@@ -4033,7 +4033,7 @@ module Google
4033
4033
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4034
4034
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4035
4035
  def list_videos(part, chart: nil, hl: nil, id: nil, locale: nil, max_height: nil, max_results: nil, max_width: nil, my_rating: nil, on_behalf_of_content_owner: nil, page_token: nil, region_code: nil, video_category_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4036
- command = make_simple_command(:get, 'videos', options)
4036
+ command = make_simple_command(:get, 'videos', options)
4037
4037
  command.response_representation = Google::Apis::YoutubeV3::ListVideosResponse::Representation
4038
4038
  command.response_class = Google::Apis::YoutubeV3::ListVideosResponse
4039
4039
  command.query['chart'] = chart unless chart.nil?
@@ -4081,7 +4081,7 @@ module Google
4081
4081
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4082
4082
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4083
4083
  def rate_video(id, rating, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4084
- command = make_simple_command(:post, 'videos/rate', options)
4084
+ command = make_simple_command(:post, 'videos/rate', options)
4085
4085
  command.query['id'] = id unless id.nil?
4086
4086
  command.query['rating'] = rating unless rating.nil?
4087
4087
  command.query['fields'] = fields unless fields.nil?
@@ -4122,7 +4122,7 @@ module Google
4122
4122
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4123
4123
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4124
4124
  def report_video_abuse(video_abuse_report_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4125
- command = make_simple_command(:post, 'videos/reportAbuse', options)
4125
+ command = make_simple_command(:post, 'videos/reportAbuse', options)
4126
4126
  command.request_representation = Google::Apis::YoutubeV3::VideoAbuseReport::Representation
4127
4127
  command.request_object = video_abuse_report_object
4128
4128
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
@@ -4182,7 +4182,7 @@ module Google
4182
4182
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4183
4183
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4184
4184
  def update_video(part, video_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4185
- command = make_simple_command(:put, 'videos', options)
4185
+ command = make_simple_command(:put, 'videos', options)
4186
4186
  command.request_representation = Google::Apis::YoutubeV3::Video::Representation
4187
4187
  command.request_object = video_object
4188
4188
  command.response_representation = Google::Apis::YoutubeV3::Video::Representation
@@ -4235,7 +4235,7 @@ module Google
4235
4235
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4236
4236
  def set_watermark(channel_id, invideo_branding_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
4237
4237
  if upload_source.nil?
4238
- command = make_simple_command(:post, 'watermarks/set', options)
4238
+ command = make_simple_command(:post, 'watermarks/set', options)
4239
4239
  else
4240
4240
  command = make_upload_command(:post, 'watermarks/set', options)
4241
4241
  command.upload_source = upload_source
@@ -4285,7 +4285,7 @@ module Google
4285
4285
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4286
4286
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4287
4287
  def unset_watermark(channel_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4288
- command = make_simple_command(:post, 'watermarks/unset', options)
4288
+ command = make_simple_command(:post, 'watermarks/unset', options)
4289
4289
  command.query['channelId'] = channel_id unless channel_id.nil?
4290
4290
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
4291
4291
  command.query['fields'] = fields unless fields.nil?