google-api-client 0.32.1 → 0.36.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (491) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -3
  9. data/CHANGELOG.md +327 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/docs/api-keys.md +20 -0
  15. data/docs/auth.md +53 -0
  16. data/docs/client-secrets.md +69 -0
  17. data/docs/getting-started.md +340 -0
  18. data/docs/installation.md +0 -0
  19. data/docs/logging.md +34 -0
  20. data/docs/media-upload.md +25 -0
  21. data/docs/oauth-installed.md +191 -0
  22. data/docs/oauth-server.md +135 -0
  23. data/docs/oauth-web.md +280 -0
  24. data/docs/oauth.md +268 -0
  25. data/docs/pagination.md +29 -0
  26. data/docs/performance.md +25 -0
  27. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  28. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  29. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  30. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  31. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  32. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  33. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
  34. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
  35. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  36. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  37. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  38. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  39. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  40. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  41. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  42. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  43. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  44. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  45. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  46. data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
  47. data/generated/google/apis/admin_directory_v1.rb +4 -1
  48. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  49. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  50. data/generated/google/apis/admin_reports_v1.rb +2 -2
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v3/classes.rb +105 -0
  53. data/generated/google/apis/androidpublisher_v3/representations.rb +51 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/appengine_v1/service.rb +10 -6
  56. data/generated/google/apis/appengine_v1.rb +1 -1
  57. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  58. data/generated/google/apis/appengine_v1beta.rb +1 -1
  59. data/generated/google/apis/appsmarket_v2.rb +1 -1
  60. data/generated/google/apis/bigquery_v2/classes.rb +104 -23
  61. data/generated/google/apis/bigquery_v2/representations.rb +37 -0
  62. data/generated/google/apis/bigquery_v2/service.rb +1 -5
  63. data/generated/google/apis/bigquery_v2.rb +1 -1
  64. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
  65. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
  66. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
  68. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  69. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
  70. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  71. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
  74. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  75. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  76. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
  77. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
  78. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +116 -78
  79. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  80. data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
  81. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +63 -30
  83. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  84. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  85. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
  86. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
  87. data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
  88. data/generated/google/apis/billingbudgets_v1beta1.rb +35 -0
  89. data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
  90. data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
  91. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  92. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
  93. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
  94. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  95. data/generated/google/apis/books_v1/classes.rb +20 -0
  96. data/generated/google/apis/books_v1/representations.rb +3 -0
  97. data/generated/google/apis/books_v1.rb +1 -1
  98. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  99. data/generated/google/apis/calendar_v3/service.rb +18 -30
  100. data/generated/google/apis/calendar_v3.rb +1 -1
  101. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  102. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  103. data/generated/google/apis/civicinfo_v2.rb +1 -1
  104. data/generated/google/apis/cloudasset_v1/classes.rb +89 -55
  105. data/generated/google/apis/cloudasset_v1/service.rb +1 -2
  106. data/generated/google/apis/cloudasset_v1.rb +1 -1
  107. data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -40
  108. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudbilling_v1/classes.rb +82 -36
  110. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  111. data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
  112. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  113. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
  114. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  115. data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
  116. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  117. data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
  118. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  119. data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
  120. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  121. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -4
  122. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  123. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  124. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  125. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  126. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  127. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  128. data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
  129. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  130. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
  131. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
  132. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  133. data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
  134. data/generated/google/apis/cloudiot_v1.rb +1 -1
  135. data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
  136. data/generated/google/apis/cloudkms_v1/service.rb +3 -0
  137. data/generated/google/apis/cloudkms_v1.rb +1 -1
  138. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -40
  139. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  140. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +18 -17
  141. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  142. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
  143. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -13
  145. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  146. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  147. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -13
  148. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  149. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  150. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  151. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  152. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  153. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  154. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -132
  155. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
  156. data/generated/google/apis/cloudsearch_v1/service.rb +47 -9
  157. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  158. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  159. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  160. data/generated/google/apis/cloudshell_v1.rb +1 -1
  161. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -1
  162. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
  163. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  164. data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
  165. data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
  166. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  167. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
  168. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  169. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
  170. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  171. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
  172. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  173. data/generated/google/apis/compute_alpha/classes.rb +594 -164
  174. data/generated/google/apis/compute_alpha/representations.rb +110 -2
  175. data/generated/google/apis/compute_alpha/service.rb +1035 -640
  176. data/generated/google/apis/compute_alpha.rb +1 -1
  177. data/generated/google/apis/compute_beta/classes.rb +1070 -276
  178. data/generated/google/apis/compute_beta/representations.rb +284 -0
  179. data/generated/google/apis/compute_beta/service.rb +1242 -532
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_v1/classes.rb +335 -133
  182. data/generated/google/apis/compute_v1/representations.rb +24 -0
  183. data/generated/google/apis/compute_v1/service.rb +759 -473
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/container_v1/classes.rb +410 -83
  186. data/generated/google/apis/container_v1/representations.rb +134 -0
  187. data/generated/google/apis/container_v1/service.rb +119 -119
  188. data/generated/google/apis/container_v1.rb +1 -1
  189. data/generated/google/apis/container_v1beta1/classes.rb +157 -3
  190. data/generated/google/apis/container_v1beta1/representations.rb +38 -0
  191. data/generated/google/apis/container_v1beta1.rb +1 -1
  192. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
  193. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  194. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
  195. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  196. data/generated/google/apis/content_v2/classes.rb +35 -223
  197. data/generated/google/apis/content_v2/representations.rb +0 -115
  198. data/generated/google/apis/content_v2/service.rb +0 -160
  199. data/generated/google/apis/content_v2.rb +1 -1
  200. data/generated/google/apis/content_v2_1/classes.rb +69 -21
  201. data/generated/google/apis/content_v2_1/representations.rb +3 -0
  202. data/generated/google/apis/content_v2_1.rb +1 -1
  203. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
  204. data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
  205. data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
  206. data/generated/google/apis/{cloudbuild_v1alpha1.rb → datacatalog_v1beta1.rb} +10 -9
  207. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
  208. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
  209. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  210. data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
  211. data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
  212. data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
  213. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  214. data/generated/google/apis/dataproc_v1/classes.rb +119 -11
  215. data/generated/google/apis/dataproc_v1/representations.rb +39 -0
  216. data/generated/google/apis/dataproc_v1/service.rb +14 -7
  217. data/generated/google/apis/dataproc_v1.rb +1 -1
  218. data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -11
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +26 -19
  220. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  221. data/generated/google/apis/datastore_v1/service.rb +85 -1
  222. data/generated/google/apis/datastore_v1.rb +1 -1
  223. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  224. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  225. data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
  226. data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
  227. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  228. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1215 -797
  229. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +593 -395
  230. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +966 -1074
  231. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  232. data/generated/google/apis/dialogflow_v2/classes.rb +509 -8
  233. data/generated/google/apis/dialogflow_v2/representations.rb +222 -0
  234. data/generated/google/apis/dialogflow_v2.rb +1 -1
  235. data/generated/google/apis/dialogflow_v2beta1/classes.rb +530 -8
  236. data/generated/google/apis/dialogflow_v2beta1/representations.rb +224 -0
  237. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  238. data/generated/google/apis/dlp_v2/classes.rb +109 -33
  239. data/generated/google/apis/dlp_v2/representations.rb +23 -3
  240. data/generated/google/apis/dlp_v2/service.rb +1996 -209
  241. data/generated/google/apis/dlp_v2.rb +1 -1
  242. data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
  243. data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
  244. data/generated/google/apis/dns_v1beta2.rb +1 -1
  245. data/generated/google/apis/docs_v1/classes.rb +175 -0
  246. data/generated/google/apis/docs_v1/representations.rb +77 -0
  247. data/generated/google/apis/docs_v1.rb +1 -1
  248. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  249. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
  250. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
  251. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
  252. data/generated/google/apis/{urlshortener_v1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  253. data/generated/google/apis/drive_v2/classes.rb +2 -1
  254. data/generated/google/apis/drive_v2/service.rb +3 -3
  255. data/generated/google/apis/drive_v2.rb +1 -1
  256. data/generated/google/apis/drive_v3/classes.rb +12 -3
  257. data/generated/google/apis/drive_v3.rb +1 -1
  258. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  259. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  260. data/generated/google/apis/fcm_v1.rb +1 -1
  261. data/generated/google/apis/firebase_v1beta1/classes.rb +18 -4
  262. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  263. data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
  264. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  265. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +62 -0
  266. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +31 -0
  267. data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
  268. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  269. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  270. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  271. data/generated/google/apis/firebaserules_v1.rb +1 -1
  272. data/generated/google/apis/firestore_v1.rb +1 -1
  273. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  274. data/generated/google/apis/fitness_v1/service.rb +1 -1
  275. data/generated/google/apis/fitness_v1.rb +1 -1
  276. data/generated/google/apis/games_management_v1management/classes.rb +6 -26
  277. data/generated/google/apis/games_management_v1management/representations.rb +1 -14
  278. data/generated/google/apis/games_management_v1management/service.rb +0 -158
  279. data/generated/google/apis/games_management_v1management.rb +1 -1
  280. data/generated/google/apis/games_v1/classes.rb +6 -292
  281. data/generated/google/apis/games_v1/representations.rb +1 -98
  282. data/generated/google/apis/games_v1/service.rb +0 -123
  283. data/generated/google/apis/games_v1.rb +1 -1
  284. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  285. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  286. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  287. data/generated/google/apis/healthcare_v1beta1/classes.rb +213 -16
  288. data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
  289. data/generated/google/apis/healthcare_v1beta1/service.rb +207 -116
  290. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  291. data/generated/google/apis/homegraph_v1/classes.rb +15 -1
  292. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  293. data/generated/google/apis/homegraph_v1.rb +1 -1
  294. data/generated/google/apis/iam_v1/classes.rb +15 -7
  295. data/generated/google/apis/iam_v1/representations.rb +1 -0
  296. data/generated/google/apis/iam_v1.rb +1 -1
  297. data/generated/google/apis/iap_v1/classes.rb +187 -2
  298. data/generated/google/apis/iap_v1/representations.rb +102 -0
  299. data/generated/google/apis/iap_v1/service.rb +72 -0
  300. data/generated/google/apis/iap_v1.rb +1 -1
  301. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  302. data/generated/google/apis/iap_v1beta1.rb +1 -1
  303. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  304. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  305. data/generated/google/apis/jobs_v2.rb +1 -1
  306. data/generated/google/apis/jobs_v3/classes.rb +179 -0
  307. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  308. data/generated/google/apis/jobs_v3.rb +1 -1
  309. data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
  310. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  311. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  312. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  313. data/generated/google/apis/licensing_v1/service.rb +81 -37
  314. data/generated/google/apis/licensing_v1.rb +4 -4
  315. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  316. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  317. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  318. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  319. data/generated/google/apis/logging_v2/classes.rb +30 -2
  320. data/generated/google/apis/logging_v2/representations.rb +4 -0
  321. data/generated/google/apis/logging_v2/service.rb +10 -5
  322. data/generated/google/apis/logging_v2.rb +1 -1
  323. data/generated/google/apis/ml_v1/classes.rb +308 -155
  324. data/generated/google/apis/ml_v1/representations.rb +59 -0
  325. data/generated/google/apis/ml_v1/service.rb +44 -3
  326. data/generated/google/apis/ml_v1.rb +2 -2
  327. data/generated/google/apis/monitoring_v1/classes.rb +1153 -0
  328. data/generated/google/apis/monitoring_v1/representations.rb +528 -0
  329. data/generated/google/apis/{cloudbuild_v1alpha1 → monitoring_v1}/service.rb +86 -63
  330. data/generated/google/apis/monitoring_v1.rb +48 -0
  331. data/generated/google/apis/monitoring_v3/classes.rb +836 -60
  332. data/generated/google/apis/monitoring_v3/representations.rb +348 -0
  333. data/generated/google/apis/monitoring_v3/service.rb +384 -2
  334. data/generated/google/apis/monitoring_v3.rb +1 -1
  335. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  336. data/generated/google/apis/oslogin_v1/service.rb +10 -6
  337. data/generated/google/apis/oslogin_v1.rb +1 -1
  338. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  339. data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
  340. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  341. data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
  342. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  343. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  344. data/generated/google/apis/people_v1/classes.rb +67 -63
  345. data/generated/google/apis/people_v1/service.rb +53 -44
  346. data/generated/google/apis/people_v1.rb +1 -1
  347. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -90
  348. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  349. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  350. data/generated/google/apis/pubsub_v1/classes.rb +8 -6
  351. data/generated/google/apis/pubsub_v1/service.rb +9 -7
  352. data/generated/google/apis/pubsub_v1.rb +1 -1
  353. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
  354. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
  355. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  356. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  357. data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
  358. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  359. data/generated/google/apis/redis_v1/classes.rb +11 -11
  360. data/generated/google/apis/redis_v1/service.rb +5 -5
  361. data/generated/google/apis/redis_v1.rb +1 -1
  362. data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
  363. data/generated/google/apis/redis_v1beta1/service.rb +5 -5
  364. data/generated/google/apis/redis_v1beta1.rb +1 -1
  365. data/generated/google/apis/remotebuildexecution_v1/classes.rb +113 -0
  366. data/generated/google/apis/remotebuildexecution_v1/representations.rb +50 -0
  367. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  368. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +113 -0
  369. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +50 -0
  370. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  371. data/generated/google/apis/remotebuildexecution_v2/classes.rb +113 -0
  372. data/generated/google/apis/remotebuildexecution_v2/representations.rb +50 -0
  373. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  374. data/generated/google/apis/reseller_v1/service.rb +1 -1
  375. data/generated/google/apis/reseller_v1.rb +1 -1
  376. data/generated/google/apis/run_v1/classes.rb +8 -176
  377. data/generated/google/apis/run_v1/representations.rb +0 -71
  378. data/generated/google/apis/run_v1/service.rb +209 -1125
  379. data/generated/google/apis/run_v1.rb +1 -1
  380. data/generated/google/apis/run_v1alpha1/classes.rb +328 -9
  381. data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
  382. data/generated/google/apis/run_v1alpha1/service.rb +408 -0
  383. data/generated/google/apis/run_v1alpha1.rb +1 -1
  384. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -40
  385. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  386. data/generated/google/apis/securitycenter_v1/classes.rb +159 -66
  387. data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
  388. data/generated/google/apis/securitycenter_v1/service.rb +14 -12
  389. data/generated/google/apis/securitycenter_v1.rb +1 -1
  390. data/generated/google/apis/securitycenter_v1beta1/classes.rb +95 -57
  391. data/generated/google/apis/securitycenter_v1beta1/service.rb +14 -12
  392. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  393. data/generated/google/apis/servicebroker_v1/classes.rb +75 -40
  394. data/generated/google/apis/servicebroker_v1.rb +1 -1
  395. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -40
  396. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  397. data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -40
  398. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  399. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +95 -43
  400. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  401. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  402. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -12
  403. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
  404. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  405. data/generated/google/apis/servicemanagement_v1/classes.rb +142 -91
  406. data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
  407. data/generated/google/apis/servicemanagement_v1/service.rb +32 -26
  408. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1/classes.rb +181 -54
  410. data/generated/google/apis/servicenetworking_v1/representations.rb +71 -0
  411. data/generated/google/apis/servicenetworking_v1/service.rb +77 -3
  412. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  413. data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -43
  414. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  415. data/generated/google/apis/serviceusage_v1/classes.rb +87 -43
  416. data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
  417. data/generated/google/apis/serviceusage_v1.rb +1 -1
  418. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -43
  419. data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
  420. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  421. data/generated/google/apis/sheets_v4/classes.rb +1371 -232
  422. data/generated/google/apis/sheets_v4/representations.rb +180 -0
  423. data/generated/google/apis/sheets_v4.rb +1 -1
  424. data/generated/google/apis/spanner_v1/classes.rb +70 -30
  425. data/generated/google/apis/spanner_v1/service.rb +270 -0
  426. data/generated/google/apis/spanner_v1.rb +1 -1
  427. data/generated/google/apis/speech_v1/classes.rb +6 -0
  428. data/generated/google/apis/speech_v1/representations.rb +1 -0
  429. data/generated/google/apis/speech_v1.rb +1 -1
  430. data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
  431. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  432. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  433. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
  434. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
  435. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  436. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  437. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +499 -380
  438. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +125 -104
  439. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +637 -590
  440. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  441. data/generated/google/apis/storage_v1.rb +1 -1
  442. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  443. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  444. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  445. data/generated/google/apis/testing_v1/classes.rb +142 -1
  446. data/generated/google/apis/testing_v1/representations.rb +76 -0
  447. data/generated/google/apis/testing_v1.rb +1 -1
  448. data/generated/google/apis/videointelligence_v1/classes.rb +147 -36
  449. data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
  450. data/generated/google/apis/videointelligence_v1.rb +1 -1
  451. data/generated/google/apis/videointelligence_v1beta2/classes.rb +147 -36
  452. data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
  453. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  454. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +147 -36
  455. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
  456. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  457. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +147 -36
  458. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
  459. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  460. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +147 -36
  461. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
  462. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  463. data/generated/google/apis/vision_v1/classes.rb +66 -0
  464. data/generated/google/apis/vision_v1/representations.rb +32 -0
  465. data/generated/google/apis/vision_v1.rb +1 -1
  466. data/generated/google/apis/vision_v1p1beta1/classes.rb +66 -0
  467. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  468. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  469. data/generated/google/apis/vision_v1p2beta1/classes.rb +66 -0
  470. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  471. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  472. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  473. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  474. data/google-api-client.gemspec +6 -3
  475. data/lib/google/apis/core/api_command.rb +3 -0
  476. data/lib/google/apis/core/http_command.rb +10 -8
  477. data/lib/google/apis/core/upload.rb +4 -0
  478. data/lib/google/apis/version.rb +1 -1
  479. data/rakelib/devsite/devsite_builder.rb +126 -0
  480. data/rakelib/devsite/link_checker.rb +64 -0
  481. data/rakelib/devsite/repo_metadata.rb +56 -0
  482. metadata +64 -42
  483. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1168
  484. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -434
  485. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  486. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  487. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  488. data/generated/google/apis/storage_v1beta1.rb +0 -40
  489. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  490. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  491. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -23,8 +23,8 @@ module Google
23
23
  module ContentV2
24
24
 
25
25
  # Account data. After the creation of a new account it may take a few minutes
26
- # before it is fully operational. The methods delete, insert, patch, and update
27
- # require the admin role.
26
+ # before it is fully operational. The methods delete, insert, and update require
27
+ # the admin role.
28
28
  class Account
29
29
  include Google::Apis::Core::Hashable
30
30
 
@@ -919,8 +919,8 @@ module Google
919
919
  include Google::Apis::Core::Hashable
920
920
 
921
921
  # Account data. After the creation of a new account it may take a few minutes
922
- # before it is fully operational. The methods delete, insert, patch, and update
923
- # require the admin role.
922
+ # before it is fully operational. The methods delete, insert, and update require
923
+ # the admin role.
924
924
  # Corresponds to the JSON property `account`
925
925
  # @return [Google::Apis::ContentV2::Account]
926
926
  attr_accessor :account
@@ -1044,8 +1044,8 @@ module Google
1044
1044
  include Google::Apis::Core::Hashable
1045
1045
 
1046
1046
  # Account data. After the creation of a new account it may take a few minutes
1047
- # before it is fully operational. The methods delete, insert, patch, and update
1048
- # require the admin role.
1047
+ # before it is fully operational. The methods delete, insert, and update require
1048
+ # the admin role.
1049
1049
  # Corresponds to the JSON property `account`
1050
1050
  # @return [Google::Apis::ContentV2::Account]
1051
1051
  attr_accessor :account
@@ -2101,6 +2101,11 @@ module Google
2101
2101
  # The list of destinations to include for this target (corresponds to checked
2102
2102
  # check boxes in Merchant Center). Default destinations are always included
2103
2103
  # unless provided in excludedDestinations.
2104
+ # List of supported destinations (if available to the account):
2105
+ # - DisplayAds
2106
+ # - Shopping
2107
+ # - ShoppingActions
2108
+ # - SurfacesAcrossGoogle
2104
2109
  # Corresponds to the JSON property `includedDestinations`
2105
2110
  # @return [Array<String>]
2106
2111
  attr_accessor :included_destinations
@@ -4033,7 +4038,8 @@ module Google
4033
4038
  end
4034
4039
  end
4035
4040
 
4036
- # Order. All methods require the order manager role.
4041
+ # Order. Production access (all methods) requires the order manager role.
4042
+ # Sandbox access does not.
4037
4043
  class Order
4038
4044
  include Google::Apis::Core::Hashable
4039
4045
 
@@ -4271,7 +4277,7 @@ module Google
4271
4277
  # @return [Fixnum]
4272
4278
  attr_accessor :quantity
4273
4279
 
4274
- # The reason for the cancellation. Orders that are cancelled with a noInventory
4280
+ # The reason for the cancellation. Orders that are canceled with a noInventory
4275
4281
  # reason will lead to the removal of the product from Shopping Actions until you
4276
4282
  # make an update to that product. This will not affect your Shopping ads.
4277
4283
  # Corresponds to the JSON property `reason`
@@ -5265,6 +5271,15 @@ module Google
5265
5271
  # - "mpx"
5266
5272
  # - "uds"
5267
5273
  # - "efw"
5274
+ # - "yunexpress"
5275
+ # - "china post"
5276
+ # - "china ems"
5277
+ # - "singapore post"
5278
+ # - "pos malaysia"
5279
+ # - "postnl"
5280
+ # - "ptt"
5281
+ # - "eub"
5282
+ # - "chukou1"
5268
5283
  # Acceptable values for FR are:
5269
5284
  # - "colissimo"
5270
5285
  # - "chronopost"
@@ -5274,6 +5289,9 @@ module Google
5274
5289
  # - "colis prive"
5275
5290
  # - "boxtal"
5276
5291
  # - "geodis"
5292
+ # - "tnt"
5293
+ # - "la poste"
5294
+ # - "ups"
5277
5295
  # Corresponds to the JSON property `carrier`
5278
5296
  # @return [String]
5279
5297
  attr_accessor :carrier
@@ -5329,8 +5347,8 @@ module Google
5329
5347
  class OrderShipmentLineItemShipment
5330
5348
  include Google::Apis::Core::Hashable
5331
5349
 
5332
- # The ID of the line item that is shipped. Either lineItemId or productId is
5333
- # required.
5350
+ # The ID of the line item that is shipped. This value is assigned by Google when
5351
+ # an order is created. Either lineItemId or productId is required.
5334
5352
  # Corresponds to the JSON property `lineItemId`
5335
5353
  # @return [String]
5336
5354
  attr_accessor :line_item_id
@@ -5552,216 +5570,6 @@ module Google
5552
5570
  end
5553
5571
  end
5554
5572
 
5555
- #
5556
- class OrderpaymentsNotifyAuthApprovedRequest
5557
- include Google::Apis::Core::Hashable
5558
-
5559
- # Authorized amount for pre-tax charge on user's credit card.
5560
- # Corresponds to the JSON property `authAmountPretax`
5561
- # @return [Google::Apis::ContentV2::Price]
5562
- attr_accessor :auth_amount_pretax
5563
-
5564
- # Authorized amount for tax charge on user's credit card.
5565
- # Corresponds to the JSON property `authAmountTax`
5566
- # @return [Google::Apis::ContentV2::Price]
5567
- attr_accessor :auth_amount_tax
5568
-
5569
- def initialize(**args)
5570
- update!(**args)
5571
- end
5572
-
5573
- # Update properties of this object
5574
- def update!(**args)
5575
- @auth_amount_pretax = args[:auth_amount_pretax] if args.key?(:auth_amount_pretax)
5576
- @auth_amount_tax = args[:auth_amount_tax] if args.key?(:auth_amount_tax)
5577
- end
5578
- end
5579
-
5580
- #
5581
- class OrderpaymentsNotifyAuthApprovedResponse
5582
- include Google::Apis::Core::Hashable
5583
-
5584
- # The status of the execution.
5585
- # Corresponds to the JSON property `executionStatus`
5586
- # @return [String]
5587
- attr_accessor :execution_status
5588
-
5589
- # Identifies what kind of resource this is. Value: the fixed string "content#
5590
- # orderpaymentsNotifyAuthApprovedResponse".
5591
- # Corresponds to the JSON property `kind`
5592
- # @return [String]
5593
- attr_accessor :kind
5594
-
5595
- def initialize(**args)
5596
- update!(**args)
5597
- end
5598
-
5599
- # Update properties of this object
5600
- def update!(**args)
5601
- @execution_status = args[:execution_status] if args.key?(:execution_status)
5602
- @kind = args[:kind] if args.key?(:kind)
5603
- end
5604
- end
5605
-
5606
- #
5607
- class OrderpaymentsNotifyAuthDeclinedRequest
5608
- include Google::Apis::Core::Hashable
5609
-
5610
- # Reason why payment authorization was declined.
5611
- # Corresponds to the JSON property `declineReason`
5612
- # @return [String]
5613
- attr_accessor :decline_reason
5614
-
5615
- def initialize(**args)
5616
- update!(**args)
5617
- end
5618
-
5619
- # Update properties of this object
5620
- def update!(**args)
5621
- @decline_reason = args[:decline_reason] if args.key?(:decline_reason)
5622
- end
5623
- end
5624
-
5625
- #
5626
- class OrderpaymentsNotifyAuthDeclinedResponse
5627
- include Google::Apis::Core::Hashable
5628
-
5629
- # The status of the execution.
5630
- # Corresponds to the JSON property `executionStatus`
5631
- # @return [String]
5632
- attr_accessor :execution_status
5633
-
5634
- # Identifies what kind of resource this is. Value: the fixed string "content#
5635
- # orderpaymentsNotifyAuthDeclinedResponse".
5636
- # Corresponds to the JSON property `kind`
5637
- # @return [String]
5638
- attr_accessor :kind
5639
-
5640
- def initialize(**args)
5641
- update!(**args)
5642
- end
5643
-
5644
- # Update properties of this object
5645
- def update!(**args)
5646
- @execution_status = args[:execution_status] if args.key?(:execution_status)
5647
- @kind = args[:kind] if args.key?(:kind)
5648
- end
5649
- end
5650
-
5651
- #
5652
- class OrderpaymentsNotifyChargeRequest
5653
- include Google::Apis::Core::Hashable
5654
-
5655
- # Whether charge was successful.
5656
- # Corresponds to the JSON property `chargeState`
5657
- # @return [String]
5658
- attr_accessor :charge_state
5659
-
5660
- # Deprecated. Please use invoiceIds instead.
5661
- # Corresponds to the JSON property `invoiceId`
5662
- # @return [String]
5663
- attr_accessor :invoice_id
5664
-
5665
- # Invoice IDs from the orderinvoices service that correspond to the charge.
5666
- # Corresponds to the JSON property `invoiceIds`
5667
- # @return [Array<String>]
5668
- attr_accessor :invoice_ids
5669
-
5670
- def initialize(**args)
5671
- update!(**args)
5672
- end
5673
-
5674
- # Update properties of this object
5675
- def update!(**args)
5676
- @charge_state = args[:charge_state] if args.key?(:charge_state)
5677
- @invoice_id = args[:invoice_id] if args.key?(:invoice_id)
5678
- @invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids)
5679
- end
5680
- end
5681
-
5682
- #
5683
- class OrderpaymentsNotifyChargeResponse
5684
- include Google::Apis::Core::Hashable
5685
-
5686
- # The status of the execution.
5687
- # Corresponds to the JSON property `executionStatus`
5688
- # @return [String]
5689
- attr_accessor :execution_status
5690
-
5691
- # Identifies what kind of resource this is. Value: the fixed string "content#
5692
- # orderpaymentsNotifyChargeResponse".
5693
- # Corresponds to the JSON property `kind`
5694
- # @return [String]
5695
- attr_accessor :kind
5696
-
5697
- def initialize(**args)
5698
- update!(**args)
5699
- end
5700
-
5701
- # Update properties of this object
5702
- def update!(**args)
5703
- @execution_status = args[:execution_status] if args.key?(:execution_status)
5704
- @kind = args[:kind] if args.key?(:kind)
5705
- end
5706
- end
5707
-
5708
- #
5709
- class OrderpaymentsNotifyRefundRequest
5710
- include Google::Apis::Core::Hashable
5711
-
5712
- # Deprecated. Please use invoiceIds instead.
5713
- # Corresponds to the JSON property `invoiceId`
5714
- # @return [String]
5715
- attr_accessor :invoice_id
5716
-
5717
- # Invoice IDs from the orderinvoices service that correspond to the refund.
5718
- # Corresponds to the JSON property `invoiceIds`
5719
- # @return [Array<String>]
5720
- attr_accessor :invoice_ids
5721
-
5722
- # Whether refund was successful.
5723
- # Corresponds to the JSON property `refundState`
5724
- # @return [String]
5725
- attr_accessor :refund_state
5726
-
5727
- def initialize(**args)
5728
- update!(**args)
5729
- end
5730
-
5731
- # Update properties of this object
5732
- def update!(**args)
5733
- @invoice_id = args[:invoice_id] if args.key?(:invoice_id)
5734
- @invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids)
5735
- @refund_state = args[:refund_state] if args.key?(:refund_state)
5736
- end
5737
- end
5738
-
5739
- #
5740
- class OrderpaymentsNotifyRefundResponse
5741
- include Google::Apis::Core::Hashable
5742
-
5743
- # The status of the execution.
5744
- # Corresponds to the JSON property `executionStatus`
5745
- # @return [String]
5746
- attr_accessor :execution_status
5747
-
5748
- # Identifies what kind of resource this is. Value: the fixed string "content#
5749
- # orderpaymentsNotifyRefundResponse".
5750
- # Corresponds to the JSON property `kind`
5751
- # @return [String]
5752
- attr_accessor :kind
5753
-
5754
- def initialize(**args)
5755
- update!(**args)
5756
- end
5757
-
5758
- # Update properties of this object
5759
- def update!(**args)
5760
- @execution_status = args[:execution_status] if args.key?(:execution_status)
5761
- @kind = args[:kind] if args.key?(:kind)
5762
- end
5763
- end
5764
-
5765
5573
  #
5766
5574
  class OrderreportsListDisbursementsResponse
5767
5575
  include Google::Apis::Core::Hashable
@@ -6987,7 +6795,8 @@ module Google
6987
6795
  # @return [String]
6988
6796
  attr_accessor :kind
6989
6797
 
6990
- # Order. All methods require the order manager role.
6798
+ # Order. Production access (all methods) requires the order manager role.
6799
+ # Sandbox access does not.
6991
6800
  # Corresponds to the JSON property `order`
6992
6801
  # @return [Google::Apis::ContentV2::Order]
6993
6802
  attr_accessor :order
@@ -7016,7 +6825,8 @@ module Google
7016
6825
  # @return [String]
7017
6826
  attr_accessor :kind
7018
6827
 
7019
- # Order. All methods require the order manager role.
6828
+ # Order. Production access (all methods) requires the order manager role.
6829
+ # Sandbox access does not.
7020
6830
  # Corresponds to the JSON property `order`
7021
6831
  # @return [Google::Apis::ContentV2::Order]
7022
6832
  attr_accessor :order
@@ -9007,7 +8817,9 @@ module Google
9007
8817
  # @return [String]
9008
8818
  attr_accessor :size_type
9009
8819
 
9010
- # Size of the item.
8820
+ # Size of the item. Only one value is allowed. For variants with different sizes,
8821
+ # insert a separate product for each size with the same itemGroupId value (see
8822
+ # size definition).
9011
8823
  # Corresponds to the JSON property `sizes`
9012
8824
  # @return [Array<String>]
9013
8825
  attr_accessor :sizes
@@ -832,54 +832,6 @@ module Google
832
832
  include Google::Apis::Core::JsonObjectSupport
833
833
  end
834
834
 
835
- class OrderpaymentsNotifyAuthApprovedRequest
836
- class Representation < Google::Apis::Core::JsonRepresentation; end
837
-
838
- include Google::Apis::Core::JsonObjectSupport
839
- end
840
-
841
- class OrderpaymentsNotifyAuthApprovedResponse
842
- class Representation < Google::Apis::Core::JsonRepresentation; end
843
-
844
- include Google::Apis::Core::JsonObjectSupport
845
- end
846
-
847
- class OrderpaymentsNotifyAuthDeclinedRequest
848
- class Representation < Google::Apis::Core::JsonRepresentation; end
849
-
850
- include Google::Apis::Core::JsonObjectSupport
851
- end
852
-
853
- class OrderpaymentsNotifyAuthDeclinedResponse
854
- class Representation < Google::Apis::Core::JsonRepresentation; end
855
-
856
- include Google::Apis::Core::JsonObjectSupport
857
- end
858
-
859
- class OrderpaymentsNotifyChargeRequest
860
- class Representation < Google::Apis::Core::JsonRepresentation; end
861
-
862
- include Google::Apis::Core::JsonObjectSupport
863
- end
864
-
865
- class OrderpaymentsNotifyChargeResponse
866
- class Representation < Google::Apis::Core::JsonRepresentation; end
867
-
868
- include Google::Apis::Core::JsonObjectSupport
869
- end
870
-
871
- class OrderpaymentsNotifyRefundRequest
872
- class Representation < Google::Apis::Core::JsonRepresentation; end
873
-
874
- include Google::Apis::Core::JsonObjectSupport
875
- end
876
-
877
- class OrderpaymentsNotifyRefundResponse
878
- class Representation < Google::Apis::Core::JsonRepresentation; end
879
-
880
- include Google::Apis::Core::JsonObjectSupport
881
- end
882
-
883
835
  class OrderreportsListDisbursementsResponse
884
836
  class Representation < Google::Apis::Core::JsonRepresentation; end
885
837
 
@@ -3189,73 +3141,6 @@ module Google
3189
3141
  end
3190
3142
  end
3191
3143
 
3192
- class OrderpaymentsNotifyAuthApprovedRequest
3193
- # @private
3194
- class Representation < Google::Apis::Core::JsonRepresentation
3195
- property :auth_amount_pretax, as: 'authAmountPretax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
3196
-
3197
- property :auth_amount_tax, as: 'authAmountTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
3198
-
3199
- end
3200
- end
3201
-
3202
- class OrderpaymentsNotifyAuthApprovedResponse
3203
- # @private
3204
- class Representation < Google::Apis::Core::JsonRepresentation
3205
- property :execution_status, as: 'executionStatus'
3206
- property :kind, as: 'kind'
3207
- end
3208
- end
3209
-
3210
- class OrderpaymentsNotifyAuthDeclinedRequest
3211
- # @private
3212
- class Representation < Google::Apis::Core::JsonRepresentation
3213
- property :decline_reason, as: 'declineReason'
3214
- end
3215
- end
3216
-
3217
- class OrderpaymentsNotifyAuthDeclinedResponse
3218
- # @private
3219
- class Representation < Google::Apis::Core::JsonRepresentation
3220
- property :execution_status, as: 'executionStatus'
3221
- property :kind, as: 'kind'
3222
- end
3223
- end
3224
-
3225
- class OrderpaymentsNotifyChargeRequest
3226
- # @private
3227
- class Representation < Google::Apis::Core::JsonRepresentation
3228
- property :charge_state, as: 'chargeState'
3229
- property :invoice_id, as: 'invoiceId'
3230
- collection :invoice_ids, as: 'invoiceIds'
3231
- end
3232
- end
3233
-
3234
- class OrderpaymentsNotifyChargeResponse
3235
- # @private
3236
- class Representation < Google::Apis::Core::JsonRepresentation
3237
- property :execution_status, as: 'executionStatus'
3238
- property :kind, as: 'kind'
3239
- end
3240
- end
3241
-
3242
- class OrderpaymentsNotifyRefundRequest
3243
- # @private
3244
- class Representation < Google::Apis::Core::JsonRepresentation
3245
- property :invoice_id, as: 'invoiceId'
3246
- collection :invoice_ids, as: 'invoiceIds'
3247
- property :refund_state, as: 'refundState'
3248
- end
3249
- end
3250
-
3251
- class OrderpaymentsNotifyRefundResponse
3252
- # @private
3253
- class Representation < Google::Apis::Core::JsonRepresentation
3254
- property :execution_status, as: 'executionStatus'
3255
- property :kind, as: 'kind'
3256
- end
3257
- end
3258
-
3259
3144
  class OrderreportsListDisbursementsResponse
3260
3145
  # @private
3261
3146
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1672,166 +1672,6 @@ module Google
1672
1672
  execute_or_queue_command(command, &block)
1673
1673
  end
1674
1674
 
1675
- # Notify about successfully authorizing user's payment method for a given amount.
1676
- # @param [Fixnum] merchant_id
1677
- # The ID of the account that manages the order. This cannot be a multi-client
1678
- # account.
1679
- # @param [String] order_id
1680
- # The ID of the order for for which payment authorization is happening.
1681
- # @param [Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedRequest] orderpayments_notify_auth_approved_request_object
1682
- # @param [String] fields
1683
- # Selector specifying which fields to include in a partial response.
1684
- # @param [String] quota_user
1685
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1686
- # characters.
1687
- # @param [String] user_ip
1688
- # Deprecated. Please use quotaUser instead.
1689
- # @param [Google::Apis::RequestOptions] options
1690
- # Request-specific options
1691
- #
1692
- # @yield [result, err] Result & error if block supplied
1693
- # @yieldparam result [Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedResponse] parsed result object
1694
- # @yieldparam err [StandardError] error object if request failed
1695
- #
1696
- # @return [Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedResponse]
1697
- #
1698
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1699
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1700
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1701
- def notifyauthapproved_orderpayment(merchant_id, order_id, orderpayments_notify_auth_approved_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1702
- command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthApproved', options)
1703
- command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedRequest::Representation
1704
- command.request_object = orderpayments_notify_auth_approved_request_object
1705
- command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedResponse::Representation
1706
- command.response_class = Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedResponse
1707
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
1708
- command.params['orderId'] = order_id unless order_id.nil?
1709
- command.query['fields'] = fields unless fields.nil?
1710
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1711
- command.query['userIp'] = user_ip unless user_ip.nil?
1712
- execute_or_queue_command(command, &block)
1713
- end
1714
-
1715
- # Notify about failure to authorize user's payment method.
1716
- # @param [Fixnum] merchant_id
1717
- # The ID of the account that manages the order. This cannot be a multi-client
1718
- # account.
1719
- # @param [String] order_id
1720
- # The ID of the order for which payment authorization was declined.
1721
- # @param [Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedRequest] orderpayments_notify_auth_declined_request_object
1722
- # @param [String] fields
1723
- # Selector specifying which fields to include in a partial response.
1724
- # @param [String] quota_user
1725
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1726
- # characters.
1727
- # @param [String] user_ip
1728
- # Deprecated. Please use quotaUser instead.
1729
- # @param [Google::Apis::RequestOptions] options
1730
- # Request-specific options
1731
- #
1732
- # @yield [result, err] Result & error if block supplied
1733
- # @yieldparam result [Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedResponse] parsed result object
1734
- # @yieldparam err [StandardError] error object if request failed
1735
- #
1736
- # @return [Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedResponse]
1737
- #
1738
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1739
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1740
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1741
- def notifyauthdeclined_orderpayment(merchant_id, order_id, orderpayments_notify_auth_declined_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1742
- command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthDeclined', options)
1743
- command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedRequest::Representation
1744
- command.request_object = orderpayments_notify_auth_declined_request_object
1745
- command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedResponse::Representation
1746
- command.response_class = Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedResponse
1747
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
1748
- command.params['orderId'] = order_id unless order_id.nil?
1749
- command.query['fields'] = fields unless fields.nil?
1750
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1751
- command.query['userIp'] = user_ip unless user_ip.nil?
1752
- execute_or_queue_command(command, &block)
1753
- end
1754
-
1755
- # Notify about charge on user's selected payments method.
1756
- # @param [Fixnum] merchant_id
1757
- # The ID of the account that manages the order. This cannot be a multi-client
1758
- # account.
1759
- # @param [String] order_id
1760
- # The ID of the order for which charge is happening.
1761
- # @param [Google::Apis::ContentV2::OrderpaymentsNotifyChargeRequest] orderpayments_notify_charge_request_object
1762
- # @param [String] fields
1763
- # Selector specifying which fields to include in a partial response.
1764
- # @param [String] quota_user
1765
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1766
- # characters.
1767
- # @param [String] user_ip
1768
- # Deprecated. Please use quotaUser instead.
1769
- # @param [Google::Apis::RequestOptions] options
1770
- # Request-specific options
1771
- #
1772
- # @yield [result, err] Result & error if block supplied
1773
- # @yieldparam result [Google::Apis::ContentV2::OrderpaymentsNotifyChargeResponse] parsed result object
1774
- # @yieldparam err [StandardError] error object if request failed
1775
- #
1776
- # @return [Google::Apis::ContentV2::OrderpaymentsNotifyChargeResponse]
1777
- #
1778
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1779
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1780
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1781
- def notifycharge_orderpayment(merchant_id, order_id, orderpayments_notify_charge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1782
- command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyCharge', options)
1783
- command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyChargeRequest::Representation
1784
- command.request_object = orderpayments_notify_charge_request_object
1785
- command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyChargeResponse::Representation
1786
- command.response_class = Google::Apis::ContentV2::OrderpaymentsNotifyChargeResponse
1787
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
1788
- command.params['orderId'] = order_id unless order_id.nil?
1789
- command.query['fields'] = fields unless fields.nil?
1790
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1791
- command.query['userIp'] = user_ip unless user_ip.nil?
1792
- execute_or_queue_command(command, &block)
1793
- end
1794
-
1795
- # Notify about refund on user's selected payments method.
1796
- # @param [Fixnum] merchant_id
1797
- # The ID of the account that manages the order. This cannot be a multi-client
1798
- # account.
1799
- # @param [String] order_id
1800
- # The ID of the order for which charge is happening.
1801
- # @param [Google::Apis::ContentV2::OrderpaymentsNotifyRefundRequest] orderpayments_notify_refund_request_object
1802
- # @param [String] fields
1803
- # Selector specifying which fields to include in a partial response.
1804
- # @param [String] quota_user
1805
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1806
- # characters.
1807
- # @param [String] user_ip
1808
- # Deprecated. Please use quotaUser instead.
1809
- # @param [Google::Apis::RequestOptions] options
1810
- # Request-specific options
1811
- #
1812
- # @yield [result, err] Result & error if block supplied
1813
- # @yieldparam result [Google::Apis::ContentV2::OrderpaymentsNotifyRefundResponse] parsed result object
1814
- # @yieldparam err [StandardError] error object if request failed
1815
- #
1816
- # @return [Google::Apis::ContentV2::OrderpaymentsNotifyRefundResponse]
1817
- #
1818
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1819
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1820
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1821
- def notifyrefund_orderpayment(merchant_id, order_id, orderpayments_notify_refund_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1822
- command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyRefund', options)
1823
- command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyRefundRequest::Representation
1824
- command.request_object = orderpayments_notify_refund_request_object
1825
- command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyRefundResponse::Representation
1826
- command.response_class = Google::Apis::ContentV2::OrderpaymentsNotifyRefundResponse
1827
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
1828
- command.params['orderId'] = order_id unless order_id.nil?
1829
- command.query['fields'] = fields unless fields.nil?
1830
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1831
- command.query['userIp'] = user_ip unless user_ip.nil?
1832
- execute_or_queue_command(command, &block)
1833
- end
1834
-
1835
1675
  # Retrieves a report for disbursements from your Merchant Center account.
1836
1676
  # @param [Fixnum] merchant_id
1837
1677
  # The ID of the account that manages the order. This cannot be a multi-client
@@ -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 = '20190930'
29
+ REVISION = '20191107'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'