google-api-client 0.23.4 → 0.23.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (403) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +171 -0
  4. data/Gemfile +1 -0
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  13. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  15. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  16. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +7 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/adsense_v1_4.rb +1 -1
  22. data/generated/google/apis/adsense_v1_4/classes.rb +13 -1
  23. data/generated/google/apis/adsense_v1_4/representations.rb +2 -0
  24. data/generated/google/apis/adsense_v1_4/service.rb +36 -0
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/analytics_v2_4.rb +1 -1
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +68 -0
  29. data/generated/google/apis/analytics_v3/representations.rb +31 -0
  30. data/generated/google/apis/analytics_v3/service.rb +33 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  33. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +108 -28
  34. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +32 -0
  35. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +73 -0
  36. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/service.rb +0 -70
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -5
  40. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  41. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  42. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/appengine_v1.rb +1 -1
  45. data/generated/google/apis/appengine_v1beta.rb +1 -1
  46. data/generated/google/apis/appengine_v1beta/classes.rb +3 -4
  47. data/generated/google/apis/appsactivity_v1.rb +2 -2
  48. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  49. data/generated/google/apis/appsmarket_v2.rb +1 -1
  50. data/generated/google/apis/appstate_v1.rb +1 -1
  51. data/generated/google/apis/bigquery_v2.rb +1 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +103 -61
  53. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  54. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +35 -0
  56. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +597 -0
  57. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +238 -0
  58. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +523 -0
  59. data/generated/google/apis/blogger_v2.rb +1 -1
  60. data/generated/google/apis/blogger_v3.rb +1 -1
  61. data/generated/google/apis/books_v1.rb +1 -1
  62. data/generated/google/apis/books_v1/classes.rb +7 -0
  63. data/generated/google/apis/books_v1/representations.rb +1 -0
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +44 -12
  66. data/generated/google/apis/calendar_v3/service.rb +7 -7
  67. data/generated/google/apis/chat_v1.rb +1 -1
  68. data/generated/google/apis/civicinfo_v2.rb +1 -1
  69. data/generated/google/apis/civicinfo_v2/classes.rb +641 -0
  70. data/generated/google/apis/civicinfo_v2/representations.rb +215 -0
  71. data/generated/google/apis/classroom_v1.rb +1 -1
  72. data/generated/google/apis/classroom_v1/classes.rb +25 -0
  73. data/generated/google/apis/classroom_v1/representations.rb +15 -0
  74. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  75. data/generated/google/apis/cloudbilling_v1/classes.rb +85 -10
  76. data/generated/google/apis/cloudbilling_v1/representations.rb +18 -0
  77. data/generated/google/apis/cloudbilling_v1/service.rb +3 -13
  78. data/generated/google/apis/cloudbuild_v1.rb +4 -4
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +37 -3
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
  81. data/generated/google/apis/cloudbuild_v1/service.rb +3 -3
  82. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  83. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  84. data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
  85. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  86. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +4 -5
  87. data/generated/google/apis/cloudiot_v1.rb +1 -1
  88. data/generated/google/apis/cloudiot_v1/classes.rb +56 -0
  89. data/generated/google/apis/cloudiot_v1/representations.rb +18 -0
  90. data/generated/google/apis/cloudiot_v1/service.rb +355 -0
  91. data/generated/google/apis/cloudkms_v1.rb +6 -3
  92. data/generated/google/apis/cloudkms_v1/classes.rb +340 -14
  93. data/generated/google/apis/cloudkms_v1/representations.rb +147 -0
  94. data/generated/google/apis/cloudkms_v1/service.rb +126 -6
  95. data/generated/google/apis/cloudprofiler_v2.rb +3 -3
  96. data/generated/google/apis/cloudprofiler_v2/classes.rb +0 -6
  97. data/generated/google/apis/cloudprofiler_v2/representations.rb +0 -2
  98. data/generated/google/apis/cloudprofiler_v2/service.rb +2 -2
  99. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +57 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +18 -0
  102. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +56 -0
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +18 -0
  105. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +57 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +18 -0
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +57 -1
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +18 -0
  112. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  113. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  114. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +28 -0
  115. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +14 -0
  116. data/generated/google/apis/cloudshell_v1alpha1/service.rb +37 -0
  117. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -2
  118. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +167 -103
  119. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +18 -0
  120. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -21
  121. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  122. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  124. data/generated/google/apis/{spectrum_v1explorer.rb → composer_v1.rb} +12 -9
  125. data/generated/google/apis/composer_v1/classes.rb +640 -0
  126. data/generated/google/apis/composer_v1/representations.rb +195 -0
  127. data/generated/google/apis/composer_v1/service.rb +462 -0
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +13 -10
  130. data/generated/google/apis/composer_v1beta1/service.rb +6 -6
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +5135 -4250
  133. data/generated/google/apis/compute_alpha/representations.rb +644 -216
  134. data/generated/google/apis/compute_alpha/service.rb +2308 -1655
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +1070 -62
  137. data/generated/google/apis/compute_beta/representations.rb +435 -0
  138. data/generated/google/apis/compute_beta/service.rb +1758 -321
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +1984 -210
  141. data/generated/google/apis/compute_v1/representations.rb +754 -9
  142. data/generated/google/apis/compute_v1/service.rb +1299 -12
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +43 -0
  145. data/generated/google/apis/container_v1/representations.rb +17 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +193 -231
  148. data/generated/google/apis/container_v1beta1/representations.rb +72 -82
  149. data/generated/google/apis/container_v1beta1/service.rb +0 -112
  150. data/generated/google/apis/content_v2.rb +1 -1
  151. data/generated/google/apis/content_v2/classes.rb +199 -29
  152. data/generated/google/apis/content_v2/representations.rb +59 -0
  153. data/generated/google/apis/content_v2/service.rb +8 -3
  154. data/generated/google/apis/content_v2sandbox.rb +1 -1
  155. data/generated/google/apis/content_v2sandbox/classes.rb +32 -19
  156. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  157. data/generated/google/apis/content_v2sandbox/service.rb +8 -3
  158. data/generated/google/apis/customsearch_v1.rb +1 -1
  159. data/generated/google/apis/customsearch_v1/service.rb +7 -7
  160. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  161. data/generated/google/apis/dataproc_v1beta2/classes.rb +112 -43
  162. data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -0
  163. data/generated/google/apis/datastore_v1.rb +1 -1
  164. data/generated/google/apis/datastore_v1/classes.rb +140 -0
  165. data/generated/google/apis/datastore_v1/representations.rb +65 -0
  166. data/generated/google/apis/datastore_v1/service.rb +74 -0
  167. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  168. data/generated/google/apis/datastore_v1beta1/classes.rb +31 -0
  169. data/generated/google/apis/datastore_v1beta1/representations.rb +17 -0
  170. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  171. data/generated/google/apis/datastore_v1beta3/classes.rb +31 -0
  172. data/generated/google/apis/datastore_v1beta3/representations.rb +17 -0
  173. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  174. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  175. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  176. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  179. data/generated/google/apis/dfareporting_v3_2.rb +40 -0
  180. data/generated/google/apis/dfareporting_v3_2/classes.rb +12297 -0
  181. data/generated/google/apis/dfareporting_v3_2/representations.rb +4397 -0
  182. data/generated/google/apis/dfareporting_v3_2/service.rb +8790 -0
  183. data/generated/google/apis/dialogflow_v2.rb +1 -1
  184. data/generated/google/apis/dialogflow_v2/classes.rb +304 -12
  185. data/generated/google/apis/dialogflow_v2/representations.rb +113 -0
  186. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  187. data/generated/google/apis/dialogflow_v2beta1/classes.rb +656 -26
  188. data/generated/google/apis/dialogflow_v2beta1/representations.rb +248 -0
  189. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -0
  190. data/generated/google/apis/discovery_v1.rb +1 -1
  191. data/generated/google/apis/dlp_v2.rb +1 -1
  192. data/generated/google/apis/dlp_v2/classes.rb +357 -6
  193. data/generated/google/apis/dlp_v2/representations.rb +161 -0
  194. data/generated/google/apis/dlp_v2/service.rb +366 -0
  195. data/generated/google/apis/dns_v1.rb +1 -1
  196. data/generated/google/apis/dns_v1/classes.rb +0 -7
  197. data/generated/google/apis/dns_v1/representations.rb +0 -1
  198. data/generated/google/apis/dns_v1beta2.rb +1 -1
  199. data/generated/google/apis/dns_v1beta2/classes.rb +0 -7
  200. data/generated/google/apis/dns_v1beta2/representations.rb +0 -1
  201. data/generated/google/apis/dns_v2beta1.rb +1 -1
  202. data/generated/google/apis/dns_v2beta1/classes.rb +0 -7
  203. data/generated/google/apis/dns_v2beta1/representations.rb +0 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  206. data/generated/google/apis/drive_v2.rb +1 -1
  207. data/generated/google/apis/drive_v2/service.rb +3 -2
  208. data/generated/google/apis/drive_v3.rb +1 -1
  209. data/generated/google/apis/firestore_v1.rb +37 -0
  210. data/generated/google/apis/firestore_v1/classes.rb +324 -0
  211. data/generated/google/apis/firestore_v1/representations.rb +130 -0
  212. data/generated/google/apis/firestore_v1/service.rb +282 -0
  213. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  214. data/generated/google/apis/firestore_v1beta1/classes.rb +290 -0
  215. data/generated/google/apis/firestore_v1beta1/representations.rb +128 -0
  216. data/generated/google/apis/firestore_v1beta1/service.rb +79 -0
  217. data/generated/google/apis/firestore_v1beta2.rb +37 -0
  218. data/generated/google/apis/firestore_v1beta2/classes.rb +531 -0
  219. data/generated/google/apis/firestore_v1beta2/representations.rb +189 -0
  220. data/generated/google/apis/firestore_v1beta2/service.rb +213 -0
  221. data/generated/google/apis/fitness_v1.rb +1 -1
  222. data/generated/google/apis/fusiontables_v1.rb +1 -1
  223. data/generated/google/apis/fusiontables_v2.rb +1 -1
  224. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  225. data/generated/google/apis/games_management_v1management.rb +1 -1
  226. data/generated/google/apis/games_v1.rb +1 -1
  227. data/generated/google/apis/genomics_v1.rb +1 -1
  228. data/generated/google/apis/genomics_v1/classes.rb +113 -36
  229. data/generated/google/apis/genomics_v1/representations.rb +31 -0
  230. data/generated/google/apis/genomics_v1/service.rb +2 -0
  231. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  232. data/generated/google/apis/genomics_v1alpha2/classes.rb +57 -36
  233. data/generated/google/apis/genomics_v1alpha2/representations.rb +13 -0
  234. data/generated/google/apis/genomics_v1alpha2/service.rb +2 -0
  235. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  236. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -137
  237. data/generated/google/apis/genomics_v2alpha1/representations.rb +50 -0
  238. data/generated/google/apis/genomics_v2alpha1/service.rb +7 -5
  239. data/generated/google/apis/gmail_v1.rb +1 -1
  240. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  241. data/generated/google/apis/groupssettings_v1.rb +1 -1
  242. data/generated/google/apis/iam_v1.rb +1 -1
  243. data/generated/google/apis/iam_v1/classes.rb +258 -3
  244. data/generated/google/apis/iam_v1/representations.rb +73 -0
  245. data/generated/google/apis/iam_v1/service.rb +50 -2
  246. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  247. data/generated/google/apis/iamcredentials_v1/classes.rb +2 -2
  248. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  249. data/generated/google/apis/iap_v1beta1.rb +34 -0
  250. data/generated/google/apis/iap_v1beta1/classes.rb +440 -0
  251. data/generated/google/apis/iap_v1beta1/representations.rb +158 -0
  252. data/generated/google/apis/iap_v1beta1/service.rb +398 -0
  253. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  254. data/generated/google/apis/jobs_v2.rb +3 -3
  255. data/generated/google/apis/jobs_v2/classes.rb +61 -5
  256. data/generated/google/apis/jobs_v2/representations.rb +18 -0
  257. data/generated/google/apis/jobs_v2/service.rb +3 -3
  258. data/generated/google/apis/licensing_v1.rb +1 -1
  259. data/generated/google/apis/logging_v2.rb +2 -2
  260. data/generated/google/apis/logging_v2/classes.rb +64 -58
  261. data/generated/google/apis/logging_v2/representations.rb +1 -0
  262. data/generated/google/apis/logging_v2/service.rb +39 -40
  263. data/generated/google/apis/logging_v2beta1.rb +2 -2
  264. data/generated/google/apis/logging_v2beta1/classes.rb +59 -53
  265. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  266. data/generated/google/apis/logging_v2beta1/service.rb +15 -16
  267. data/generated/google/apis/mirror_v1.rb +1 -1
  268. data/generated/google/apis/ml_v1.rb +1 -1
  269. data/generated/google/apis/ml_v1/classes.rb +87 -0
  270. data/generated/google/apis/ml_v1/representations.rb +34 -0
  271. data/generated/google/apis/ml_v1/service.rb +53 -0
  272. data/generated/google/apis/monitoring_v3.rb +1 -1
  273. data/generated/google/apis/monitoring_v3/classes.rb +68 -15
  274. data/generated/google/apis/monitoring_v3/representations.rb +26 -0
  275. data/generated/google/apis/mybusiness_v3/classes.rb +1 -1
  276. data/generated/google/apis/oauth2_v1.rb +1 -1
  277. data/generated/google/apis/oauth2_v2.rb +1 -1
  278. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  279. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  280. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  281. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  282. data/generated/google/apis/plus_domains_v1.rb +1 -1
  283. data/generated/google/apis/plus_v1.rb +1 -1
  284. data/generated/google/apis/poly_v1.rb +4 -3
  285. data/generated/google/apis/poly_v1/classes.rb +28 -0
  286. data/generated/google/apis/poly_v1/representations.rb +15 -0
  287. data/generated/google/apis/poly_v1/service.rb +3 -2
  288. data/generated/google/apis/pubsub_v1.rb +1 -1
  289. data/generated/google/apis/pubsub_v1/classes.rb +63 -8
  290. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  291. data/generated/google/apis/pubsub_v1/service.rb +7 -8
  292. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  293. data/generated/google/apis/pubsub_v1beta2/classes.rb +56 -0
  294. data/generated/google/apis/pubsub_v1beta2/representations.rb +18 -0
  295. data/generated/google/apis/redis_v1beta1.rb +2 -2
  296. data/generated/google/apis/redis_v1beta1/classes.rb +38 -119
  297. data/generated/google/apis/redis_v1beta1/representations.rb +10 -43
  298. data/generated/google/apis/redis_v1beta1/service.rb +73 -1
  299. data/generated/google/apis/replicapool_v1beta1.rb +1 -1
  300. data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
  301. data/generated/google/apis/reseller_v1.rb +1 -1
  302. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  303. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +57 -1
  304. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +18 -0
  305. data/generated/google/apis/script_v1.rb +1 -1
  306. data/generated/google/apis/script_v1/classes.rb +1 -57
  307. data/generated/google/apis/script_v1/representations.rb +0 -32
  308. data/generated/google/apis/servicebroker_v1.rb +1 -1
  309. data/generated/google/apis/servicebroker_v1/classes.rb +56 -1
  310. data/generated/google/apis/servicebroker_v1/representations.rb +18 -0
  311. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  312. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +56 -1
  313. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +18 -0
  314. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  315. data/generated/google/apis/servicebroker_v1beta1/classes.rb +56 -1
  316. data/generated/google/apis/servicebroker_v1beta1/representations.rb +18 -0
  317. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  318. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +13 -4
  319. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  320. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  321. data/generated/google/apis/servicecontrol_v1/classes.rb +259 -0
  322. data/generated/google/apis/servicecontrol_v1/representations.rb +68 -0
  323. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  324. data/generated/google/apis/servicemanagement_v1/classes.rb +68 -4
  325. data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
  326. data/generated/google/apis/serviceusage_v1.rb +1 -1
  327. data/generated/google/apis/serviceusage_v1/classes.rb +13 -4
  328. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  329. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  330. data/generated/google/apis/serviceusage_v1beta1/classes.rb +13 -4
  331. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  332. data/generated/google/apis/serviceuser_v1.rb +1 -1
  333. data/generated/google/apis/serviceuser_v1/classes.rb +12 -3
  334. data/generated/google/apis/serviceuser_v1/representations.rb +1 -0
  335. data/generated/google/apis/sheets_v4.rb +1 -1
  336. data/generated/google/apis/sheets_v4/classes.rb +22 -22
  337. data/generated/google/apis/site_verification_v1.rb +1 -1
  338. data/generated/google/apis/slides_v1.rb +1 -1
  339. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  340. data/generated/google/apis/sourcerepo_v1/classes.rb +56 -1
  341. data/generated/google/apis/sourcerepo_v1/representations.rb +18 -0
  342. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  343. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1632 -0
  344. data/generated/google/apis/sqladmin_v1beta3/representations.rb +733 -0
  345. data/generated/google/apis/sqladmin_v1beta3/service.rb +995 -0
  346. data/generated/google/apis/sqladmin_v1beta4.rb +4 -4
  347. data/generated/google/apis/sqladmin_v1beta4/classes.rb +30 -14
  348. data/generated/google/apis/sqladmin_v1beta4/service.rb +7 -7
  349. data/generated/google/apis/storage_v1.rb +1 -1
  350. data/generated/google/apis/storage_v1beta1.rb +1 -1
  351. data/generated/google/apis/storage_v1beta2.rb +1 -1
  352. data/generated/google/apis/surveys_v2.rb +1 -1
  353. data/generated/google/apis/tagmanager_v1.rb +1 -1
  354. data/generated/google/apis/tagmanager_v2.rb +1 -1
  355. data/generated/google/apis/tasks_v1.rb +1 -1
  356. data/generated/google/apis/testing_v1.rb +1 -1
  357. data/generated/google/apis/testing_v1/classes.rb +2 -2
  358. data/generated/google/apis/texttospeech_v1.rb +34 -0
  359. data/generated/google/apis/texttospeech_v1/classes.rb +278 -0
  360. data/generated/google/apis/texttospeech_v1/representations.rb +133 -0
  361. data/generated/google/apis/texttospeech_v1/service.rb +127 -0
  362. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  363. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -2
  364. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  365. data/generated/google/apis/toolresults_v1beta3/classes.rb +0 -12
  366. data/generated/google/apis/toolresults_v1beta3/representations.rb +0 -2
  367. data/generated/google/apis/tpu_v1.rb +1 -1
  368. data/generated/google/apis/tpu_v1/classes.rb +0 -13
  369. data/generated/google/apis/tpu_v1/representations.rb +0 -12
  370. data/generated/google/apis/tpu_v1/service.rb +0 -33
  371. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  372. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -13
  373. data/generated/google/apis/tpu_v1alpha1/representations.rb +0 -12
  374. data/generated/google/apis/tpu_v1alpha1/service.rb +0 -33
  375. data/generated/google/apis/urlshortener_v1.rb +1 -1
  376. data/generated/google/apis/vault_v1.rb +1 -1
  377. data/generated/google/apis/vault_v1/classes.rb +803 -0
  378. data/generated/google/apis/vault_v1/representations.rb +384 -0
  379. data/generated/google/apis/vault_v1/service.rb +211 -0
  380. data/generated/google/apis/vision_v1.rb +1 -1
  381. data/generated/google/apis/vision_v1/classes.rb +3342 -227
  382. data/generated/google/apis/vision_v1/representations.rb +1696 -365
  383. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  384. data/generated/google/apis/vision_v1p1beta1/classes.rb +1826 -94
  385. data/generated/google/apis/vision_v1p1beta1/representations.rb +754 -1
  386. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  387. data/generated/google/apis/vision_v1p2beta1/classes.rb +3712 -597
  388. data/generated/google/apis/vision_v1p2beta1/representations.rb +1606 -275
  389. data/generated/google/apis/webfonts_v1.rb +1 -1
  390. data/generated/google/apis/webmasters_v3.rb +1 -1
  391. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  392. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +58 -2
  393. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +32 -0
  394. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  395. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  396. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  397. data/generated/google/apis/youtube_v3.rb +1 -1
  398. data/lib/google/apis/core/http_command.rb +1 -1
  399. data/lib/google/apis/version.rb +1 -1
  400. metadata +34 -6
  401. data/generated/google/apis/spectrum_v1explorer/classes.rb +0 -1612
  402. data/generated/google/apis/spectrum_v1explorer/representations.rb +0 -611
  403. data/generated/google/apis/spectrum_v1explorer/service.rb +0 -271
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class ClusterAutoscaling
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class ClusterUpdate
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -106,42 +112,6 @@ module Google
106
112
  include Google::Apis::Core::JsonObjectSupport
107
113
  end
108
114
 
109
- class GoogleIamV1Binding
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
- class GoogleIamV1GetIamPolicyRequest
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
117
-
118
- include Google::Apis::Core::JsonObjectSupport
119
- end
120
-
121
- class GoogleIamV1Policy
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
- class GoogleIamV1SetIamPolicyRequest
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
132
-
133
- class GoogleIamV1TestIamPermissionsRequest
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
137
- end
138
-
139
- class GoogleIamV1TestIamPermissionsResponse
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
141
-
142
- include Google::Apis::Core::JsonObjectSupport
143
- end
144
-
145
115
  class HorizontalPodAutoscaling
146
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
117
 
@@ -232,6 +202,12 @@ module Google
232
202
  include Google::Apis::Core::JsonObjectSupport
233
203
  end
234
204
 
205
+ class MaxPodsConstraint
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
235
211
  class Metric
236
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
213
 
@@ -304,6 +280,18 @@ module Google
304
280
  include Google::Apis::Core::JsonObjectSupport
305
281
  end
306
282
 
283
+ class PrivateClusterConfig
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class ResourceLimit
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
307
295
  class RollbackNodePoolUpgradeRequest
308
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
297
 
@@ -491,6 +479,8 @@ module Google
491
479
  class Representation < Google::Apis::Core::JsonRepresentation
492
480
  property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1beta1::AddonsConfig, decorator: Google::Apis::ContainerV1beta1::AddonsConfig::Representation
493
481
 
482
+ property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1beta1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1beta1::ClusterAutoscaling::Representation
483
+
494
484
  property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation
495
485
 
496
486
  property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
@@ -498,6 +488,8 @@ module Google
498
488
  property :current_master_version, as: 'currentMasterVersion'
499
489
  property :current_node_count, as: 'currentNodeCount'
500
490
  property :current_node_version, as: 'currentNodeVersion'
491
+ property :default_max_pods_constraint, as: 'defaultMaxPodsConstraint', class: Google::Apis::ContainerV1beta1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1beta1::MaxPodsConstraint::Representation
492
+
501
493
  property :description, as: 'description'
502
494
  property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
503
495
  property :enable_tpu, as: 'enableTpu'
@@ -536,6 +528,8 @@ module Google
536
528
  property :pod_security_policy_config, as: 'podSecurityPolicyConfig', class: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig, decorator: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig::Representation
537
529
 
538
530
  property :private_cluster, as: 'privateCluster'
531
+ property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ContainerV1beta1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1beta1::PrivateClusterConfig::Representation
532
+
539
533
  hash :resource_labels, as: 'resourceLabels'
540
534
  property :self_link, as: 'selfLink'
541
535
  property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
@@ -547,6 +541,15 @@ module Google
547
541
  end
548
542
  end
549
543
 
544
+ class ClusterAutoscaling
545
+ # @private
546
+ class Representation < Google::Apis::Core::JsonRepresentation
547
+ property :enable_node_autoprovisioning, as: 'enableNodeAutoprovisioning'
548
+ collection :resource_limits, as: 'resourceLimits', class: Google::Apis::ContainerV1beta1::ResourceLimit, decorator: Google::Apis::ContainerV1beta1::ResourceLimit::Representation
549
+
550
+ end
551
+ end
552
+
550
553
  class ClusterUpdate
551
554
  # @private
552
555
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -554,8 +557,11 @@ module Google
554
557
 
555
558
  property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation
556
559
 
560
+ property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1beta1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1beta1::ClusterAutoscaling::Representation
561
+
557
562
  property :desired_image_type, as: 'desiredImageType'
558
563
  collection :desired_locations, as: 'desiredLocations'
564
+ property :desired_logging_service, as: 'desiredLoggingService'
559
565
  property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation
560
566
 
561
567
  property :desired_master_version, as: 'desiredMasterVersion'
@@ -616,52 +622,6 @@ module Google
616
622
  end
617
623
  end
618
624
 
619
- class GoogleIamV1Binding
620
- # @private
621
- class Representation < Google::Apis::Core::JsonRepresentation
622
- collection :members, as: 'members'
623
- property :role, as: 'role'
624
- end
625
- end
626
-
627
- class GoogleIamV1GetIamPolicyRequest
628
- # @private
629
- class Representation < Google::Apis::Core::JsonRepresentation
630
- end
631
- end
632
-
633
- class GoogleIamV1Policy
634
- # @private
635
- class Representation < Google::Apis::Core::JsonRepresentation
636
- collection :bindings, as: 'bindings', class: Google::Apis::ContainerV1beta1::GoogleIamV1Binding, decorator: Google::Apis::ContainerV1beta1::GoogleIamV1Binding::Representation
637
-
638
- property :etag, :base64 => true, as: 'etag'
639
- property :version, as: 'version'
640
- end
641
- end
642
-
643
- class GoogleIamV1SetIamPolicyRequest
644
- # @private
645
- class Representation < Google::Apis::Core::JsonRepresentation
646
- property :policy, as: 'policy', class: Google::Apis::ContainerV1beta1::GoogleIamV1Policy, decorator: Google::Apis::ContainerV1beta1::GoogleIamV1Policy::Representation
647
-
648
- end
649
- end
650
-
651
- class GoogleIamV1TestIamPermissionsRequest
652
- # @private
653
- class Representation < Google::Apis::Core::JsonRepresentation
654
- collection :permissions, as: 'permissions'
655
- end
656
- end
657
-
658
- class GoogleIamV1TestIamPermissionsResponse
659
- # @private
660
- class Representation < Google::Apis::Core::JsonRepresentation
661
- collection :permissions, as: 'permissions'
662
- end
663
- end
664
-
665
625
  class HorizontalPodAutoscaling
666
626
  # @private
667
627
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -800,6 +760,13 @@ module Google
800
760
  end
801
761
  end
802
762
 
763
+ class MaxPodsConstraint
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ property :max_pods_per_node, :numeric_string => true, as: 'maxPodsPerNode'
767
+ end
768
+ end
769
+
803
770
  class Metric
804
771
  # @private
805
772
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -878,6 +845,8 @@ module Google
878
845
  collection :instance_group_urls, as: 'instanceGroupUrls'
879
846
  property :management, as: 'management', class: Google::Apis::ContainerV1beta1::NodeManagement, decorator: Google::Apis::ContainerV1beta1::NodeManagement::Representation
880
847
 
848
+ property :max_pods_constraint, as: 'maxPodsConstraint', class: Google::Apis::ContainerV1beta1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1beta1::MaxPodsConstraint::Representation
849
+
881
850
  property :name, as: 'name'
882
851
  property :self_link, as: 'selfLink'
883
852
  property :status, as: 'status'
@@ -889,6 +858,7 @@ module Google
889
858
  class NodePoolAutoscaling
890
859
  # @private
891
860
  class Representation < Google::Apis::Core::JsonRepresentation
861
+ property :autoprovisioned, as: 'autoprovisioned'
892
862
  property :enabled, as: 'enabled'
893
863
  property :max_node_count, as: 'maxNodeCount'
894
864
  property :min_node_count, as: 'minNodeCount'
@@ -942,6 +912,26 @@ module Google
942
912
  end
943
913
  end
944
914
 
915
+ class PrivateClusterConfig
916
+ # @private
917
+ class Representation < Google::Apis::Core::JsonRepresentation
918
+ property :enable_private_endpoint, as: 'enablePrivateEndpoint'
919
+ property :enable_private_nodes, as: 'enablePrivateNodes'
920
+ property :master_ipv4_cidr_block, as: 'masterIpv4CidrBlock'
921
+ property :private_endpoint, as: 'privateEndpoint'
922
+ property :public_endpoint, as: 'publicEndpoint'
923
+ end
924
+ end
925
+
926
+ class ResourceLimit
927
+ # @private
928
+ class Representation < Google::Apis::Core::JsonRepresentation
929
+ property :maximum, :numeric_string => true, as: 'maximum'
930
+ property :minimum, :numeric_string => true, as: 'minimum'
931
+ property :resource_type, as: 'resourceType'
932
+ end
933
+ end
934
+
945
935
  class RollbackNodePoolUpgradeRequest
946
936
  # @private
947
937
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -48,118 +48,6 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
- # Gets the access control policy for a resource. Returns NOT_FOUND error if
52
- # the resource does not exist. Returns an empty policy if the resource exists
53
- # but does not have a policy set.
54
- # Authorization requires the Google IAM permission
55
- # `container.clusters.getIamPolicy` on the specified resource.
56
- # @param [String] resource
57
- # REQUIRED: The resource for which the policy is being requested.
58
- # See the operation documentation for the appropriate value for this field.
59
- # @param [Google::Apis::ContainerV1beta1::GoogleIamV1GetIamPolicyRequest] google_iam_v1_get_iam_policy_request_object
60
- # @param [String] fields
61
- # Selector specifying which fields to include in a partial response.
62
- # @param [String] quota_user
63
- # Available to use for quota purposes for server-side applications. Can be any
64
- # arbitrary string assigned to a user, but should not exceed 40 characters.
65
- # @param [Google::Apis::RequestOptions] options
66
- # Request-specific options
67
- #
68
- # @yield [result, err] Result & error if block supplied
69
- # @yieldparam result [Google::Apis::ContainerV1beta1::GoogleIamV1Policy] parsed result object
70
- # @yieldparam err [StandardError] error object if request failed
71
- #
72
- # @return [Google::Apis::ContainerV1beta1::GoogleIamV1Policy]
73
- #
74
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
75
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
76
- # @raise [Google::Apis::AuthorizationError] Authorization is required
77
- def get_project_iam_policy(resource, google_iam_v1_get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
78
- command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
79
- command.request_representation = Google::Apis::ContainerV1beta1::GoogleIamV1GetIamPolicyRequest::Representation
80
- command.request_object = google_iam_v1_get_iam_policy_request_object
81
- command.response_representation = Google::Apis::ContainerV1beta1::GoogleIamV1Policy::Representation
82
- command.response_class = Google::Apis::ContainerV1beta1::GoogleIamV1Policy
83
- command.params['resource'] = resource unless resource.nil?
84
- command.query['fields'] = fields unless fields.nil?
85
- command.query['quotaUser'] = quota_user unless quota_user.nil?
86
- execute_or_queue_command(command, &block)
87
- end
88
-
89
- # Sets the access control policy for a resource. Replaces any existing
90
- # policy.
91
- # Authorization requires the Google IAM permission
92
- # 'container.clusters.setIamPolicy' on the specified resource.
93
- # @param [String] resource
94
- # REQUIRED: The resource for which the policy is being specified.
95
- # See the operation documentation for the appropriate value for this field.
96
- # @param [Google::Apis::ContainerV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
97
- # @param [String] fields
98
- # Selector specifying which fields to include in a partial response.
99
- # @param [String] quota_user
100
- # Available to use for quota purposes for server-side applications. Can be any
101
- # arbitrary string assigned to a user, but should not exceed 40 characters.
102
- # @param [Google::Apis::RequestOptions] options
103
- # Request-specific options
104
- #
105
- # @yield [result, err] Result & error if block supplied
106
- # @yieldparam result [Google::Apis::ContainerV1beta1::GoogleIamV1Policy] parsed result object
107
- # @yieldparam err [StandardError] error object if request failed
108
- #
109
- # @return [Google::Apis::ContainerV1beta1::GoogleIamV1Policy]
110
- #
111
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113
- # @raise [Google::Apis::AuthorizationError] Authorization is required
114
- def set_project_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
115
- command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
116
- command.request_representation = Google::Apis::ContainerV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
117
- command.request_object = google_iam_v1_set_iam_policy_request_object
118
- command.response_representation = Google::Apis::ContainerV1beta1::GoogleIamV1Policy::Representation
119
- command.response_class = Google::Apis::ContainerV1beta1::GoogleIamV1Policy
120
- command.params['resource'] = resource unless resource.nil?
121
- command.query['fields'] = fields unless fields.nil?
122
- command.query['quotaUser'] = quota_user unless quota_user.nil?
123
- execute_or_queue_command(command, &block)
124
- end
125
-
126
- # Returns permissions that a caller has on the specified resource.
127
- # If the resource does not exist, this will return an empty set of
128
- # permissions, not a NOT_FOUND error.
129
- # There is no permission required to make this API call.
130
- # @param [String] resource
131
- # REQUIRED: The resource for which the policy detail is being requested.
132
- # See the operation documentation for the appropriate value for this field.
133
- # @param [Google::Apis::ContainerV1beta1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
134
- # @param [String] fields
135
- # Selector specifying which fields to include in a partial response.
136
- # @param [String] quota_user
137
- # Available to use for quota purposes for server-side applications. Can be any
138
- # arbitrary string assigned to a user, but should not exceed 40 characters.
139
- # @param [Google::Apis::RequestOptions] options
140
- # Request-specific options
141
- #
142
- # @yield [result, err] Result & error if block supplied
143
- # @yieldparam result [Google::Apis::ContainerV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
144
- # @yieldparam err [StandardError] error object if request failed
145
- #
146
- # @return [Google::Apis::ContainerV1beta1::GoogleIamV1TestIamPermissionsResponse]
147
- #
148
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
149
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
150
- # @raise [Google::Apis::AuthorizationError] Authorization is required
151
- def test_project_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
152
- command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
153
- command.request_representation = Google::Apis::ContainerV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation
154
- command.request_object = google_iam_v1_test_iam_permissions_request_object
155
- command.response_representation = Google::Apis::ContainerV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
156
- command.response_class = Google::Apis::ContainerV1beta1::GoogleIamV1TestIamPermissionsResponse
157
- command.params['resource'] = resource unless resource.nil?
158
- command.query['fields'] = fields unless fields.nil?
159
- command.query['quotaUser'] = quota_user unless quota_user.nil?
160
- execute_or_queue_command(command, &block)
161
- end
162
-
163
51
  # Lists subnetworks that are usable for creating clusters in a project.
164
52
  # @param [String] parent
165
53
  # The parent project where subnetworks are usable.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
29
- REVISION = ''
29
+ REVISION = '20180809'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -42,7 +42,7 @@ module Google
42
42
  attr_accessor :adwords_links
43
43
 
44
44
  # The GMB account which is linked or in the process of being linked with the
45
- # Merchant Center accounnt.
45
+ # Merchant Center account.
46
46
  # Corresponds to the JSON property `googleMyBusinessLink`
47
47
  # @return [Google::Apis::ContentV2::AccountGoogleMyBusinessLink]
48
48
  attr_accessor :google_my_business_link
@@ -225,6 +225,12 @@ module Google
225
225
  # @return [String]
226
226
  attr_accessor :kind
227
227
 
228
+ # List of product-related data by channel, destination, and country. Data in
229
+ # this field may be delayed by up to 30 minutes.
230
+ # Corresponds to the JSON property `products`
231
+ # @return [Array<Google::Apis::ContentV2::AccountStatusProducts>]
232
+ attr_accessor :products
233
+
228
234
  # Whether the account's website is claimed or not.
229
235
  # Corresponds to the JSON property `websiteClaimed`
230
236
  # @return [Boolean]
@@ -241,6 +247,7 @@ module Google
241
247
  @account_level_issues = args[:account_level_issues] if args.key?(:account_level_issues)
242
248
  @data_quality_issues = args[:data_quality_issues] if args.key?(:data_quality_issues)
243
249
  @kind = args[:kind] if args.key?(:kind)
250
+ @products = args[:products] if args.key?(:products)
244
251
  @website_claimed = args[:website_claimed] if args.key?(:website_claimed)
245
252
  end
246
253
  end
@@ -417,6 +424,147 @@ module Google
417
424
  end
418
425
  end
419
426
 
427
+ #
428
+ class AccountStatusItemLevelIssue
429
+ include Google::Apis::Core::Hashable
430
+
431
+ # The attribute's name, if the issue is caused by a single attribute.
432
+ # Corresponds to the JSON property `attributeName`
433
+ # @return [String]
434
+ attr_accessor :attribute_name
435
+
436
+ # The error code of the issue.
437
+ # Corresponds to the JSON property `code`
438
+ # @return [String]
439
+ attr_accessor :code
440
+
441
+ # A short issue description in English.
442
+ # Corresponds to the JSON property `description`
443
+ # @return [String]
444
+ attr_accessor :description
445
+
446
+ # A detailed issue description in English.
447
+ # Corresponds to the JSON property `detail`
448
+ # @return [String]
449
+ attr_accessor :detail
450
+
451
+ # The URL of a web page to help with resolving this issue.
452
+ # Corresponds to the JSON property `documentation`
453
+ # @return [String]
454
+ attr_accessor :documentation
455
+
456
+ # Number of items with this issue.
457
+ # Corresponds to the JSON property `numItems`
458
+ # @return [Fixnum]
459
+ attr_accessor :num_items
460
+
461
+ # Whether the issue can be resolved by the merchant.
462
+ # Corresponds to the JSON property `resolution`
463
+ # @return [String]
464
+ attr_accessor :resolution
465
+
466
+ # How this issue affects serving of the offer.
467
+ # Corresponds to the JSON property `servability`
468
+ # @return [String]
469
+ attr_accessor :servability
470
+
471
+ def initialize(**args)
472
+ update!(**args)
473
+ end
474
+
475
+ # Update properties of this object
476
+ def update!(**args)
477
+ @attribute_name = args[:attribute_name] if args.key?(:attribute_name)
478
+ @code = args[:code] if args.key?(:code)
479
+ @description = args[:description] if args.key?(:description)
480
+ @detail = args[:detail] if args.key?(:detail)
481
+ @documentation = args[:documentation] if args.key?(:documentation)
482
+ @num_items = args[:num_items] if args.key?(:num_items)
483
+ @resolution = args[:resolution] if args.key?(:resolution)
484
+ @servability = args[:servability] if args.key?(:servability)
485
+ end
486
+ end
487
+
488
+ #
489
+ class AccountStatusProducts
490
+ include Google::Apis::Core::Hashable
491
+
492
+ # The channel the data applies to.
493
+ # Corresponds to the JSON property `channel`
494
+ # @return [String]
495
+ attr_accessor :channel
496
+
497
+ # The country the data applies to.
498
+ # Corresponds to the JSON property `country`
499
+ # @return [String]
500
+ attr_accessor :country
501
+
502
+ # The destination the data applies to.
503
+ # Corresponds to the JSON property `destination`
504
+ # @return [String]
505
+ attr_accessor :destination
506
+
507
+ # List of item-level issues.
508
+ # Corresponds to the JSON property `itemLevelIssues`
509
+ # @return [Array<Google::Apis::ContentV2::AccountStatusItemLevelIssue>]
510
+ attr_accessor :item_level_issues
511
+
512
+ # Aggregated product statistics.
513
+ # Corresponds to the JSON property `statistics`
514
+ # @return [Google::Apis::ContentV2::AccountStatusStatistics]
515
+ attr_accessor :statistics
516
+
517
+ def initialize(**args)
518
+ update!(**args)
519
+ end
520
+
521
+ # Update properties of this object
522
+ def update!(**args)
523
+ @channel = args[:channel] if args.key?(:channel)
524
+ @country = args[:country] if args.key?(:country)
525
+ @destination = args[:destination] if args.key?(:destination)
526
+ @item_level_issues = args[:item_level_issues] if args.key?(:item_level_issues)
527
+ @statistics = args[:statistics] if args.key?(:statistics)
528
+ end
529
+ end
530
+
531
+ #
532
+ class AccountStatusStatistics
533
+ include Google::Apis::Core::Hashable
534
+
535
+ # Number of active offers.
536
+ # Corresponds to the JSON property `active`
537
+ # @return [Fixnum]
538
+ attr_accessor :active
539
+
540
+ # Number of disapproved offers.
541
+ # Corresponds to the JSON property `disapproved`
542
+ # @return [Fixnum]
543
+ attr_accessor :disapproved
544
+
545
+ # Number of expiring offers.
546
+ # Corresponds to the JSON property `expiring`
547
+ # @return [Fixnum]
548
+ attr_accessor :expiring
549
+
550
+ # Number of pending offers.
551
+ # Corresponds to the JSON property `pending`
552
+ # @return [Fixnum]
553
+ attr_accessor :pending
554
+
555
+ def initialize(**args)
556
+ update!(**args)
557
+ end
558
+
559
+ # Update properties of this object
560
+ def update!(**args)
561
+ @active = args[:active] if args.key?(:active)
562
+ @disapproved = args[:disapproved] if args.key?(:disapproved)
563
+ @expiring = args[:expiring] if args.key?(:expiring)
564
+ @pending = args[:pending] if args.key?(:pending)
565
+ end
566
+ end
567
+
420
568
  # The tax settings of a merchant account.
421
569
  class AccountTax
422
570
  include Google::Apis::Core::Hashable
@@ -694,7 +842,8 @@ module Google
694
842
  class AccountsCustomBatchRequestEntryLinkRequest
695
843
  include Google::Apis::Core::Hashable
696
844
 
697
- # Action to perform for this link.
845
+ # Action to perform for this link. The "request" action is only available to
846
+ # select merchants.
698
847
  # Corresponds to the JSON property `action`
699
848
  # @return [String]
700
849
  attr_accessor :action
@@ -795,7 +944,8 @@ module Google
795
944
  class AccountsLinkRequest
796
945
  include Google::Apis::Core::Hashable
797
946
 
798
- # Action to perform for this link.
947
+ # Action to perform for this link. The "request" action is only available to
948
+ # select merchants.
799
949
  # Corresponds to the JSON property `action`
800
950
  # @return [String]
801
951
  attr_accessor :action
@@ -2479,7 +2629,7 @@ module Google
2479
2629
  # @return [String]
2480
2630
  attr_accessor :sale_price_effective_date
2481
2631
 
2482
- # The quantity of the product that is reserved for sell-on-google ads. Supported
2632
+ # The quantity of the product that is available for selling on Google. Supported
2483
2633
  # only for online products.
2484
2634
  # Corresponds to the JSON property `sellOnGoogleQuantity`
2485
2635
  # @return [Fixnum]
@@ -2705,7 +2855,7 @@ module Google
2705
2855
  # @return [String]
2706
2856
  attr_accessor :sale_price_effective_date
2707
2857
 
2708
- # The quantity of the product that is reserved for sell-on-google ads. Supported
2858
+ # The quantity of the product that is available for selling on Google. Supported
2709
2859
  # only for online products.
2710
2860
  # Corresponds to the JSON property `sellOnGoogleQuantity`
2711
2861
  # @return [Fixnum]
@@ -2758,23 +2908,25 @@ module Google
2758
2908
  # @return [Array<Google::Apis::ContentV2::InvoiceSummaryAdditionalChargeSummary>]
2759
2909
  attr_accessor :additional_charge_summaries
2760
2910
 
2761
- # [required] Customer balance on this invoice. A positive amount means the
2762
- # customer is paying, a negative one means the customer is receiving money. Note:
2911
+ # [required] Customer balance on this invoice. A negative amount means the
2912
+ # customer is paying, a positive one means the customer is receiving money. Note:
2763
2913
  # the sum of merchant_balance, customer_balance and google_balance must always
2764
2914
  # be zero.
2915
+ # Furthermore the absolute value of this amount is expected to be equal to the
2916
+ # sum of product amount and additional charges, minus promotions.
2765
2917
  # Corresponds to the JSON property `customerBalance`
2766
2918
  # @return [Google::Apis::ContentV2::Amount]
2767
2919
  attr_accessor :customer_balance
2768
2920
 
2769
- # [required] Google balance on this invoice. A positive amount means Google is
2770
- # paying, a negative one means Google is receiving money. Note: the sum of
2921
+ # [required] Google balance on this invoice. A negative amount means Google is
2922
+ # paying, a positive one means Google is receiving money. Note: the sum of
2771
2923
  # merchant_balance, customer_balance and google_balance must always be zero.
2772
2924
  # Corresponds to the JSON property `googleBalance`
2773
2925
  # @return [Google::Apis::ContentV2::Amount]
2774
2926
  attr_accessor :google_balance
2775
2927
 
2776
- # [required] Merchant balance on this invoice. A positive amount means the
2777
- # merchant is paying, a negative one means the merchant is receiving money. Note:
2928
+ # [required] Merchant balance on this invoice. A negative amount means the
2929
+ # merchant is paying, a positive one means the merchant is receiving money. Note:
2778
2930
  # the sum of merchant_balance, customer_balance and google_balance must always
2779
2931
  # be zero.
2780
2932
  # Corresponds to the JSON property `merchantBalance`
@@ -3611,7 +3763,8 @@ module Google
3611
3763
  # @return [String]
3612
3764
  attr_accessor :recipient_name
3613
3765
 
3614
- # Top-level administrative subdivision of the country (e.g. "CA").
3766
+ # Top-level administrative subdivision of the country. For example, a state like
3767
+ # California ("CA") or a province like Quebec ("QC").
3615
3768
  # Corresponds to the JSON property `region`
3616
3769
  # @return [String]
3617
3770
  attr_accessor :region
@@ -4960,9 +5113,7 @@ module Google
4960
5113
  class OrdersCancelLineItemRequest
4961
5114
  include Google::Apis::Core::Hashable
4962
5115
 
4963
- # Amount to refund for the cancelation. Optional. If not set, Google will
4964
- # calculate the default based on the price and tax of the items involved. The
4965
- # amount must not be larger than the net amount left on the order.
5116
+ # Deprecated. Please use amountPretax and amountTax instead.
4966
5117
  # Corresponds to the JSON property `amount`
4967
5118
  # @return [Google::Apis::ContentV2::Price]
4968
5119
  attr_accessor :amount
@@ -5115,6 +5266,16 @@ module Google
5115
5266
  class OrdersCreateTestOrderRequest
5116
5267
  include Google::Apis::Core::Hashable
5117
5268
 
5269
+ # The CLDR territory code of the country of the test order to create. Affects
5270
+ # the currency and addresses of orders created via template_name, or the
5271
+ # addresses of orders created via test_order.
5272
+ # Acceptable values are:
5273
+ # - "US"
5274
+ # - "FR" Defaults to US.
5275
+ # Corresponds to the JSON property `country`
5276
+ # @return [String]
5277
+ attr_accessor :country
5278
+
5118
5279
  # The test order template to use. Specify as an alternative to testOrder as a
5119
5280
  # shortcut for retrieving a template and then creating an order using that
5120
5281
  # template.
@@ -5133,6 +5294,7 @@ module Google
5133
5294
 
5134
5295
  # Update properties of this object
5135
5296
  def update!(**args)
5297
+ @country = args[:country] if args.key?(:country)
5136
5298
  @template_name = args[:template_name] if args.key?(:template_name)
5137
5299
  @test_order = args[:test_order] if args.key?(:test_order)
5138
5300
  end
@@ -5329,9 +5491,7 @@ module Google
5329
5491
  class OrdersCustomBatchRequestEntryCancelLineItem
5330
5492
  include Google::Apis::Core::Hashable
5331
5493
 
5332
- # Amount to refund for the cancelation. Optional. If not set, Google will
5333
- # calculate the default based on the price and tax of the items involved. The
5334
- # amount must not be larger than the net amount left on the order.
5494
+ # Deprecated. Please use amountPretax and amountTax instead.
5335
5495
  # Corresponds to the JSON property `amount`
5336
5496
  # @return [Google::Apis::ContentV2::Price]
5337
5497
  attr_accessor :amount
@@ -5451,7 +5611,7 @@ module Google
5451
5611
  class OrdersCustomBatchRequestEntryRefund
5452
5612
  include Google::Apis::Core::Hashable
5453
5613
 
5454
- # The amount that is refunded.
5614
+ # Deprecated. Please use amountPretax and amountTax instead.
5455
5615
  # Corresponds to the JSON property `amount`
5456
5616
  # @return [Google::Apis::ContentV2::Price]
5457
5617
  attr_accessor :amount
@@ -5583,7 +5743,8 @@ module Google
5583
5743
  class OrdersCustomBatchRequestEntryReturnRefundLineItem
5584
5744
  include Google::Apis::Core::Hashable
5585
5745
 
5586
- # The amount that is refunded. Optional, but if filled then both amountPretax
5746
+ # The amount that is refunded. If omitted, refundless return is assumed (same as
5747
+ # calling returnLineItem method). Optional, but if filled then both amountPretax
5587
5748
  # and amountTax must be set.
5588
5749
  # Corresponds to the JSON property `amountPretax`
5589
5750
  # @return [Google::Apis::ContentV2::Price]
@@ -5880,8 +6041,9 @@ module Google
5880
6041
  # @return [Google::Apis::ContentV2::Errors]
5881
6042
  attr_accessor :errors
5882
6043
 
5883
- # The status of the execution. Only defined if the method is not get or
5884
- # getByMerchantOrderId and if the request was successful.
6044
+ # The status of the execution. Only defined if
6045
+ # - the request was successful; and
6046
+ # - the method is not get, getByMerchantOrderId, or one of the test methods.
5885
6047
  # Corresponds to the JSON property `executionStatus`
5886
6048
  # @return [String]
5887
6049
  attr_accessor :execution_status
@@ -6088,7 +6250,7 @@ module Google
6088
6250
  class OrdersRefundRequest
6089
6251
  include Google::Apis::Core::Hashable
6090
6252
 
6091
- # The amount that is refunded.
6253
+ # Deprecated. Please use amountPretax and amountTax instead.
6092
6254
  # Corresponds to the JSON property `amount`
6093
6255
  # @return [Google::Apis::ContentV2::Price]
6094
6256
  attr_accessor :amount
@@ -6316,7 +6478,8 @@ module Google
6316
6478
  class OrdersReturnRefundLineItemRequest
6317
6479
  include Google::Apis::Core::Hashable
6318
6480
 
6319
- # The amount that is refunded. Optional, but if filled then both amountPretax
6481
+ # The amount that is refunded. If omitted, refundless return is assumed (same as
6482
+ # calling returnLineItem method). Optional, but if filled then both amountPretax
6320
6483
  # and amountTax must be set.
6321
6484
  # Corresponds to the JSON property `amountPretax`
6322
6485
  # @return [Google::Apis::ContentV2::Price]
@@ -7220,7 +7383,7 @@ module Google
7220
7383
  # @return [Google::Apis::ContentV2::Price]
7221
7384
  attr_accessor :price
7222
7385
 
7223
- # The relative change of the available quantity. Negative for items sold.
7386
+ # The relative change of the available quantity. Negative for items returned.
7224
7387
  # Corresponds to the JSON property `quantity`
7225
7388
  # @return [Fixnum]
7226
7389
  attr_accessor :quantity
@@ -7289,7 +7452,7 @@ module Google
7289
7452
  # @return [Google::Apis::ContentV2::Price]
7290
7453
  attr_accessor :price
7291
7454
 
7292
- # The relative change of the available quantity. Negative for items sold.
7455
+ # The relative change of the available quantity. Negative for items returned.
7293
7456
  # Corresponds to the JSON property `quantity`
7294
7457
  # @return [Fixnum]
7295
7458
  attr_accessor :quantity
@@ -7363,7 +7526,7 @@ module Google
7363
7526
  # @return [Google::Apis::ContentV2::Price]
7364
7527
  attr_accessor :price
7365
7528
 
7366
- # The relative change of the available quantity. Negative for items sold.
7529
+ # The relative change of the available quantity. Negative for items returned.
7367
7530
  # Corresponds to the JSON property `quantity`
7368
7531
  # @return [Fixnum]
7369
7532
  attr_accessor :quantity
@@ -7572,7 +7735,7 @@ module Google
7572
7735
  # @return [String]
7573
7736
  attr_accessor :age_group
7574
7737
 
7575
- # Specifies the intended aspects for the product.
7738
+ # Deprecated. Do not use.
7576
7739
  # Corresponds to the JSON property `aspects`
7577
7740
  # @return [Array<Google::Apis::ContentV2::ProductAspect>]
7578
7741
  attr_accessor :aspects
@@ -7859,7 +8022,8 @@ module Google
7859
8022
  # @return [String]
7860
8023
  attr_accessor :sale_price_effective_date
7861
8024
 
7862
- # The quantity of the product that is reserved for sell-on-google ads.
8025
+ # The quantity of the product that is available for selling on Google. Supported
8026
+ # only for online products.
7863
8027
  # Corresponds to the JSON property `sellOnGoogleQuantity`
7864
8028
  # @return [Fixnum]
7865
8029
  attr_accessor :sell_on_google_quantity
@@ -7910,6 +8074,11 @@ module Google
7910
8074
  # @return [Array<String>]
7911
8075
  attr_accessor :sizes
7912
8076
 
8077
+ # The source of the offer, i.e., how the offer was created.
8078
+ # Corresponds to the JSON property `source`
8079
+ # @return [String]
8080
+ attr_accessor :source
8081
+
7913
8082
  # The CLDR territory code for the item.
7914
8083
  # Corresponds to the JSON property `targetCountry`
7915
8084
  # @return [String]
@@ -8021,6 +8190,7 @@ module Google
8021
8190
  @size_system = args[:size_system] if args.key?(:size_system)
8022
8191
  @size_type = args[:size_type] if args.key?(:size_type)
8023
8192
  @sizes = args[:sizes] if args.key?(:sizes)
8193
+ @source = args[:source] if args.key?(:source)
8024
8194
  @target_country = args[:target_country] if args.key?(:target_country)
8025
8195
  @taxes = args[:taxes] if args.key?(:taxes)
8026
8196
  @title = args[:title] if args.key?(:title)