google-api-client 0.39.5 → 0.41.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (443) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +290 -0
  3. data/generated/google/apis/admin_directory_v1.rb +1 -1
  4. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  5. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  6. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  7. data/generated/google/apis/admob_v1.rb +1 -1
  8. data/generated/google/apis/admob_v1/classes.rb +5 -6
  9. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  10. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  11. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  12. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  13. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  14. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  15. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  16. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  17. data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
  18. data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
  19. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  20. data/generated/google/apis/apigee_v1.rb +1 -1
  21. data/generated/google/apis/apigee_v1/classes.rb +183 -52
  22. data/generated/google/apis/apigee_v1/representations.rb +22 -0
  23. data/generated/google/apis/apigee_v1/service.rb +38 -37
  24. data/generated/google/apis/appsmarket_v2.rb +3 -3
  25. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  26. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  27. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  28. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  29. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  30. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +78 -6
  33. data/generated/google/apis/bigquery_v2/representations.rb +7 -0
  34. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  35. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  36. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  37. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  38. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  39. data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
  40. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +2 -0
  42. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  43. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  44. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  45. data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
  46. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  47. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  48. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  49. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  50. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  51. data/generated/google/apis/books_v1.rb +1 -1
  52. data/generated/google/apis/books_v1/service.rb +2 -2
  53. data/generated/google/apis/calendar_v3.rb +1 -1
  54. data/generated/google/apis/chat_v1.rb +1 -1
  55. data/generated/google/apis/chat_v1/classes.rb +2 -0
  56. data/generated/google/apis/chromeuxreport_v1.rb +32 -0
  57. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  58. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  59. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  60. data/generated/google/apis/civicinfo_v2.rb +2 -2
  61. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  62. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  63. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  64. data/generated/google/apis/cloudasset_v1.rb +1 -1
  65. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  66. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  67. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  68. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  70. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  71. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  74. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  75. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  76. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  77. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  78. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  79. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  80. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +16 -4
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  84. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +14 -2
  86. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  87. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  88. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +14 -2
  89. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  90. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  91. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudiot_v1.rb +1 -1
  98. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  99. data/generated/google/apis/cloudkms_v1.rb +1 -1
  100. data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
  101. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  102. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  104. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  105. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  107. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  108. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  110. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  112. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  113. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  114. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  115. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  116. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  117. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  118. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  119. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
  120. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  121. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
  122. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  123. data/generated/google/apis/composer_v1beta1.rb +1 -1
  124. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  125. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  126. data/generated/google/apis/compute_alpha.rb +1 -1
  127. data/generated/google/apis/compute_alpha/classes.rb +756 -182
  128. data/generated/google/apis/compute_alpha/representations.rb +220 -33
  129. data/generated/google/apis/compute_alpha/service.rb +1891 -1099
  130. data/generated/google/apis/compute_beta.rb +1 -1
  131. data/generated/google/apis/compute_beta/classes.rb +435 -102
  132. data/generated/google/apis/compute_beta/representations.rb +95 -0
  133. data/generated/google/apis/compute_beta/service.rb +824 -595
  134. data/generated/google/apis/compute_v1.rb +1 -1
  135. data/generated/google/apis/compute_v1/classes.rb +658 -47
  136. data/generated/google/apis/compute_v1/representations.rb +188 -0
  137. data/generated/google/apis/compute_v1/service.rb +501 -4
  138. data/generated/google/apis/container_v1.rb +1 -1
  139. data/generated/google/apis/container_v1/classes.rb +31 -7
  140. data/generated/google/apis/container_v1/representations.rb +15 -0
  141. data/generated/google/apis/container_v1beta1.rb +1 -1
  142. data/generated/google/apis/container_v1beta1/classes.rb +47 -10
  143. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  144. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  145. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  146. data/generated/google/apis/content_v2.rb +1 -1
  147. data/generated/google/apis/content_v2/classes.rb +41 -1
  148. data/generated/google/apis/content_v2/representations.rb +17 -0
  149. data/generated/google/apis/content_v2/service.rb +15 -6
  150. data/generated/google/apis/content_v2_1.rb +1 -1
  151. data/generated/google/apis/content_v2_1/classes.rb +616 -6
  152. data/generated/google/apis/content_v2_1/representations.rb +243 -0
  153. data/generated/google/apis/content_v2_1/service.rb +95 -6
  154. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  155. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  156. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  157. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  158. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  159. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  160. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  161. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  162. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  163. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  164. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  165. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  166. data/generated/google/apis/dataproc_v1.rb +1 -1
  167. data/generated/google/apis/dataproc_v1/classes.rb +68 -22
  168. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  169. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  170. data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -23
  171. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  172. data/generated/google/apis/dialogflow_v2.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2/classes.rb +731 -20
  174. data/generated/google/apis/dialogflow_v2/representations.rb +311 -0
  175. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  176. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  177. data/generated/google/apis/dialogflow_v2beta1/classes.rb +722 -19
  178. data/generated/google/apis/dialogflow_v2beta1/representations.rb +311 -0
  179. data/generated/google/apis/dialogflow_v2beta1/service.rb +72 -4
  180. data/generated/google/apis/displayvideo_v1.rb +1 -1
  181. data/generated/google/apis/displayvideo_v1/classes.rb +717 -2
  182. data/generated/google/apis/displayvideo_v1/representations.rb +325 -0
  183. data/generated/google/apis/displayvideo_v1/service.rb +1865 -162
  184. data/generated/google/apis/dlp_v2.rb +1 -1
  185. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  186. data/generated/google/apis/dlp_v2/service.rb +170 -64
  187. data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
  188. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  189. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  190. data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
  191. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  192. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  193. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  194. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  195. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  196. data/generated/google/apis/drive_v2.rb +1 -1
  197. data/generated/google/apis/drive_v2/service.rb +26 -78
  198. data/generated/google/apis/drive_v3.rb +1 -1
  199. data/generated/google/apis/drive_v3/service.rb +18 -54
  200. data/generated/google/apis/fcm_v1.rb +1 -1
  201. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  202. data/generated/google/apis/file_v1.rb +1 -1
  203. data/generated/google/apis/file_v1/classes.rb +0 -1156
  204. data/generated/google/apis/file_v1/representations.rb +0 -381
  205. data/generated/google/apis/file_v1beta1.rb +1 -1
  206. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  207. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  208. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  209. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  210. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  211. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  212. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  213. data/generated/google/apis/fitness_v1.rb +4 -4
  214. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  215. data/generated/google/apis/fitness_v1/service.rb +187 -215
  216. data/generated/google/apis/games_v1.rb +1 -1
  217. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  218. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  219. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  220. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  221. data/generated/google/apis/gmail_v1.rb +3 -2
  222. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  223. data/generated/google/apis/gmail_v1/service.rb +551 -743
  224. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  225. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  226. data/generated/google/apis/healthcare_v1.rb +1 -1
  227. data/generated/google/apis/healthcare_v1/classes.rb +45 -36
  228. data/generated/google/apis/healthcare_v1/service.rb +66 -32
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +954 -83
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +682 -147
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  235. data/generated/google/apis/iam_v1.rb +1 -1
  236. data/generated/google/apis/iam_v1/classes.rb +116 -93
  237. data/generated/google/apis/iam_v1/service.rb +170 -144
  238. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  239. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  240. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  241. data/generated/google/apis/jobs_v3.rb +1 -1
  242. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  243. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  244. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  245. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  246. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  247. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  248. data/generated/google/apis/logging_v2.rb +1 -1
  249. data/generated/google/apis/logging_v2/classes.rb +69 -21
  250. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  251. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  252. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  253. data/generated/google/apis/ml_v1.rb +1 -1
  254. data/generated/google/apis/ml_v1/classes.rb +8 -0
  255. data/generated/google/apis/ml_v1/representations.rb +1 -0
  256. data/generated/google/apis/monitoring_v1.rb +1 -1
  257. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  258. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  259. data/generated/google/apis/monitoring_v3.rb +1 -1
  260. data/generated/google/apis/monitoring_v3/classes.rb +75 -19
  261. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  262. data/generated/google/apis/osconfig_v1.rb +1 -1
  263. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  264. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  265. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  266. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  267. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  268. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  269. data/generated/google/apis/people_v1.rb +4 -1
  270. data/generated/google/apis/people_v1/classes.rb +216 -0
  271. data/generated/google/apis/people_v1/representations.rb +82 -0
  272. data/generated/google/apis/people_v1/service.rb +371 -8
  273. data/generated/google/apis/{pagespeedonline_v2.rb → playablelocations_v3.rb} +9 -10
  274. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  275. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  276. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  277. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  278. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  279. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  280. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  281. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  282. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  283. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  284. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  285. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  286. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  287. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  288. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  289. data/generated/google/apis/pubsub_v1.rb +1 -1
  290. data/generated/google/apis/pubsub_v1/classes.rb +68 -10
  291. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  292. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  293. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  294. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  295. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  296. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  297. data/generated/google/apis/{pagespeedonline_v4.rb → recommender_v1.rb} +12 -10
  298. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  299. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  300. data/generated/google/apis/recommender_v1/service.rb +266 -0
  301. data/generated/google/apis/redis_v1.rb +1 -1
  302. data/generated/google/apis/redis_v1/classes.rb +1 -1
  303. data/generated/google/apis/redis_v1/service.rb +1 -1
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  306. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  308. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  311. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  312. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  313. data/generated/google/apis/run_v1.rb +2 -2
  314. data/generated/google/apis/run_v1/classes.rb +19 -7
  315. data/generated/google/apis/run_v1/representations.rb +1 -0
  316. data/generated/google/apis/run_v1/service.rb +1 -1
  317. data/generated/google/apis/run_v1alpha1.rb +2 -2
  318. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  319. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  320. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  321. data/generated/google/apis/run_v1beta1.rb +2 -2
  322. data/generated/google/apis/run_v1beta1/service.rb +1 -1
  323. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  324. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  325. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  326. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  327. data/generated/google/apis/secretmanager_v1.rb +1 -1
  328. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  329. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  330. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  331. data/generated/google/apis/securitycenter_v1.rb +1 -1
  332. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  333. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  334. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  335. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  336. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  337. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  338. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  339. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  340. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  341. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  342. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  343. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  344. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  345. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  346. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
  347. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
  348. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  349. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
  350. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
  351. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  352. data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
  353. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  354. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  355. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  356. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  357. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  359. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  360. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  361. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  362. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  363. data/generated/google/apis/serviceusage_v1.rb +1 -1
  364. data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
  365. data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
  366. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  367. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
  368. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
  369. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  370. data/generated/google/apis/sheets_v4.rb +1 -1
  371. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  372. data/generated/google/apis/slides_v1.rb +1 -1
  373. data/generated/google/apis/slides_v1/classes.rb +4 -0
  374. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  375. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  376. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  377. data/generated/google/apis/spanner_v1.rb +1 -1
  378. data/generated/google/apis/spanner_v1/classes.rb +55 -32
  379. data/generated/google/apis/spanner_v1/service.rb +10 -8
  380. data/generated/google/apis/speech_v1.rb +1 -1
  381. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  382. data/generated/google/apis/sql_v1beta4.rb +1 -1
  383. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  384. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  385. data/generated/google/apis/storage_v1.rb +1 -1
  386. data/generated/google/apis/storage_v1/service.rb +2 -3
  387. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  388. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  389. data/generated/google/apis/testing_v1.rb +1 -1
  390. data/generated/google/apis/testing_v1/classes.rb +2 -1
  391. data/generated/google/apis/texttospeech_v1.rb +1 -1
  392. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  393. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  394. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  395. data/generated/google/apis/tpu_v1.rb +1 -1
  396. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  397. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  398. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  399. data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
  400. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  401. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  402. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  403. data/generated/google/apis/videointelligence_v1.rb +1 -1
  404. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  406. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  407. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  409. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  410. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  412. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  413. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  414. data/generated/google/apis/vision_v1.rb +1 -1
  415. data/generated/google/apis/vision_v1/classes.rb +18 -0
  416. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  417. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  418. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  419. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  420. data/generated/google/apis/webfonts_v1.rb +5 -5
  421. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  422. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  423. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  424. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  425. data/generated/google/apis/youtube_v3.rb +1 -1
  426. data/generated/google/apis/youtube_v3/classes.rb +64 -26
  427. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  428. data/generated/google/apis/youtube_v3/service.rb +33 -36
  429. data/lib/google/apis/core/api_command.rb +12 -7
  430. data/lib/google/apis/options.rb +5 -1
  431. data/lib/google/apis/version.rb +1 -1
  432. metadata +27 -19
  433. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  434. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  435. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  436. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5022
  437. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2057
  438. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  439. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  440. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  441. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  442. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  443. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -364,7 +364,8 @@ module Google
364
364
  execute_or_queue_command(command, &block)
365
365
  end
366
366
 
367
- # Updates a Merchant Center account.
367
+ # Updates a Merchant Center account. Any fields that are not provided are
368
+ # deleted from the resource.
368
369
  # @param [Fixnum] merchant_id
369
370
  # The ID of the managing account. If this parameter is not the same as accountId,
370
371
  # then this account must be a multi-client account and `accountId` must be the
@@ -643,7 +644,8 @@ module Google
643
644
  execute_or_queue_command(command, &block)
644
645
  end
645
646
 
646
- # Updates the tax settings of the account.
647
+ # Updates the tax settings of the account. Any fields that are not provided are
648
+ # deleted from the resource.
647
649
  # @param [Fixnum] merchant_id
648
650
  # The ID of the managing account. If this parameter is not the same as accountId,
649
651
  # then this account must be a multi-client account and `accountId` must be the
@@ -924,7 +926,8 @@ module Google
924
926
  execute_or_queue_command(command, &block)
925
927
  end
926
928
 
927
- # Updates a datafeed configuration of your Merchant Center account.
929
+ # Updates a datafeed configuration of your Merchant Center account. Any fields
930
+ # that are not provided are deleted from the resource.
928
931
  # @param [Fixnum] merchant_id
929
932
  # The ID of the account that manages the datafeed. This account cannot be a
930
933
  # multi-client account.
@@ -1543,7 +1546,8 @@ module Google
1543
1546
  execute_or_queue_command(command, &block)
1544
1547
  end
1545
1548
 
1546
- # Updates the LIA settings of the account.
1549
+ # Updates the LIA settings of the account. Any fields that are not provided are
1550
+ # deleted from the resource.
1547
1551
  # @param [Fixnum] merchant_id
1548
1552
  # The ID of the managing account. If this parameter is not the same as accountId,
1549
1553
  # then this account must be a multi-client account and `accountId` must be the
@@ -2519,7 +2523,11 @@ module Google
2519
2523
  end
2520
2524
 
2521
2525
  # Returns and refunds a line item. Note that this method can only be called on
2522
- # fully shipped orders.
2526
+ # fully shipped orders. Please also note that the Orderreturns API is the
2527
+ # preferred way to handle returns after you receive a return from a customer.
2528
+ # You can use Orderreturns.list or Orderreturns.get to search for the return,
2529
+ # and then use Orderreturns.processreturn to issue the refund. If the return
2530
+ # cannot be found, then we recommend using this API to issue a refund.
2523
2531
  # @param [Fixnum] merchant_id
2524
2532
  # The ID of the account that manages the order. This cannot be a multi-client
2525
2533
  # account.
@@ -3598,7 +3606,8 @@ module Google
3598
3606
  execute_or_queue_command(command, &block)
3599
3607
  end
3600
3608
 
3601
- # Updates the shipping settings of the account.
3609
+ # Updates the shipping settings of the account. Any fields that are not provided
3610
+ # are deleted from the resource.
3602
3611
  # @param [Fixnum] merchant_id
3603
3612
  # The ID of the managing account. If this parameter is not the same as accountId,
3604
3613
  # then this account must be a multi-client account and `accountId` must be the
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2_1
28
28
  VERSION = 'V2_1'
29
- REVISION = '20200512'
29
+ REVISION = '20200617'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -4012,6 +4012,11 @@ module Google
4012
4012
  attr_accessor :acknowledged
4013
4013
  alias_method :acknowledged?, :acknowledged
4014
4014
 
4015
+ # List of key-value pairs that are attached to a given order.
4016
+ # Corresponds to the JSON property `annotations`
4017
+ # @return [Array<Google::Apis::ContentV2_1::OrderOrderAnnotation>]
4018
+ attr_accessor :annotations
4019
+
4015
4020
  # The billing address.
4016
4021
  # Corresponds to the JSON property `billingAddress`
4017
4022
  # @return [Google::Apis::ContentV2_1::OrderAddress]
@@ -4160,6 +4165,7 @@ module Google
4160
4165
  # Update properties of this object
4161
4166
  def update!(**args)
4162
4167
  @acknowledged = args[:acknowledged] if args.key?(:acknowledged)
4168
+ @annotations = args[:annotations] if args.key?(:annotations)
4163
4169
  @billing_address = args[:billing_address] if args.key?(:billing_address)
4164
4170
  @customer = args[:customer] if args.key?(:customer)
4165
4171
  @delivery_details = args[:delivery_details] if args.key?(:delivery_details)
@@ -4830,6 +4836,12 @@ module Google
4830
4836
  # @return [Google::Apis::ContentV2_1::OrderLineItemShippingDetailsMethod]
4831
4837
  attr_accessor :method_prop
4832
4838
 
4839
+ # The promised time in minutes in which the order will be ready for pickup. This
4840
+ # only applies to buy-online-pickup-in-store same-day order.
4841
+ # Corresponds to the JSON property `pickupPromiseInMinutes`
4842
+ # @return [Fixnum]
4843
+ attr_accessor :pickup_promise_in_minutes
4844
+
4833
4845
  # Required. The ship by date, in ISO 8601 format.
4834
4846
  # Corresponds to the JSON property `shipByDate`
4835
4847
  # @return [String]
@@ -4852,6 +4864,7 @@ module Google
4852
4864
  def update!(**args)
4853
4865
  @deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date)
4854
4866
  @method_prop = args[:method_prop] if args.key?(:method_prop)
4867
+ @pickup_promise_in_minutes = args[:pickup_promise_in_minutes] if args.key?(:pickup_promise_in_minutes)
4855
4868
  @ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date)
4856
4869
  @type = args[:type] if args.key?(:type)
4857
4870
  end
@@ -4922,6 +4935,31 @@ module Google
4922
4935
  end
4923
4936
  end
4924
4937
 
4938
+ #
4939
+ class OrderOrderAnnotation
4940
+ include Google::Apis::Core::Hashable
4941
+
4942
+ # Key for additional google provided (as key-value pairs) annotation.
4943
+ # Corresponds to the JSON property `key`
4944
+ # @return [String]
4945
+ attr_accessor :key
4946
+
4947
+ # Value for additional google provided (as key-value pairs) annotation.
4948
+ # Corresponds to the JSON property `value`
4949
+ # @return [String]
4950
+ attr_accessor :value
4951
+
4952
+ def initialize(**args)
4953
+ update!(**args)
4954
+ end
4955
+
4956
+ # Update properties of this object
4957
+ def update!(**args)
4958
+ @key = args[:key] if args.key?(:key)
4959
+ @value = args[:value] if args.key?(:value)
4960
+ end
4961
+ end
4962
+
4925
4963
  #
4926
4964
  class OrderPickupDetails
4927
4965
  include Google::Apis::Core::Hashable
@@ -4943,6 +4981,17 @@ module Google
4943
4981
  # @return [String]
4944
4982
  attr_accessor :location_id
4945
4983
 
4984
+ # The pickup type of this order.
4985
+ # Acceptable values are:
4986
+ # - "`merchantStore`"
4987
+ # - "`merchantStoreCurbside`"
4988
+ # - "`merchantStoreLocker`"
4989
+ # - "`thirdPartyPickupPoint`"
4990
+ # - "`thirdPartyLocker`"
4991
+ # Corresponds to the JSON property `pickupType`
4992
+ # @return [String]
4993
+ attr_accessor :pickup_type
4994
+
4946
4995
  def initialize(**args)
4947
4996
  update!(**args)
4948
4997
  end
@@ -4952,6 +5001,7 @@ module Google
4952
5001
  @address = args[:address] if args.key?(:address)
4953
5002
  @collectors = args[:collectors] if args.key?(:collectors)
4954
5003
  @location_id = args[:location_id] if args.key?(:location_id)
5004
+ @pickup_type = args[:pickup_type] if args.key?(:pickup_type)
4955
5005
  end
4956
5006
  end
4957
5007
 
@@ -4984,14 +5034,16 @@ module Google
4984
5034
  class OrderPromotion
4985
5035
  include Google::Apis::Core::Hashable
4986
5036
 
4987
- # Items which this promotion may be applied to. If empty, there are no
4988
- # restrictions on applicable items and quantity.
5037
+ # Items that this promotion may be applied to. If empty, there are no
5038
+ # restrictions on applicable items and quantity. This field will also be empty
5039
+ # for shipping promotions because shipping is not tied to any specific item.
4989
5040
  # Corresponds to the JSON property `applicableItems`
4990
5041
  # @return [Array<Google::Apis::ContentV2_1::OrderPromotionItem>]
4991
5042
  attr_accessor :applicable_items
4992
5043
 
4993
- # Items which this promotion have been applied to. Do not provide for `orders.
4994
- # createtestorder`.
5044
+ # Items that this promotion have been applied to. Do not provide for `orders.
5045
+ # createtestorder`. This field will be empty for shipping promotions because
5046
+ # shipping is not tied to any specific item.
4995
5047
  # Corresponds to the JSON property `appliedItems`
4996
5048
  # @return [Array<Google::Apis::ContentV2_1::OrderPromotionItem>]
4997
5049
  attr_accessor :applied_items
@@ -5478,6 +5530,11 @@ module Google
5478
5530
  # @return [Array<Google::Apis::ContentV2_1::OrderShipmentLineItemShipment>]
5479
5531
  attr_accessor :line_items
5480
5532
 
5533
+ # Delivery details of the shipment if scheduling is needed.
5534
+ # Corresponds to the JSON property `scheduledDeliveryDetails`
5535
+ # @return [Google::Apis::ContentV2_1::OrderShipmentScheduledDeliveryDetails]
5536
+ attr_accessor :scheduled_delivery_details
5537
+
5481
5538
  # The shipment group ID of the shipment. This is set in shiplineitems request.
5482
5539
  # Corresponds to the JSON property `shipmentGroupId`
5483
5540
  # @return [String]
@@ -5509,6 +5566,7 @@ module Google
5509
5566
  @delivery_date = args[:delivery_date] if args.key?(:delivery_date)
5510
5567
  @id = args[:id] if args.key?(:id)
5511
5568
  @line_items = args[:line_items] if args.key?(:line_items)
5569
+ @scheduled_delivery_details = args[:scheduled_delivery_details] if args.key?(:scheduled_delivery_details)
5512
5570
  @shipment_group_id = args[:shipment_group_id] if args.key?(:shipment_group_id)
5513
5571
  @status = args[:status] if args.key?(:status)
5514
5572
  @tracking_id = args[:tracking_id] if args.key?(:tracking_id)
@@ -5548,6 +5606,31 @@ module Google
5548
5606
  end
5549
5607
  end
5550
5608
 
5609
+ #
5610
+ class OrderShipmentScheduledDeliveryDetails
5611
+ include Google::Apis::Core::Hashable
5612
+
5613
+ # The phone number of the carrier fulfilling the delivery.
5614
+ # Corresponds to the JSON property `carrierPhoneNumber`
5615
+ # @return [String]
5616
+ attr_accessor :carrier_phone_number
5617
+
5618
+ # The date a shipment is scheduled for delivery, in ISO 8601 format.
5619
+ # Corresponds to the JSON property `scheduledDate`
5620
+ # @return [String]
5621
+ attr_accessor :scheduled_date
5622
+
5623
+ def initialize(**args)
5624
+ update!(**args)
5625
+ end
5626
+
5627
+ # Update properties of this object
5628
+ def update!(**args)
5629
+ @carrier_phone_number = args[:carrier_phone_number] if args.key?(:carrier_phone_number)
5630
+ @scheduled_date = args[:scheduled_date] if args.key?(:scheduled_date)
5631
+ end
5632
+ end
5633
+
5551
5634
  #
5552
5635
  class OrderinvoicesCreateChargeInvoiceRequest
5553
5636
  include Google::Apis::Core::Hashable
@@ -6555,6 +6638,83 @@ module Google
6555
6638
  end
6556
6639
  end
6557
6640
 
6641
+ #
6642
+ class OrdersCustomBatchRequestEntryRefundItemItem
6643
+ include Google::Apis::Core::Hashable
6644
+
6645
+ # The total amount that is refunded. (e.g. refunding $5 each for 2 products
6646
+ # should be done by setting quantity to 2 and amount to 10$) In case of multiple
6647
+ # refunds, this should be the amount you currently want to refund to the
6648
+ # customer.
6649
+ # Corresponds to the JSON property `amount`
6650
+ # @return [Google::Apis::ContentV2_1::MonetaryAmount]
6651
+ attr_accessor :amount
6652
+
6653
+ # If true, the full item will be refunded. If this is true, amount should not be
6654
+ # provided and will be ignored.
6655
+ # Corresponds to the JSON property `fullRefund`
6656
+ # @return [Boolean]
6657
+ attr_accessor :full_refund
6658
+ alias_method :full_refund?, :full_refund
6659
+
6660
+ # The ID of the line item. Either lineItemId or productId is required.
6661
+ # Corresponds to the JSON property `lineItemId`
6662
+ # @return [String]
6663
+ attr_accessor :line_item_id
6664
+
6665
+ # The ID of the product. This is the REST ID used in the products service.
6666
+ # Either lineItemId or productId is required.
6667
+ # Corresponds to the JSON property `productId`
6668
+ # @return [String]
6669
+ attr_accessor :product_id
6670
+
6671
+ # The number of products that are refunded.
6672
+ # Corresponds to the JSON property `quantity`
6673
+ # @return [Fixnum]
6674
+ attr_accessor :quantity
6675
+
6676
+ def initialize(**args)
6677
+ update!(**args)
6678
+ end
6679
+
6680
+ # Update properties of this object
6681
+ def update!(**args)
6682
+ @amount = args[:amount] if args.key?(:amount)
6683
+ @full_refund = args[:full_refund] if args.key?(:full_refund)
6684
+ @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
6685
+ @product_id = args[:product_id] if args.key?(:product_id)
6686
+ @quantity = args[:quantity] if args.key?(:quantity)
6687
+ end
6688
+ end
6689
+
6690
+ #
6691
+ class OrdersCustomBatchRequestEntryRefundItemShipping
6692
+ include Google::Apis::Core::Hashable
6693
+
6694
+ # The amount that is refunded. If this is not the first refund for the shipment,
6695
+ # this should be the newly refunded amount.
6696
+ # Corresponds to the JSON property `amount`
6697
+ # @return [Google::Apis::ContentV2_1::Price]
6698
+ attr_accessor :amount
6699
+
6700
+ # If set to true, all shipping costs for the order will be refunded. If this is
6701
+ # true, amount should not be provided and will be ignored.
6702
+ # Corresponds to the JSON property `fullRefund`
6703
+ # @return [Boolean]
6704
+ attr_accessor :full_refund
6705
+ alias_method :full_refund?, :full_refund
6706
+
6707
+ def initialize(**args)
6708
+ update!(**args)
6709
+ end
6710
+
6711
+ # Update properties of this object
6712
+ def update!(**args)
6713
+ @amount = args[:amount] if args.key?(:amount)
6714
+ @full_refund = args[:full_refund] if args.key?(:full_refund)
6715
+ end
6716
+ end
6717
+
6558
6718
  #
6559
6719
  class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
6560
6720
  include Google::Apis::Core::Hashable
@@ -6780,6 +6940,173 @@ module Google
6780
6940
  end
6781
6941
  end
6782
6942
 
6943
+ #
6944
+ class OrdersRefundItemRequest
6945
+ include Google::Apis::Core::Hashable
6946
+
6947
+ # The items that are refunded. Either Item or Shipping must be provided in the
6948
+ # request.
6949
+ # Corresponds to the JSON property `items`
6950
+ # @return [Array<Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryRefundItemItem>]
6951
+ attr_accessor :items
6952
+
6953
+ # The ID of the operation. Unique across all operations for a given order.
6954
+ # Corresponds to the JSON property `operationId`
6955
+ # @return [String]
6956
+ attr_accessor :operation_id
6957
+
6958
+ # The reason for the refund.
6959
+ # Acceptable values are:
6960
+ # - "`shippingCostAdjustment`"
6961
+ # - "`priceAdjustment`"
6962
+ # - "`taxAdjustment`"
6963
+ # - "`feeAdjustment`"
6964
+ # - "`courtesyAdjustment`"
6965
+ # - "`adjustment`"
6966
+ # - "`customerCancelled`"
6967
+ # - "`noInventory`"
6968
+ # - "`productNotAsDescribed`"
6969
+ # - "`undeliverableShippingAddress`"
6970
+ # - "`wrongProductShipped`"
6971
+ # - "`lateShipmentCredit`"
6972
+ # - "`deliveredLateByCarrier`"
6973
+ # - "`productArrivedDamaged`"
6974
+ # Corresponds to the JSON property `reason`
6975
+ # @return [String]
6976
+ attr_accessor :reason
6977
+
6978
+ # The explanation of the reason.
6979
+ # Corresponds to the JSON property `reasonText`
6980
+ # @return [String]
6981
+ attr_accessor :reason_text
6982
+
6983
+ # The refund on shipping. Optional, but either Item or Shipping must be provided
6984
+ # in the request.
6985
+ # Corresponds to the JSON property `shipping`
6986
+ # @return [Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryRefundItemShipping]
6987
+ attr_accessor :shipping
6988
+
6989
+ def initialize(**args)
6990
+ update!(**args)
6991
+ end
6992
+
6993
+ # Update properties of this object
6994
+ def update!(**args)
6995
+ @items = args[:items] if args.key?(:items)
6996
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
6997
+ @reason = args[:reason] if args.key?(:reason)
6998
+ @reason_text = args[:reason_text] if args.key?(:reason_text)
6999
+ @shipping = args[:shipping] if args.key?(:shipping)
7000
+ end
7001
+ end
7002
+
7003
+ #
7004
+ class OrdersRefundItemResponse
7005
+ include Google::Apis::Core::Hashable
7006
+
7007
+ # The status of the execution.
7008
+ # Acceptable values are:
7009
+ # - "`duplicate`"
7010
+ # - "`executed`"
7011
+ # Corresponds to the JSON property `executionStatus`
7012
+ # @return [String]
7013
+ attr_accessor :execution_status
7014
+
7015
+ # Identifies what kind of resource this is. Value: the fixed string "content#
7016
+ # ordersRefundItemResponse".
7017
+ # Corresponds to the JSON property `kind`
7018
+ # @return [String]
7019
+ attr_accessor :kind
7020
+
7021
+ def initialize(**args)
7022
+ update!(**args)
7023
+ end
7024
+
7025
+ # Update properties of this object
7026
+ def update!(**args)
7027
+ @execution_status = args[:execution_status] if args.key?(:execution_status)
7028
+ @kind = args[:kind] if args.key?(:kind)
7029
+ end
7030
+ end
7031
+
7032
+ #
7033
+ class OrdersRefundOrderRequest
7034
+ include Google::Apis::Core::Hashable
7035
+
7036
+ # The amount that is refunded. If this is not the first refund for the order,
7037
+ # this should be the newly refunded amount.
7038
+ # Corresponds to the JSON property `amount`
7039
+ # @return [Google::Apis::ContentV2_1::MonetaryAmount]
7040
+ attr_accessor :amount
7041
+
7042
+ # If true, the full order will be refunded, including shipping. If this is true,
7043
+ # amount should not be provided and will be ignored.
7044
+ # Corresponds to the JSON property `fullRefund`
7045
+ # @return [Boolean]
7046
+ attr_accessor :full_refund
7047
+ alias_method :full_refund?, :full_refund
7048
+
7049
+ # The ID of the operation. Unique across all operations for a given order.
7050
+ # Corresponds to the JSON property `operationId`
7051
+ # @return [String]
7052
+ attr_accessor :operation_id
7053
+
7054
+ # The reason for the refund.
7055
+ # Acceptable values are:
7056
+ # - "`courtesyAdjustment`"
7057
+ # - "`other`"
7058
+ # Corresponds to the JSON property `reason`
7059
+ # @return [String]
7060
+ attr_accessor :reason
7061
+
7062
+ # The explanation of the reason.
7063
+ # Corresponds to the JSON property `reasonText`
7064
+ # @return [String]
7065
+ attr_accessor :reason_text
7066
+
7067
+ def initialize(**args)
7068
+ update!(**args)
7069
+ end
7070
+
7071
+ # Update properties of this object
7072
+ def update!(**args)
7073
+ @amount = args[:amount] if args.key?(:amount)
7074
+ @full_refund = args[:full_refund] if args.key?(:full_refund)
7075
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
7076
+ @reason = args[:reason] if args.key?(:reason)
7077
+ @reason_text = args[:reason_text] if args.key?(:reason_text)
7078
+ end
7079
+ end
7080
+
7081
+ #
7082
+ class OrdersRefundOrderResponse
7083
+ include Google::Apis::Core::Hashable
7084
+
7085
+ # The status of the execution.
7086
+ # Acceptable values are:
7087
+ # - "`duplicate`"
7088
+ # - "`executed`"
7089
+ # Corresponds to the JSON property `executionStatus`
7090
+ # @return [String]
7091
+ attr_accessor :execution_status
7092
+
7093
+ # Identifies what kind of resource this is. Value: the fixed string "content#
7094
+ # ordersRefundOrderResponse".
7095
+ # Corresponds to the JSON property `kind`
7096
+ # @return [String]
7097
+ attr_accessor :kind
7098
+
7099
+ def initialize(**args)
7100
+ update!(**args)
7101
+ end
7102
+
7103
+ # Update properties of this object
7104
+ def update!(**args)
7105
+ @execution_status = args[:execution_status] if args.key?(:execution_status)
7106
+ @kind = args[:kind] if args.key?(:kind)
7107
+ end
7108
+ end
7109
+
6783
7110
  #
6784
7111
  class OrdersRejectReturnLineItemRequest
6785
7112
  include Google::Apis::Core::Hashable
@@ -7259,11 +7586,24 @@ module Google
7259
7586
  # @return [String]
7260
7587
  attr_accessor :delivery_date
7261
7588
 
7589
+ # Date after which the pickup will expire, in ISO 8601 format. Required only
7590
+ # when order is buy-online-pickup-in-store(BOPIS) and `status` is `ready for
7591
+ # pickup`.
7592
+ # Corresponds to the JSON property `lastPickupDate`
7593
+ # @return [String]
7594
+ attr_accessor :last_pickup_date
7595
+
7262
7596
  # The ID of the operation. Unique across all operations for a given order.
7263
7597
  # Corresponds to the JSON property `operationId`
7264
7598
  # @return [String]
7265
7599
  attr_accessor :operation_id
7266
7600
 
7601
+ # Date on which the shipment has been ready for pickup, in ISO 8601 format.
7602
+ # Optional and can be provided only if `status` is `ready for pickup`.
7603
+ # Corresponds to the JSON property `readyPickupDate`
7604
+ # @return [String]
7605
+ attr_accessor :ready_pickup_date
7606
+
7267
7607
  # The ID of the shipment.
7268
7608
  # Corresponds to the JSON property `shipmentId`
7269
7609
  # @return [String]
@@ -7273,6 +7613,7 @@ module Google
7273
7613
  # Acceptable values are:
7274
7614
  # - "`delivered`"
7275
7615
  # - "`undeliverable`"
7616
+ # - "`readyForPickup`"
7276
7617
  # Corresponds to the JSON property `status`
7277
7618
  # @return [String]
7278
7619
  attr_accessor :status
@@ -7282,6 +7623,12 @@ module Google
7282
7623
  # @return [String]
7283
7624
  attr_accessor :tracking_id
7284
7625
 
7626
+ # Date on which the shipment has been undeliverable, in ISO 8601 format.
7627
+ # Optional and can be provided only if `status` is `undeliverable`.
7628
+ # Corresponds to the JSON property `undeliveredDate`
7629
+ # @return [String]
7630
+ attr_accessor :undelivered_date
7631
+
7285
7632
  def initialize(**args)
7286
7633
  update!(**args)
7287
7634
  end
@@ -7290,10 +7637,13 @@ module Google
7290
7637
  def update!(**args)
7291
7638
  @carrier = args[:carrier] if args.key?(:carrier)
7292
7639
  @delivery_date = args[:delivery_date] if args.key?(:delivery_date)
7640
+ @last_pickup_date = args[:last_pickup_date] if args.key?(:last_pickup_date)
7293
7641
  @operation_id = args[:operation_id] if args.key?(:operation_id)
7642
+ @ready_pickup_date = args[:ready_pickup_date] if args.key?(:ready_pickup_date)
7294
7643
  @shipment_id = args[:shipment_id] if args.key?(:shipment_id)
7295
7644
  @status = args[:status] if args.key?(:status)
7296
7645
  @tracking_id = args[:tracking_id] if args.key?(:tracking_id)
7646
+ @undelivered_date = args[:undelivered_date] if args.key?(:undelivered_date)
7297
7647
  end
7298
7648
  end
7299
7649
 
@@ -8227,6 +8577,11 @@ module Google
8227
8577
  # @return [String]
8228
8578
  attr_accessor :brand
8229
8579
 
8580
+ # Link to the canonical version of the landing page.
8581
+ # Corresponds to the JSON property `canonicalLink`
8582
+ # @return [String]
8583
+ attr_accessor :canonical_link
8584
+
8230
8585
  # Required. The item's channel (online or local).
8231
8586
  # Acceptable values are:
8232
8587
  # - "`local`"
@@ -8381,7 +8736,7 @@ module Google
8381
8736
  # @return [Array<String>]
8382
8737
  attr_accessor :included_destinations
8383
8738
 
8384
- # Number and amount of installments to pay for an item. Brazil only.
8739
+ # Number and amount of installments to pay for an item.
8385
8740
  # Corresponds to the JSON property `installment`
8386
8741
  # @return [Google::Apis::ContentV2_1::Installment]
8387
8742
  attr_accessor :installment
@@ -8474,6 +8829,16 @@ module Google
8474
8829
  # @return [Google::Apis::ContentV2_1::Price]
8475
8830
  attr_accessor :price
8476
8831
 
8832
+ # Technical specification or additional product details
8833
+ # Corresponds to the JSON property `productDetails`
8834
+ # @return [Array<Google::Apis::ContentV2_1::ProductProductDetail>]
8835
+ attr_accessor :product_details
8836
+
8837
+ # List of important bullet points describing the product
8838
+ # Corresponds to the JSON property `productHighlights`
8839
+ # @return [Array<String>]
8840
+ attr_accessor :product_highlights
8841
+
8477
8842
  # Categories of the item (formatted as in products data specification).
8478
8843
  # Corresponds to the JSON property `productTypes`
8479
8844
  # @return [Array<String>]
@@ -8557,6 +8922,12 @@ module Google
8557
8922
  # @return [String]
8558
8923
  attr_accessor :source
8559
8924
 
8925
+ # Number of periods (months or years) and amount of payment per period for an
8926
+ # item with an associated subscription contract.
8927
+ # Corresponds to the JSON property `subscriptionCost`
8928
+ # @return [Google::Apis::ContentV2_1::ProductSubscriptionCost]
8929
+ attr_accessor :subscription_cost
8930
+
8560
8931
  # Required. The CLDR territory code for the item.
8561
8932
  # Corresponds to the JSON property `targetCountry`
8562
8933
  # @return [String]
@@ -8609,6 +8980,7 @@ module Google
8609
8980
  @availability = args[:availability] if args.key?(:availability)
8610
8981
  @availability_date = args[:availability_date] if args.key?(:availability_date)
8611
8982
  @brand = args[:brand] if args.key?(:brand)
8983
+ @canonical_link = args[:canonical_link] if args.key?(:canonical_link)
8612
8984
  @channel = args[:channel] if args.key?(:channel)
8613
8985
  @color = args[:color] if args.key?(:color)
8614
8986
  @condition = args[:condition] if args.key?(:condition)
@@ -8653,6 +9025,8 @@ module Google
8653
9025
  @offer_id = args[:offer_id] if args.key?(:offer_id)
8654
9026
  @pattern = args[:pattern] if args.key?(:pattern)
8655
9027
  @price = args[:price] if args.key?(:price)
9028
+ @product_details = args[:product_details] if args.key?(:product_details)
9029
+ @product_highlights = args[:product_highlights] if args.key?(:product_highlights)
8656
9030
  @product_types = args[:product_types] if args.key?(:product_types)
8657
9031
  @promotion_ids = args[:promotion_ids] if args.key?(:promotion_ids)
8658
9032
  @sale_price = args[:sale_price] if args.key?(:sale_price)
@@ -8668,6 +9042,7 @@ module Google
8668
9042
  @size_type = args[:size_type] if args.key?(:size_type)
8669
9043
  @sizes = args[:sizes] if args.key?(:sizes)
8670
9044
  @source = args[:source] if args.key?(:source)
9045
+ @subscription_cost = args[:subscription_cost] if args.key?(:subscription_cost)
8671
9046
  @target_country = args[:target_country] if args.key?(:target_country)
8672
9047
  @tax_category = args[:tax_category] if args.key?(:tax_category)
8673
9048
  @taxes = args[:taxes] if args.key?(:taxes)
@@ -8709,6 +9084,37 @@ module Google
8709
9084
  end
8710
9085
  end
8711
9086
 
9087
+ #
9088
+ class ProductProductDetail
9089
+ include Google::Apis::Core::Hashable
9090
+
9091
+ # The name of the product detail.
9092
+ # Corresponds to the JSON property `attributeName`
9093
+ # @return [String]
9094
+ attr_accessor :attribute_name
9095
+
9096
+ # The value of the product detail.
9097
+ # Corresponds to the JSON property `attributeValue`
9098
+ # @return [String]
9099
+ attr_accessor :attribute_value
9100
+
9101
+ # The section header used to group a set of product details.
9102
+ # Corresponds to the JSON property `sectionName`
9103
+ # @return [String]
9104
+ attr_accessor :section_name
9105
+
9106
+ def initialize(**args)
9107
+ update!(**args)
9108
+ end
9109
+
9110
+ # Update properties of this object
9111
+ def update!(**args)
9112
+ @attribute_name = args[:attribute_name] if args.key?(:attribute_name)
9113
+ @attribute_value = args[:attribute_value] if args.key?(:attribute_value)
9114
+ @section_name = args[:section_name] if args.key?(:section_name)
9115
+ end
9116
+ end
9117
+
8712
9118
  #
8713
9119
  class ProductShipping
8714
9120
  include Google::Apis::Core::Hashable
@@ -8896,7 +9302,7 @@ module Google
8896
9302
  # @return [String]
8897
9303
  attr_accessor :destination
8898
9304
 
8899
- #
9305
+ # Destination approval status in `targetCountry` of the offer.
8900
9306
  # Corresponds to the JSON property `status`
8901
9307
  # @return [String]
8902
9308
  attr_accessor :status
@@ -8973,6 +9379,37 @@ module Google
8973
9379
  end
8974
9380
  end
8975
9381
 
9382
+ #
9383
+ class ProductSubscriptionCost
9384
+ include Google::Apis::Core::Hashable
9385
+
9386
+ # The amount the buyer has to pay per subscription period.
9387
+ # Corresponds to the JSON property `amount`
9388
+ # @return [Google::Apis::ContentV2_1::Price]
9389
+ attr_accessor :amount
9390
+
9391
+ # The type of subscription period.
9392
+ # Corresponds to the JSON property `period`
9393
+ # @return [String]
9394
+ attr_accessor :period
9395
+
9396
+ # The number of subscription periods the buyer has to pay.
9397
+ # Corresponds to the JSON property `periodLength`
9398
+ # @return [Fixnum]
9399
+ attr_accessor :period_length
9400
+
9401
+ def initialize(**args)
9402
+ update!(**args)
9403
+ end
9404
+
9405
+ # Update properties of this object
9406
+ def update!(**args)
9407
+ @amount = args[:amount] if args.key?(:amount)
9408
+ @period = args[:period] if args.key?(:period)
9409
+ @period_length = args[:period_length] if args.key?(:period_length)
9410
+ end
9411
+ end
9412
+
8976
9413
  #
8977
9414
  class ProductTax
8978
9415
  include Google::Apis::Core::Hashable
@@ -10128,6 +10565,7 @@ module Google
10128
10565
  # - "`new`"
10129
10566
  # - "`shipped`"
10130
10567
  # - "`undeliverable`"
10568
+ # - "`pending`"
10131
10569
  # Corresponds to the JSON property `state`
10132
10570
  # @return [String]
10133
10571
  attr_accessor :state
@@ -11442,6 +11880,11 @@ module Google
11442
11880
  class TestOrder
11443
11881
  include Google::Apis::Core::Hashable
11444
11882
 
11883
+ # Overrides the predefined delivery details if provided.
11884
+ # Corresponds to the JSON property `deliveryDetails`
11885
+ # @return [Google::Apis::ContentV2_1::TestOrderDeliveryDetails]
11886
+ attr_accessor :delivery_details
11887
+
11445
11888
  # Whether the orderinvoices service should support this order.
11446
11889
  # Corresponds to the JSON property `enableOrderinvoices`
11447
11890
  # @return [Boolean]
@@ -11464,6 +11907,11 @@ module Google
11464
11907
  # @return [String]
11465
11908
  attr_accessor :notification_mode
11466
11909
 
11910
+ # Overrides the predefined pickup details if provided.
11911
+ # Corresponds to the JSON property `pickupDetails`
11912
+ # @return [Google::Apis::ContentV2_1::TestOrderPickupDetails]
11913
+ attr_accessor :pickup_details
11914
+
11467
11915
  # Required. The billing address.
11468
11916
  # Acceptable values are:
11469
11917
  # - "`dwight`"
@@ -11533,10 +11981,12 @@ module Google
11533
11981
 
11534
11982
  # Update properties of this object
11535
11983
  def update!(**args)
11984
+ @delivery_details = args[:delivery_details] if args.key?(:delivery_details)
11536
11985
  @enable_orderinvoices = args[:enable_orderinvoices] if args.key?(:enable_orderinvoices)
11537
11986
  @kind = args[:kind] if args.key?(:kind)
11538
11987
  @line_items = args[:line_items] if args.key?(:line_items)
11539
11988
  @notification_mode = args[:notification_mode] if args.key?(:notification_mode)
11989
+ @pickup_details = args[:pickup_details] if args.key?(:pickup_details)
11540
11990
  @predefined_billing_address = args[:predefined_billing_address] if args.key?(:predefined_billing_address)
11541
11991
  @predefined_delivery_address = args[:predefined_delivery_address] if args.key?(:predefined_delivery_address)
11542
11992
  @predefined_email = args[:predefined_email] if args.key?(:predefined_email)
@@ -11547,6 +11997,100 @@ module Google
11547
11997
  end
11548
11998
  end
11549
11999
 
12000
+ #
12001
+ class TestOrderAddress
12002
+ include Google::Apis::Core::Hashable
12003
+
12004
+ # CLDR country code (e.g. "US").
12005
+ # Corresponds to the JSON property `country`
12006
+ # @return [String]
12007
+ attr_accessor :country
12008
+
12009
+ # Strings representing the lines of the printed label for mailing the order, for
12010
+ # example:
12011
+ # John Smith
12012
+ # 1600 Amphitheatre Parkway
12013
+ # Mountain View, CA, 94043
12014
+ # United States
12015
+ # Corresponds to the JSON property `fullAddress`
12016
+ # @return [Array<String>]
12017
+ attr_accessor :full_address
12018
+
12019
+ # Whether the address is a post office box.
12020
+ # Corresponds to the JSON property `isPostOfficeBox`
12021
+ # @return [Boolean]
12022
+ attr_accessor :is_post_office_box
12023
+ alias_method :is_post_office_box?, :is_post_office_box
12024
+
12025
+ # City, town or commune. May also include dependent localities or sublocalities (
12026
+ # e.g. neighborhoods or suburbs).
12027
+ # Corresponds to the JSON property `locality`
12028
+ # @return [String]
12029
+ attr_accessor :locality
12030
+
12031
+ # Postal Code or ZIP (e.g. "94043").
12032
+ # Corresponds to the JSON property `postalCode`
12033
+ # @return [String]
12034
+ attr_accessor :postal_code
12035
+
12036
+ # Name of the recipient.
12037
+ # Corresponds to the JSON property `recipientName`
12038
+ # @return [String]
12039
+ attr_accessor :recipient_name
12040
+
12041
+ # Top-level administrative subdivision of the country. For example, a state like
12042
+ # California ("CA") or a province like Quebec ("QC").
12043
+ # Corresponds to the JSON property `region`
12044
+ # @return [String]
12045
+ attr_accessor :region
12046
+
12047
+ # Street-level part of the address.
12048
+ # Corresponds to the JSON property `streetAddress`
12049
+ # @return [Array<String>]
12050
+ attr_accessor :street_address
12051
+
12052
+ def initialize(**args)
12053
+ update!(**args)
12054
+ end
12055
+
12056
+ # Update properties of this object
12057
+ def update!(**args)
12058
+ @country = args[:country] if args.key?(:country)
12059
+ @full_address = args[:full_address] if args.key?(:full_address)
12060
+ @is_post_office_box = args[:is_post_office_box] if args.key?(:is_post_office_box)
12061
+ @locality = args[:locality] if args.key?(:locality)
12062
+ @postal_code = args[:postal_code] if args.key?(:postal_code)
12063
+ @recipient_name = args[:recipient_name] if args.key?(:recipient_name)
12064
+ @region = args[:region] if args.key?(:region)
12065
+ @street_address = args[:street_address] if args.key?(:street_address)
12066
+ end
12067
+ end
12068
+
12069
+ #
12070
+ class TestOrderDeliveryDetails
12071
+ include Google::Apis::Core::Hashable
12072
+
12073
+ # The delivery address
12074
+ # Corresponds to the JSON property `address`
12075
+ # @return [Google::Apis::ContentV2_1::TestOrderAddress]
12076
+ attr_accessor :address
12077
+
12078
+ # The phone number of the person receiving the delivery.
12079
+ # Corresponds to the JSON property `phoneNumber`
12080
+ # @return [String]
12081
+ attr_accessor :phone_number
12082
+
12083
+ def initialize(**args)
12084
+ update!(**args)
12085
+ end
12086
+
12087
+ # Update properties of this object
12088
+ def update!(**args)
12089
+ @address = args[:address] if args.key?(:address)
12090
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
12091
+ end
12092
+ end
12093
+
11550
12094
  #
11551
12095
  class TestOrderLineItem
11552
12096
  include Google::Apis::Core::Hashable
@@ -11682,6 +12226,72 @@ module Google
11682
12226
  end
11683
12227
  end
11684
12228
 
12229
+ #
12230
+ class TestOrderPickupDetails
12231
+ include Google::Apis::Core::Hashable
12232
+
12233
+ # Required. Code of the location defined by provider or merchant.
12234
+ # Corresponds to the JSON property `locationCode`
12235
+ # @return [String]
12236
+ attr_accessor :location_code
12237
+
12238
+ # Required. Pickup location address.
12239
+ # Corresponds to the JSON property `pickupLocationAddress`
12240
+ # @return [Google::Apis::ContentV2_1::TestOrderAddress]
12241
+ attr_accessor :pickup_location_address
12242
+
12243
+ # Pickup location type.
12244
+ # Acceptable values are:
12245
+ # - "`locker`"
12246
+ # - "`store`"
12247
+ # - "`curbside`"
12248
+ # Corresponds to the JSON property `pickupLocationType`
12249
+ # @return [String]
12250
+ attr_accessor :pickup_location_type
12251
+
12252
+ # Required. all pickup persons set by users.
12253
+ # Corresponds to the JSON property `pickupPersons`
12254
+ # @return [Array<Google::Apis::ContentV2_1::TestOrderPickupDetailsPickupPerson>]
12255
+ attr_accessor :pickup_persons
12256
+
12257
+ def initialize(**args)
12258
+ update!(**args)
12259
+ end
12260
+
12261
+ # Update properties of this object
12262
+ def update!(**args)
12263
+ @location_code = args[:location_code] if args.key?(:location_code)
12264
+ @pickup_location_address = args[:pickup_location_address] if args.key?(:pickup_location_address)
12265
+ @pickup_location_type = args[:pickup_location_type] if args.key?(:pickup_location_type)
12266
+ @pickup_persons = args[:pickup_persons] if args.key?(:pickup_persons)
12267
+ end
12268
+ end
12269
+
12270
+ #
12271
+ class TestOrderPickupDetailsPickupPerson
12272
+ include Google::Apis::Core::Hashable
12273
+
12274
+ # Required. Full name of the pickup person.
12275
+ # Corresponds to the JSON property `name`
12276
+ # @return [String]
12277
+ attr_accessor :name
12278
+
12279
+ # Required. The phone number of the person picking up the items.
12280
+ # Corresponds to the JSON property `phoneNumber`
12281
+ # @return [String]
12282
+ attr_accessor :phone_number
12283
+
12284
+ def initialize(**args)
12285
+ update!(**args)
12286
+ end
12287
+
12288
+ # Update properties of this object
12289
+ def update!(**args)
12290
+ @name = args[:name] if args.key?(:name)
12291
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
12292
+ end
12293
+ end
12294
+
11685
12295
  #
11686
12296
  class TransitTable
11687
12297
  include Google::Apis::Core::Hashable