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
@@ -52,12 +52,6 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class AuthorizationConfig
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
55
  class Backend
62
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
57
 
@@ -214,12 +208,6 @@ module Google
214
208
  include Google::Apis::Core::JsonObjectSupport
215
209
  end
216
210
 
217
- class Experimental
218
- class Representation < Google::Apis::Core::JsonRepresentation; end
219
-
220
- include Google::Apis::Core::JsonObjectSupport
221
- end
222
-
223
211
  class Field
224
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
213
 
@@ -506,13 +494,6 @@ module Google
506
494
  end
507
495
  end
508
496
 
509
- class AuthorizationConfig
510
- # @private
511
- class Representation < Google::Apis::Core::JsonRepresentation
512
- property :provider, as: 'provider'
513
- end
514
- end
515
-
516
497
  class Backend
517
498
  # @private
518
499
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -740,14 +721,6 @@ module Google
740
721
  end
741
722
  end
742
723
 
743
- class Experimental
744
- # @private
745
- class Representation < Google::Apis::Core::JsonRepresentation
746
- property :authorization, as: 'authorization', class: Google::Apis::ServiceusageV1::AuthorizationConfig, decorator: Google::Apis::ServiceusageV1::AuthorizationConfig::Representation
747
-
748
- end
749
- end
750
-
751
724
  class Field
752
725
  # @private
753
726
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -789,8 +762,6 @@ module Google
789
762
 
790
763
  collection :enums, as: 'enums', class: Google::Apis::ServiceusageV1::Enum, decorator: Google::Apis::ServiceusageV1::Enum::Representation
791
764
 
792
- property :experimental, as: 'experimental', class: Google::Apis::ServiceusageV1::Experimental, decorator: Google::Apis::ServiceusageV1::Experimental::Representation
793
-
794
765
  property :http, as: 'http', class: Google::Apis::ServiceusageV1::Http, decorator: Google::Apis::ServiceusageV1::Http::Representation
795
766
 
796
767
  property :id, as: 'id'
@@ -964,6 +935,7 @@ module Google
964
935
  property :display_name, as: 'displayName'
965
936
  collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1::LabelDescriptor::Representation
966
937
 
938
+ property :launch_stage, as: 'launchStage'
967
939
  property :metadata, as: 'metadata', class: Google::Apis::ServiceusageV1::MetricDescriptorMetadata, decorator: Google::Apis::ServiceusageV1::MetricDescriptorMetadata::Representation
968
940
 
969
941
  property :metric_kind, as: 'metricKind'
@@ -80,7 +80,7 @@ module Google
80
80
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
81
  # @raise [Google::Apis::AuthorizationError] Authorization is required
82
82
  def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
83
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
83
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
84
84
  command.request_representation = Google::Apis::ServiceusageV1::CancelOperationRequest::Representation
85
85
  command.request_object = cancel_operation_request_object
86
86
  command.response_representation = Google::Apis::ServiceusageV1::Empty::Representation
@@ -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 delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
118
- command = make_simple_command(:delete, 'v1/{+name}', options)
118
+ command = make_simple_command(:delete, 'v1/{+name}', options)
119
119
  command.response_representation = Google::Apis::ServiceusageV1::Empty::Representation
120
120
  command.response_class = Google::Apis::ServiceusageV1::Empty
121
121
  command.params['name'] = name unless name.nil?
@@ -147,7 +147,7 @@ module Google
147
147
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
148
148
  # @raise [Google::Apis::AuthorizationError] Authorization is required
149
149
  def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
150
- command = make_simple_command(:get, 'v1/{+name}', options)
150
+ command = make_simple_command(:get, 'v1/{+name}', options)
151
151
  command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation
152
152
  command.response_class = Google::Apis::ServiceusageV1::Operation
153
153
  command.params['name'] = name unless name.nil?
@@ -191,7 +191,7 @@ module Google
191
191
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
192
192
  # @raise [Google::Apis::AuthorizationError] Authorization is required
193
193
  def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
194
- command = make_simple_command(:get, 'v1/operations', options)
194
+ command = make_simple_command(:get, 'v1/operations', options)
195
195
  command.response_representation = Google::Apis::ServiceusageV1::ListOperationsResponse::Representation
196
196
  command.response_class = Google::Apis::ServiceusageV1::ListOperationsResponse
197
197
  command.query['filter'] = filter unless filter.nil?
@@ -208,8 +208,7 @@ module Google
208
208
  # @param [String] parent
209
209
  # Parent to enable services on.
210
210
  # An example name would be:
211
- # `projects/123`
212
- # where `123` is the project number (not project ID).
211
+ # `projects/123` where `123` is the project number.
213
212
  # The `BatchEnableServices` method currently only supports projects.
214
213
  # @param [Google::Apis::ServiceusageV1::BatchEnableServicesRequest] batch_enable_services_request_object
215
214
  # @param [String] fields
@@ -230,7 +229,7 @@ module Google
230
229
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
231
230
  # @raise [Google::Apis::AuthorizationError] Authorization is required
232
231
  def batch_enable_services(parent, batch_enable_services_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
233
- command = make_simple_command(:post, 'v1/{+parent}/services:batchEnable', options)
232
+ command = make_simple_command(:post, 'v1/{+parent}/services:batchEnable', options)
234
233
  command.request_representation = Google::Apis::ServiceusageV1::BatchEnableServicesRequest::Representation
235
234
  command.request_object = batch_enable_services_request_object
236
235
  command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation
@@ -251,8 +250,8 @@ module Google
251
250
  # Name of the consumer and service to disable the service on.
252
251
  # The enable and disable methods currently only support projects.
253
252
  # An example name would be:
254
- # `projects/123/services/serviceusage.googleapis.com`
255
- # where `123` is the project number (not project ID).
253
+ # `projects/123/services/serviceusage.googleapis.com` where `123` is the
254
+ # project number.
256
255
  # @param [Google::Apis::ServiceusageV1::DisableServiceRequest] disable_service_request_object
257
256
  # @param [String] fields
258
257
  # Selector specifying which fields to include in a partial response.
@@ -272,7 +271,7 @@ module Google
272
271
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
273
272
  # @raise [Google::Apis::AuthorizationError] Authorization is required
274
273
  def disable_service(name, disable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
275
- command = make_simple_command(:post, 'v1/{+name}:disable', options)
274
+ command = make_simple_command(:post, 'v1/{+name}:disable', options)
276
275
  command.request_representation = Google::Apis::ServiceusageV1::DisableServiceRequest::Representation
277
276
  command.request_object = disable_service_request_object
278
277
  command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation
@@ -291,8 +290,8 @@ module Google
291
290
  # Enabling a service requires that the service is public or is shared with
292
291
  # the user enabling the service.
293
292
  # An example name would be:
294
- # `projects/123/services/serviceusage.googleapis.com`
295
- # where `123` is the project number (not project ID).
293
+ # `projects/123/services/serviceusage.googleapis.com` where `123` is the
294
+ # project number.
296
295
  # @param [Google::Apis::ServiceusageV1::EnableServiceRequest] enable_service_request_object
297
296
  # @param [String] fields
298
297
  # Selector specifying which fields to include in a partial response.
@@ -312,7 +311,7 @@ module Google
312
311
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
313
312
  # @raise [Google::Apis::AuthorizationError] Authorization is required
314
313
  def enable_service(name, enable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
315
- command = make_simple_command(:post, 'v1/{+name}:enable', options)
314
+ command = make_simple_command(:post, 'v1/{+name}:enable', options)
316
315
  command.request_representation = Google::Apis::ServiceusageV1::EnableServiceRequest::Representation
317
316
  command.request_object = enable_service_request_object
318
317
  command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation
@@ -327,8 +326,8 @@ module Google
327
326
  # @param [String] name
328
327
  # Name of the consumer and service to get the `ConsumerState` for.
329
328
  # An example name would be:
330
- # `projects/123/services/serviceusage.googleapis.com`
331
- # where `123` is the project number (not project ID).
329
+ # `projects/123/services/serviceusage.googleapis.com` where `123` is the
330
+ # project number.
332
331
  # @param [String] fields
333
332
  # Selector specifying which fields to include in a partial response.
334
333
  # @param [String] quota_user
@@ -347,7 +346,7 @@ module Google
347
346
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
348
347
  # @raise [Google::Apis::AuthorizationError] Authorization is required
349
348
  def get_service(name, fields: nil, quota_user: nil, options: nil, &block)
350
- command = make_simple_command(:get, 'v1/{+name}', options)
349
+ command = make_simple_command(:get, 'v1/{+name}', options)
351
350
  command.response_representation = Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service::Representation
352
351
  command.response_class = Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service
353
352
  command.params['name'] = name unless name.nil?
@@ -366,8 +365,7 @@ module Google
366
365
  # @param [String] parent
367
366
  # Parent to search for services on.
368
367
  # An example name would be:
369
- # `projects/123`
370
- # where `123` is the project number (not project ID).
368
+ # `projects/123` where `123` is the project number.
371
369
  # @param [String] filter
372
370
  # Only list services that conform to the given filter.
373
371
  # The allowed filter strings are `state:ENABLED` and `state:DISABLED`.
@@ -396,7 +394,7 @@ module Google
396
394
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
397
395
  # @raise [Google::Apis::AuthorizationError] Authorization is required
398
396
  def list_services(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
399
- command = make_simple_command(:get, 'v1/{+parent}/services', options)
397
+ command = make_simple_command(:get, 'v1/{+parent}/services', options)
400
398
  command.response_representation = Google::Apis::ServiceusageV1::ListServicesResponse::Representation
401
399
  command.response_class = Google::Apis::ServiceusageV1::ListServicesResponse
402
400
  command.params['parent'] = parent unless parent.nil?
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20190501'
30
+ REVISION = '20190507'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -315,32 +315,6 @@ module Google
315
315
  end
316
316
  end
317
317
 
318
- # Configuration of authorization.
319
- # This section determines the authorization provider, if unspecified, then no
320
- # authorization check will be done.
321
- # Example:
322
- # experimental:
323
- # authorization:
324
- # provider: firebaserules.googleapis.com
325
- class AuthorizationConfig
326
- include Google::Apis::Core::Hashable
327
-
328
- # The name of the authorization provider, such as
329
- # firebaserules.googleapis.com.
330
- # Corresponds to the JSON property `provider`
331
- # @return [String]
332
- attr_accessor :provider
333
-
334
- def initialize(**args)
335
- update!(**args)
336
- end
337
-
338
- # Update properties of this object
339
- def update!(**args)
340
- @provider = args[:provider] if args.key?(:provider)
341
- end
342
- end
343
-
344
318
  # `Backend` defines the backend configuration for a service.
345
319
  class Backend
346
320
  include Google::Apis::Core::Hashable
@@ -1183,32 +1157,6 @@ module Google
1183
1157
  end
1184
1158
  end
1185
1159
 
1186
- # Experimental service configuration. These configuration options can
1187
- # only be used by whitelisted users.
1188
- class Experimental
1189
- include Google::Apis::Core::Hashable
1190
-
1191
- # Configuration of authorization.
1192
- # This section determines the authorization provider, if unspecified, then no
1193
- # authorization check will be done.
1194
- # Example:
1195
- # experimental:
1196
- # authorization:
1197
- # provider: firebaserules.googleapis.com
1198
- # Corresponds to the JSON property `authorization`
1199
- # @return [Google::Apis::ServiceusageV1beta1::AuthorizationConfig]
1200
- attr_accessor :authorization
1201
-
1202
- def initialize(**args)
1203
- update!(**args)
1204
- end
1205
-
1206
- # Update properties of this object
1207
- def update!(**args)
1208
- @authorization = args[:authorization] if args.key?(:authorization)
1209
- end
1210
- end
1211
-
1212
1160
  # A single field of a message type.
1213
1161
  class Field
1214
1162
  include Google::Apis::Core::Hashable
@@ -1492,12 +1440,6 @@ module Google
1492
1440
  # @return [Array<Google::Apis::ServiceusageV1beta1::Enum>]
1493
1441
  attr_accessor :enums
1494
1442
 
1495
- # Experimental service configuration. These configuration options can
1496
- # only be used by whitelisted users.
1497
- # Corresponds to the JSON property `experimental`
1498
- # @return [Google::Apis::ServiceusageV1beta1::Experimental]
1499
- attr_accessor :experimental
1500
-
1501
1443
  # Defines the HTTP configuration for an API service. It contains a list of
1502
1444
  # HttpRule, each specifying the mapping of an RPC method
1503
1445
  # to one or more HTTP REST API methods.
@@ -1716,7 +1658,6 @@ module Google
1716
1658
  @documentation = args[:documentation] if args.key?(:documentation)
1717
1659
  @endpoints = args[:endpoints] if args.key?(:endpoints)
1718
1660
  @enums = args[:enums] if args.key?(:enums)
1719
- @experimental = args[:experimental] if args.key?(:experimental)
1720
1661
  @http = args[:http] if args.key?(:http)
1721
1662
  @id = args[:id] if args.key?(:id)
1722
1663
  @logging = args[:logging] if args.key?(:logging)
@@ -2606,6 +2547,11 @@ module Google
2606
2547
  # @return [Array<Google::Apis::ServiceusageV1beta1::LabelDescriptor>]
2607
2548
  attr_accessor :labels
2608
2549
 
2550
+ # Optional. The launch stage of the metric definition.
2551
+ # Corresponds to the JSON property `launchStage`
2552
+ # @return [String]
2553
+ attr_accessor :launch_stage
2554
+
2609
2555
  # Additional annotations that can be used to guide the usage of a metric.
2610
2556
  # Corresponds to the JSON property `metadata`
2611
2557
  # @return [Google::Apis::ServiceusageV1beta1::MetricDescriptorMetadata]
@@ -2704,6 +2650,7 @@ module Google
2704
2650
  @description = args[:description] if args.key?(:description)
2705
2651
  @display_name = args[:display_name] if args.key?(:display_name)
2706
2652
  @labels = args[:labels] if args.key?(:labels)
2653
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
2707
2654
  @metadata = args[:metadata] if args.key?(:metadata)
2708
2655
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
2709
2656
  @name = args[:name] if args.key?(:name)
@@ -2724,6 +2671,7 @@ module Google
2724
2671
  # @return [String]
2725
2672
  attr_accessor :ingest_delay
2726
2673
 
2674
+ # Deprecated. Please use the MetricDescriptor.launch_stage instead.
2727
2675
  # The launch stage of the metric definition.
2728
2676
  # Corresponds to the JSON property `launchStage`
2729
2677
  # @return [String]
@@ -3135,7 +3083,7 @@ module Google
3135
3083
 
3136
3084
  # The server-assigned name, which is only unique within the same service that
3137
3085
  # originally returns it. If you use the default HTTP mapping, the
3138
- # `name` should have the format of `operations/some/unique/name`.
3086
+ # `name` should be a resource name ending with `operations/`unique_id``.
3139
3087
  # Corresponds to the JSON property `name`
3140
3088
  # @return [String]
3141
3089
  attr_accessor :name
@@ -52,12 +52,6 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class AuthorizationConfig
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
55
  class Backend
62
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
57
 
@@ -208,12 +202,6 @@ module Google
208
202
  include Google::Apis::Core::JsonObjectSupport
209
203
  end
210
204
 
211
- class Experimental
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
205
  class Field
218
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
207
 
@@ -512,13 +500,6 @@ module Google
512
500
  end
513
501
  end
514
502
 
515
- class AuthorizationConfig
516
- # @private
517
- class Representation < Google::Apis::Core::JsonRepresentation
518
- property :provider, as: 'provider'
519
- end
520
- end
521
-
522
503
  class Backend
523
504
  # @private
524
505
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -739,14 +720,6 @@ module Google
739
720
  end
740
721
  end
741
722
 
742
- class Experimental
743
- # @private
744
- class Representation < Google::Apis::Core::JsonRepresentation
745
- property :authorization, as: 'authorization', class: Google::Apis::ServiceusageV1beta1::AuthorizationConfig, decorator: Google::Apis::ServiceusageV1beta1::AuthorizationConfig::Representation
746
-
747
- end
748
- end
749
-
750
723
  class Field
751
724
  # @private
752
725
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -788,8 +761,6 @@ module Google
788
761
 
789
762
  collection :enums, as: 'enums', class: Google::Apis::ServiceusageV1beta1::Enum, decorator: Google::Apis::ServiceusageV1beta1::Enum::Representation
790
763
 
791
- property :experimental, as: 'experimental', class: Google::Apis::ServiceusageV1beta1::Experimental, decorator: Google::Apis::ServiceusageV1beta1::Experimental::Representation
792
-
793
764
  property :http, as: 'http', class: Google::Apis::ServiceusageV1beta1::Http, decorator: Google::Apis::ServiceusageV1beta1::Http::Representation
794
765
 
795
766
  property :id, as: 'id'
@@ -963,6 +934,7 @@ module Google
963
934
  property :display_name, as: 'displayName'
964
935
  collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1beta1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1beta1::LabelDescriptor::Representation
965
936
 
937
+ property :launch_stage, as: 'launchStage'
966
938
  property :metadata, as: 'metadata', class: Google::Apis::ServiceusageV1beta1::MetricDescriptorMetadata, decorator: Google::Apis::ServiceusageV1beta1::MetricDescriptorMetadata::Representation
967
939
 
968
940
  property :metric_kind, as: 'metricKind'
@@ -72,7 +72,7 @@ module Google
72
72
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
73
  # @raise [Google::Apis::AuthorizationError] Authorization is required
74
74
  def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
75
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
75
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
76
76
  command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation
77
77
  command.response_class = Google::Apis::ServiceusageV1beta1::Operation
78
78
  command.params['name'] = name unless name.nil?
@@ -116,7 +116,7 @@ module Google
116
116
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
117
117
  # @raise [Google::Apis::AuthorizationError] Authorization is required
118
118
  def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
119
- command = make_simple_command(:get, 'v1beta1/operations', options)
119
+ command = make_simple_command(:get, 'v1beta1/operations', options)
120
120
  command.response_representation = Google::Apis::ServiceusageV1beta1::ListOperationsResponse::Representation
121
121
  command.response_class = Google::Apis::ServiceusageV1beta1::ListOperationsResponse
122
122
  command.query['filter'] = filter unless filter.nil?
@@ -156,7 +156,7 @@ module Google
156
156
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
157
  # @raise [Google::Apis::AuthorizationError] Authorization is required
158
158
  def batch_enable_services(parent, batch_enable_services_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
159
- command = make_simple_command(:post, 'v1beta1/{+parent}/services:batchEnable', options)
159
+ command = make_simple_command(:post, 'v1beta1/{+parent}/services:batchEnable', options)
160
160
  command.request_representation = Google::Apis::ServiceusageV1beta1::BatchEnableServicesRequest::Representation
161
161
  command.request_object = batch_enable_services_request_object
162
162
  command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation
@@ -199,7 +199,7 @@ module Google
199
199
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
200
200
  # @raise [Google::Apis::AuthorizationError] Authorization is required
201
201
  def disable_service(name, disable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
202
- command = make_simple_command(:post, 'v1beta1/{+name}:disable', options)
202
+ command = make_simple_command(:post, 'v1beta1/{+name}:disable', options)
203
203
  command.request_representation = Google::Apis::ServiceusageV1beta1::DisableServiceRequest::Representation
204
204
  command.request_object = disable_service_request_object
205
205
  command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation
@@ -240,7 +240,7 @@ module Google
240
240
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
241
241
  # @raise [Google::Apis::AuthorizationError] Authorization is required
242
242
  def enable_service(name, enable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
243
- command = make_simple_command(:post, 'v1beta1/{+name}:enable', options)
243
+ command = make_simple_command(:post, 'v1beta1/{+name}:enable', options)
244
244
  command.request_representation = Google::Apis::ServiceusageV1beta1::EnableServiceRequest::Representation
245
245
  command.request_object = enable_service_request_object
246
246
  command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation
@@ -275,7 +275,7 @@ module Google
275
275
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
276
276
  # @raise [Google::Apis::AuthorizationError] Authorization is required
277
277
  def get_service(name, fields: nil, quota_user: nil, options: nil, &block)
278
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
278
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
279
279
  command.response_representation = Google::Apis::ServiceusageV1beta1::Service::Representation
280
280
  command.response_class = Google::Apis::ServiceusageV1beta1::Service
281
281
  command.params['name'] = name unless name.nil?
@@ -324,7 +324,7 @@ module Google
324
324
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
325
325
  # @raise [Google::Apis::AuthorizationError] Authorization is required
326
326
  def list_services(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
327
- command = make_simple_command(:get, 'v1beta1/{+parent}/services', options)
327
+ command = make_simple_command(:get, 'v1beta1/{+parent}/services', options)
328
328
  command.response_representation = Google::Apis::ServiceusageV1beta1::ListServicesResponse::Representation
329
329
  command.response_class = Google::Apis::ServiceusageV1beta1::ListServicesResponse
330
330
  command.params['parent'] = parent unless parent.nil?