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,24 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class AccountStatusItemLevelIssue
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class AccountStatusProducts
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class AccountStatusStatistics
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class AccountTax
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
@@ -1528,6 +1546,8 @@ module Google
1528
1546
  collection :data_quality_issues, as: 'dataQualityIssues', class: Google::Apis::ContentV2::AccountStatusDataQualityIssue, decorator: Google::Apis::ContentV2::AccountStatusDataQualityIssue::Representation
1529
1547
 
1530
1548
  property :kind, as: 'kind'
1549
+ collection :products, as: 'products', class: Google::Apis::ContentV2::AccountStatusProducts, decorator: Google::Apis::ContentV2::AccountStatusProducts::Representation
1550
+
1531
1551
  property :website_claimed, as: 'websiteClaimed'
1532
1552
  end
1533
1553
  end
@@ -1573,6 +1593,43 @@ module Google
1573
1593
  end
1574
1594
  end
1575
1595
 
1596
+ class AccountStatusItemLevelIssue
1597
+ # @private
1598
+ class Representation < Google::Apis::Core::JsonRepresentation
1599
+ property :attribute_name, as: 'attributeName'
1600
+ property :code, as: 'code'
1601
+ property :description, as: 'description'
1602
+ property :detail, as: 'detail'
1603
+ property :documentation, as: 'documentation'
1604
+ property :num_items, :numeric_string => true, as: 'numItems'
1605
+ property :resolution, as: 'resolution'
1606
+ property :servability, as: 'servability'
1607
+ end
1608
+ end
1609
+
1610
+ class AccountStatusProducts
1611
+ # @private
1612
+ class Representation < Google::Apis::Core::JsonRepresentation
1613
+ property :channel, as: 'channel'
1614
+ property :country, as: 'country'
1615
+ property :destination, as: 'destination'
1616
+ collection :item_level_issues, as: 'itemLevelIssues', class: Google::Apis::ContentV2::AccountStatusItemLevelIssue, decorator: Google::Apis::ContentV2::AccountStatusItemLevelIssue::Representation
1617
+
1618
+ property :statistics, as: 'statistics', class: Google::Apis::ContentV2::AccountStatusStatistics, decorator: Google::Apis::ContentV2::AccountStatusStatistics::Representation
1619
+
1620
+ end
1621
+ end
1622
+
1623
+ class AccountStatusStatistics
1624
+ # @private
1625
+ class Representation < Google::Apis::Core::JsonRepresentation
1626
+ property :active, :numeric_string => true, as: 'active'
1627
+ property :disapproved, :numeric_string => true, as: 'disapproved'
1628
+ property :expiring, :numeric_string => true, as: 'expiring'
1629
+ property :pending, :numeric_string => true, as: 'pending'
1630
+ end
1631
+ end
1632
+
1576
1633
  class AccountTax
1577
1634
  # @private
1578
1635
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2918,6 +2975,7 @@ module Google
2918
2975
  class OrdersCreateTestOrderRequest
2919
2976
  # @private
2920
2977
  class Representation < Google::Apis::Core::JsonRepresentation
2978
+ property :country, as: 'country'
2921
2979
  property :template_name, as: 'templateName'
2922
2980
  property :test_order, as: 'testOrder', class: Google::Apis::ContentV2::TestOrder, decorator: Google::Apis::ContentV2::TestOrder::Representation
2923
2981
 
@@ -3673,6 +3731,7 @@ module Google
3673
3731
  property :size_system, as: 'sizeSystem'
3674
3732
  property :size_type, as: 'sizeType'
3675
3733
  collection :sizes, as: 'sizes'
3734
+ property :source, as: 'source'
3676
3735
  property :target_country, as: 'targetCountry'
3677
3736
  collection :taxes, as: 'taxes', class: Google::Apis::ContentV2::ProductTax, decorator: Google::Apis::ContentV2::ProductTax::Representation
3678
3737
 
@@ -1790,7 +1790,9 @@ module Google
1790
1790
  end
1791
1791
 
1792
1792
  # Creates a refund invoice for one or more shipment groups, and triggers a
1793
- # refund for non-facilitated payment orders.
1793
+ # refund for non-facilitated payment orders. This can only be used for line
1794
+ # items that have previously been charged using createChargeInvoice. All amounts
1795
+ # (except for the summary) are incremental with respect to the previous invoice.
1794
1796
  # @param [Fixnum] merchant_id
1795
1797
  # The ID of the account that manages the order. This cannot be a multi-client
1796
1798
  # account.
@@ -2299,6 +2301,8 @@ module Google
2299
2301
  # client account.
2300
2302
  # @param [String] template_name
2301
2303
  # The name of the template to retrieve.
2304
+ # @param [String] country
2305
+ # The country of the template to retrieve. Defaults to US.
2302
2306
  # @param [String] fields
2303
2307
  # Selector specifying which fields to include in a partial response.
2304
2308
  # @param [String] quota_user
@@ -2318,12 +2322,13 @@ module Google
2318
2322
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2319
2323
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2320
2324
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2321
- def get_test_order_template(merchant_id, template_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2325
+ def get_test_order_template(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2322
2326
  command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
2323
2327
  command.response_representation = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse::Representation
2324
2328
  command.response_class = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse
2325
2329
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2326
2330
  command.params['templateName'] = template_name unless template_name.nil?
2331
+ command.query['country'] = country unless country.nil?
2327
2332
  command.query['fields'] = fields unless fields.nil?
2328
2333
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2329
2334
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -2442,7 +2447,7 @@ module Google
2442
2447
  execute_or_queue_command(command, &block)
2443
2448
  end
2444
2449
 
2445
- # Refund a portion of the order, up to the full amount paid.
2450
+ # Deprecated, please use returnRefundLineItem instead.
2446
2451
  # @param [Fixnum] merchant_id
2447
2452
  # The ID of the account that manages the order. This cannot be a multi-client
2448
2453
  # account.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2sandbox
28
28
  VERSION = 'V2sandbox'
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'
@@ -118,23 +118,25 @@ module Google
118
118
  # @return [Array<Google::Apis::ContentV2sandbox::InvoiceSummaryAdditionalChargeSummary>]
119
119
  attr_accessor :additional_charge_summaries
120
120
 
121
- # [required] Customer balance on this invoice. A positive amount means the
122
- # customer is paying, a negative one means the customer is receiving money. Note:
121
+ # [required] Customer balance on this invoice. A negative amount means the
122
+ # customer is paying, a positive one means the customer is receiving money. Note:
123
123
  # the sum of merchant_balance, customer_balance and google_balance must always
124
124
  # be zero.
125
+ # Furthermore the absolute value of this amount is expected to be equal to the
126
+ # sum of product amount and additional charges, minus promotions.
125
127
  # Corresponds to the JSON property `customerBalance`
126
128
  # @return [Google::Apis::ContentV2sandbox::Amount]
127
129
  attr_accessor :customer_balance
128
130
 
129
- # [required] Google balance on this invoice. A positive amount means Google is
130
- # paying, a negative one means Google is receiving money. Note: the sum of
131
+ # [required] Google balance on this invoice. A negative amount means Google is
132
+ # paying, a positive one means Google is receiving money. Note: the sum of
131
133
  # merchant_balance, customer_balance and google_balance must always be zero.
132
134
  # Corresponds to the JSON property `googleBalance`
133
135
  # @return [Google::Apis::ContentV2sandbox::Amount]
134
136
  attr_accessor :google_balance
135
137
 
136
- # [required] Merchant balance on this invoice. A positive amount means the
137
- # merchant is paying, a negative one means the merchant is receiving money. Note:
138
+ # [required] Merchant balance on this invoice. A negative amount means the
139
+ # merchant is paying, a positive one means the merchant is receiving money. Note:
138
140
  # the sum of merchant_balance, customer_balance and google_balance must always
139
141
  # be zero.
140
142
  # Corresponds to the JSON property `merchantBalance`
@@ -370,7 +372,8 @@ module Google
370
372
  # @return [String]
371
373
  attr_accessor :recipient_name
372
374
 
373
- # Top-level administrative subdivision of the country (e.g. "CA").
375
+ # Top-level administrative subdivision of the country. For example, a state like
376
+ # California ("CA") or a province like Quebec ("QC").
374
377
  # Corresponds to the JSON property `region`
375
378
  # @return [String]
376
379
  attr_accessor :region
@@ -1719,9 +1722,7 @@ module Google
1719
1722
  class OrdersCancelLineItemRequest
1720
1723
  include Google::Apis::Core::Hashable
1721
1724
 
1722
- # Amount to refund for the cancelation. Optional. If not set, Google will
1723
- # calculate the default based on the price and tax of the items involved. The
1724
- # amount must not be larger than the net amount left on the order.
1725
+ # Deprecated. Please use amountPretax and amountTax instead.
1725
1726
  # Corresponds to the JSON property `amount`
1726
1727
  # @return [Google::Apis::ContentV2sandbox::Price]
1727
1728
  attr_accessor :amount
@@ -1874,6 +1875,16 @@ module Google
1874
1875
  class OrdersCreateTestOrderRequest
1875
1876
  include Google::Apis::Core::Hashable
1876
1877
 
1878
+ # The CLDR territory code of the country of the test order to create. Affects
1879
+ # the currency and addresses of orders created via template_name, or the
1880
+ # addresses of orders created via test_order.
1881
+ # Acceptable values are:
1882
+ # - "US"
1883
+ # - "FR" Defaults to US.
1884
+ # Corresponds to the JSON property `country`
1885
+ # @return [String]
1886
+ attr_accessor :country
1887
+
1877
1888
  # The test order template to use. Specify as an alternative to testOrder as a
1878
1889
  # shortcut for retrieving a template and then creating an order using that
1879
1890
  # template.
@@ -1892,6 +1903,7 @@ module Google
1892
1903
 
1893
1904
  # Update properties of this object
1894
1905
  def update!(**args)
1906
+ @country = args[:country] if args.key?(:country)
1895
1907
  @template_name = args[:template_name] if args.key?(:template_name)
1896
1908
  @test_order = args[:test_order] if args.key?(:test_order)
1897
1909
  end
@@ -2088,9 +2100,7 @@ module Google
2088
2100
  class OrdersCustomBatchRequestEntryCancelLineItem
2089
2101
  include Google::Apis::Core::Hashable
2090
2102
 
2091
- # Amount to refund for the cancelation. Optional. If not set, Google will
2092
- # calculate the default based on the price and tax of the items involved. The
2093
- # amount must not be larger than the net amount left on the order.
2103
+ # Deprecated. Please use amountPretax and amountTax instead.
2094
2104
  # Corresponds to the JSON property `amount`
2095
2105
  # @return [Google::Apis::ContentV2sandbox::Price]
2096
2106
  attr_accessor :amount
@@ -2210,7 +2220,7 @@ module Google
2210
2220
  class OrdersCustomBatchRequestEntryRefund
2211
2221
  include Google::Apis::Core::Hashable
2212
2222
 
2213
- # The amount that is refunded.
2223
+ # Deprecated. Please use amountPretax and amountTax instead.
2214
2224
  # Corresponds to the JSON property `amount`
2215
2225
  # @return [Google::Apis::ContentV2sandbox::Price]
2216
2226
  attr_accessor :amount
@@ -2342,7 +2352,8 @@ module Google
2342
2352
  class OrdersCustomBatchRequestEntryReturnRefundLineItem
2343
2353
  include Google::Apis::Core::Hashable
2344
2354
 
2345
- # The amount that is refunded. Optional, but if filled then both amountPretax
2355
+ # The amount that is refunded. If omitted, refundless return is assumed (same as
2356
+ # calling returnLineItem method). Optional, but if filled then both amountPretax
2346
2357
  # and amountTax must be set.
2347
2358
  # Corresponds to the JSON property `amountPretax`
2348
2359
  # @return [Google::Apis::ContentV2sandbox::Price]
@@ -2639,8 +2650,9 @@ module Google
2639
2650
  # @return [Google::Apis::ContentV2sandbox::Errors]
2640
2651
  attr_accessor :errors
2641
2652
 
2642
- # The status of the execution. Only defined if the method is not get or
2643
- # getByMerchantOrderId and if the request was successful.
2653
+ # The status of the execution. Only defined if
2654
+ # - the request was successful; and
2655
+ # - the method is not get, getByMerchantOrderId, or one of the test methods.
2644
2656
  # Corresponds to the JSON property `executionStatus`
2645
2657
  # @return [String]
2646
2658
  attr_accessor :execution_status
@@ -2847,7 +2859,7 @@ module Google
2847
2859
  class OrdersRefundRequest
2848
2860
  include Google::Apis::Core::Hashable
2849
2861
 
2850
- # The amount that is refunded.
2862
+ # Deprecated. Please use amountPretax and amountTax instead.
2851
2863
  # Corresponds to the JSON property `amount`
2852
2864
  # @return [Google::Apis::ContentV2sandbox::Price]
2853
2865
  attr_accessor :amount
@@ -3075,7 +3087,8 @@ module Google
3075
3087
  class OrdersReturnRefundLineItemRequest
3076
3088
  include Google::Apis::Core::Hashable
3077
3089
 
3078
- # The amount that is refunded. Optional, but if filled then both amountPretax
3090
+ # The amount that is refunded. If omitted, refundless return is assumed (same as
3091
+ # calling returnLineItem method). Optional, but if filled then both amountPretax
3079
3092
  # and amountTax must be set.
3080
3093
  # Corresponds to the JSON property `amountPretax`
3081
3094
  # @return [Google::Apis::ContentV2sandbox::Price]
@@ -1143,6 +1143,7 @@ module Google
1143
1143
  class OrdersCreateTestOrderRequest
1144
1144
  # @private
1145
1145
  class Representation < Google::Apis::Core::JsonRepresentation
1146
+ property :country, as: 'country'
1146
1147
  property :template_name, as: 'templateName'
1147
1148
  property :test_order, as: 'testOrder', class: Google::Apis::ContentV2sandbox::TestOrder, decorator: Google::Apis::ContentV2sandbox::TestOrder::Representation
1148
1149
 
@@ -94,7 +94,9 @@ module Google
94
94
  end
95
95
 
96
96
  # Creates a refund invoice for one or more shipment groups, and triggers a
97
- # refund for non-facilitated payment orders.
97
+ # refund for non-facilitated payment orders. This can only be used for line
98
+ # items that have previously been charged using createChargeInvoice. All amounts
99
+ # (except for the summary) are incremental with respect to the previous invoice.
98
100
  # @param [Fixnum] merchant_id
99
101
  # The ID of the account that manages the order. This cannot be a multi-client
100
102
  # account.
@@ -603,6 +605,8 @@ module Google
603
605
  # client account.
604
606
  # @param [String] template_name
605
607
  # The name of the template to retrieve.
608
+ # @param [String] country
609
+ # The country of the template to retrieve. Defaults to US.
606
610
  # @param [String] fields
607
611
  # Selector specifying which fields to include in a partial response.
608
612
  # @param [String] quota_user
@@ -622,12 +626,13 @@ module Google
622
626
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
623
627
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
624
628
  # @raise [Google::Apis::AuthorizationError] Authorization is required
625
- def gettestordertemplate_order(merchant_id, template_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
629
+ def gettestordertemplate_order(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
626
630
  command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
627
631
  command.response_representation = Google::Apis::ContentV2sandbox::OrdersGetTestOrderTemplateResponse::Representation
628
632
  command.response_class = Google::Apis::ContentV2sandbox::OrdersGetTestOrderTemplateResponse
629
633
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
630
634
  command.params['templateName'] = template_name unless template_name.nil?
635
+ command.query['country'] = country unless country.nil?
631
636
  command.query['fields'] = fields unless fields.nil?
632
637
  command.query['quotaUser'] = quota_user unless quota_user.nil?
633
638
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -746,7 +751,7 @@ module Google
746
751
  execute_or_queue_command(command, &block)
747
752
  end
748
753
 
749
- # Refund a portion of the order, up to the full amount paid.
754
+ # Deprecated, please use returnRefundLineItem instead.
750
755
  # @param [Fixnum] merchant_id
751
756
  # The ID of the account that manages the order. This cannot be a multi-client
752
757
  # account.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/custom-search/v1/using_rest
26
26
  module CustomsearchV1
27
27
  VERSION = 'V1'
28
- REVISION = ''
28
+ REVISION = '20180815'
29
29
  end
30
30
  end
31
31
  end
@@ -87,8 +87,8 @@ module Google
87
87
  # @param [String] img_color_type
88
88
  # Returns black and white, grayscale, or color images: mono, gray, and color.
89
89
  # @param [String] img_dominant_color
90
- # Returns images of a specific dominant color: yellow, green, teal, blue, purple,
91
- # pink, white, gray, black and brown.
90
+ # Returns images of a specific dominant color: red, orange, yellow, green, teal,
91
+ # blue, purple, pink, white, gray, black and brown.
92
92
  # @param [String] img_size
93
93
  # Returns images of a specified size, where size can be one of: icon, small,
94
94
  # medium, large, xlarge, xxlarge, and huge.
@@ -188,9 +188,9 @@ module Google
188
188
  execute_or_queue_command(command, &block)
189
189
  end
190
190
 
191
- # (Closed Beta API) Returns metadata about the search performed, metadata about
192
- # the custom search engine used for the search, and the search results only for
193
- # site-restrict cses.
191
+ # Returns metadata about the search performed, metadata about the custom search
192
+ # engine used for the search, and the search results. Uses a small set of url
193
+ # patterns.
194
194
  # @param [String] q
195
195
  # Query
196
196
  # @param [String] c2coff
@@ -225,8 +225,8 @@ module Google
225
225
  # @param [String] img_color_type
226
226
  # Returns black and white, grayscale, or color images: mono, gray, and color.
227
227
  # @param [String] img_dominant_color
228
- # Returns images of a specific dominant color: yellow, green, teal, blue, purple,
229
- # pink, white, gray, black and brown.
228
+ # Returns images of a specific dominant color: red, orange, yellow, green, teal,
229
+ # blue, purple, pink, white, gray, black and brown.
230
230
  # @param [String] img_size
231
231
  # Returns images of a specified size, where size can be one of: icon, small,
232
232
  # medium, large, xlarge, xxlarge, and huge.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20180702'
28
+ REVISION = '20180803'
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'
@@ -59,6 +59,14 @@ module Google
59
59
  class Binding
60
60
  include Google::Apis::Core::Hashable
61
61
 
62
+ # Represents an expression text. Example:
63
+ # title: "User account presence"
64
+ # description: "Determines whether the request has a user account"
65
+ # expression: "size(request.user) > 0"
66
+ # Corresponds to the JSON property `condition`
67
+ # @return [Google::Apis::DataprocV1beta2::Expr]
68
+ attr_accessor :condition
69
+
62
70
  # Specifies the identities requesting access for a Cloud Platform resource.
63
71
  # members can have the following values:
64
72
  # allUsers: A special identifier that represents anyone who is on the internet;
@@ -89,6 +97,7 @@ module Google
89
97
 
90
98
  # Update properties of this object
91
99
  def update!(**args)
100
+ @condition = args[:condition] if args.key?(:condition)
92
101
  @members = args[:members] if args.key?(:members)
93
102
  @role = args[:role] if args.key?(:role)
94
103
  end
@@ -594,6 +603,51 @@ module Google
594
603
  end
595
604
  end
596
605
 
606
+ # Represents an expression text. Example:
607
+ # title: "User account presence"
608
+ # description: "Determines whether the request has a user account"
609
+ # expression: "size(request.user) > 0"
610
+ class Expr
611
+ include Google::Apis::Core::Hashable
612
+
613
+ # An optional description of the expression. This is a longer text which
614
+ # describes the expression, e.g. when hovered over it in a UI.
615
+ # Corresponds to the JSON property `description`
616
+ # @return [String]
617
+ attr_accessor :description
618
+
619
+ # Textual representation of an expression in Common Expression Language syntax.
620
+ # The application context of the containing message determines which well-known
621
+ # feature set of CEL is supported.
622
+ # Corresponds to the JSON property `expression`
623
+ # @return [String]
624
+ attr_accessor :expression
625
+
626
+ # An optional string indicating the location of the expression for error
627
+ # reporting, e.g. a file name and a position in the file.
628
+ # Corresponds to the JSON property `location`
629
+ # @return [String]
630
+ attr_accessor :location
631
+
632
+ # An optional title for the expression, i.e. a short string describing its
633
+ # purpose. This can be used e.g. in UIs which allow to enter the expression.
634
+ # Corresponds to the JSON property `title`
635
+ # @return [String]
636
+ attr_accessor :title
637
+
638
+ def initialize(**args)
639
+ update!(**args)
640
+ end
641
+
642
+ # Update properties of this object
643
+ def update!(**args)
644
+ @description = args[:description] if args.key?(:description)
645
+ @expression = args[:expression] if args.key?(:expression)
646
+ @location = args[:location] if args.key?(:location)
647
+ @title = args[:title] if args.key?(:title)
648
+ end
649
+ end
650
+
597
651
  # Common config settings for resources of Compute Engine cluster instances,
598
652
  # applicable to all instances in the cluster.
599
653
  class GceClusterConfig
@@ -935,12 +989,7 @@ module Google
935
989
  class InstantiateWorkflowTemplateRequest
936
990
  include Google::Apis::Core::Hashable
937
991
 
938
- # Optional. A tag that prevents multiple concurrent workflow instances with the
939
- # same tag from running. This mitigates risk of concurrent instances started due
940
- # to retries.It is recommended to always set this value to a UUID (https://en.
941
- # wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only
942
- # letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The
943
- # maximum length is 40 characters.
992
+ # Deprecated. Please use request_id field instead.
944
993
  # Corresponds to the JSON property `instanceId`
945
994
  # @return [String]
946
995
  attr_accessor :instance_id
@@ -951,6 +1000,16 @@ module Google
951
1000
  # @return [Hash<String,String>]
952
1001
  attr_accessor :parameters
953
1002
 
1003
+ # Optional. A tag that prevents multiple concurrent workflow instances with the
1004
+ # same tag from running. This mitigates risk of concurrent instances started due
1005
+ # to retries.It is recommended to always set this value to a UUID (https://en.
1006
+ # wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only
1007
+ # letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The
1008
+ # maximum length is 40 characters.
1009
+ # Corresponds to the JSON property `requestId`
1010
+ # @return [String]
1011
+ attr_accessor :request_id
1012
+
954
1013
  # Optional. The version of workflow template to instantiate. If specified, the
955
1014
  # workflow will be instantiated only if the current version of the workflow
956
1015
  # template has the supplied version.This option cannot be used to instantiate a
@@ -967,6 +1026,7 @@ module Google
967
1026
  def update!(**args)
968
1027
  @instance_id = args[:instance_id] if args.key?(:instance_id)
969
1028
  @parameters = args[:parameters] if args.key?(:parameters)
1029
+ @request_id = args[:request_id] if args.key?(:request_id)
970
1030
  @version = args[:version] if args.key?(:version)
971
1031
  end
972
1032
  end
@@ -1912,8 +1972,8 @@ module Google
1912
1972
  include Google::Apis::Core::Hashable
1913
1973
 
1914
1974
  # Required. RE2 regular expressions used to validate the parameter's value. The
1915
- # provided value must match the regexes in its entirety, e.g. substring matches
1916
- # are not enough.
1975
+ # value must match the regex in its entirety (substring matches are not
1976
+ # sufficient).
1917
1977
  # Corresponds to the JSON property `regexes`
1918
1978
  # @return [Array<String>]
1919
1979
  attr_accessor :regexes
@@ -2244,50 +2304,59 @@ module Google
2244
2304
  end
2245
2305
 
2246
2306
  # A configurable parameter that replaces one or more fields in the template.
2307
+ # Parameterizable fields: - Labels - File uris - Job properties - Job arguments -
2308
+ # Script variables - Main class (in HadoopJob and SparkJob) - Zone (in
2309
+ # ClusterSelector)
2247
2310
  class TemplateParameter
2248
2311
  include Google::Apis::Core::Hashable
2249
2312
 
2250
- # Optional. User-friendly description of the parameter. Must not exceed 1024
2251
- # characters.
2313
+ # Optional. Brief description of the parameter. Must not exceed 1024 characters.
2252
2314
  # Corresponds to the JSON property `description`
2253
2315
  # @return [String]
2254
2316
  attr_accessor :description
2255
2317
 
2256
- # Required. Paths to all fields that this parameter replaces. Each field may
2257
- # appear in at most one Parameter's fields list.Field path syntax:A field path
2258
- # is similar to a FieldMask. For example, a field path that references the zone
2259
- # field of the template's cluster selector would look like:placement.
2260
- # clusterSelector.zoneThe only differences between field paths and standard
2261
- # field masks are that:
2262
- # Values in maps can be referenced by key.Example: placement.clusterSelector.
2263
- # clusterLabels'key'
2264
- # Jobs in the jobs list can be referenced by step id.Example: jobs'step-id'.
2265
- # hadoopJob.mainJarFileUri
2266
- # Items in repeated fields can be referenced by zero-based index.Example: jobs'
2267
- # step-id'.sparkJob.args0NOTE: Maps and repeated fields may not be parameterized
2268
- # in their entirety. Only individual map values and items in repeated fields may
2269
- # be referenced. For example, the following field paths are invalid: - placement.
2270
- # clusterSelector.clusterLabels - jobs'step-id'.sparkJob.argsParameterizable
2271
- # fields:Only certain types of fields may be parameterized, specifically: -
2272
- # Labels - File uris - Job properties - Job arguments - Script variables - Main
2273
- # class (in HadoopJob and SparkJob) - Zone (in ClusterSelector)Examples of
2274
- # parameterizable fields:Labels:labels'key' placement.managedCluster.labels'key'
2275
- # placement.clusterSelector.clusterLabels'key' jobs'step-id'.labels'key'File
2276
- # uris:jobs'step-id'.hadoopJob.mainJarFileUri jobs'step-id'.hiveJob.queryFileUri
2277
- # jobs'step-id'.pySparkJob.mainPythonFileUri jobs'step-id'.hadoopJob.
2278
- # jarFileUris0 jobs'step-id'.hadoopJob.archiveUris0 jobs'step-id'.hadoopJob.
2279
- # fileUris0 jobs'step-id'.pySparkJob.pythonFileUris0Other:jobs'step-id'.
2280
- # hadoopJob.properties'key' jobs'step-id'.hadoopJob.args0 jobs'step-id'.hiveJob.
2281
- # scriptVariables'key' jobs'step-id'.hadoopJob.mainJarFileUri placement.
2282
- # clusterSelector.zone
2318
+ # Required. Paths to all fields that the parameter replaces. A field is allowed
2319
+ # to appear in at most one parameter's list of field paths.A field path is
2320
+ # similar in syntax to a google.protobuf.FieldMask. For example, a field path
2321
+ # that references the zone field of a workflow template's cluster selector would
2322
+ # be specified as <code>placement.clusterSelector.zone</code>.Also, field paths
2323
+ # can reference fields using the following syntax:
2324
+ # Values in maps can be referenced by key. Examples<br>
2325
+ # labels'key'
2326
+ # placement.clusterSelector.clusterLabels'key'
2327
+ # placement.managedCluster.labels'key'
2328
+ # placement.clusterSelector.clusterLabels'key'
2329
+ # jobsstep-id.labels'key'
2330
+ # Jobs in the jobs list can be referenced by step-id. Examples:<br>
2331
+ # jobsstep-id.hadoopJob.mainJarFileUri
2332
+ # jobsstep-id.hiveJob.queryFileUri
2333
+ # jobsstep-id.pySparkJob.mainPythonFileUri
2334
+ # jobsstep-id.hadoopJob.jarFileUris0
2335
+ # jobsstep-id.hadoopJob.archiveUris0
2336
+ # jobsstep-id.hadoopJob.fileUris0
2337
+ # jobsstep-id.pySparkJob.pythonFileUris0
2338
+ # Items in repeated fields can be referenced by a zero-based index. Example:<br>
2339
+ # jobsstep-id.sparkJob.args0
2340
+ # Other examples:
2341
+ # jobsstep-id.hadoopJob.properties'key'
2342
+ # jobsstep-id.hadoopJob.args0
2343
+ # jobsstep-id.hiveJob.scriptVariables'key'
2344
+ # jobsstep-id.hadoopJob.mainJarFileUri
2345
+ # placement.clusterSelector.zoneIt may not be possible to parameterize maps and
2346
+ # repeated fields in their entirety since only individual map values and
2347
+ # individual items in repeated fields can be referenced. For example, the
2348
+ # following field paths are invalid:
2349
+ # placement.clusterSelector.clusterLabels
2350
+ # jobsstep-id.sparkJob.args
2283
2351
  # Corresponds to the JSON property `fields`
2284
2352
  # @return [Array<String>]
2285
2353
  attr_accessor :fields
2286
2354
 
2287
- # Required. User-friendly parameter name. This name is used as a key when
2288
- # providing a value for this parameter when the template is instantiated. Must
2289
- # contain only capital letters (A-Z), numbers (0-9), and underscores (_), and
2290
- # must not start with a number. The maximum length is 40 characters.
2355
+ # Required. Parameter name. The parameter name is used as the key, and paired
2356
+ # with the parameter value, which are passed to the template when the template
2357
+ # is instantiated. The name must contain only capital letters (A-Z), numbers (0-
2358
+ # 9), and underscores (_), and must not start with a number. The maximum length
2359
+ # is 40 characters.
2291
2360
  # Corresponds to the JSON property `name`
2292
2361
  # @return [String]
2293
2362
  attr_accessor :name
@@ -2354,7 +2423,7 @@ module Google
2354
2423
  class ValueValidation
2355
2424
  include Google::Apis::Core::Hashable
2356
2425
 
2357
- # Required. List of allowed values for this parameter.
2426
+ # Required. List of allowed values for the parameter.
2358
2427
  # Corresponds to the JSON property `values`
2359
2428
  # @return [Array<String>]
2360
2429
  attr_accessor :values
@@ -2531,7 +2600,7 @@ module Google
2531
2600
  attr_accessor :name
2532
2601
 
2533
2602
  # Optional. Template parameters whose values are substituted into the template.
2534
- # Values for these parameters must be provided when the template is instantiated.
2603
+ # Values for parameters must be provided when the template is instantiated.
2535
2604
  # Corresponds to the JSON property `parameters`
2536
2605
  # @return [Array<Google::Apis::DataprocV1beta2::TemplateParameter>]
2537
2606
  attr_accessor :parameters