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
@@ -77,7 +77,7 @@ module Google
77
77
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
78
  # @raise [Google::Apis::AuthorizationError] Authorization is required
79
79
  def get_customer(customer_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
80
- command = make_simple_command(:get, 'customers/{customerId}', options)
80
+ command = make_simple_command(:get, 'customers/{customerId}', options)
81
81
  command.response_representation = Google::Apis::ResellerV1::Customer::Representation
82
82
  command.response_class = Google::Apis::ResellerV1::Customer
83
83
  command.params['customerId'] = customer_id unless customer_id.nil?
@@ -115,7 +115,7 @@ module Google
115
115
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
116
116
  # @raise [Google::Apis::AuthorizationError] Authorization is required
117
117
  def insert_customer(customer_object = nil, customer_auth_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
118
- command = make_simple_command(:post, 'customers', options)
118
+ command = make_simple_command(:post, 'customers', options)
119
119
  command.request_representation = Google::Apis::ResellerV1::Customer::Representation
120
120
  command.request_object = customer_object
121
121
  command.response_representation = Google::Apis::ResellerV1::Customer::Representation
@@ -154,7 +154,7 @@ module Google
154
154
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
155
  # @raise [Google::Apis::AuthorizationError] Authorization is required
156
156
  def patch_customer(customer_id, customer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
157
- command = make_simple_command(:patch, 'customers/{customerId}', options)
157
+ command = make_simple_command(:patch, 'customers/{customerId}', options)
158
158
  command.request_representation = Google::Apis::ResellerV1::Customer::Representation
159
159
  command.request_object = customer_object
160
160
  command.response_representation = Google::Apis::ResellerV1::Customer::Representation
@@ -193,7 +193,7 @@ module Google
193
193
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
194
194
  # @raise [Google::Apis::AuthorizationError] Authorization is required
195
195
  def update_customer(customer_id, customer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
196
- command = make_simple_command(:put, 'customers/{customerId}', options)
196
+ command = make_simple_command(:put, 'customers/{customerId}', options)
197
197
  command.request_representation = Google::Apis::ResellerV1::Customer::Representation
198
198
  command.request_object = customer_object
199
199
  command.response_representation = Google::Apis::ResellerV1::Customer::Representation
@@ -226,7 +226,7 @@ module Google
226
226
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
227
227
  # @raise [Google::Apis::AuthorizationError] Authorization is required
228
228
  def getwatchdetails_resellernotify(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
229
- command = make_simple_command(:get, 'resellernotify/getwatchdetails', options)
229
+ command = make_simple_command(:get, 'resellernotify/getwatchdetails', options)
230
230
  command.response_representation = Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse::Representation
231
231
  command.response_class = Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse
232
232
  command.query['fields'] = fields unless fields.nil?
@@ -258,7 +258,7 @@ module Google
258
258
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
259
259
  # @raise [Google::Apis::AuthorizationError] Authorization is required
260
260
  def register_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
261
- command = make_simple_command(:post, 'resellernotify/register', options)
261
+ command = make_simple_command(:post, 'resellernotify/register', options)
262
262
  command.response_representation = Google::Apis::ResellerV1::ResellernotifyResource::Representation
263
263
  command.response_class = Google::Apis::ResellerV1::ResellernotifyResource
264
264
  command.query['serviceAccountEmailAddress'] = service_account_email_address unless service_account_email_address.nil?
@@ -291,7 +291,7 @@ module Google
291
291
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
292
292
  # @raise [Google::Apis::AuthorizationError] Authorization is required
293
293
  def unregister_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
294
- command = make_simple_command(:post, 'resellernotify/unregister', options)
294
+ command = make_simple_command(:post, 'resellernotify/unregister', options)
295
295
  command.response_representation = Google::Apis::ResellerV1::ResellernotifyResource::Representation
296
296
  command.response_class = Google::Apis::ResellerV1::ResellernotifyResource
297
297
  command.query['serviceAccountEmailAddress'] = service_account_email_address unless service_account_email_address.nil?
@@ -333,7 +333,7 @@ module Google
333
333
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
334
334
  # @raise [Google::Apis::AuthorizationError] Authorization is required
335
335
  def activate_subscription(customer_id, subscription_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
336
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/activate', options)
336
+ command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/activate', options)
337
337
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
338
338
  command.response_class = Google::Apis::ResellerV1::Subscription
339
339
  command.params['customerId'] = customer_id unless customer_id.nil?
@@ -379,7 +379,7 @@ module Google
379
379
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
380
380
  # @raise [Google::Apis::AuthorizationError] Authorization is required
381
381
  def change_subscription_plan(customer_id, subscription_id, change_plan_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
382
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/changePlan', options)
382
+ command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/changePlan', options)
383
383
  command.request_representation = Google::Apis::ResellerV1::ChangePlanRequest::Representation
384
384
  command.request_object = change_plan_request_object
385
385
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
@@ -426,7 +426,7 @@ module Google
426
426
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
427
427
  # @raise [Google::Apis::AuthorizationError] Authorization is required
428
428
  def change_subscription_renewal_settings(customer_id, subscription_id, renewal_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
429
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings', options)
429
+ command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings', options)
430
430
  command.request_representation = Google::Apis::ResellerV1::RenewalSettings::Representation
431
431
  command.request_object = renewal_settings_object
432
432
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
@@ -472,7 +472,7 @@ module Google
472
472
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
473
473
  # @raise [Google::Apis::AuthorizationError] Authorization is required
474
474
  def change_subscription_seats(customer_id, subscription_id, seats_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
475
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/changeSeats', options)
475
+ command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/changeSeats', options)
476
476
  command.request_representation = Google::Apis::ResellerV1::Seats::Representation
477
477
  command.request_object = seats_object
478
478
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
@@ -520,7 +520,7 @@ module Google
520
520
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
521
521
  # @raise [Google::Apis::AuthorizationError] Authorization is required
522
522
  def delete_subscription(customer_id, subscription_id, deletion_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
523
- command = make_simple_command(:delete, 'customers/{customerId}/subscriptions/{subscriptionId}', options)
523
+ command = make_simple_command(:delete, 'customers/{customerId}/subscriptions/{subscriptionId}', options)
524
524
  command.params['customerId'] = customer_id unless customer_id.nil?
525
525
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
526
526
  command.query['deletionType'] = deletion_type unless deletion_type.nil?
@@ -562,7 +562,7 @@ module Google
562
562
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
563
563
  # @raise [Google::Apis::AuthorizationError] Authorization is required
564
564
  def get_subscription(customer_id, subscription_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
565
- command = make_simple_command(:get, 'customers/{customerId}/subscriptions/{subscriptionId}', options)
565
+ command = make_simple_command(:get, 'customers/{customerId}/subscriptions/{subscriptionId}', options)
566
566
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
567
567
  command.response_class = Google::Apis::ResellerV1::Subscription
568
568
  command.params['customerId'] = customer_id unless customer_id.nil?
@@ -606,7 +606,7 @@ module Google
606
606
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
607
607
  # @raise [Google::Apis::AuthorizationError] Authorization is required
608
608
  def insert_subscription(customer_id, subscription_object = nil, customer_auth_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
609
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions', options)
609
+ command = make_simple_command(:post, 'customers/{customerId}/subscriptions', options)
610
610
  command.request_representation = Google::Apis::ResellerV1::Subscription::Representation
611
611
  command.request_object = subscription_object
612
612
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
@@ -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 list_subscriptions(customer_auth_token: nil, customer_id: nil, customer_name_prefix: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
670
- command = make_simple_command(:get, 'subscriptions', options)
670
+ command = make_simple_command(:get, 'subscriptions', options)
671
671
  command.response_representation = Google::Apis::ResellerV1::Subscriptions::Representation
672
672
  command.response_class = Google::Apis::ResellerV1::Subscriptions
673
673
  command.query['customerAuthToken'] = customer_auth_token unless customer_auth_token.nil?
@@ -714,7 +714,7 @@ module Google
714
714
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
715
715
  # @raise [Google::Apis::AuthorizationError] Authorization is required
716
716
  def start_subscription_paid_service(customer_id, subscription_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
717
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/startPaidService', options)
717
+ command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/startPaidService', options)
718
718
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
719
719
  command.response_class = Google::Apis::ResellerV1::Subscription
720
720
  command.params['customerId'] = customer_id unless customer_id.nil?
@@ -757,7 +757,7 @@ module Google
757
757
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
758
758
  # @raise [Google::Apis::AuthorizationError] Authorization is required
759
759
  def suspend_subscription(customer_id, subscription_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
760
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/suspend', options)
760
+ command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/suspend', options)
761
761
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
762
762
  command.response_class = Google::Apis::ResellerV1::Subscription
763
763
  command.params['customerId'] = customer_id unless customer_id.nil?
@@ -69,7 +69,7 @@ module Google
69
69
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
70
70
  # @raise [Google::Apis::AuthorizationError] Authorization is required
71
71
  def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
72
- command = make_simple_command(:get, 'v1/{+name}', options)
72
+ command = make_simple_command(:get, 'v1/{+name}', options)
73
73
  command.response_representation = Google::Apis::RunV1::Location::Representation
74
74
  command.response_class = Google::Apis::RunV1::Location
75
75
  command.params['name'] = name unless name.nil?
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20190415'
29
+ REVISION = '20190516'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -413,6 +413,13 @@ module Google
413
413
  # @return [Google::Apis::RunV1alpha1::RevisionTemplate]
414
414
  attr_accessor :revision_template
415
415
 
416
+ # RevisionTemplateSpec describes the data a revision should have when created
417
+ # from a template. Based on:
418
+ # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
419
+ # Corresponds to the JSON property `template`
420
+ # @return [Google::Apis::RunV1alpha1::RevisionTemplate]
421
+ attr_accessor :template
422
+
416
423
  def initialize(**args)
417
424
  update!(**args)
418
425
  end
@@ -421,6 +428,7 @@ module Google
421
428
  def update!(**args)
422
429
  @generation = args[:generation] if args.key?(:generation)
423
430
  @revision_template = args[:revision_template] if args.key?(:revision_template)
431
+ @template = args[:template] if args.key?(:template)
424
432
  end
425
433
  end
426
434
 
@@ -1615,6 +1623,51 @@ module Google
1615
1623
  end
1616
1624
  end
1617
1625
 
1626
+ # ListTriggersResponse is a list of Trigger resources.
1627
+ class ListTriggersResponse
1628
+ include Google::Apis::Core::Hashable
1629
+
1630
+ # The API version for this call such as "v1alpha1".
1631
+ # Corresponds to the JSON property `apiVersion`
1632
+ # @return [String]
1633
+ attr_accessor :api_version
1634
+
1635
+ # List of Triggers.
1636
+ # Corresponds to the JSON property `items`
1637
+ # @return [Array<Google::Apis::RunV1alpha1::Trigger>]
1638
+ attr_accessor :items
1639
+
1640
+ # The kind of this resource, in this case "TriggerList".
1641
+ # Corresponds to the JSON property `kind`
1642
+ # @return [String]
1643
+ attr_accessor :kind
1644
+
1645
+ # ListMeta describes metadata that synthetic resources must have, including
1646
+ # lists and various status objects. A resource may have only one of
1647
+ # `ObjectMeta, ListMeta`.
1648
+ # Corresponds to the JSON property `metadata`
1649
+ # @return [Google::Apis::RunV1alpha1::ListMeta]
1650
+ attr_accessor :metadata
1651
+
1652
+ # Locations that could not be reached.
1653
+ # Corresponds to the JSON property `unreachable`
1654
+ # @return [Array<String>]
1655
+ attr_accessor :unreachable
1656
+
1657
+ def initialize(**args)
1658
+ update!(**args)
1659
+ end
1660
+
1661
+ # Update properties of this object
1662
+ def update!(**args)
1663
+ @api_version = args[:api_version] if args.key?(:api_version)
1664
+ @items = args[:items] if args.key?(:items)
1665
+ @kind = args[:kind] if args.key?(:kind)
1666
+ @metadata = args[:metadata] if args.key?(:metadata)
1667
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1668
+ end
1669
+ end
1670
+
1618
1671
  # LocalObjectReference contains enough information to let you locate the
1619
1672
  # referenced object inside the same namespace.
1620
1673
  class LocalObjectReference
@@ -1895,6 +1948,87 @@ module Google
1895
1948
  end
1896
1949
  end
1897
1950
 
1951
+ # ObjectReference contains enough information to let you inspect or modify the
1952
+ # referred object.
1953
+ class ObjectReference
1954
+ include Google::Apis::Core::Hashable
1955
+
1956
+ # API version of the referent.
1957
+ # +optional
1958
+ # Corresponds to the JSON property `apiVersion`
1959
+ # @return [String]
1960
+ attr_accessor :api_version
1961
+
1962
+ # If referring to a piece of an object instead of an entire object, this
1963
+ # string should contain a valid JSON/Go field access statement, such as
1964
+ # desiredState.manifest.containers[2]. For example, if the object reference
1965
+ # is to a container within a pod, this would take on a value like:
1966
+ # "spec.containers`name`" (where "name" refers to the name of the container
1967
+ # that triggered the event) or if no container name is specified
1968
+ # "spec.containers[2]" (container with index 2 in this pod). This syntax is
1969
+ # chosen only to have some well-defined way of referencing a part of an
1970
+ # object.
1971
+ # Corresponds to the JSON property `fieldPath`
1972
+ # @return [String]
1973
+ attr_accessor :field_path
1974
+
1975
+ # Kind of the referent.
1976
+ # More info:
1977
+ # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1978
+ # +optional
1979
+ # Corresponds to the JSON property `kind`
1980
+ # @return [String]
1981
+ attr_accessor :kind
1982
+
1983
+ # Name of the referent.
1984
+ # More info:
1985
+ # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1986
+ # +optional
1987
+ # Corresponds to the JSON property `name`
1988
+ # @return [String]
1989
+ attr_accessor :name
1990
+
1991
+ # Namespace of the referent.
1992
+ # More info:
1993
+ # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
1994
+ # +optional
1995
+ # Corresponds to the JSON property `namespace`
1996
+ # @return [String]
1997
+ attr_accessor :namespace
1998
+
1999
+ # Specific resourceVersion to which this reference is made, if any.
2000
+ # More info:
2001
+ # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
2002
+ # control-and-consistency
2003
+ # +optional
2004
+ # Corresponds to the JSON property `resourceVersion`
2005
+ # @return [String]
2006
+ attr_accessor :resource_version
2007
+
2008
+ # UID of the referent.
2009
+ # More info:
2010
+ # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
2011
+ # +optional
2012
+ # Corresponds to the JSON property `uid`
2013
+ # @return [String]
2014
+ attr_accessor :uid
2015
+
2016
+ def initialize(**args)
2017
+ update!(**args)
2018
+ end
2019
+
2020
+ # Update properties of this object
2021
+ def update!(**args)
2022
+ @api_version = args[:api_version] if args.key?(:api_version)
2023
+ @field_path = args[:field_path] if args.key?(:field_path)
2024
+ @kind = args[:kind] if args.key?(:kind)
2025
+ @name = args[:name] if args.key?(:name)
2026
+ @namespace = args[:namespace] if args.key?(:namespace)
2027
+ @resource_version = args[:resource_version] if args.key?(:resource_version)
2028
+ @uid = args[:uid] if args.key?(:uid)
2029
+ end
2030
+ end
2031
+
1898
2032
  # OwnerReference contains enough information to let you identify an owning
1899
2033
  # object. Currently, an owning object must be in the same namespace, so there
1900
2034
  # is no namespace field.
@@ -2352,6 +2486,13 @@ module Google
2352
2486
  # @return [Fixnum]
2353
2487
  attr_accessor :container_concurrency
2354
2488
 
2489
+ # Containers holds the single container that defines the unit of execution
2490
+ # for this Revision. In the context of a Revision, we disallow a number of
2491
+ # fields on this Container, including: name and lifecycle.
2492
+ # Corresponds to the JSON property `containers`
2493
+ # @return [Array<Google::Apis::RunV1alpha1::Container>]
2494
+ attr_accessor :containers
2495
+
2355
2496
  # Deprecated and not currently populated by Cloud Run. See
2356
2497
  # metadata.generation instead, which is the sequence number containing the
2357
2498
  # latest generation of the desired state.
@@ -2391,6 +2532,7 @@ module Google
2391
2532
  @concurrency_model = args[:concurrency_model] if args.key?(:concurrency_model)
2392
2533
  @container = args[:container] if args.key?(:container)
2393
2534
  @container_concurrency = args[:container_concurrency] if args.key?(:container_concurrency)
2535
+ @containers = args[:containers] if args.key?(:containers)
2394
2536
  @generation = args[:generation] if args.key?(:generation)
2395
2537
  @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
2396
2538
  @serving_state = args[:serving_state] if args.key?(:serving_state)
@@ -2992,6 +3134,22 @@ module Google
2992
3134
  # @return [Google::Apis::RunV1alpha1::ServiceSpecRunLatest]
2993
3135
  attr_accessor :run_latest
2994
3136
 
3137
+ # RevisionTemplateSpec describes the data a revision should have when created
3138
+ # from a template. Based on:
3139
+ # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
3140
+ # Corresponds to the JSON property `template`
3141
+ # @return [Google::Apis::RunV1alpha1::RevisionTemplate]
3142
+ attr_accessor :template
3143
+
3144
+ # Traffic specifies how to distribute traffic over a collection of Knative
3145
+ # Revisions and Configurations. This will replace existing service specs
3146
+ # (ServiceSpecRunLatest, ServiceSpecPinnedType, ServiceSpecReleaseType, and
3147
+ # ServiceSpecManualType).
3148
+ # Not currently supported by Cloud Run.
3149
+ # Corresponds to the JSON property `traffic`
3150
+ # @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
3151
+ attr_accessor :traffic
3152
+
2995
3153
  def initialize(**args)
2996
3154
  update!(**args)
2997
3155
  end
@@ -3003,6 +3161,8 @@ module Google
3003
3161
  @pinned = args[:pinned] if args.key?(:pinned)
3004
3162
  @release = args[:release] if args.key?(:release)
3005
3163
  @run_latest = args[:run_latest] if args.key?(:run_latest)
3164
+ @template = args[:template] if args.key?(:template)
3165
+ @traffic = args[:traffic] if args.key?(:traffic)
3006
3166
  end
3007
3167
  end
3008
3168
 
@@ -3250,6 +3410,34 @@ module Google
3250
3410
  end
3251
3411
  end
3252
3412
 
3413
+ #
3414
+ class SubscriberSpec
3415
+ include Google::Apis::Core::Hashable
3416
+
3417
+ # ObjectReference contains enough information to let you inspect or modify the
3418
+ # referred object.
3419
+ # Corresponds to the JSON property `ref`
3420
+ # @return [Google::Apis::RunV1alpha1::ObjectReference]
3421
+ attr_accessor :ref
3422
+
3423
+ # Reference to a 'known' endpoint where no resolving is done.
3424
+ # http://k8s-service for example
3425
+ # http://myexternalhandler.example.com/foo/bar
3426
+ # Corresponds to the JSON property `uri`
3427
+ # @return [String]
3428
+ attr_accessor :uri
3429
+
3430
+ def initialize(**args)
3431
+ update!(**args)
3432
+ end
3433
+
3434
+ # Update properties of this object
3435
+ def update!(**args)
3436
+ @ref = args[:ref] if args.key?(:ref)
3437
+ @uri = args[:uri] if args.key?(:uri)
3438
+ end
3439
+ end
3440
+
3253
3441
  # TCPSocketAction describes an action based on opening a socket
3254
3442
  class TcpSocketAction
3255
3443
  include Google::Apis::Core::Hashable
@@ -3336,6 +3524,17 @@ module Google
3336
3524
  # @return [String]
3337
3525
  attr_accessor :configuration_name
3338
3526
 
3527
+ # LatestRevision may be optionally provided to indicate that the latest
3528
+ # ready Revision of the Configuration should be used for this traffic
3529
+ # target. When provided LatestRevision must be true if RevisionName is
3530
+ # empty; it must be false when RevisionName is non-empty.
3531
+ # Not currently supported in Cloud Run.
3532
+ # +optional
3533
+ # Corresponds to the JSON property `latestRevision`
3534
+ # @return [Boolean]
3535
+ attr_accessor :latest_revision
3536
+ alias_method :latest_revision?, :latest_revision
3537
+
3339
3538
  # Name is optionally used to expose a dedicated hostname for referencing this
3340
3539
  # target exclusively.
3341
3540
  # Not currently supported by Cloud Run.
@@ -3359,6 +3558,23 @@ module Google
3359
3558
  # @return [String]
3360
3559
  attr_accessor :revision_name
3361
3560
 
3561
+ # Tag is optionally used to expose a dedicated url for referencing
3562
+ # this target exclusively.
3563
+ # Not currently supported in Cloud Run.
3564
+ # +optional
3565
+ # Corresponds to the JSON property `tag`
3566
+ # @return [String]
3567
+ attr_accessor :tag
3568
+
3569
+ # Output only. URL displays the URL for accessing named traffic targets. URL
3570
+ # is displayed in status, and is disallowed on spec. URL must contain a
3571
+ # scheme (e.g. http://) and a hostname, but may not contain anything else
3572
+ # (e.g. basic auth, url path, etc.
3573
+ # Not currently supported in Cloud Run.
3574
+ # Corresponds to the JSON property `url`
3575
+ # @return [String]
3576
+ attr_accessor :url
3577
+
3362
3578
  def initialize(**args)
3363
3579
  update!(**args)
3364
3580
  end
@@ -3366,9 +3582,220 @@ module Google
3366
3582
  # Update properties of this object
3367
3583
  def update!(**args)
3368
3584
  @configuration_name = args[:configuration_name] if args.key?(:configuration_name)
3585
+ @latest_revision = args[:latest_revision] if args.key?(:latest_revision)
3369
3586
  @name = args[:name] if args.key?(:name)
3370
3587
  @percent = args[:percent] if args.key?(:percent)
3371
3588
  @revision_name = args[:revision_name] if args.key?(:revision_name)
3589
+ @tag = args[:tag] if args.key?(:tag)
3590
+ @url = args[:url] if args.key?(:url)
3591
+ end
3592
+ end
3593
+
3594
+ #
3595
+ class Trigger
3596
+ include Google::Apis::Core::Hashable
3597
+
3598
+ # The API version for this call such as "v1alpha1".
3599
+ # Corresponds to the JSON property `apiVersion`
3600
+ # @return [String]
3601
+ attr_accessor :api_version
3602
+
3603
+ # The kind of resource, in this case "Trigger".
3604
+ # Corresponds to the JSON property `kind`
3605
+ # @return [String]
3606
+ attr_accessor :kind
3607
+
3608
+ # ObjectMeta is metadata that all persisted resources must have, which includes
3609
+ # all objects users must create.
3610
+ # Corresponds to the JSON property `metadata`
3611
+ # @return [Google::Apis::RunV1alpha1::ObjectMeta]
3612
+ attr_accessor :metadata
3613
+
3614
+ # The desired state of the Trigger.
3615
+ # Corresponds to the JSON property `spec`
3616
+ # @return [Google::Apis::RunV1alpha1::TriggerSpec]
3617
+ attr_accessor :spec
3618
+
3619
+ # TriggerStatus represents the current state of a Trigger.
3620
+ # Corresponds to the JSON property `status`
3621
+ # @return [Google::Apis::RunV1alpha1::TriggerStatus]
3622
+ attr_accessor :status
3623
+
3624
+ def initialize(**args)
3625
+ update!(**args)
3626
+ end
3627
+
3628
+ # Update properties of this object
3629
+ def update!(**args)
3630
+ @api_version = args[:api_version] if args.key?(:api_version)
3631
+ @kind = args[:kind] if args.key?(:kind)
3632
+ @metadata = args[:metadata] if args.key?(:metadata)
3633
+ @spec = args[:spec] if args.key?(:spec)
3634
+ @status = args[:status] if args.key?(:status)
3635
+ end
3636
+ end
3637
+
3638
+ # TriggerCondition contains state information for an Trigger.
3639
+ class TriggerCondition
3640
+ include Google::Apis::Core::Hashable
3641
+
3642
+ # Last time the condition transitioned from one status to another.
3643
+ # +optional
3644
+ # Corresponds to the JSON property `lastTransitionTime`
3645
+ # @return [String]
3646
+ attr_accessor :last_transition_time
3647
+
3648
+ # Human readable message indicating details about the current status.
3649
+ # +optional
3650
+ # Corresponds to the JSON property `message`
3651
+ # @return [String]
3652
+ attr_accessor :message
3653
+
3654
+ # One-word CamelCase reason for the condition's current status.
3655
+ # +optional
3656
+ # Corresponds to the JSON property `reason`
3657
+ # @return [String]
3658
+ attr_accessor :reason
3659
+
3660
+ # Status of the condition, one of True, False, Unknown.
3661
+ # Corresponds to the JSON property `status`
3662
+ # @return [String]
3663
+ attr_accessor :status
3664
+
3665
+ # Type of Trigger condition.
3666
+ # Corresponds to the JSON property `type`
3667
+ # @return [String]
3668
+ attr_accessor :type
3669
+
3670
+ def initialize(**args)
3671
+ update!(**args)
3672
+ end
3673
+
3674
+ # Update properties of this object
3675
+ def update!(**args)
3676
+ @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
3677
+ @message = args[:message] if args.key?(:message)
3678
+ @reason = args[:reason] if args.key?(:reason)
3679
+ @status = args[:status] if args.key?(:status)
3680
+ @type = args[:type] if args.key?(:type)
3681
+ end
3682
+ end
3683
+
3684
+ #
3685
+ class TriggerFilter
3686
+ include Google::Apis::Core::Hashable
3687
+
3688
+ # TriggerFilterSourceAndType filters events based on exact matches on the cloud
3689
+ # event's type and source attributes. Only exact matches will pass the filter.
3690
+ # Corresponds to the JSON property `sourceAndType`
3691
+ # @return [Google::Apis::RunV1alpha1::TriggerFilterSourceAndType]
3692
+ attr_accessor :source_and_type
3693
+
3694
+ def initialize(**args)
3695
+ update!(**args)
3696
+ end
3697
+
3698
+ # Update properties of this object
3699
+ def update!(**args)
3700
+ @source_and_type = args[:source_and_type] if args.key?(:source_and_type)
3701
+ end
3702
+ end
3703
+
3704
+ # TriggerFilterSourceAndType filters events based on exact matches on the cloud
3705
+ # event's type and source attributes. Only exact matches will pass the filter.
3706
+ class TriggerFilterSourceAndType
3707
+ include Google::Apis::Core::Hashable
3708
+
3709
+ #
3710
+ # Corresponds to the JSON property `source`
3711
+ # @return [String]
3712
+ attr_accessor :source
3713
+
3714
+ #
3715
+ # Corresponds to the JSON property `type`
3716
+ # @return [String]
3717
+ attr_accessor :type
3718
+
3719
+ def initialize(**args)
3720
+ update!(**args)
3721
+ end
3722
+
3723
+ # Update properties of this object
3724
+ def update!(**args)
3725
+ @source = args[:source] if args.key?(:source)
3726
+ @type = args[:type] if args.key?(:type)
3727
+ end
3728
+ end
3729
+
3730
+ # The desired state of the Trigger.
3731
+ class TriggerSpec
3732
+ include Google::Apis::Core::Hashable
3733
+
3734
+ # Broker is the broker that this trigger receives events from. If not
3735
+ # specified, will default to 'default'.
3736
+ # Not currently supported by Cloud Run.
3737
+ # Corresponds to the JSON property `broker`
3738
+ # @return [String]
3739
+ attr_accessor :broker
3740
+
3741
+ # Filter is the filter to apply against all events from the Broker. Only
3742
+ # events that pass this filter will be sent to the Subscriber. If not
3743
+ # specified, will default to allowing all events.
3744
+ # This must be specified in Cloud Run.
3745
+ # Corresponds to the JSON property `filter`
3746
+ # @return [Google::Apis::RunV1alpha1::TriggerFilter]
3747
+ attr_accessor :filter
3748
+
3749
+ # Subscriber is the addressable that receives events from the Broker that
3750
+ # pass the Filter. It is required.
3751
+ # E.g. https://us-central1-myproject.cloudfunctions.net/myfunction or
3752
+ # /namespaces/my-project/services/my-service.
3753
+ # Corresponds to the JSON property `subscriber`
3754
+ # @return [Google::Apis::RunV1alpha1::SubscriberSpec]
3755
+ attr_accessor :subscriber
3756
+
3757
+ def initialize(**args)
3758
+ update!(**args)
3759
+ end
3760
+
3761
+ # Update properties of this object
3762
+ def update!(**args)
3763
+ @broker = args[:broker] if args.key?(:broker)
3764
+ @filter = args[:filter] if args.key?(:filter)
3765
+ @subscriber = args[:subscriber] if args.key?(:subscriber)
3766
+ end
3767
+ end
3768
+
3769
+ # TriggerStatus represents the current state of a Trigger.
3770
+ class TriggerStatus
3771
+ include Google::Apis::Core::Hashable
3772
+
3773
+ # Array of observed TriggerConditions, indicating the current state
3774
+ # of the Trigger.
3775
+ # Corresponds to the JSON property `conditions`
3776
+ # @return [Array<Google::Apis::RunV1alpha1::TriggerCondition>]
3777
+ attr_accessor :conditions
3778
+
3779
+ # ObservedGeneration is the 'Generation' of the Trigger that
3780
+ # was last processed by the controller.
3781
+ # Corresponds to the JSON property `observedGeneration`
3782
+ # @return [Fixnum]
3783
+ attr_accessor :observed_generation
3784
+
3785
+ # SubscriberURI is the resolved URI of the receiver for this Trigger.
3786
+ # Corresponds to the JSON property `subscriberUri`
3787
+ # @return [String]
3788
+ attr_accessor :subscriber_uri
3789
+
3790
+ def initialize(**args)
3791
+ update!(**args)
3792
+ end
3793
+
3794
+ # Update properties of this object
3795
+ def update!(**args)
3796
+ @conditions = args[:conditions] if args.key?(:conditions)
3797
+ @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
3798
+ @subscriber_uri = args[:subscriber_uri] if args.key?(:subscriber_uri)
3372
3799
  end
3373
3800
  end
3374
3801