google-api-client 0.28.4 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (750) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/build.bat +9 -6
  3. data/.kokoro/build.sh +2 -34
  4. data/.kokoro/continuous/common.cfg +6 -1
  5. data/.kokoro/continuous/linux.cfg +1 -1
  6. data/.kokoro/continuous/windows.cfg +17 -1
  7. data/.kokoro/osx.sh +2 -33
  8. data/.kokoro/presubmit/common.cfg +6 -1
  9. data/.kokoro/presubmit/linux.cfg +1 -1
  10. data/.kokoro/presubmit/windows.cfg +17 -1
  11. data/.kokoro/trampoline.bat +10 -0
  12. data/.kokoro/trampoline.sh +3 -23
  13. data/CHANGELOG.md +460 -0
  14. data/README.md +1 -1
  15. data/Rakefile +31 -0
  16. data/bin/generate-api +4 -2
  17. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
  18. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
  19. data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
  20. data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
  21. data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
  22. data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
  23. data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
  24. data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
  25. data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
  26. data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
  27. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
  28. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
  29. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  30. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  31. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
  32. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  33. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
  34. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  35. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
  36. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
  37. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
  38. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
  39. data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
  40. data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
  41. data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
  42. data/generated/google/apis/admin_directory_v1/service.rb +113 -113
  43. data/generated/google/apis/admin_directory_v1.rb +1 -1
  44. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  45. data/generated/google/apis/admin_reports_v1.rb +1 -1
  46. data/generated/google/apis/adsense_v1_4/service.rb +39 -39
  47. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
  48. data/generated/google/apis/alertcenter_v1beta1/classes.rb +101 -2
  49. data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
  50. data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
  51. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  52. data/generated/google/apis/analytics_v2_4/service.rb +6 -6
  53. data/generated/google/apis/analytics_v3/service.rb +88 -88
  54. data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
  55. data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
  56. data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
  57. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  58. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
  59. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  60. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  61. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  62. data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
  63. data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
  64. data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
  65. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  66. data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
  67. data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
  68. data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
  69. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  70. data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
  71. data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
  72. data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
  73. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  74. data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
  75. data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
  76. data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
  77. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  78. data/generated/google/apis/appengine_v1/classes.rb +45 -100
  79. data/generated/google/apis/appengine_v1/representations.rb +17 -35
  80. data/generated/google/apis/appengine_v1/service.rb +45 -39
  81. data/generated/google/apis/appengine_v1.rb +1 -1
  82. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
  83. data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
  84. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  85. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  86. data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
  87. data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
  88. data/generated/google/apis/appengine_v1beta/service.rb +45 -39
  89. data/generated/google/apis/appengine_v1beta.rb +1 -1
  90. data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
  91. data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
  92. data/generated/google/apis/appsactivity_v1/service.rb +5 -4
  93. data/generated/google/apis/appsactivity_v1.rb +1 -1
  94. data/generated/google/apis/appsmarket_v2/service.rb +3 -3
  95. data/generated/google/apis/appstate_v1/service.rb +5 -5
  96. data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
  97. data/generated/google/apis/bigquery_v2/representations.rb +414 -26
  98. data/generated/google/apis/bigquery_v2/service.rb +184 -22
  99. data/generated/google/apis/bigquery_v2.rb +1 -1
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
  103. data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
  104. data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
  105. data/generated/google/apis/bigtableadmin_v1.rb +2 -2
  106. data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
  107. data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
  108. data/generated/google/apis/bigtableadmin_v2.rb +2 -2
  109. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
  110. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
  111. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
  112. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  113. data/generated/google/apis/blogger_v2/service.rb +9 -9
  114. data/generated/google/apis/blogger_v3/service.rb +33 -33
  115. data/generated/google/apis/books_v1/service.rb +51 -51
  116. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  117. data/generated/google/apis/calendar_v3/service.rb +47 -47
  118. data/generated/google/apis/calendar_v3.rb +1 -1
  119. data/generated/google/apis/chat_v1/service.rb +8 -8
  120. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  121. data/generated/google/apis/classroom_v1/classes.rb +77 -0
  122. data/generated/google/apis/classroom_v1/representations.rb +32 -0
  123. data/generated/google/apis/classroom_v1/service.rb +276 -51
  124. data/generated/google/apis/classroom_v1.rb +7 -1
  125. data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
  126. data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
  127. data/generated/google/apis/cloudasset_v1/service.rb +191 -0
  128. data/generated/google/apis/cloudasset_v1.rb +34 -0
  129. data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
  130. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  131. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
  132. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  133. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  134. data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
  135. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  136. data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
  137. data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
  138. data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
  139. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  140. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
  141. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  142. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
  143. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  144. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  145. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
  146. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
  147. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  148. data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
  149. data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
  150. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  151. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
  152. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
  153. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  154. data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
  155. data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
  156. data/generated/google/apis/cloudidentity_v1.rb +7 -1
  157. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
  158. data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
  159. data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
  160. data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
  161. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  162. data/generated/google/apis/cloudiot_v1.rb +1 -1
  163. data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
  164. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  165. data/generated/google/apis/cloudkms_v1.rb +1 -1
  166. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
  167. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
  168. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
  169. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
  170. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
  171. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
  172. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
  173. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
  174. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  175. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
  176. data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
  177. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  178. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
  179. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
  180. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  181. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
  182. data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
  183. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  184. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
  185. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
  186. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  187. data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
  188. data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
  189. data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
  190. data/generated/google/apis/cloudscheduler_v1.rb +34 -0
  191. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
  192. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
  193. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
  194. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  195. data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
  196. data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
  197. data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
  198. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  199. data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
  200. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  201. data/generated/google/apis/cloudshell_v1.rb +1 -1
  202. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
  203. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
  204. data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
  205. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  206. data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
  207. data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
  208. data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
  209. data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
  210. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
  211. data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
  212. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  213. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
  214. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  215. data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
  216. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  217. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  218. data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
  219. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  220. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  221. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
  222. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
  223. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
  224. data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
  225. data/generated/google/apis/composer_v1/classes.rb +21 -15
  226. data/generated/google/apis/composer_v1/service.rb +9 -9
  227. data/generated/google/apis/composer_v1.rb +1 -1
  228. data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
  229. data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
  230. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  231. data/generated/google/apis/composer_v1beta1.rb +1 -1
  232. data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
  233. data/generated/google/apis/compute_alpha/representations.rb +1337 -219
  234. data/generated/google/apis/compute_alpha/service.rb +4259 -2728
  235. data/generated/google/apis/compute_alpha.rb +1 -1
  236. data/generated/google/apis/compute_beta/classes.rb +4254 -2781
  237. data/generated/google/apis/compute_beta/representations.rb +853 -283
  238. data/generated/google/apis/compute_beta/service.rb +7077 -5955
  239. data/generated/google/apis/compute_beta.rb +1 -1
  240. data/generated/google/apis/compute_v1/classes.rb +1259 -93
  241. data/generated/google/apis/compute_v1/representations.rb +450 -1
  242. data/generated/google/apis/compute_v1/service.rb +1085 -400
  243. data/generated/google/apis/compute_v1.rb +1 -1
  244. data/generated/google/apis/container_v1/classes.rb +201 -22
  245. data/generated/google/apis/container_v1/representations.rb +69 -0
  246. data/generated/google/apis/container_v1/service.rb +151 -102
  247. data/generated/google/apis/container_v1.rb +1 -1
  248. data/generated/google/apis/container_v1beta1/classes.rb +215 -25
  249. data/generated/google/apis/container_v1beta1/representations.rb +86 -0
  250. data/generated/google/apis/container_v1beta1/service.rb +106 -106
  251. data/generated/google/apis/container_v1beta1.rb +1 -1
  252. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
  253. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  254. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  255. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  256. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
  257. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
  258. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  259. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  260. data/generated/google/apis/content_v2/classes.rb +218 -101
  261. data/generated/google/apis/content_v2/representations.rb +49 -0
  262. data/generated/google/apis/content_v2/service.rb +189 -152
  263. data/generated/google/apis/content_v2.rb +1 -1
  264. data/generated/google/apis/content_v2_1/classes.rb +387 -216
  265. data/generated/google/apis/content_v2_1/representations.rb +131 -56
  266. data/generated/google/apis/content_v2_1/service.rb +190 -107
  267. data/generated/google/apis/content_v2_1.rb +1 -1
  268. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  269. data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
  270. data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
  271. data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
  272. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  273. data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
  274. data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
  275. data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
  276. data/generated/google/apis/datafusion_v1beta1.rb +43 -0
  277. data/generated/google/apis/dataproc_v1/classes.rb +27 -22
  278. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  279. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  280. data/generated/google/apis/dataproc_v1.rb +1 -1
  281. data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
  282. data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
  283. data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
  284. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  285. data/generated/google/apis/datastore_v1/classes.rb +20 -16
  286. data/generated/google/apis/datastore_v1/service.rb +15 -15
  287. data/generated/google/apis/datastore_v1.rb +1 -1
  288. data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
  289. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  290. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  291. data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
  292. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  293. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  294. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  295. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  296. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  297. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  298. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  299. data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
  300. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  301. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  302. data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
  303. data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
  304. data/generated/google/apis/dialogflow_v2/service.rb +76 -60
  305. data/generated/google/apis/dialogflow_v2.rb +1 -1
  306. data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
  307. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  308. data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
  309. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  310. data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
  311. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  312. data/generated/google/apis/discovery_v1/service.rb +2 -2
  313. data/generated/google/apis/dlp_v2/classes.rb +116 -45
  314. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  315. data/generated/google/apis/dlp_v2/service.rb +85 -45
  316. data/generated/google/apis/dlp_v2.rb +1 -1
  317. data/generated/google/apis/dns_v1/classes.rb +83 -1
  318. data/generated/google/apis/dns_v1/representations.rb +34 -0
  319. data/generated/google/apis/dns_v1/service.rb +15 -15
  320. data/generated/google/apis/dns_v1.rb +1 -1
  321. data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
  322. data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
  323. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  324. data/generated/google/apis/dns_v1beta2.rb +1 -1
  325. data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
  326. data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
  327. data/generated/google/apis/dns_v2beta1/service.rb +16 -16
  328. data/generated/google/apis/dns_v2beta1.rb +1 -1
  329. data/generated/google/apis/docs_v1/classes.rb +265 -47
  330. data/generated/google/apis/docs_v1/representations.rb +96 -0
  331. data/generated/google/apis/docs_v1/service.rb +3 -3
  332. data/generated/google/apis/docs_v1.rb +1 -1
  333. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
  334. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  335. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  336. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  337. data/generated/google/apis/drive_v2/classes.rb +601 -80
  338. data/generated/google/apis/drive_v2/representations.rb +152 -0
  339. data/generated/google/apis/drive_v2/service.rb +574 -164
  340. data/generated/google/apis/drive_v2.rb +1 -1
  341. data/generated/google/apis/drive_v3/classes.rb +591 -75
  342. data/generated/google/apis/drive_v3/representations.rb +151 -0
  343. data/generated/google/apis/drive_v3/service.rb +483 -116
  344. data/generated/google/apis/drive_v3.rb +1 -1
  345. data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
  346. data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
  347. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  348. data/generated/google/apis/driveactivity_v2.rb +1 -1
  349. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
  350. data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
  351. data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
  352. data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
  353. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  354. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  355. data/generated/google/apis/fcm_v1/service.rb +97 -0
  356. data/generated/google/apis/fcm_v1.rb +35 -0
  357. data/generated/google/apis/file_v1/classes.rb +646 -11
  358. data/generated/google/apis/file_v1/representations.rb +207 -0
  359. data/generated/google/apis/file_v1/service.rb +196 -6
  360. data/generated/google/apis/file_v1.rb +1 -1
  361. data/generated/google/apis/file_v1beta1/classes.rb +461 -19
  362. data/generated/google/apis/file_v1beta1/representations.rb +137 -0
  363. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  364. data/generated/google/apis/file_v1beta1.rb +1 -1
  365. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
  366. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
  367. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  368. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  369. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
  370. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  371. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  372. data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
  373. data/generated/google/apis/firebaserules_v1/service.rb +12 -12
  374. data/generated/google/apis/firebaserules_v1.rb +1 -1
  375. data/generated/google/apis/firestore_v1/classes.rb +15 -15
  376. data/generated/google/apis/firestore_v1/service.rb +28 -28
  377. data/generated/google/apis/firestore_v1.rb +1 -1
  378. data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
  379. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  380. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  381. data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
  382. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  383. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  384. data/generated/google/apis/fitness_v1/classes.rb +4 -1
  385. data/generated/google/apis/fitness_v1/service.rb +14 -58
  386. data/generated/google/apis/fitness_v1.rb +1 -1
  387. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  388. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  389. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  390. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  391. data/generated/google/apis/games_management_v1management.rb +2 -2
  392. data/generated/google/apis/games_v1/service.rb +53 -53
  393. data/generated/google/apis/games_v1.rb +3 -3
  394. data/generated/google/apis/genomics_v1/classes.rb +190 -3321
  395. data/generated/google/apis/genomics_v1/representations.rb +128 -1265
  396. data/generated/google/apis/genomics_v1/service.rb +75 -1982
  397. data/generated/google/apis/genomics_v1.rb +1 -10
  398. data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
  399. data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
  400. data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
  401. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  402. data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
  403. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
  404. data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
  405. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  406. data/generated/google/apis/gmail_v1/classes.rb +29 -0
  407. data/generated/google/apis/gmail_v1/representations.rb +13 -0
  408. data/generated/google/apis/gmail_v1/service.rb +142 -66
  409. data/generated/google/apis/gmail_v1.rb +1 -1
  410. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  411. data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
  412. data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
  413. data/generated/google/apis/groupssettings_v1/service.rb +4 -4
  414. data/generated/google/apis/groupssettings_v1.rb +2 -2
  415. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  416. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  417. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  418. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  419. data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
  420. data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
  421. data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
  422. data/generated/google/apis/healthcare_v1beta1.rb +34 -0
  423. data/generated/google/apis/iam_v1/classes.rb +171 -1
  424. data/generated/google/apis/iam_v1/representations.rb +95 -0
  425. data/generated/google/apis/iam_v1/service.rb +249 -39
  426. data/generated/google/apis/iam_v1.rb +1 -1
  427. data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
  428. data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
  429. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  430. data/generated/google/apis/iap_v1/classes.rb +1 -1
  431. data/generated/google/apis/iap_v1/service.rb +3 -3
  432. data/generated/google/apis/iap_v1.rb +1 -1
  433. data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
  434. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  435. data/generated/google/apis/iap_v1beta1.rb +1 -1
  436. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  437. data/generated/google/apis/indexing_v3/service.rb +2 -2
  438. data/generated/google/apis/jobs_v2/classes.rb +16 -17
  439. data/generated/google/apis/jobs_v2/service.rb +17 -17
  440. data/generated/google/apis/jobs_v2.rb +1 -1
  441. data/generated/google/apis/jobs_v3/classes.rb +14 -8
  442. data/generated/google/apis/jobs_v3/service.rb +16 -17
  443. data/generated/google/apis/jobs_v3.rb +1 -1
  444. data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
  445. data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
  446. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  447. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  448. data/generated/google/apis/language_v1/classes.rb +8 -7
  449. data/generated/google/apis/language_v1/service.rb +6 -6
  450. data/generated/google/apis/language_v1.rb +1 -1
  451. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  452. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  453. data/generated/google/apis/language_v1beta1.rb +1 -1
  454. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  455. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  456. data/generated/google/apis/language_v1beta2.rb +1 -1
  457. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  458. data/generated/google/apis/licensing_v1/service.rb +7 -7
  459. data/generated/google/apis/logging_v2/classes.rb +8 -3
  460. data/generated/google/apis/logging_v2/representations.rb +1 -0
  461. data/generated/google/apis/logging_v2/service.rb +72 -72
  462. data/generated/google/apis/logging_v2.rb +1 -1
  463. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  464. data/generated/google/apis/mirror_v1/service.rb +24 -24
  465. data/generated/google/apis/ml_v1/classes.rb +240 -52
  466. data/generated/google/apis/ml_v1/representations.rb +25 -2
  467. data/generated/google/apis/ml_v1/service.rb +36 -36
  468. data/generated/google/apis/ml_v1.rb +1 -1
  469. data/generated/google/apis/monitoring_v3/classes.rb +22 -18
  470. data/generated/google/apis/monitoring_v3/representations.rb +2 -1
  471. data/generated/google/apis/monitoring_v3/service.rb +42 -37
  472. data/generated/google/apis/monitoring_v3.rb +1 -1
  473. data/generated/google/apis/oauth2_v1/classes.rb +0 -124
  474. data/generated/google/apis/oauth2_v1/representations.rb +0 -62
  475. data/generated/google/apis/oauth2_v1/service.rb +3 -162
  476. data/generated/google/apis/oauth2_v1.rb +3 -6
  477. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  478. data/generated/google/apis/oauth2_v2.rb +3 -6
  479. data/generated/google/apis/oslogin_v1/service.rb +8 -7
  480. data/generated/google/apis/oslogin_v1.rb +3 -2
  481. data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
  482. data/generated/google/apis/oslogin_v1alpha.rb +3 -2
  483. data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
  484. data/generated/google/apis/oslogin_v1beta.rb +3 -2
  485. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  486. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  487. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  488. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  489. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  490. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  491. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  492. data/generated/google/apis/people_v1/classes.rb +38 -29
  493. data/generated/google/apis/people_v1/representations.rb +1 -0
  494. data/generated/google/apis/people_v1/service.rb +18 -13
  495. data/generated/google/apis/people_v1.rb +2 -5
  496. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  497. data/generated/google/apis/plus_domains_v1/service.rb +18 -392
  498. data/generated/google/apis/plus_domains_v1.rb +4 -10
  499. data/generated/google/apis/plus_v1/service.rb +16 -16
  500. data/generated/google/apis/plus_v1.rb +4 -4
  501. data/generated/google/apis/poly_v1/classes.rb +8 -6
  502. data/generated/google/apis/poly_v1/service.rb +15 -12
  503. data/generated/google/apis/poly_v1.rb +1 -1
  504. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
  505. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  506. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  507. data/generated/google/apis/pubsub_v1/classes.rb +55 -39
  508. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  509. data/generated/google/apis/pubsub_v1/service.rb +46 -69
  510. data/generated/google/apis/pubsub_v1.rb +1 -1
  511. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  512. data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
  513. data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
  514. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  515. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  516. data/generated/google/apis/redis_v1/classes.rb +30 -10
  517. data/generated/google/apis/redis_v1/representations.rb +13 -0
  518. data/generated/google/apis/redis_v1/service.rb +51 -15
  519. data/generated/google/apis/redis_v1.rb +1 -1
  520. data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
  521. data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
  522. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  523. data/generated/google/apis/redis_v1beta1.rb +1 -1
  524. data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
  525. data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
  526. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  527. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  528. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
  529. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
  530. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  531. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  532. data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
  533. data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
  534. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  535. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  536. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  537. data/generated/google/apis/reseller_v1/classes.rb +32 -39
  538. data/generated/google/apis/reseller_v1/service.rb +18 -18
  539. data/generated/google/apis/reseller_v1.rb +1 -1
  540. data/generated/google/apis/run_v1/classes.rb +73 -0
  541. data/generated/google/apis/run_v1/representations.rb +43 -0
  542. data/generated/google/apis/run_v1/service.rb +90 -0
  543. data/generated/google/apis/run_v1.rb +35 -0
  544. data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
  545. data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
  546. data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
  547. data/generated/google/apis/run_v1alpha1.rb +35 -0
  548. data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
  549. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  550. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  551. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
  552. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  553. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  554. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  555. data/generated/google/apis/script_v1/classes.rb +167 -6
  556. data/generated/google/apis/script_v1/representations.rb +79 -1
  557. data/generated/google/apis/script_v1/service.rb +16 -16
  558. data/generated/google/apis/script_v1.rb +1 -1
  559. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  560. data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
  561. data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
  562. data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
  563. data/generated/google/apis/securitycenter_v1.rb +35 -0
  564. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
  565. data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
  566. data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
  567. data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
  568. data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
  569. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  570. data/generated/google/apis/servicebroker_v1.rb +1 -1
  571. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
  572. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  573. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  574. data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
  575. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  576. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  577. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
  578. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
  579. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
  580. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  581. data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
  582. data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
  583. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  584. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  585. data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
  586. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  587. data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
  588. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  589. data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
  590. data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
  591. data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
  592. data/generated/google/apis/servicenetworking_v1.rb +38 -0
  593. data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
  594. data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
  595. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  596. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  597. data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
  598. data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
  599. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  600. data/generated/google/apis/serviceusage_v1.rb +1 -1
  601. data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
  602. data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
  603. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  604. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  605. data/generated/google/apis/sheets_v4/classes.rb +115 -26
  606. data/generated/google/apis/sheets_v4/service.rb +17 -17
  607. data/generated/google/apis/sheets_v4.rb +1 -1
  608. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  609. data/generated/google/apis/slides_v1/classes.rb +2 -2
  610. data/generated/google/apis/slides_v1/service.rb +5 -5
  611. data/generated/google/apis/slides_v1.rb +1 -1
  612. data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
  613. data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
  614. data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
  615. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  616. data/generated/google/apis/spanner_v1/classes.rb +231 -17
  617. data/generated/google/apis/spanner_v1/representations.rb +66 -0
  618. data/generated/google/apis/spanner_v1/service.rb +92 -42
  619. data/generated/google/apis/spanner_v1.rb +1 -1
  620. data/generated/google/apis/speech_v1/classes.rb +110 -13
  621. data/generated/google/apis/speech_v1/representations.rb +24 -0
  622. data/generated/google/apis/speech_v1/service.rb +9 -7
  623. data/generated/google/apis/speech_v1.rb +1 -1
  624. data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
  625. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  626. data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
  627. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  628. data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
  629. data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
  630. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  631. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  632. data/generated/google/apis/storage_v1/classes.rb +201 -4
  633. data/generated/google/apis/storage_v1/representations.rb +76 -1
  634. data/generated/google/apis/storage_v1/service.rb +488 -93
  635. data/generated/google/apis/storage_v1.rb +1 -1
  636. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  637. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  638. data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
  639. data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
  640. data/generated/google/apis/storagetransfer_v1.rb +2 -2
  641. data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
  642. data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
  643. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  644. data/generated/google/apis/surveys_v2/service.rb +8 -8
  645. data/generated/google/apis/tagmanager_v1/service.rb +49 -95
  646. data/generated/google/apis/tagmanager_v1.rb +1 -1
  647. data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
  648. data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
  649. data/generated/google/apis/tagmanager_v2/service.rb +287 -249
  650. data/generated/google/apis/tagmanager_v2.rb +1 -1
  651. data/generated/google/apis/tasks_v1/service.rb +19 -19
  652. data/generated/google/apis/tasks_v1.rb +2 -2
  653. data/generated/google/apis/testing_v1/classes.rb +44 -39
  654. data/generated/google/apis/testing_v1/representations.rb +3 -1
  655. data/generated/google/apis/testing_v1/service.rb +5 -5
  656. data/generated/google/apis/testing_v1.rb +1 -1
  657. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  658. data/generated/google/apis/texttospeech_v1.rb +1 -1
  659. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  660. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  661. data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
  662. data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
  663. data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
  664. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  665. data/generated/google/apis/tpu_v1/classes.rb +21 -15
  666. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  667. data/generated/google/apis/tpu_v1/service.rb +17 -17
  668. data/generated/google/apis/tpu_v1.rb +1 -1
  669. data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
  670. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  671. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  672. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  673. data/generated/google/apis/translate_v2/service.rb +5 -5
  674. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  675. data/generated/google/apis/vault_v1/classes.rb +44 -18
  676. data/generated/google/apis/vault_v1/representations.rb +4 -0
  677. data/generated/google/apis/vault_v1/service.rb +28 -28
  678. data/generated/google/apis/vault_v1.rb +1 -1
  679. data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
  680. data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
  681. data/generated/google/apis/videointelligence_v1/service.rb +7 -6
  682. data/generated/google/apis/videointelligence_v1.rb +3 -2
  683. data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
  684. data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
  685. data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
  686. data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
  687. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
  688. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
  689. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
  690. data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
  691. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
  692. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
  693. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
  694. data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
  695. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
  696. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
  697. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
  698. data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
  699. data/generated/google/apis/vision_v1/classes.rb +4397 -124
  700. data/generated/google/apis/vision_v1/representations.rb +2366 -541
  701. data/generated/google/apis/vision_v1/service.rb +160 -33
  702. data/generated/google/apis/vision_v1.rb +1 -1
  703. data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
  704. data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
  705. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  706. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  707. data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
  708. data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
  709. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  710. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  711. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  712. data/generated/google/apis/webmasters_v3/classes.rb +0 -166
  713. data/generated/google/apis/webmasters_v3/representations.rb +0 -93
  714. data/generated/google/apis/webmasters_v3/service.rb +9 -180
  715. data/generated/google/apis/webmasters_v3.rb +1 -1
  716. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  717. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
  718. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
  719. data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
  720. data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
  721. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  722. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  723. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  724. data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
  725. data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
  726. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  727. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  728. data/generated/google/apis/youtube_v3/service.rb +71 -71
  729. data/generated/google/apis/youtube_v3.rb +1 -1
  730. data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
  731. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  732. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  733. data/google-api-client.gemspec +2 -2
  734. data/lib/google/apis/core/http_command.rb +1 -0
  735. data/lib/google/apis/core/json_representation.rb +4 -0
  736. data/lib/google/apis/core/upload.rb +3 -3
  737. data/lib/google/apis/generator/model.rb +1 -1
  738. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  739. data/lib/google/apis/version.rb +1 -1
  740. metadata +86 -17
  741. data/.kokoro/common.cfg +0 -22
  742. data/.kokoro/windows.sh +0 -32
  743. data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
  744. data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
  745. data/generated/google/apis/logging_v2beta1/service.rb +0 -570
  746. data/generated/google/apis/logging_v2beta1.rb +0 -46
  747. data/generated/google/apis/partners_v2/classes.rb +0 -2260
  748. data/generated/google/apis/partners_v2/representations.rb +0 -905
  749. data/generated/google/apis/partners_v2/service.rb +0 -1077
  750. data/samples/web/.env +0 -2
@@ -79,7 +79,7 @@ module Google
79
79
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
80
  # @raise [Google::Apis::AuthorizationError] Authorization is required
81
81
  def get_action_result(instance_name, hash_, size_bytes, fields: nil, quota_user: nil, options: nil, &block)
82
- command = make_simple_command(:get, 'v2/{+instanceName}/actionResults/{hash}/{sizeBytes}', options)
82
+ command = make_simple_command(:get, 'v2/{+instanceName}/actionResults/{hash}/{sizeBytes}', options)
83
83
  command.response_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionResult::Representation
84
84
  command.response_class = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionResult
85
85
  command.params['instanceName'] = instance_name unless instance_name.nil?
@@ -141,7 +141,7 @@ module Google
141
141
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
142
142
  # @raise [Google::Apis::AuthorizationError] Authorization is required
143
143
  def update_action_result(instance_name, hash_, size_bytes, build_bazel_remote_execution_v2_action_result_object = nil, results_cache_policy_priority: nil, fields: nil, quota_user: nil, options: nil, &block)
144
- command = make_simple_command(:put, 'v2/{+instanceName}/actionResults/{hash}/{sizeBytes}', options)
144
+ command = make_simple_command(:put, 'v2/{+instanceName}/actionResults/{hash}/{sizeBytes}', options)
145
145
  command.request_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionResult::Representation
146
146
  command.request_object = build_bazel_remote_execution_v2_action_result_object
147
147
  command.response_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionResult::Representation
@@ -235,7 +235,7 @@ module Google
235
235
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
236
236
  # @raise [Google::Apis::AuthorizationError] Authorization is required
237
237
  def execute_action(instance_name, build_bazel_remote_execution_v2_execute_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
238
- command = make_simple_command(:post, 'v2/{+instanceName}/actions:execute', options)
238
+ command = make_simple_command(:post, 'v2/{+instanceName}/actions:execute', options)
239
239
  command.request_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ExecuteRequest::Representation
240
240
  command.request_object = build_bazel_remote_execution_v2_execute_request_object
241
241
  command.response_representation = Google::Apis::RemotebuildexecutionV2::GoogleLongrunningOperation::Representation
@@ -286,7 +286,7 @@ module Google
286
286
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
287
287
  # @raise [Google::Apis::AuthorizationError] Authorization is required
288
288
  def batch_blob_read(instance_name, build_bazel_remote_execution_v2_batch_read_blobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
289
- command = make_simple_command(:post, 'v2/{+instanceName}/blobs:batchRead', options)
289
+ command = make_simple_command(:post, 'v2/{+instanceName}/blobs:batchRead', options)
290
290
  command.request_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2BatchReadBlobsRequest::Representation
291
291
  command.request_object = build_bazel_remote_execution_v2_batch_read_blobs_request_object
292
292
  command.response_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2BatchReadBlobsResponse::Representation
@@ -340,7 +340,7 @@ module Google
340
340
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
341
341
  # @raise [Google::Apis::AuthorizationError] Authorization is required
342
342
  def batch_blob_update(instance_name, build_bazel_remote_execution_v2_batch_update_blobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
343
- command = make_simple_command(:post, 'v2/{+instanceName}/blobs:batchUpdate', options)
343
+ command = make_simple_command(:post, 'v2/{+instanceName}/blobs:batchUpdate', options)
344
344
  command.request_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest::Representation
345
345
  command.request_object = build_bazel_remote_execution_v2_batch_update_blobs_request_object
346
346
  command.response_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse::Representation
@@ -380,7 +380,7 @@ module Google
380
380
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
381
381
  # @raise [Google::Apis::AuthorizationError] Authorization is required
382
382
  def find_blob_missing(instance_name, build_bazel_remote_execution_v2_find_missing_blobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
383
- command = make_simple_command(:post, 'v2/{+instanceName}/blobs:findMissing', options)
383
+ command = make_simple_command(:post, 'v2/{+instanceName}/blobs:findMissing', options)
384
384
  command.request_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2FindMissingBlobsRequest::Representation
385
385
  command.request_object = build_bazel_remote_execution_v2_find_missing_blobs_request_object
386
386
  command.response_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2FindMissingBlobsResponse::Representation
@@ -445,7 +445,7 @@ module Google
445
445
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
446
446
  # @raise [Google::Apis::AuthorizationError] Authorization is required
447
447
  def get_blob_tree(instance_name, hash_, size_bytes, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
448
- command = make_simple_command(:get, 'v2/{+instanceName}/blobs/{hash}/{sizeBytes}:getTree', options)
448
+ command = make_simple_command(:get, 'v2/{+instanceName}/blobs/{hash}/{sizeBytes}:getTree', options)
449
449
  command.response_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2GetTreeResponse::Representation
450
450
  command.response_class = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2GetTreeResponse
451
451
  command.params['instanceName'] = instance_name unless instance_name.nil?
@@ -486,7 +486,7 @@ module Google
486
486
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
487
487
  # @raise [Google::Apis::AuthorizationError] Authorization is required
488
488
  def wait_operation_execution(name, build_bazel_remote_execution_v2_wait_execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
489
- command = make_simple_command(:post, 'v2/{+name}:waitExecution', options)
489
+ command = make_simple_command(:post, 'v2/{+name}:waitExecution', options)
490
490
  command.request_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2WaitExecutionRequest::Representation
491
491
  command.request_object = build_bazel_remote_execution_v2_wait_execution_request_object
492
492
  command.response_representation = Google::Apis::RemotebuildexecutionV2::GoogleLongrunningOperation::Representation
@@ -522,7 +522,7 @@ module Google
522
522
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
523
523
  # @raise [Google::Apis::AuthorizationError] Authorization is required
524
524
  def get_capabilities(instance_name, fields: nil, quota_user: nil, options: nil, &block)
525
- command = make_simple_command(:get, 'v2/{+instanceName}/capabilities', options)
525
+ command = make_simple_command(:get, 'v2/{+instanceName}/capabilities', options)
526
526
  command.response_representation = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ServerCapabilities::Representation
527
527
  command.response_class = Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ServerCapabilities
528
528
  command.params['instanceName'] = instance_name unless instance_name.nil?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190122'
28
+ REVISION = '20190507'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -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 delete_pool(project_name, zone, pool_name, pools_delete_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
83
- command = make_simple_command(:post, '{projectName}/zones/{zone}/pools/{poolName}', options)
83
+ command = make_simple_command(:post, '{projectName}/zones/{zone}/pools/{poolName}', options)
84
84
  command.request_representation = Google::Apis::ReplicapoolV1beta1::PoolsDeleteRequest::Representation
85
85
  command.request_object = pools_delete_request_object
86
86
  command.params['projectName'] = project_name unless project_name.nil?
@@ -119,7 +119,7 @@ module Google
119
119
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
120
120
  # @raise [Google::Apis::AuthorizationError] Authorization is required
121
121
  def get_pool(project_name, zone, pool_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
122
- command = make_simple_command(:get, '{projectName}/zones/{zone}/pools/{poolName}', options)
122
+ command = make_simple_command(:get, '{projectName}/zones/{zone}/pools/{poolName}', options)
123
123
  command.response_representation = Google::Apis::ReplicapoolV1beta1::Pool::Representation
124
124
  command.response_class = Google::Apis::ReplicapoolV1beta1::Pool
125
125
  command.params['projectName'] = project_name unless project_name.nil?
@@ -157,7 +157,7 @@ module Google
157
157
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
158
158
  # @raise [Google::Apis::AuthorizationError] Authorization is required
159
159
  def insert_pool(project_name, zone, pool_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
160
- command = make_simple_command(:post, '{projectName}/zones/{zone}/pools', options)
160
+ command = make_simple_command(:post, '{projectName}/zones/{zone}/pools', options)
161
161
  command.request_representation = Google::Apis::ReplicapoolV1beta1::Pool::Representation
162
162
  command.request_object = pool_object
163
163
  command.response_representation = Google::Apis::ReplicapoolV1beta1::Pool::Representation
@@ -201,7 +201,7 @@ module Google
201
201
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
202
202
  # @raise [Google::Apis::AuthorizationError] Authorization is required
203
203
  def list_pools(project_name, zone, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
204
- command = make_simple_command(:get, '{projectName}/zones/{zone}/pools', options)
204
+ command = make_simple_command(:get, '{projectName}/zones/{zone}/pools', options)
205
205
  command.response_representation = Google::Apis::ReplicapoolV1beta1::PoolsListResponse::Representation
206
206
  command.response_class = Google::Apis::ReplicapoolV1beta1::PoolsListResponse
207
207
  command.params['projectName'] = project_name unless project_name.nil?
@@ -247,7 +247,7 @@ module Google
247
247
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
248
248
  # @raise [Google::Apis::AuthorizationError] Authorization is required
249
249
  def resize_pool(project_name, zone, pool_name, num_replicas: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
250
- command = make_simple_command(:post, '{projectName}/zones/{zone}/pools/{poolName}/resize', options)
250
+ command = make_simple_command(:post, '{projectName}/zones/{zone}/pools/{poolName}/resize', options)
251
251
  command.response_representation = Google::Apis::ReplicapoolV1beta1::Pool::Representation
252
252
  command.response_class = Google::Apis::ReplicapoolV1beta1::Pool
253
253
  command.params['projectName'] = project_name unless project_name.nil?
@@ -288,7 +288,7 @@ module Google
288
288
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
289
289
  # @raise [Google::Apis::AuthorizationError] Authorization is required
290
290
  def updatetemplate_pool(project_name, zone, pool_name, template_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
291
- command = make_simple_command(:post, '{projectName}/zones/{zone}/pools/{poolName}/updateTemplate', options)
291
+ command = make_simple_command(:post, '{projectName}/zones/{zone}/pools/{poolName}/updateTemplate', options)
292
292
  command.request_representation = Google::Apis::ReplicapoolV1beta1::Template::Representation
293
293
  command.request_object = template_object
294
294
  command.params['projectName'] = project_name unless project_name.nil?
@@ -330,7 +330,7 @@ module Google
330
330
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
331
331
  # @raise [Google::Apis::AuthorizationError] Authorization is required
332
332
  def delete_replica(project_name, zone, pool_name, replica_name, replicas_delete_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
333
- command = make_simple_command(:post, '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}', options)
333
+ command = make_simple_command(:post, '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}', options)
334
334
  command.request_representation = Google::Apis::ReplicapoolV1beta1::ReplicasDeleteRequest::Representation
335
335
  command.request_object = replicas_delete_request_object
336
336
  command.response_representation = Google::Apis::ReplicapoolV1beta1::Replica::Representation
@@ -374,7 +374,7 @@ module Google
374
374
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
375
375
  # @raise [Google::Apis::AuthorizationError] Authorization is required
376
376
  def get_replica(project_name, zone, pool_name, replica_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
377
- command = make_simple_command(:get, '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}', options)
377
+ command = make_simple_command(:get, '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}', options)
378
378
  command.response_representation = Google::Apis::ReplicapoolV1beta1::Replica::Representation
379
379
  command.response_class = Google::Apis::ReplicapoolV1beta1::Replica
380
380
  command.params['projectName'] = project_name unless project_name.nil?
@@ -420,7 +420,7 @@ module Google
420
420
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
421
421
  # @raise [Google::Apis::AuthorizationError] Authorization is required
422
422
  def list_replicas(project_name, zone, pool_name, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
423
- command = make_simple_command(:get, '{projectName}/zones/{zone}/pools/{poolName}/replicas', options)
423
+ command = make_simple_command(:get, '{projectName}/zones/{zone}/pools/{poolName}/replicas', options)
424
424
  command.response_representation = Google::Apis::ReplicapoolV1beta1::ReplicasListResponse::Representation
425
425
  command.response_class = Google::Apis::ReplicapoolV1beta1::ReplicasListResponse
426
426
  command.params['projectName'] = project_name unless project_name.nil?
@@ -463,7 +463,7 @@ module Google
463
463
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
464
464
  # @raise [Google::Apis::AuthorizationError] Authorization is required
465
465
  def restart_replica(project_name, zone, pool_name, replica_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
466
- command = make_simple_command(:post, '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}/restart', options)
466
+ command = make_simple_command(:post, '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}/restart', options)
467
467
  command.response_representation = Google::Apis::ReplicapoolV1beta1::Replica::Representation
468
468
  command.response_class = Google::Apis::ReplicapoolV1beta1::Replica
469
469
  command.params['projectName'] = project_name unless project_name.nil?
@@ -126,6 +126,7 @@ module Google
126
126
  # concepts.
127
127
  # Possible values are:
128
128
  # - ANNUAL_MONTHLY_PAY - The annual commitment plan with monthly payments
129
+ # Caution: ANNUAL_MONTHLY_PAY is returned as ANNUAL in all API responses.
129
130
  # - ANNUAL_YEARLY_PAY - The annual commitment plan with yearly payments
130
131
  # - FLEXIBLE - The flexible plan
131
132
  # - TRIAL - The 30-day free trial plan
@@ -197,9 +198,10 @@ module Google
197
198
  # @return [String]
198
199
  attr_accessor :kind
199
200
 
200
- # Customer contact phone number. This can be continuous numbers, with spaces,
201
- # etc. But it must be a real phone number and not, for example, "123". See phone
202
- # local format conventions.
201
+ # Customer contact phone number. Must start with "+" followed by the country
202
+ # code. The rest of the number can be contiguous numbers or respect the phone
203
+ # local format conventions, but it must be a real phone number and not, for
204
+ # example, "123". This field is silently ignored if invalid.
203
205
  # Corresponds to the JSON property `phoneNumber`
204
206
  # @return [String]
205
207
  attr_accessor :phone_number
@@ -309,53 +311,37 @@ module Google
309
311
  class Seats
310
312
  include Google::Apis::Core::Hashable
311
313
 
312
- # Identifies the resource as a subscription change plan request. Value:
313
- # subscriptions#seats
314
+ # Identifies the resource as a subscription seat setting. Value: subscriptions#
315
+ # seats
314
316
  # Corresponds to the JSON property `kind`
315
317
  # @return [String]
316
318
  attr_accessor :kind
317
319
 
318
- # Read-only field containing the current number of licensed seats for FLEXIBLE
319
- # Google-Apps subscriptions and secondary subscriptions such as Google-Vault and
320
- # Drive-storage.
320
+ # Read-only field containing the current number of users that are assigned a
321
+ # license for the product defined in skuId. This field's value is equivalent to
322
+ # the numerical count of users returned by the Enterprise License Manager API
323
+ # method: listForProductAndSku
321
324
  # Corresponds to the JSON property `licensedNumberOfSeats`
322
325
  # @return [Fixnum]
323
326
  attr_accessor :licensed_number_of_seats
324
327
 
325
- # The maximumNumberOfSeats property is the maximum number of licenses that the
326
- # customer can purchase. This property applies to plans other than the annual
327
- # commitment plan. How a user's licenses are managed depends on the subscription'
328
- # s payment plan:
329
- # - annual commitment plan (with monthly or yearly payments) For this plan, a
330
- # reseller is invoiced on the number of user licenses in the numberOfSeats
331
- # property. The maximumNumberOfSeats property is a read-only property in the API'
332
- # s response.
333
- # - flexible plan — For this plan, a reseller is invoiced on the actual number
334
- # of users which is capped by the maximumNumberOfSeats. This is the maximum
335
- # number of user licenses a customer has for user license provisioning. This
336
- # quantity can be increased up to the maximum limit defined in the reseller's
337
- # contract. And the minimum quantity is the current number of users in the
338
- # customer account.
339
- # - 30-day free trial plan — A subscription in a 30-day free trial is restricted
340
- # to maximum 10 seats.
328
+ # This is a required property and is exclusive to subscriptions with FLEXIBLE or
329
+ # TRIAL plans. This property sets the maximum number of licensed users allowed
330
+ # on a subscription. This quantity can be increased up to the maximum limit
331
+ # defined in the reseller's contract. The minimum quantity is the current number
332
+ # of users in the customer account. Note: G Suite subscriptions automatically
333
+ # assign a license to every user.
341
334
  # Corresponds to the JSON property `maximumNumberOfSeats`
342
335
  # @return [Fixnum]
343
336
  attr_accessor :maximum_number_of_seats
344
337
 
345
- # The numberOfSeats property holds the customer's number of user licenses. How a
346
- # user's licenses are managed depends on the subscription's plan:
347
- # - annual commitment plan (with monthly or yearly pay) For this plan, a
348
- # reseller is invoiced on the number of user licenses in the numberOfSeats
349
- # property. This is the maximum number of user licenses that a reseller's
350
- # customer can create. The reseller can add more licenses, but once set, the
351
- # numberOfSeats can not be reduced until renewal. The reseller is invoiced based
352
- # on the numberOfSeats value regardless of how many of these user licenses are
353
- # provisioned users.
354
- # - flexible plan — For this plan, a reseller is invoiced on the actual number
355
- # of users which is capped by the maximumNumberOfSeats. The numberOfSeats
356
- # property is not used in the request or response for flexible plan customers.
357
- # - 30-day free trial plan — The numberOfSeats property is not used in the
358
- # request or response for an account in a 30-day trial.
338
+ # This is a required property and is exclusive to subscriptions with
339
+ # ANNUAL_MONTHLY_PAY and ANNUAL_YEARLY_PAY plans. This property sets the maximum
340
+ # number of licenses assignable to users on a subscription. The reseller can add
341
+ # more licenses, but once set, the numberOfSeats cannot be reduced until renewal.
342
+ # The reseller is invoiced based on the numberOfSeats value regardless of how
343
+ # many of these user licenses are assigned. Note: G Suite subscriptions
344
+ # automatically assign a license to every user.
359
345
  # Corresponds to the JSON property `numberOfSeats`
360
346
  # @return [Fixnum]
361
347
  attr_accessor :number_of_seats
@@ -536,6 +522,8 @@ module Google
536
522
  include Google::Apis::Core::Hashable
537
523
 
538
524
  # In this version of the API, annual commitment plan's interval is one year.
525
+ # Note: When billingMethod value is OFFLINE, the subscription property object
526
+ # plan.commitmentInterval is omitted in all API responses.
539
527
  # Corresponds to the JSON property `commitmentInterval`
540
528
  # @return [Google::Apis::ResellerV1::Subscription::Plan::CommitmentInterval]
541
529
  attr_accessor :commitment_interval
@@ -552,7 +540,8 @@ module Google
552
540
  # The planName property is required. This is the name of the subscription's plan.
553
541
  # For more information about the Google payment plans, see the API concepts.
554
542
  # Possible values are:
555
- # - ANNUAL_MONTHLY_PAY — The annual commitment plan with monthly payments
543
+ # - ANNUAL_MONTHLY_PAY — The annual commitment plan with monthly payments.
544
+ # Caution: ANNUAL_MONTHLY_PAY is returned as ANNUAL in all API responses.
556
545
  # - ANNUAL_YEARLY_PAY — The annual commitment plan with yearly payments
557
546
  # - FLEXIBLE — The flexible plan
558
547
  # - TRIAL — The 30-day free trial plan. A subscription in trial will be
@@ -560,6 +549,8 @@ module Google
560
549
  # changePlan will assign a payment plan to a trial but will not activate the
561
550
  # plan. A trial will automatically begin its assigned payment plan after its
562
551
  # 30th free day or immediately after calling startPaidService.
552
+ # - FREE — The free plan is exclusive to the Cloud Identity SKU and does not
553
+ # incur any billing.
563
554
  # Corresponds to the JSON property `planName`
564
555
  # @return [String]
565
556
  attr_accessor :plan_name
@@ -576,6 +567,8 @@ module Google
576
567
  end
577
568
 
578
569
  # In this version of the API, annual commitment plan's interval is one year.
570
+ # Note: When billingMethod value is OFFLINE, the subscription property object
571
+ # plan.commitmentInterval is omitted in all API responses.
579
572
  class CommitmentInterval
580
573
  include Google::Apis::Core::Hashable
581
574
 
@@ -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
@@ -485,7 +485,7 @@ module Google
485
485
  execute_or_queue_command(command, &block)
486
486
  end
487
487
 
488
- # Cancel, suspend or transfer a subscription to direct.
488
+ # Cancel or transfer a subscription to direct.
489
489
  # @param [String] customer_id
490
490
  # Either the customer's primary domain name or the customer's unique identifier.
491
491
  # If using the domain name, we do not recommend using a customerId as a key for
@@ -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?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/reseller/
26
26
  module ResellerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170228'
28
+ REVISION = '20190228'
29
29
 
30
30
  # Manage users on your domain
31
31
  AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order'
@@ -0,0 +1,73 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module RunV1
24
+
25
+ # A resource that represents Google Cloud Platform location.
26
+ class Location
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The friendly name for this location, typically a nearby city name.
30
+ # For example, "Tokyo".
31
+ # Corresponds to the JSON property `displayName`
32
+ # @return [String]
33
+ attr_accessor :display_name
34
+
35
+ # Cross-service attributes for the location. For example
36
+ # `"cloud.googleapis.com/region": "us-east1"`
37
+ # Corresponds to the JSON property `labels`
38
+ # @return [Hash<String,String>]
39
+ attr_accessor :labels
40
+
41
+ # The canonical id for this location. For example: `"us-east1"`.
42
+ # Corresponds to the JSON property `locationId`
43
+ # @return [String]
44
+ attr_accessor :location_id
45
+
46
+ # Service-specific metadata. For example the available capacity at the given
47
+ # location.
48
+ # Corresponds to the JSON property `metadata`
49
+ # @return [Hash<String,Object>]
50
+ attr_accessor :metadata
51
+
52
+ # Resource name for the location, which may vary between implementations.
53
+ # For example: `"projects/example-project/locations/us-east1"`
54
+ # Corresponds to the JSON property `name`
55
+ # @return [String]
56
+ attr_accessor :name
57
+
58
+ def initialize(**args)
59
+ update!(**args)
60
+ end
61
+
62
+ # Update properties of this object
63
+ def update!(**args)
64
+ @display_name = args[:display_name] if args.key?(:display_name)
65
+ @labels = args[:labels] if args.key?(:labels)
66
+ @location_id = args[:location_id] if args.key?(:location_id)
67
+ @metadata = args[:metadata] if args.key?(:metadata)
68
+ @name = args[:name] if args.key?(:name)
69
+ end
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,43 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module RunV1
24
+
25
+ class Location
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Location
32
+ # @private
33
+ class Representation < Google::Apis::Core::JsonRepresentation
34
+ property :display_name, as: 'displayName'
35
+ hash :labels, as: 'labels'
36
+ property :location_id, as: 'locationId'
37
+ hash :metadata, as: 'metadata'
38
+ property :name, as: 'name'
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end