google-api-client 0.49.0 → 0.53.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (669) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +0 -14
  3. data/CHANGELOG.md +314 -0
  4. data/OVERVIEW.md +36 -27
  5. data/generated/google/apis/accessapproval_v1.rb +1 -1
  6. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  7. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +326 -0
  9. data/generated/google/apis/accesscontextmanager_v1/representations.rb +139 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
  14. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  15. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  16. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  17. data/generated/google/apis/admin_directory_v1.rb +2 -2
  18. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  19. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  20. data/generated/google/apis/admin_directory_v1/service.rb +325 -185
  21. data/generated/google/apis/admin_reports_v1.rb +2 -2
  22. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  23. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  24. data/generated/google/apis/admob_v1.rb +4 -1
  25. data/generated/google/apis/admob_v1/service.rb +4 -0
  26. data/{lib/google/apis/generator/templates/representations.rb.tmpl → generated/google/apis/admob_v1beta.rb} +18 -12
  27. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  28. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  29. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  30. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  31. data/generated/google/apis/analytics_v3/service.rb +1 -1
  32. data/generated/google/apis/analyticsadmin_v1alpha.rb +2 -2
  33. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +10 -2
  34. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +1 -0
  35. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +41 -21
  36. data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
  37. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +98 -57
  38. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -16
  39. data/generated/google/apis/analyticsdata_v1alpha/service.rb +7 -36
  40. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  41. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  42. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  43. data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
  44. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  45. data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
  46. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  47. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  48. data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
  49. data/{lib/google/apis/core/logging.rb → generated/google/apis/apigateway_v1.rb} +14 -10
  50. data/generated/google/apis/apigateway_v1/classes.rb +1116 -0
  51. data/generated/google/apis/apigateway_v1/representations.rb +442 -0
  52. data/generated/google/apis/apigateway_v1/service.rb +1172 -0
  53. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  54. data/generated/google/apis/apigateway_v1beta/classes.rb +22 -17
  55. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -1
  56. data/generated/google/apis/apigee_v1.rb +1 -1
  57. data/generated/google/apis/apigee_v1/classes.rb +216 -40
  58. data/generated/google/apis/apigee_v1/representations.rb +81 -1
  59. data/generated/google/apis/apigee_v1/service.rb +631 -54
  60. data/generated/google/apis/appengine_v1.rb +1 -1
  61. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  62. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  63. data/generated/google/apis/appengine_v1beta.rb +1 -1
  64. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  65. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  66. data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
  67. data/generated/google/apis/artifactregistry_v1.rb +38 -0
  68. data/generated/google/apis/artifactregistry_v1/classes.rb +242 -0
  69. data/generated/google/apis/artifactregistry_v1/representations.rb +116 -0
  70. data/generated/google/apis/artifactregistry_v1/service.rb +210 -0
  71. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  72. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -126
  73. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -63
  74. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  75. data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
  76. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +917 -0
  77. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +381 -0
  78. data/generated/google/apis/artifactregistry_v1beta2/service.rb +947 -0
  79. data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
  80. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +71 -147
  81. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
  82. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +47 -51
  83. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  84. data/generated/google/apis/billingbudgets_v1/classes.rb +6 -6
  85. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  86. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +6 -6
  87. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  88. data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
  89. data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
  90. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  91. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
  92. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
  93. data/generated/google/apis/chat_v1.rb +1 -1
  94. data/generated/google/apis/chat_v1/service.rb +308 -0
  95. data/generated/google/apis/cloudasset_v1.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1/classes.rb +757 -9
  97. data/generated/google/apis/cloudasset_v1/representations.rb +309 -1
  98. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  99. data/generated/google/apis/cloudasset_v1beta1/classes.rb +326 -6
  100. data/generated/google/apis/cloudasset_v1beta1/representations.rb +139 -1
  101. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  102. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +0 -6
  103. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +0 -1
  104. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  105. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +0 -6
  106. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +0 -1
  107. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  108. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +326 -6
  109. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +139 -1
  110. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  111. data/generated/google/apis/cloudbuild_v1/classes.rb +4 -4
  112. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  113. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  114. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +3 -3
  115. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  116. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +3 -3
  117. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  118. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  119. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
  120. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  121. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  122. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  123. data/generated/google/apis/cloudidentity_v1/service.rb +217 -9
  124. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  125. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  126. data/generated/google/apis/cloudidentity_v1beta1/service.rb +23 -9
  127. data/generated/google/apis/cloudiot_v1.rb +1 -1
  128. data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
  129. data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
  130. data/generated/google/apis/cloudkms_v1.rb +1 -1
  131. data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
  132. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  133. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  134. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +297 -6
  135. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +224 -1
  136. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  137. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +297 -6
  138. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +224 -1
  139. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  140. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +297 -6
  141. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +224 -1
  142. data/generated/google/apis/cloudresourcemanager_v2/service.rb +5 -5
  143. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +297 -6
  145. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +224 -1
  146. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +5 -5
  147. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  148. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  149. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  150. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  151. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  152. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
  153. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  154. data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
  155. data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
  156. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  157. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -6
  158. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -1
  159. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  160. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -6
  161. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -1
  162. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  163. data/generated/google/apis/composer_v1.rb +1 -1
  164. data/generated/google/apis/composer_v1/classes.rb +123 -0
  165. data/generated/google/apis/composer_v1/representations.rb +49 -0
  166. data/generated/google/apis/composer_v1/service.rb +19 -15
  167. data/generated/google/apis/composer_v1beta1.rb +1 -1
  168. data/generated/google/apis/composer_v1beta1/classes.rb +173 -0
  169. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  170. data/generated/google/apis/composer_v1beta1/service.rb +39 -1
  171. data/generated/google/apis/compute_alpha.rb +1 -1
  172. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  173. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  174. data/generated/google/apis/compute_alpha/service.rb +291 -15
  175. data/generated/google/apis/compute_beta.rb +1 -1
  176. data/generated/google/apis/compute_beta/classes.rb +926 -283
  177. data/generated/google/apis/compute_beta/representations.rb +221 -18
  178. data/generated/google/apis/compute_beta/service.rb +24 -15
  179. data/generated/google/apis/compute_v1.rb +1 -1
  180. data/generated/google/apis/compute_v1/classes.rb +461 -173
  181. data/generated/google/apis/compute_v1/representations.rb +58 -0
  182. data/generated/google/apis/compute_v1/service.rb +702 -552
  183. data/generated/google/apis/container_v1.rb +1 -1
  184. data/generated/google/apis/container_v1/classes.rb +55 -16
  185. data/generated/google/apis/container_v1/representations.rb +17 -0
  186. data/generated/google/apis/container_v1/service.rb +4 -2
  187. data/generated/google/apis/container_v1beta1.rb +1 -1
  188. data/generated/google/apis/container_v1beta1/classes.rb +31 -20
  189. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  190. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  191. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  192. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
  193. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
  194. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  195. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
  196. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
  197. data/generated/google/apis/content_v2.rb +1 -1
  198. data/generated/google/apis/content_v2/classes.rb +4 -4
  199. data/generated/google/apis/content_v2/service.rb +3 -1
  200. data/generated/google/apis/content_v2_1.rb +1 -1
  201. data/generated/google/apis/content_v2_1/classes.rb +1081 -25
  202. data/generated/google/apis/content_v2_1/representations.rb +402 -0
  203. data/generated/google/apis/content_v2_1/service.rb +331 -1
  204. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  205. data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -6
  206. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -1
  207. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  208. data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
  209. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  210. data/generated/google/apis/datalabeling_v1beta1.rb +1 -1
  211. data/generated/google/apis/datamigration_v1beta1.rb +1 -1
  212. data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
  213. data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
  214. data/generated/google/apis/dataproc_v1.rb +1 -1
  215. data/generated/google/apis/dataproc_v1/classes.rb +107 -7
  216. data/generated/google/apis/dataproc_v1/representations.rb +36 -1
  217. data/generated/google/apis/dataproc_v1/service.rb +42 -0
  218. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  219. data/generated/google/apis/dataproc_v1beta2/classes.rb +75 -7
  220. data/generated/google/apis/dataproc_v1beta2/representations.rb +32 -1
  221. data/generated/google/apis/dataproc_v1beta2/service.rb +42 -0
  222. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  223. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  224. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  225. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  226. data/generated/google/apis/deploymentmanager_v2.rb +2 -2
  227. data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
  228. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
  229. data/generated/google/apis/deploymentmanager_v2/service.rb +6 -26
  230. data/generated/google/apis/deploymentmanager_v2beta.rb +2 -2
  231. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
  232. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
  233. data/generated/google/apis/deploymentmanager_v2beta/service.rb +9 -41
  234. data/generated/google/apis/dialogflow_v2.rb +1 -1
  235. data/generated/google/apis/dialogflow_v2/classes.rb +4084 -692
  236. data/generated/google/apis/dialogflow_v2/representations.rb +1853 -287
  237. data/generated/google/apis/dialogflow_v2/service.rb +12 -4
  238. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  239. data/generated/google/apis/dialogflow_v2beta1/classes.rb +4080 -693
  240. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1862 -296
  241. data/generated/google/apis/dialogflow_v2beta1/service.rb +508 -38
  242. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  243. data/generated/google/apis/dialogflow_v3/classes.rb +11752 -0
  244. data/generated/google/apis/dialogflow_v3/representations.rb +5158 -0
  245. data/generated/google/apis/dialogflow_v3/service.rb +3414 -0
  246. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  247. data/generated/google/apis/dialogflow_v3beta1/classes.rb +5172 -2242
  248. data/generated/google/apis/dialogflow_v3beta1/representations.rb +1782 -350
  249. data/generated/google/apis/dialogflow_v3beta1/service.rb +591 -2
  250. data/generated/google/apis/displayvideo_v1.rb +1 -1
  251. data/generated/google/apis/displayvideo_v1/classes.rb +102 -8
  252. data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
  253. data/generated/google/apis/displayvideo_v1/service.rb +104 -40
  254. data/generated/google/apis/dlp_v2.rb +1 -1
  255. data/generated/google/apis/dlp_v2/classes.rb +6 -0
  256. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  257. data/generated/google/apis/dlp_v2/service.rb +297 -10
  258. data/generated/google/apis/dns_v1.rb +1 -1
  259. data/generated/google/apis/dns_v1/classes.rb +71 -0
  260. data/generated/google/apis/dns_v1/representations.rb +33 -0
  261. data/generated/google/apis/dns_v1beta2.rb +1 -1
  262. data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
  263. data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
  264. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  265. data/generated/google/apis/documentai_v1beta2/classes.rb +217 -186
  266. data/generated/google/apis/documentai_v1beta2/representations.rb +107 -24
  267. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  268. data/generated/google/apis/documentai_v1beta3/classes.rb +238 -201
  269. data/generated/google/apis/documentai_v1beta3/representations.rb +107 -24
  270. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  271. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  272. data/generated/google/apis/domains_v1alpha2/classes.rb +0 -6
  273. data/generated/google/apis/domains_v1alpha2/representations.rb +0 -1
  274. data/generated/google/apis/domains_v1beta1.rb +1 -1
  275. data/generated/google/apis/domains_v1beta1/classes.rb +0 -6
  276. data/generated/google/apis/domains_v1beta1/representations.rb +0 -1
  277. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  278. data/generated/google/apis/drive_v2.rb +1 -1
  279. data/generated/google/apis/drive_v2/classes.rb +6 -3
  280. data/generated/google/apis/drive_v2/service.rb +24 -56
  281. data/generated/google/apis/drive_v3.rb +1 -1
  282. data/generated/google/apis/drive_v3/classes.rb +6 -3
  283. data/generated/google/apis/drive_v3/service.rb +14 -30
  284. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  285. data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -15
  286. data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
  287. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  288. data/generated/google/apis/file_v1.rb +1 -1
  289. data/generated/google/apis/file_v1/classes.rb +61 -0
  290. data/generated/google/apis/file_v1/representations.rb +19 -0
  291. data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
  292. data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
  293. data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
  294. data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
  295. data/generated/google/apis/games_v1.rb +1 -1
  296. data/generated/google/apis/games_v1/classes.rb +67 -14
  297. data/generated/google/apis/games_v1/representations.rb +31 -2
  298. data/generated/google/apis/games_v1/service.rb +33 -0
  299. data/generated/google/apis/gameservices_v1.rb +1 -1
  300. data/generated/google/apis/gameservices_v1/service.rb +14 -14
  301. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  302. data/generated/google/apis/gameservices_v1beta/service.rb +14 -14
  303. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  304. data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
  305. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  306. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
  307. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
  308. data/generated/google/apis/healthcare_v1.rb +1 -1
  309. data/generated/google/apis/healthcare_v1/classes.rb +18 -17
  310. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  311. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  312. data/generated/google/apis/healthcare_v1beta1/classes.rb +69 -84
  313. data/generated/google/apis/healthcare_v1beta1/representations.rb +5 -29
  314. data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
  315. data/generated/google/apis/iam_v1.rb +1 -1
  316. data/generated/google/apis/iam_v1/classes.rb +101 -0
  317. data/generated/google/apis/iam_v1/representations.rb +33 -0
  318. data/generated/google/apis/iam_v1/service.rb +62 -0
  319. data/generated/google/apis/iap_v1.rb +1 -1
  320. data/generated/google/apis/iap_v1/classes.rb +0 -6
  321. data/generated/google/apis/iap_v1/representations.rb +0 -1
  322. data/generated/google/apis/iap_v1beta1.rb +1 -1
  323. data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
  324. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  325. data/generated/google/apis/jobs_v3.rb +1 -1
  326. data/generated/google/apis/jobs_v3/classes.rb +9 -807
  327. data/generated/google/apis/jobs_v3/representations.rb +0 -272
  328. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  329. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
  330. data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
  331. data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
  332. data/generated/google/apis/jobs_v4/classes.rb +2699 -0
  333. data/generated/google/apis/jobs_v4/representations.rb +934 -0
  334. data/generated/google/apis/jobs_v4/service.rb +903 -0
  335. data/generated/google/apis/licensing_v1.rb +1 -1
  336. data/generated/google/apis/licensing_v1/classes.rb +26 -8
  337. data/generated/google/apis/licensing_v1/representations.rb +12 -0
  338. data/generated/google/apis/licensing_v1/service.rb +32 -29
  339. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  340. data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
  341. data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
  342. data/generated/google/apis/localservices_v1.rb +4 -1
  343. data/generated/google/apis/logging_v2.rb +1 -1
  344. data/generated/google/apis/logging_v2/classes.rb +9 -6
  345. data/generated/google/apis/logging_v2/service.rb +20 -20
  346. data/generated/google/apis/managedidentities_v1.rb +1 -1
  347. data/generated/google/apis/managedidentities_v1/classes.rb +361 -15
  348. data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
  349. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  350. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -16
  351. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
  352. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  353. data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -11
  354. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
  355. data/generated/google/apis/manufacturers_v1.rb +1 -1
  356. data/generated/google/apis/manufacturers_v1/classes.rb +2 -2
  357. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  358. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  359. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  360. data/generated/google/apis/metastore_v1beta.rb +35 -0
  361. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  362. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  363. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  364. data/generated/google/apis/ml_v1.rb +1 -1
  365. data/generated/google/apis/ml_v1/classes.rb +51 -24
  366. data/generated/google/apis/ml_v1/representations.rb +16 -1
  367. data/generated/google/apis/monitoring_v3.rb +1 -1
  368. data/generated/google/apis/monitoring_v3/classes.rb +15 -10
  369. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  370. data/generated/google/apis/notebooks_v1.rb +34 -0
  371. data/generated/google/apis/notebooks_v1/classes.rb +1468 -0
  372. data/generated/google/apis/notebooks_v1/representations.rb +592 -0
  373. data/generated/google/apis/notebooks_v1/service.rb +1076 -0
  374. data/generated/google/apis/osconfig_v1.rb +1 -1
  375. data/generated/google/apis/osconfig_v1/classes.rb +419 -0
  376. data/generated/google/apis/osconfig_v1/representations.rb +168 -0
  377. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  378. data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
  379. data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
  380. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  381. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
  382. data/generated/google/apis/people_v1.rb +1 -1
  383. data/generated/google/apis/people_v1/classes.rb +6 -2
  384. data/generated/google/apis/people_v1/service.rb +9 -6
  385. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  386. data/generated/google/apis/policytroubleshooter_v1/classes.rb +0 -6
  387. data/generated/google/apis/policytroubleshooter_v1/representations.rb +0 -1
  388. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  389. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +0 -6
  390. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +0 -1
  391. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  392. data/generated/google/apis/privateca_v1beta1/classes.rb +2 -7
  393. data/generated/google/apis/privateca_v1beta1/representations.rb +0 -1
  394. data/generated/google/apis/privateca_v1beta1/service.rb +0 -52
  395. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  396. data/generated/google/apis/pubsub_v1.rb +1 -1
  397. data/generated/google/apis/pubsub_v1/classes.rb +0 -6
  398. data/generated/google/apis/pubsub_v1/representations.rb +0 -1
  399. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  400. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
  401. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
  402. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  403. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  404. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  405. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  406. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  407. data/generated/google/apis/recommendationengine_v1beta1/service.rb +2 -1
  408. data/generated/google/apis/recommender_v1.rb +1 -1
  409. data/generated/google/apis/recommender_v1/classes.rb +2 -2
  410. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  411. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
  412. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  413. data/generated/google/apis/redis_v1.rb +1 -1
  414. data/generated/google/apis/redis_v1/classes.rb +58 -0
  415. data/generated/google/apis/redis_v1/representations.rb +20 -0
  416. data/generated/google/apis/redis_v1beta1.rb +1 -1
  417. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  418. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  419. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  420. data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
  421. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
  422. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  423. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
  424. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
  425. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  426. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
  427. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
  428. data/generated/google/apis/reseller_v1.rb +4 -4
  429. data/generated/google/apis/reseller_v1/service.rb +5 -5
  430. data/generated/google/apis/run_v1.rb +1 -1
  431. data/generated/google/apis/run_v1/classes.rb +2 -7
  432. data/generated/google/apis/run_v1/representations.rb +0 -1
  433. data/generated/google/apis/run_v1alpha1.rb +1 -1
  434. data/generated/google/apis/run_v1alpha1/classes.rb +2 -7
  435. data/generated/google/apis/run_v1alpha1/representations.rb +0 -1
  436. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  437. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -6
  438. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  439. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  440. data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
  441. data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
  442. data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
  443. data/generated/google/apis/searchconsole_v1.rb +1 -1
  444. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  445. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  446. data/generated/google/apis/secretmanager_v1.rb +1 -1
  447. data/generated/google/apis/secretmanager_v1/classes.rb +0 -6
  448. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  449. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  450. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -6
  451. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  452. data/generated/google/apis/securitycenter_v1.rb +1 -1
  453. data/generated/google/apis/securitycenter_v1/classes.rb +109 -16
  454. data/generated/google/apis/securitycenter_v1/representations.rb +38 -1
  455. data/generated/google/apis/securitycenter_v1/service.rb +1464 -430
  456. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  457. data/generated/google/apis/securitycenter_v1beta1/classes.rb +75 -6
  458. data/generated/google/apis/securitycenter_v1beta1/representations.rb +33 -1
  459. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  460. data/generated/google/apis/securitycenter_v1beta2/classes.rb +75 -0
  461. data/generated/google/apis/securitycenter_v1beta2/representations.rb +33 -0
  462. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  463. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
  464. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  465. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  466. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  467. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  468. data/generated/google/apis/servicedirectory_v1.rb +35 -0
  469. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  470. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  471. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  472. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  473. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -12
  474. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
  475. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  476. data/generated/google/apis/servicemanagement_v1/classes.rb +12 -17
  477. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  478. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  479. data/generated/google/apis/servicenetworking_v1/classes.rb +57 -4
  480. data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
  481. data/generated/google/apis/servicenetworking_v1/service.rb +38 -0
  482. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  483. data/generated/google/apis/servicenetworking_v1beta/classes.rb +37 -4
  484. data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
  485. data/generated/google/apis/serviceusage_v1.rb +1 -1
  486. data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
  487. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  488. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
  489. data/generated/google/apis/sheets_v4.rb +1 -1
  490. data/generated/google/apis/sheets_v4/classes.rb +309 -0
  491. data/generated/google/apis/sheets_v4/representations.rb +99 -0
  492. data/generated/google/apis/slides_v1.rb +1 -1
  493. data/generated/google/apis/slides_v1/classes.rb +9 -3
  494. data/generated/google/apis/spanner_v1.rb +1 -1
  495. data/generated/google/apis/spanner_v1/classes.rb +9 -6
  496. data/generated/google/apis/spanner_v1/representations.rb +1 -1
  497. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  498. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  499. data/generated/google/apis/sqladmin_v1beta4/classes.rb +97 -14
  500. data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
  501. data/generated/google/apis/sqladmin_v1beta4/service.rb +5 -2
  502. data/generated/google/apis/storage_v1.rb +1 -1
  503. data/generated/google/apis/storage_v1/classes.rb +7 -0
  504. data/generated/google/apis/storage_v1/representations.rb +1 -0
  505. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  506. data/generated/google/apis/storagetransfer_v1/classes.rb +54 -16
  507. data/generated/google/apis/storagetransfer_v1/representations.rb +6 -0
  508. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  509. data/generated/google/apis/testing_v1.rb +1 -1
  510. data/generated/google/apis/testing_v1/classes.rb +1 -1
  511. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  512. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  513. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  514. data/generated/google/apis/transcoder_v1beta1/classes.rb +1694 -0
  515. data/generated/google/apis/transcoder_v1beta1/representations.rb +757 -0
  516. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  517. data/generated/google/apis/translate_v3.rb +1 -1
  518. data/generated/google/apis/translate_v3/classes.rb +1 -1
  519. data/generated/google/apis/translate_v3beta1.rb +1 -1
  520. data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
  521. data/generated/google/apis/vault_v1.rb +1 -1
  522. data/generated/google/apis/vault_v1/classes.rb +76 -0
  523. data/generated/google/apis/vault_v1/representations.rb +45 -0
  524. data/generated/google/apis/vectortile_v1.rb +1 -1
  525. data/generated/google/apis/vectortile_v1/classes.rb +59 -4
  526. data/generated/google/apis/vectortile_v1/representations.rb +19 -0
  527. data/generated/google/apis/videointelligence_v1.rb +1 -1
  528. data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
  529. data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
  530. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  531. data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
  532. data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
  533. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  534. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
  535. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
  536. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  537. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
  538. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
  539. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  540. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
  541. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
  542. data/generated/google/apis/webmasters_v3/classes.rb +8 -0
  543. data/generated/google/apis/webmasters_v3/representations.rb +1 -0
  544. data/generated/google/apis/workflows_v1beta.rb +1 -1
  545. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  546. data/generated/google/apis/youtube_v3.rb +1 -1
  547. data/generated/google/apis/youtube_v3/classes.rb +20 -145
  548. data/generated/google/apis/youtube_v3/representations.rb +0 -57
  549. data/generated/google/apis/youtube_v3/service.rb +6 -49
  550. data/lib/google/apis/version.rb +1 -23
  551. metadata +67 -275
  552. data/.github/CONTRIBUTING.md +0 -31
  553. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -36
  554. data/.github/ISSUE_TEMPLATE/feature_request.md +0 -21
  555. data/.github/ISSUE_TEMPLATE/support_request.md +0 -7
  556. data/.github/workflows/autoapprove.yml +0 -49
  557. data/.github/workflows/release-please.yml +0 -77
  558. data/.gitignore +0 -23
  559. data/.kokoro/build.bat +0 -11
  560. data/.kokoro/build.sh +0 -4
  561. data/.kokoro/continuous/common.cfg +0 -25
  562. data/.kokoro/continuous/linux.cfg +0 -25
  563. data/.kokoro/continuous/osx.cfg +0 -8
  564. data/.kokoro/continuous/post.cfg +0 -30
  565. data/.kokoro/continuous/windows.cfg +0 -29
  566. data/.kokoro/osx.sh +0 -4
  567. data/.kokoro/presubmit/common.cfg +0 -24
  568. data/.kokoro/presubmit/linux.cfg +0 -24
  569. data/.kokoro/presubmit/osx.cfg +0 -8
  570. data/.kokoro/presubmit/windows.cfg +0 -29
  571. data/.kokoro/release.cfg +0 -94
  572. data/.kokoro/trampoline.bat +0 -10
  573. data/.kokoro/trampoline.sh +0 -4
  574. data/.repo-metadata.json +0 -5
  575. data/.rspec +0 -2
  576. data/.rubocop.yml +0 -12
  577. data/.rubocop_todo.yml +0 -63
  578. data/CODE_OF_CONDUCT.md +0 -43
  579. data/Gemfile +0 -55
  580. data/MIGRATING.md +0 -215
  581. data/README.md +0 -402
  582. data/Rakefile +0 -131
  583. data/api_list_config.yaml +0 -9
  584. data/api_names.yaml +0 -1082
  585. data/bin/generate-api +0 -194
  586. data/docs/api-keys.md +0 -20
  587. data/docs/auth.md +0 -53
  588. data/docs/client-secrets.md +0 -69
  589. data/docs/getting-started.md +0 -340
  590. data/docs/installation.md +0 -0
  591. data/docs/logging.md +0 -34
  592. data/docs/media-upload.md +0 -25
  593. data/docs/oauth-installed.md +0 -191
  594. data/docs/oauth-server.md +0 -133
  595. data/docs/oauth-web.md +0 -280
  596. data/docs/oauth.md +0 -268
  597. data/docs/pagination.md +0 -29
  598. data/docs/performance.md +0 -25
  599. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  600. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  601. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
  602. data/generated/google/apis/jobs_v2/classes.rb +0 -4012
  603. data/generated/google/apis/jobs_v2/representations.rb +0 -1396
  604. data/generated/google/apis/jobs_v2/service.rb +0 -693
  605. data/google-api-client.gemspec +0 -36
  606. data/lib/google/api_client/auth/installed_app.rb +0 -143
  607. data/lib/google/api_client/auth/key_utils.rb +0 -94
  608. data/lib/google/api_client/auth/storage.rb +0 -104
  609. data/lib/google/api_client/auth/storages/file_store.rb +0 -57
  610. data/lib/google/api_client/auth/storages/redis_store.rb +0 -59
  611. data/lib/google/api_client/client_secrets.rb +0 -176
  612. data/lib/google/apis.rb +0 -58
  613. data/lib/google/apis/core/api_command.rb +0 -209
  614. data/lib/google/apis/core/base_service.rb +0 -447
  615. data/lib/google/apis/core/batch.rb +0 -236
  616. data/lib/google/apis/core/composite_io.rb +0 -97
  617. data/lib/google/apis/core/download.rb +0 -118
  618. data/lib/google/apis/core/hashable.rb +0 -44
  619. data/lib/google/apis/core/http_command.rb +0 -447
  620. data/lib/google/apis/core/json_representation.rb +0 -153
  621. data/lib/google/apis/core/multipart.rb +0 -135
  622. data/lib/google/apis/core/upload.rb +0 -273
  623. data/lib/google/apis/errors.rb +0 -89
  624. data/lib/google/apis/generator.rb +0 -71
  625. data/lib/google/apis/generator/annotator.rb +0 -339
  626. data/lib/google/apis/generator/helpers.rb +0 -76
  627. data/lib/google/apis/generator/model.rb +0 -187
  628. data/lib/google/apis/generator/template.rb +0 -124
  629. data/lib/google/apis/generator/templates/_class.tmpl +0 -43
  630. data/lib/google/apis/generator/templates/_method.tmpl +0 -92
  631. data/lib/google/apis/generator/templates/_representation.tmpl +0 -51
  632. data/lib/google/apis/generator/templates/_representation_stub.tmpl +0 -17
  633. data/lib/google/apis/generator/templates/_representation_type.tmpl +0 -10
  634. data/lib/google/apis/generator/templates/classes.rb.tmpl +0 -29
  635. data/lib/google/apis/generator/templates/module.rb.tmpl +0 -40
  636. data/lib/google/apis/generator/templates/service.rb.tmpl +0 -61
  637. data/lib/google/apis/options.rb +0 -116
  638. data/rakelib/devsite/devsite_builder.rb +0 -126
  639. data/rakelib/devsite/link_checker.rb +0 -64
  640. data/rakelib/devsite/repo_metadata.rb +0 -56
  641. data/rakelib/metrics.rake +0 -22
  642. data/rakelib/rubocop.rake +0 -10
  643. data/rakelib/spec.rake +0 -11
  644. data/rakelib/yard.rake +0 -11
  645. data/samples/cli/.env +0 -4
  646. data/samples/cli/Gemfile +0 -7
  647. data/samples/cli/README.md +0 -51
  648. data/samples/cli/google-api-samples +0 -32
  649. data/samples/cli/lib/base_cli.rb +0 -95
  650. data/samples/cli/lib/samples/adsense.rb +0 -99
  651. data/samples/cli/lib/samples/analytics.rb +0 -80
  652. data/samples/cli/lib/samples/androidpublisher.rb +0 -47
  653. data/samples/cli/lib/samples/bigquery.rb +0 -101
  654. data/samples/cli/lib/samples/calendar.rb +0 -83
  655. data/samples/cli/lib/samples/drive.rb +0 -82
  656. data/samples/cli/lib/samples/gmail.rb +0 -157
  657. data/samples/cli/lib/samples/pubsub.rb +0 -114
  658. data/samples/cli/lib/samples/sheets.rb +0 -61
  659. data/samples/cli/lib/samples/translate.rb +0 -44
  660. data/samples/cli/lib/samples/vision.rb +0 -69
  661. data/samples/cli/lib/samples/you_tube.rb +0 -47
  662. data/samples/web/Gemfile +0 -9
  663. data/samples/web/README.md +0 -44
  664. data/samples/web/app.rb +0 -120
  665. data/samples/web/views/calendar.erb +0 -34
  666. data/samples/web/views/drive.erb +0 -33
  667. data/samples/web/views/home.erb +0 -34
  668. data/samples/web/views/layout.erb +0 -40
  669. data/synth.py +0 -40
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-analysis/api/reference/rest/
27
27
  module ContaineranalysisV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20201030'
29
+ REVISION = '20201112'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -188,11 +188,6 @@ module Google
188
188
  class Binding
189
189
  include Google::Apis::Core::Hashable
190
190
 
191
- #
192
- # Corresponds to the JSON property `bindingId`
193
- # @return [String]
194
- attr_accessor :binding_id
195
-
196
191
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
197
192
  # CEL is a C-like expression language. The syntax and semantics of CEL are
198
193
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -254,7 +249,6 @@ module Google
254
249
 
255
250
  # Update properties of this object
256
251
  def update!(**args)
257
- @binding_id = args[:binding_id] if args.key?(:binding_id)
258
252
  @condition = args[:condition] if args.key?(:condition)
259
253
  @members = args[:members] if args.key?(:members)
260
254
  @role = args[:role] if args.key?(:role)
@@ -475,7 +475,6 @@ module Google
475
475
  class Binding
476
476
  # @private
477
477
  class Representation < Google::Apis::Core::JsonRepresentation
478
- property :binding_id, as: 'bindingId'
479
478
  property :condition, as: 'condition', class: Google::Apis::ContaineranalysisV1alpha1::Expr, decorator: Google::Apis::ContaineranalysisV1alpha1::Expr::Representation
480
479
 
481
480
  collection :members, as: 'members'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-analysis/api/reference/rest/
27
27
  module ContaineranalysisV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20201030'
29
+ REVISION = '20201112'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -221,7 +221,8 @@ module Google
221
221
  class BatchCreateNotesRequest
222
222
  include Google::Apis::Core::Hashable
223
223
 
224
- # Required. The notes to create. Max allowed length is 1000.
224
+ # Required. The notes to create, the key is expected to be the note ID. Max
225
+ # allowed length is 1000.
225
226
  # Corresponds to the JSON property `notes`
226
227
  # @return [Hash<String,Google::Apis::ContaineranalysisV1beta1::Note>]
227
228
  attr_accessor :notes
@@ -297,11 +298,6 @@ module Google
297
298
  class Binding
298
299
  include Google::Apis::Core::Hashable
299
300
 
300
- #
301
- # Corresponds to the JSON property `bindingId`
302
- # @return [String]
303
- attr_accessor :binding_id
304
-
305
301
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
306
302
  # CEL is a C-like expression language. The syntax and semantics of CEL are
307
303
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -363,7 +359,6 @@ module Google
363
359
 
364
360
  # Update properties of this object
365
361
  def update!(**args)
366
- @binding_id = args[:binding_id] if args.key?(:binding_id)
367
362
  @condition = args[:condition] if args.key?(:condition)
368
363
  @members = args[:members] if args.key?(:members)
369
364
  @role = args[:role] if args.key?(:role)
@@ -619,7 +619,6 @@ module Google
619
619
  class Binding
620
620
  # @private
621
621
  class Representation < Google::Apis::Core::JsonRepresentation
622
- property :binding_id, as: 'bindingId'
623
622
  property :condition, as: 'condition', class: Google::Apis::ContaineranalysisV1beta1::Expr, decorator: Google::Apis::ContaineranalysisV1beta1::Expr::Representation
624
623
 
625
624
  collection :members, as: 'members'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/shopping-content/v2/
26
26
  module ContentV2
27
27
  VERSION = 'V2'
28
- REVISION = '20201029'
28
+ REVISION = '20201113'
29
29
 
30
30
  # Manage your product listings and accounts for Google Shopping
31
31
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -4396,7 +4396,7 @@ module Google
4396
4396
  attr_accessor :quantity
4397
4397
 
4398
4398
  # The reason for the cancellation. Orders that are canceled with a noInventory
4399
- # reason will lead to the removal of the product from Shopping Actions until you
4399
+ # reason will lead to the removal of the product from Buy on Google until you
4400
4400
  # make an update to that product. This will not affect your Shopping ads.
4401
4401
  # Acceptable values are: - "`autoPostInternal`" - "`
4402
4402
  # autoPostInvalidBillingAddress`" - "`autoPostNoInventory`" - "`
@@ -4455,8 +4455,8 @@ module Google
4455
4455
 
4456
4456
  # Email address for the merchant to send value-added tax or invoice
4457
4457
  # documentation of the order. Only the last document sent is made available to
4458
- # the customer. For more information, see About automated VAT invoicing for
4459
- # Shopping Actions.
4458
+ # the customer. For more information, see About automated VAT invoicing for Buy
4459
+ # on Google.
4460
4460
  # Corresponds to the JSON property `invoiceReceivingEmail`
4461
4461
  # @return [String]
4462
4462
  attr_accessor :invoice_receiving_email
@@ -8891,7 +8891,7 @@ module Google
8891
8891
  # submitting any attribute of the feed specification in its generic form (e.g., `
8892
8892
  # ` "name": "size type", "value": "regular" ``). This is useful for submitting
8893
8893
  # attributes not explicitly exposed by the API, such as additional attributes
8894
- # used for Shopping Actions.
8894
+ # used for Buy on Google (formerly known as Shopping Actions).
8895
8895
  # Corresponds to the JSON property `customAttributes`
8896
8896
  # @return [Array<Google::Apis::ContentV2::CustomAttribute>]
8897
8897
  attr_accessor :custom_attributes
@@ -708,7 +708,9 @@ module Google
708
708
  execute_or_queue_command(command, &block)
709
709
  end
710
710
 
711
- # Invokes a fetch for the datafeed in your Merchant Center account.
711
+ # Invokes a fetch for the datafeed in your Merchant Center account. If you need
712
+ # to call this method more than once per day, we recommend you use the Products
713
+ # service to update your product data.
712
714
  # @param [Fixnum] merchant_id
713
715
  # The ID of the account that manages the datafeed. This account cannot be a
714
716
  # multi-client account.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/shopping-content/v2/
26
26
  module ContentV2_1
27
27
  VERSION = 'V2_1'
28
- REVISION = '20201029'
28
+ REVISION = '20201211'
29
29
 
30
30
  # Manage your product listings and accounts for Google Shopping
31
31
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -334,17 +334,17 @@ module Google
334
334
  class AccountLabel
335
335
  include Google::Apis::Core::Hashable
336
336
 
337
- # Output only. Immutable. The ID of account this label belongs to.
337
+ # Immutable. The ID of account this label belongs to.
338
338
  # Corresponds to the JSON property `accountId`
339
339
  # @return [Fixnum]
340
340
  attr_accessor :account_id
341
341
 
342
- # Description for this label.
342
+ # The description of this label.
343
343
  # Corresponds to the JSON property `description`
344
344
  # @return [String]
345
345
  attr_accessor :description
346
346
 
347
- # Output only. Immutable. The ID of the label.
347
+ # Output only. The ID of the label.
348
348
  # Corresponds to the JSON property `labelId`
349
349
  # @return [Fixnum]
350
350
  attr_accessor :label_id
@@ -943,7 +943,9 @@ module Google
943
943
  # @return [String]
944
944
  attr_accessor :linked_account_id
945
945
 
946
- # List of provided services.
946
+ # Provided services. Acceptable values are: - "`shoppingAdsProductManagement`" -
947
+ # "`shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "`
948
+ # shoppingActionsOrderManagement`" - "`shoppingActionsOther`"
947
949
  # Corresponds to the JSON property `services`
948
950
  # @return [Array<String>]
949
951
  attr_accessor :services
@@ -2496,6 +2498,132 @@ module Google
2496
2498
  end
2497
2499
  end
2498
2500
 
2501
+ # Represents a whole or partial calendar date, such as a birthday. The time of
2502
+ # day and time zone are either specified elsewhere or are insignificant. The
2503
+ # date is relative to the Gregorian Calendar. This can represent one of the
2504
+ # following: * A full date, with non-zero year, month, and day values * A month
2505
+ # and day value, with a zero year, such as an anniversary * A year on its own,
2506
+ # with zero month and day values * A year and month value, with a zero day, such
2507
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
2508
+ # google.protobuf.Timestamp`.
2509
+ class Date
2510
+ include Google::Apis::Core::Hashable
2511
+
2512
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
2513
+ # specify a year by itself or a year and month where the day isn't significant.
2514
+ # Corresponds to the JSON property `day`
2515
+ # @return [Fixnum]
2516
+ attr_accessor :day
2517
+
2518
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
2519
+ # and day.
2520
+ # Corresponds to the JSON property `month`
2521
+ # @return [Fixnum]
2522
+ attr_accessor :month
2523
+
2524
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
2525
+ # year.
2526
+ # Corresponds to the JSON property `year`
2527
+ # @return [Fixnum]
2528
+ attr_accessor :year
2529
+
2530
+ def initialize(**args)
2531
+ update!(**args)
2532
+ end
2533
+
2534
+ # Update properties of this object
2535
+ def update!(**args)
2536
+ @day = args[:day] if args.key?(:day)
2537
+ @month = args[:month] if args.key?(:month)
2538
+ @year = args[:year] if args.key?(:year)
2539
+ end
2540
+ end
2541
+
2542
+ # Represents civil time (or occasionally physical time). This type can represent
2543
+ # a civil time in one of a few possible ways: * When utc_offset is set and
2544
+ # time_zone is unset: a civil time on a calendar day with a particular offset
2545
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
2546
+ # calendar day in a particular time zone. * When neither time_zone nor
2547
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
2548
+ # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
2549
+ # considered not to have a specific year. month and day must have valid, non-
2550
+ # zero values. This type may also be used to represent a physical time if all
2551
+ # the date and time fields are set and either case of the `time_offset` oneof is
2552
+ # set. Consider using `Timestamp` message for physical time instead. If your use
2553
+ # case also would like to store the user's timezone, that can be done in another
2554
+ # field. This type is more flexible than some applications may want. Make sure
2555
+ # to document and validate your application's limitations.
2556
+ class DateTime
2557
+ include Google::Apis::Core::Hashable
2558
+
2559
+ # Required. Day of month. Must be from 1 to 31 and valid for the year and month.
2560
+ # Corresponds to the JSON property `day`
2561
+ # @return [Fixnum]
2562
+ attr_accessor :day
2563
+
2564
+ # Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may
2565
+ # choose to allow the value "24:00:00" for scenarios like business closing time.
2566
+ # Corresponds to the JSON property `hours`
2567
+ # @return [Fixnum]
2568
+ attr_accessor :hours
2569
+
2570
+ # Required. Minutes of hour of day. Must be from 0 to 59.
2571
+ # Corresponds to the JSON property `minutes`
2572
+ # @return [Fixnum]
2573
+ attr_accessor :minutes
2574
+
2575
+ # Required. Month of year. Must be from 1 to 12.
2576
+ # Corresponds to the JSON property `month`
2577
+ # @return [Fixnum]
2578
+ attr_accessor :month
2579
+
2580
+ # Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2581
+ # Corresponds to the JSON property `nanos`
2582
+ # @return [Fixnum]
2583
+ attr_accessor :nanos
2584
+
2585
+ # Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
2586
+ # API may allow the value 60 if it allows leap-seconds.
2587
+ # Corresponds to the JSON property `seconds`
2588
+ # @return [Fixnum]
2589
+ attr_accessor :seconds
2590
+
2591
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
2592
+ # time-zones).
2593
+ # Corresponds to the JSON property `timeZone`
2594
+ # @return [Google::Apis::ContentV2_1::TimeZone]
2595
+ attr_accessor :time_zone
2596
+
2597
+ # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
2598
+ # example, a UTC offset of -4:00 would be represented as ` seconds: -14400 `.
2599
+ # Corresponds to the JSON property `utcOffset`
2600
+ # @return [String]
2601
+ attr_accessor :utc_offset
2602
+
2603
+ # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime
2604
+ # without a year.
2605
+ # Corresponds to the JSON property `year`
2606
+ # @return [Fixnum]
2607
+ attr_accessor :year
2608
+
2609
+ def initialize(**args)
2610
+ update!(**args)
2611
+ end
2612
+
2613
+ # Update properties of this object
2614
+ def update!(**args)
2615
+ @day = args[:day] if args.key?(:day)
2616
+ @hours = args[:hours] if args.key?(:hours)
2617
+ @minutes = args[:minutes] if args.key?(:minutes)
2618
+ @month = args[:month] if args.key?(:month)
2619
+ @nanos = args[:nanos] if args.key?(:nanos)
2620
+ @seconds = args[:seconds] if args.key?(:seconds)
2621
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
2622
+ @utc_offset = args[:utc_offset] if args.key?(:utc_offset)
2623
+ @year = args[:year] if args.key?(:year)
2624
+ end
2625
+ end
2626
+
2499
2627
  #
2500
2628
  class DeliveryTime
2501
2629
  include Google::Apis::Core::Hashable
@@ -2866,6 +2994,31 @@ module Google
2866
2994
  end
2867
2995
  end
2868
2996
 
2997
+ # Map of inapplicability details.
2998
+ class InapplicabilityDetails
2999
+ include Google::Apis::Core::Hashable
3000
+
3001
+ # Count of this inapplicable reason code.
3002
+ # Corresponds to the JSON property `inapplicableCount`
3003
+ # @return [Fixnum]
3004
+ attr_accessor :inapplicable_count
3005
+
3006
+ # Reason code this rule was not applicable.
3007
+ # Corresponds to the JSON property `inapplicableReason`
3008
+ # @return [String]
3009
+ attr_accessor :inapplicable_reason
3010
+
3011
+ def initialize(**args)
3012
+ update!(**args)
3013
+ end
3014
+
3015
+ # Update properties of this object
3016
+ def update!(**args)
3017
+ @inapplicable_count = args[:inapplicable_count] if args.key?(:inapplicable_count)
3018
+ @inapplicable_reason = args[:inapplicable_reason] if args.key?(:inapplicable_reason)
3019
+ end
3020
+ end
3021
+
2869
3022
  #
2870
3023
  class Installment
2871
3024
  include Google::Apis::Core::Hashable
@@ -3312,7 +3465,7 @@ module Google
3312
3465
  # @return [Google::Apis::ContentV2_1::Errors]
3313
3466
  attr_accessor :errors
3314
3467
 
3315
- # The the list of accessible GMB accounts.
3468
+ # The list of accessible GMB accounts.
3316
3469
  # Corresponds to the JSON property `gmbAccounts`
3317
3470
  # @return [Google::Apis::ContentV2_1::GmbAccounts]
3318
3471
  attr_accessor :gmb_accounts
@@ -3624,6 +3777,84 @@ module Google
3624
3777
  end
3625
3778
  end
3626
3779
 
3780
+ # Response message for the `ListRegions` method.
3781
+ class ListRegionsResponse
3782
+ include Google::Apis::Core::Hashable
3783
+
3784
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3785
+ # field is omitted, there are no subsequent pages.
3786
+ # Corresponds to the JSON property `nextPageToken`
3787
+ # @return [String]
3788
+ attr_accessor :next_page_token
3789
+
3790
+ # The regions from the specified merchant.
3791
+ # Corresponds to the JSON property `regions`
3792
+ # @return [Array<Google::Apis::ContentV2_1::Region>]
3793
+ attr_accessor :regions
3794
+
3795
+ def initialize(**args)
3796
+ update!(**args)
3797
+ end
3798
+
3799
+ # Update properties of this object
3800
+ def update!(**args)
3801
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3802
+ @regions = args[:regions] if args.key?(:regions)
3803
+ end
3804
+ end
3805
+
3806
+ # Response message for the ListRepricingProductReports method.
3807
+ class ListRepricingProductReportsResponse
3808
+ include Google::Apis::Core::Hashable
3809
+
3810
+ # A token for retrieving the next page. Its absence means there is no subsequent
3811
+ # page.
3812
+ # Corresponds to the JSON property `nextPageToken`
3813
+ # @return [String]
3814
+ attr_accessor :next_page_token
3815
+
3816
+ # Periodic reports for the given Repricing product.
3817
+ # Corresponds to the JSON property `repricingProductReports`
3818
+ # @return [Array<Google::Apis::ContentV2_1::RepricingProductReport>]
3819
+ attr_accessor :repricing_product_reports
3820
+
3821
+ def initialize(**args)
3822
+ update!(**args)
3823
+ end
3824
+
3825
+ # Update properties of this object
3826
+ def update!(**args)
3827
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3828
+ @repricing_product_reports = args[:repricing_product_reports] if args.key?(:repricing_product_reports)
3829
+ end
3830
+ end
3831
+
3832
+ # Response message for the ListRepricingRuleReports method.
3833
+ class ListRepricingRuleReportsResponse
3834
+ include Google::Apis::Core::Hashable
3835
+
3836
+ # A token for retrieving the next page. Its absence means there is no subsequent
3837
+ # page.
3838
+ # Corresponds to the JSON property `nextPageToken`
3839
+ # @return [String]
3840
+ attr_accessor :next_page_token
3841
+
3842
+ # Daily reports for the given Repricing rule.
3843
+ # Corresponds to the JSON property `repricingRuleReports`
3844
+ # @return [Array<Google::Apis::ContentV2_1::RepricingRuleReport>]
3845
+ attr_accessor :repricing_rule_reports
3846
+
3847
+ def initialize(**args)
3848
+ update!(**args)
3849
+ end
3850
+
3851
+ # Update properties of this object
3852
+ def update!(**args)
3853
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3854
+ @repricing_rule_reports = args[:repricing_rule_reports] if args.key?(:repricing_rule_reports)
3855
+ end
3856
+ end
3857
+
3627
3858
  # Response message for the `ListRepricingRules` method.
3628
3859
  class ListRepricingRulesResponse
3629
3860
  include Google::Apis::Core::Hashable
@@ -4404,7 +4635,7 @@ module Google
4404
4635
  attr_accessor :quantity
4405
4636
 
4406
4637
  # The reason for the cancellation. Orders that are canceled with a noInventory
4407
- # reason will lead to the removal of the product from Shopping Actions until you
4638
+ # reason will lead to the removal of the product from Buy on Google until you
4408
4639
  # make an update to that product. This will not affect your Shopping ads.
4409
4640
  # Acceptable values are: - "`autoPostInternal`" - "`
4410
4641
  # autoPostInvalidBillingAddress`" - "`autoPostNoInventory`" - "`
@@ -4452,8 +4683,8 @@ module Google
4452
4683
 
4453
4684
  # Email address for the merchant to send value-added tax or invoice
4454
4685
  # documentation of the order. Only the last document sent is made available to
4455
- # the customer. For more information, see About automated VAT invoicing for
4456
- # Shopping Actions.
4686
+ # the customer. For more information, see About automated VAT invoicing for Buy
4687
+ # on Google.
4457
4688
  # Corresponds to the JSON property `invoiceReceivingEmail`
4458
4689
  # @return [String]
4459
4690
  attr_accessor :invoice_receiving_email
@@ -5636,6 +5867,311 @@ module Google
5636
5867
  end
5637
5868
  end
5638
5869
 
5870
+ # Represents a merchant trade from which signals are extracted, e.g. shipping.
5871
+ class OrderTrackingSignal
5872
+ include Google::Apis::Core::Hashable
5873
+
5874
+ # The price represented as a number and currency.
5875
+ # Corresponds to the JSON property `customerShippingFee`
5876
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
5877
+ attr_accessor :customer_shipping_fee
5878
+
5879
+ # Required. The delivery postal code, as a continuous string without spaces or
5880
+ # dashes, e.g. "95016".
5881
+ # Corresponds to the JSON property `deliveryPostalCode`
5882
+ # @return [String]
5883
+ attr_accessor :delivery_postal_code
5884
+
5885
+ # Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/
5886
+ # latest/common/main/en.xml) for the shipping destination.
5887
+ # Corresponds to the JSON property `deliveryRegionCode`
5888
+ # @return [String]
5889
+ attr_accessor :delivery_region_code
5890
+
5891
+ # Information about line items in the order.
5892
+ # Corresponds to the JSON property `lineItems`
5893
+ # @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalLineItemDetails>]
5894
+ attr_accessor :line_items
5895
+
5896
+ # The Google merchant ID of this order tracking signal. This value is optional.
5897
+ # If left unset, the caller's merchant ID is used. You must request access in
5898
+ # order to provide data on behalf of another merchant. For more information, see
5899
+ # [Submitting Order Tracking Signals](/shopping-content/guides/order-tracking-
5900
+ # signals).
5901
+ # Corresponds to the JSON property `merchantId`
5902
+ # @return [Fixnum]
5903
+ attr_accessor :merchant_id
5904
+
5905
+ # Represents civil time (or occasionally physical time). This type can represent
5906
+ # a civil time in one of a few possible ways: * When utc_offset is set and
5907
+ # time_zone is unset: a civil time on a calendar day with a particular offset
5908
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
5909
+ # calendar day in a particular time zone. * When neither time_zone nor
5910
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
5911
+ # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
5912
+ # considered not to have a specific year. month and day must have valid, non-
5913
+ # zero values. This type may also be used to represent a physical time if all
5914
+ # the date and time fields are set and either case of the `time_offset` oneof is
5915
+ # set. Consider using `Timestamp` message for physical time instead. If your use
5916
+ # case also would like to store the user's timezone, that can be done in another
5917
+ # field. This type is more flexible than some applications may want. Make sure
5918
+ # to document and validate your application's limitations.
5919
+ # Corresponds to the JSON property `orderCreatedTime`
5920
+ # @return [Google::Apis::ContentV2_1::DateTime]
5921
+ attr_accessor :order_created_time
5922
+
5923
+ # Required. The ID of the order on the merchant side.
5924
+ # Corresponds to the JSON property `orderId`
5925
+ # @return [String]
5926
+ attr_accessor :order_id
5927
+
5928
+ # Output only. The ID that uniquely identifies this order tracking signal.
5929
+ # Corresponds to the JSON property `orderTrackingSignalId`
5930
+ # @return [Fixnum]
5931
+ attr_accessor :order_tracking_signal_id
5932
+
5933
+ # The mapping of the line items to the shipment information.
5934
+ # Corresponds to the JSON property `shipmentLineItemMapping`
5935
+ # @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalShipmentLineItemMapping>]
5936
+ attr_accessor :shipment_line_item_mapping
5937
+
5938
+ # The shipping information for the order.
5939
+ # Corresponds to the JSON property `shippingInfo`
5940
+ # @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalShippingInfo>]
5941
+ attr_accessor :shipping_info
5942
+
5943
+ def initialize(**args)
5944
+ update!(**args)
5945
+ end
5946
+
5947
+ # Update properties of this object
5948
+ def update!(**args)
5949
+ @customer_shipping_fee = args[:customer_shipping_fee] if args.key?(:customer_shipping_fee)
5950
+ @delivery_postal_code = args[:delivery_postal_code] if args.key?(:delivery_postal_code)
5951
+ @delivery_region_code = args[:delivery_region_code] if args.key?(:delivery_region_code)
5952
+ @line_items = args[:line_items] if args.key?(:line_items)
5953
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
5954
+ @order_created_time = args[:order_created_time] if args.key?(:order_created_time)
5955
+ @order_id = args[:order_id] if args.key?(:order_id)
5956
+ @order_tracking_signal_id = args[:order_tracking_signal_id] if args.key?(:order_tracking_signal_id)
5957
+ @shipment_line_item_mapping = args[:shipment_line_item_mapping] if args.key?(:shipment_line_item_mapping)
5958
+ @shipping_info = args[:shipping_info] if args.key?(:shipping_info)
5959
+ end
5960
+ end
5961
+
5962
+ # The line items of the order.
5963
+ class OrderTrackingSignalLineItemDetails
5964
+ include Google::Apis::Core::Hashable
5965
+
5966
+ # The Global Trade Item Number.
5967
+ # Corresponds to the JSON property `gtin`
5968
+ # @return [String]
5969
+ attr_accessor :gtin
5970
+
5971
+ # Required. The ID for this line item.
5972
+ # Corresponds to the JSON property `lineItemId`
5973
+ # @return [String]
5974
+ attr_accessor :line_item_id
5975
+
5976
+ # The manufacturer part number.
5977
+ # Corresponds to the JSON property `mpn`
5978
+ # @return [String]
5979
+ attr_accessor :mpn
5980
+
5981
+ # Required. The Content API REST ID of the product, in the form channel:
5982
+ # contentLanguage:targetCountry:offerId.
5983
+ # Corresponds to the JSON property `productId`
5984
+ # @return [String]
5985
+ attr_accessor :product_id
5986
+
5987
+ # Required. The quantity of the line item in the order.
5988
+ # Corresponds to the JSON property `quantity`
5989
+ # @return [Fixnum]
5990
+ attr_accessor :quantity
5991
+
5992
+ def initialize(**args)
5993
+ update!(**args)
5994
+ end
5995
+
5996
+ # Update properties of this object
5997
+ def update!(**args)
5998
+ @gtin = args[:gtin] if args.key?(:gtin)
5999
+ @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
6000
+ @mpn = args[:mpn] if args.key?(:mpn)
6001
+ @product_id = args[:product_id] if args.key?(:product_id)
6002
+ @quantity = args[:quantity] if args.key?(:quantity)
6003
+ end
6004
+ end
6005
+
6006
+ # Represents how many items are in the shipment for the given shipment_id and
6007
+ # line_item_id.
6008
+ class OrderTrackingSignalShipmentLineItemMapping
6009
+ include Google::Apis::Core::Hashable
6010
+
6011
+ # Required. The line item ID.
6012
+ # Corresponds to the JSON property `lineItemId`
6013
+ # @return [String]
6014
+ attr_accessor :line_item_id
6015
+
6016
+ # Required. The line item quantity in the shipment.
6017
+ # Corresponds to the JSON property `quantity`
6018
+ # @return [Fixnum]
6019
+ attr_accessor :quantity
6020
+
6021
+ # Required. The shipment ID.
6022
+ # Corresponds to the JSON property `shipmentId`
6023
+ # @return [String]
6024
+ attr_accessor :shipment_id
6025
+
6026
+ def initialize(**args)
6027
+ update!(**args)
6028
+ end
6029
+
6030
+ # Update properties of this object
6031
+ def update!(**args)
6032
+ @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
6033
+ @quantity = args[:quantity] if args.key?(:quantity)
6034
+ @shipment_id = args[:shipment_id] if args.key?(:shipment_id)
6035
+ end
6036
+ end
6037
+
6038
+ # The shipping information for the order.
6039
+ class OrderTrackingSignalShippingInfo
6040
+ include Google::Apis::Core::Hashable
6041
+
6042
+ # Represents civil time (or occasionally physical time). This type can represent
6043
+ # a civil time in one of a few possible ways: * When utc_offset is set and
6044
+ # time_zone is unset: a civil time on a calendar day with a particular offset
6045
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
6046
+ # calendar day in a particular time zone. * When neither time_zone nor
6047
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
6048
+ # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
6049
+ # considered not to have a specific year. month and day must have valid, non-
6050
+ # zero values. This type may also be used to represent a physical time if all
6051
+ # the date and time fields are set and either case of the `time_offset` oneof is
6052
+ # set. Consider using `Timestamp` message for physical time instead. If your use
6053
+ # case also would like to store the user's timezone, that can be done in another
6054
+ # field. This type is more flexible than some applications may want. Make sure
6055
+ # to document and validate your application's limitations.
6056
+ # Corresponds to the JSON property `actualDeliveryTime`
6057
+ # @return [Google::Apis::ContentV2_1::DateTime]
6058
+ attr_accessor :actual_delivery_time
6059
+
6060
+ # The name of the shipping carrier for the delivery. This field is required if
6061
+ # one of the following fields is absent: earliest_delivery_promise_time,
6062
+ # latest_delivery_promise_time, and actual_delivery_time.
6063
+ # Corresponds to the JSON property `carrierName`
6064
+ # @return [String]
6065
+ attr_accessor :carrier_name
6066
+
6067
+ # The service type for fulfillment, e.g., GROUND, FIRST_CLASS, etc.
6068
+ # Corresponds to the JSON property `carrierServiceName`
6069
+ # @return [String]
6070
+ attr_accessor :carrier_service_name
6071
+
6072
+ # Represents civil time (or occasionally physical time). This type can represent
6073
+ # a civil time in one of a few possible ways: * When utc_offset is set and
6074
+ # time_zone is unset: a civil time on a calendar day with a particular offset
6075
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
6076
+ # calendar day in a particular time zone. * When neither time_zone nor
6077
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
6078
+ # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
6079
+ # considered not to have a specific year. month and day must have valid, non-
6080
+ # zero values. This type may also be used to represent a physical time if all
6081
+ # the date and time fields are set and either case of the `time_offset` oneof is
6082
+ # set. Consider using `Timestamp` message for physical time instead. If your use
6083
+ # case also would like to store the user's timezone, that can be done in another
6084
+ # field. This type is more flexible than some applications may want. Make sure
6085
+ # to document and validate your application's limitations.
6086
+ # Corresponds to the JSON property `earliestDeliveryPromiseTime`
6087
+ # @return [Google::Apis::ContentV2_1::DateTime]
6088
+ attr_accessor :earliest_delivery_promise_time
6089
+
6090
+ # Represents civil time (or occasionally physical time). This type can represent
6091
+ # a civil time in one of a few possible ways: * When utc_offset is set and
6092
+ # time_zone is unset: a civil time on a calendar day with a particular offset
6093
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
6094
+ # calendar day in a particular time zone. * When neither time_zone nor
6095
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
6096
+ # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
6097
+ # considered not to have a specific year. month and day must have valid, non-
6098
+ # zero values. This type may also be used to represent a physical time if all
6099
+ # the date and time fields are set and either case of the `time_offset` oneof is
6100
+ # set. Consider using `Timestamp` message for physical time instead. If your use
6101
+ # case also would like to store the user's timezone, that can be done in another
6102
+ # field. This type is more flexible than some applications may want. Make sure
6103
+ # to document and validate your application's limitations.
6104
+ # Corresponds to the JSON property `latestDeliveryPromiseTime`
6105
+ # @return [Google::Apis::ContentV2_1::DateTime]
6106
+ attr_accessor :latest_delivery_promise_time
6107
+
6108
+ # The origin postal code, as a continuous string without spaces or dashes, e.g. "
6109
+ # 95016".
6110
+ # Corresponds to the JSON property `originPostalCode`
6111
+ # @return [String]
6112
+ attr_accessor :origin_postal_code
6113
+
6114
+ # The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/
6115
+ # common/main/en.xml) for the shipping origin.
6116
+ # Corresponds to the JSON property `originRegionCode`
6117
+ # @return [String]
6118
+ attr_accessor :origin_region_code
6119
+
6120
+ # Required. The shipment ID.
6121
+ # Corresponds to the JSON property `shipmentId`
6122
+ # @return [String]
6123
+ attr_accessor :shipment_id
6124
+
6125
+ # Represents civil time (or occasionally physical time). This type can represent
6126
+ # a civil time in one of a few possible ways: * When utc_offset is set and
6127
+ # time_zone is unset: a civil time on a calendar day with a particular offset
6128
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
6129
+ # calendar day in a particular time zone. * When neither time_zone nor
6130
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
6131
+ # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
6132
+ # considered not to have a specific year. month and day must have valid, non-
6133
+ # zero values. This type may also be used to represent a physical time if all
6134
+ # the date and time fields are set and either case of the `time_offset` oneof is
6135
+ # set. Consider using `Timestamp` message for physical time instead. If your use
6136
+ # case also would like to store the user's timezone, that can be done in another
6137
+ # field. This type is more flexible than some applications may want. Make sure
6138
+ # to document and validate your application's limitations.
6139
+ # Corresponds to the JSON property `shippedTime`
6140
+ # @return [Google::Apis::ContentV2_1::DateTime]
6141
+ attr_accessor :shipped_time
6142
+
6143
+ # The status of the shipment.
6144
+ # Corresponds to the JSON property `shippingStatus`
6145
+ # @return [String]
6146
+ attr_accessor :shipping_status
6147
+
6148
+ # The tracking ID of the shipment. This field is required if one of the
6149
+ # following fields is absent: earliest_delivery_promise_time,
6150
+ # latest_delivery_promise_time, and actual_delivery_time.
6151
+ # Corresponds to the JSON property `trackingId`
6152
+ # @return [String]
6153
+ attr_accessor :tracking_id
6154
+
6155
+ def initialize(**args)
6156
+ update!(**args)
6157
+ end
6158
+
6159
+ # Update properties of this object
6160
+ def update!(**args)
6161
+ @actual_delivery_time = args[:actual_delivery_time] if args.key?(:actual_delivery_time)
6162
+ @carrier_name = args[:carrier_name] if args.key?(:carrier_name)
6163
+ @carrier_service_name = args[:carrier_service_name] if args.key?(:carrier_service_name)
6164
+ @earliest_delivery_promise_time = args[:earliest_delivery_promise_time] if args.key?(:earliest_delivery_promise_time)
6165
+ @latest_delivery_promise_time = args[:latest_delivery_promise_time] if args.key?(:latest_delivery_promise_time)
6166
+ @origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code)
6167
+ @origin_region_code = args[:origin_region_code] if args.key?(:origin_region_code)
6168
+ @shipment_id = args[:shipment_id] if args.key?(:shipment_id)
6169
+ @shipped_time = args[:shipped_time] if args.key?(:shipped_time)
6170
+ @shipping_status = args[:shipping_status] if args.key?(:shipping_status)
6171
+ @tracking_id = args[:tracking_id] if args.key?(:tracking_id)
6172
+ end
6173
+ end
6174
+
5639
6175
  #
5640
6176
  class OrderinvoicesCreateChargeInvoiceRequest
5641
6177
  include Google::Apis::Core::Hashable
@@ -6783,20 +7319,46 @@ module Google
6783
7319
  end
6784
7320
  end
6785
7321
 
6786
- #
6787
- class OrdersGetByMerchantOrderIdResponse
7322
+ # ScheduledDeliveryDetails used to update the scheduled delivery order.
7323
+ class OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails
6788
7324
  include Google::Apis::Core::Hashable
6789
7325
 
6790
- # Identifies what kind of resource this is. Value: the fixed string "content#
6791
- # ordersGetByMerchantOrderIdResponse".
6792
- # Corresponds to the JSON property `kind`
7326
+ # The phone number of the carrier fulfilling the delivery. The phone number
7327
+ # should be formatted as the international notation in
7328
+ # Corresponds to the JSON property `carrierPhoneNumber`
6793
7329
  # @return [String]
6794
- attr_accessor :kind
7330
+ attr_accessor :carrier_phone_number
6795
7331
 
6796
- # Order. Production access (all methods) requires the order manager role.
6797
- # Sandbox access does not.
6798
- # Corresponds to the JSON property `order`
6799
- # @return [Google::Apis::ContentV2_1::Order]
7332
+ # The date a shipment is scheduled for delivery, in ISO 8601 format.
7333
+ # Corresponds to the JSON property `scheduledDate`
7334
+ # @return [String]
7335
+ attr_accessor :scheduled_date
7336
+
7337
+ def initialize(**args)
7338
+ update!(**args)
7339
+ end
7340
+
7341
+ # Update properties of this object
7342
+ def update!(**args)
7343
+ @carrier_phone_number = args[:carrier_phone_number] if args.key?(:carrier_phone_number)
7344
+ @scheduled_date = args[:scheduled_date] if args.key?(:scheduled_date)
7345
+ end
7346
+ end
7347
+
7348
+ #
7349
+ class OrdersGetByMerchantOrderIdResponse
7350
+ include Google::Apis::Core::Hashable
7351
+
7352
+ # Identifies what kind of resource this is. Value: the fixed string "content#
7353
+ # ordersGetByMerchantOrderIdResponse".
7354
+ # Corresponds to the JSON property `kind`
7355
+ # @return [String]
7356
+ attr_accessor :kind
7357
+
7358
+ # Order. Production access (all methods) requires the order manager role.
7359
+ # Sandbox access does not.
7360
+ # Corresponds to the JSON property `order`
7361
+ # @return [Google::Apis::ContentV2_1::Order]
6800
7362
  attr_accessor :order
6801
7363
 
6802
7364
  def initialize(**args)
@@ -7584,6 +8146,11 @@ module Google
7584
8146
  # @return [String]
7585
8147
  attr_accessor :ready_pickup_date
7586
8148
 
8149
+ # ScheduledDeliveryDetails used to update the scheduled delivery order.
8150
+ # Corresponds to the JSON property `scheduledDeliveryDetails`
8151
+ # @return [Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails]
8152
+ attr_accessor :scheduled_delivery_details
8153
+
7587
8154
  # The ID of the shipment.
7588
8155
  # Corresponds to the JSON property `shipmentId`
7589
8156
  # @return [String]
@@ -7617,6 +8184,7 @@ module Google
7617
8184
  @last_pickup_date = args[:last_pickup_date] if args.key?(:last_pickup_date)
7618
8185
  @operation_id = args[:operation_id] if args.key?(:operation_id)
7619
8186
  @ready_pickup_date = args[:ready_pickup_date] if args.key?(:ready_pickup_date)
8187
+ @scheduled_delivery_details = args[:scheduled_delivery_details] if args.key?(:scheduled_delivery_details)
7620
8188
  @shipment_id = args[:shipment_id] if args.key?(:shipment_id)
7621
8189
  @status = args[:status] if args.key?(:status)
7622
8190
  @tracking_id = args[:tracking_id] if args.key?(:tracking_id)
@@ -8489,6 +9057,31 @@ module Google
8489
9057
  end
8490
9058
  end
8491
9059
 
9060
+ # The price represented as a number and currency.
9061
+ class PriceAmount
9062
+ include Google::Apis::Core::Hashable
9063
+
9064
+ # The currency of the price.
9065
+ # Corresponds to the JSON property `currency`
9066
+ # @return [String]
9067
+ attr_accessor :currency
9068
+
9069
+ # The price represented as a number.
9070
+ # Corresponds to the JSON property `value`
9071
+ # @return [String]
9072
+ attr_accessor :value
9073
+
9074
+ def initialize(**args)
9075
+ update!(**args)
9076
+ end
9077
+
9078
+ # Update properties of this object
9079
+ def update!(**args)
9080
+ @currency = args[:currency] if args.key?(:currency)
9081
+ @value = args[:value] if args.key?(:value)
9082
+ end
9083
+ end
9084
+
8492
9085
  # Required product attributes are primarily defined by the products data
8493
9086
  # specification. See the Products Data Specification Help Center article for
8494
9087
  # information. Some attributes are country-specific, so make sure you select the
@@ -8581,7 +9174,7 @@ module Google
8581
9174
  # submitting any attribute of the feed specification in its generic form (e.g., `
8582
9175
  # ` "name": "size type", "value": "regular" ``). This is useful for submitting
8583
9176
  # attributes not explicitly exposed by the API, such as additional attributes
8584
- # used for Shopping Actions.
9177
+ # used for Buy on Google (formerly known as Shopping Actions).
8585
9178
  # Corresponds to the JSON property `customAttributes`
8586
9179
  # @return [Array<Google::Apis::ContentV2_1::CustomAttribute>]
8587
9180
  attr_accessor :custom_attributes
@@ -9982,6 +10575,151 @@ module Google
9982
10575
  end
9983
10576
  end
9984
10577
 
10578
+ # Represents a geographic region that you can use as a target with both the `
10579
+ # RegionalInventory` and `ShippingSettings` services. You can define regions as
10580
+ # collections of either postal codes or, in some countries, using predefined
10581
+ # geotargets.
10582
+ class Region
10583
+ include Google::Apis::Core::Hashable
10584
+
10585
+ # The display name of the region.
10586
+ # Corresponds to the JSON property `displayName`
10587
+ # @return [String]
10588
+ attr_accessor :display_name
10589
+
10590
+ # A list of geotargets that defines the region area.
10591
+ # Corresponds to the JSON property `geotargetArea`
10592
+ # @return [Google::Apis::ContentV2_1::RegionGeoTargetArea]
10593
+ attr_accessor :geotarget_area
10594
+
10595
+ # Output only. Immutable. Merchant that owns the region.
10596
+ # Corresponds to the JSON property `merchantId`
10597
+ # @return [Fixnum]
10598
+ attr_accessor :merchant_id
10599
+
10600
+ # A list of postal codes that defines the region area. Note: All regions defined
10601
+ # using postal codes are accessible via the account's `ShippingSettings.
10602
+ # postalCodeGroups` resource.
10603
+ # Corresponds to the JSON property `postalCodeArea`
10604
+ # @return [Google::Apis::ContentV2_1::RegionPostalCodeArea]
10605
+ attr_accessor :postal_code_area
10606
+
10607
+ # Output only. Immutable. The ID uniquely identifying each region.
10608
+ # Corresponds to the JSON property `regionId`
10609
+ # @return [String]
10610
+ attr_accessor :region_id
10611
+
10612
+ # Output only. Indicates if the region is eligible to use in the Regional
10613
+ # Inventory configuration.
10614
+ # Corresponds to the JSON property `regionalInventoryEligible`
10615
+ # @return [Boolean]
10616
+ attr_accessor :regional_inventory_eligible
10617
+ alias_method :regional_inventory_eligible?, :regional_inventory_eligible
10618
+
10619
+ # Output only. Indicates if the region is eligible to use in the Shipping
10620
+ # Services configuration.
10621
+ # Corresponds to the JSON property `shippingEligible`
10622
+ # @return [Boolean]
10623
+ attr_accessor :shipping_eligible
10624
+ alias_method :shipping_eligible?, :shipping_eligible
10625
+
10626
+ def initialize(**args)
10627
+ update!(**args)
10628
+ end
10629
+
10630
+ # Update properties of this object
10631
+ def update!(**args)
10632
+ @display_name = args[:display_name] if args.key?(:display_name)
10633
+ @geotarget_area = args[:geotarget_area] if args.key?(:geotarget_area)
10634
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
10635
+ @postal_code_area = args[:postal_code_area] if args.key?(:postal_code_area)
10636
+ @region_id = args[:region_id] if args.key?(:region_id)
10637
+ @regional_inventory_eligible = args[:regional_inventory_eligible] if args.key?(:regional_inventory_eligible)
10638
+ @shipping_eligible = args[:shipping_eligible] if args.key?(:shipping_eligible)
10639
+ end
10640
+ end
10641
+
10642
+ # A list of geotargets that defines the region area.
10643
+ class RegionGeoTargetArea
10644
+ include Google::Apis::Core::Hashable
10645
+
10646
+ # Required. A non-empty list of [location IDs](https://developers.google.com/
10647
+ # adwords/api/docs/appendix/geotargeting). They must all be of the same location
10648
+ # type (e.g., state).
10649
+ # Corresponds to the JSON property `geotargetCriteriaIds`
10650
+ # @return [Array<Fixnum>]
10651
+ attr_accessor :geotarget_criteria_ids
10652
+
10653
+ def initialize(**args)
10654
+ update!(**args)
10655
+ end
10656
+
10657
+ # Update properties of this object
10658
+ def update!(**args)
10659
+ @geotarget_criteria_ids = args[:geotarget_criteria_ids] if args.key?(:geotarget_criteria_ids)
10660
+ end
10661
+ end
10662
+
10663
+ # A list of postal codes that defines the region area. Note: All regions defined
10664
+ # using postal codes are accessible via the account's `ShippingSettings.
10665
+ # postalCodeGroups` resource.
10666
+ class RegionPostalCodeArea
10667
+ include Google::Apis::Core::Hashable
10668
+
10669
+ # Required. A range of postal codes.
10670
+ # Corresponds to the JSON property `postalCodes`
10671
+ # @return [Array<Google::Apis::ContentV2_1::RegionPostalCodeAreaPostalCodeRange>]
10672
+ attr_accessor :postal_codes
10673
+
10674
+ # Required. CLDR territory code or the country the postal code group applies to.
10675
+ # Corresponds to the JSON property `regionCode`
10676
+ # @return [String]
10677
+ attr_accessor :region_code
10678
+
10679
+ def initialize(**args)
10680
+ update!(**args)
10681
+ end
10682
+
10683
+ # Update properties of this object
10684
+ def update!(**args)
10685
+ @postal_codes = args[:postal_codes] if args.key?(:postal_codes)
10686
+ @region_code = args[:region_code] if args.key?(:region_code)
10687
+ end
10688
+ end
10689
+
10690
+ # A range of postal codes that defines the region area.
10691
+ class RegionPostalCodeAreaPostalCodeRange
10692
+ include Google::Apis::Core::Hashable
10693
+
10694
+ # Required. A postal code or a pattern of the form prefix* denoting the
10695
+ # inclusive lower bound of the range defining the area. Examples values: "94108",
10696
+ # "9410*", "9*".
10697
+ # Corresponds to the JSON property `begin`
10698
+ # @return [String]
10699
+ attr_accessor :begin
10700
+
10701
+ # Optional. A postal code or a pattern of the form prefix* denoting the
10702
+ # inclusive upper bound of the range defining the area. It must have the same
10703
+ # length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then
10704
+ # postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a
10705
+ # pattern then postalCodeRangeEnd must be a pattern with the same prefix length.
10706
+ # Optional: if not set, then the area is defined as being all the postal codes
10707
+ # matching postalCodeRangeBegin.
10708
+ # Corresponds to the JSON property `end`
10709
+ # @return [String]
10710
+ attr_accessor :end
10711
+
10712
+ def initialize(**args)
10713
+ update!(**args)
10714
+ end
10715
+
10716
+ # Update properties of this object
10717
+ def update!(**args)
10718
+ @begin = args[:begin] if args.key?(:begin)
10719
+ @end = args[:end] if args.key?(:end)
10720
+ end
10721
+ end
10722
+
9985
10723
  # Regional inventory resource. contains the regional name and all attributes
9986
10724
  # which are overridden for the specified region.
9987
10725
  class RegionalInventory
@@ -10170,11 +10908,126 @@ module Google
10170
10908
  end
10171
10909
  end
10172
10910
 
10911
+ # Resource that represents a daily Repricing product report. Each report
10912
+ # contains stats for a single type of Repricing rule for a single product on a
10913
+ # given day. If there are multiple rules of the same type for the product on
10914
+ # that day, the report lists all the rules by rule ids, combines the stats, and
10915
+ # paginates the results by date. To retrieve the stats of a particular rule,
10916
+ # provide the rule_id in the request.
10917
+ class RepricingProductReport
10918
+ include Google::Apis::Core::Hashable
10919
+
10920
+ # Total count of Repricer applications. This value captures how many times the
10921
+ # rule of this type was applied to this product during this reporting period.
10922
+ # Corresponds to the JSON property `applicationCount`
10923
+ # @return [Fixnum]
10924
+ attr_accessor :application_count
10925
+
10926
+ # Stats specific to buybox winning rules for product report.
10927
+ # Corresponds to the JSON property `buyboxWinningProductStats`
10928
+ # @return [Google::Apis::ContentV2_1::RepricingProductReportBuyboxWinningProductStats]
10929
+ attr_accessor :buybox_winning_product_stats
10930
+
10931
+ # Represents a whole or partial calendar date, such as a birthday. The time of
10932
+ # day and time zone are either specified elsewhere or are insignificant. The
10933
+ # date is relative to the Gregorian Calendar. This can represent one of the
10934
+ # following: * A full date, with non-zero year, month, and day values * A month
10935
+ # and day value, with a zero year, such as an anniversary * A year on its own,
10936
+ # with zero month and day values * A year and month value, with a zero day, such
10937
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
10938
+ # google.protobuf.Timestamp`.
10939
+ # Corresponds to the JSON property `date`
10940
+ # @return [Google::Apis::ContentV2_1::Date]
10941
+ attr_accessor :date
10942
+
10943
+ # The price represented as a number and currency.
10944
+ # Corresponds to the JSON property `highWatermark`
10945
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
10946
+ attr_accessor :high_watermark
10947
+
10948
+ # List of all reasons the rule did not apply to the product during the specified
10949
+ # reporting period.
10950
+ # Corresponds to the JSON property `inapplicabilityDetails`
10951
+ # @return [Array<Google::Apis::ContentV2_1::InapplicabilityDetails>]
10952
+ attr_accessor :inapplicability_details
10953
+
10954
+ # The price represented as a number and currency.
10955
+ # Corresponds to the JSON property `lowWatermark`
10956
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
10957
+ attr_accessor :low_watermark
10958
+
10959
+ # Total unit count of impacted products ordered while the rule was active on the
10960
+ # date of the report. This count includes all orders that were started while the
10961
+ # rule was active, even if the rule was no longer active when the order was
10962
+ # completed.
10963
+ # Corresponds to the JSON property `orderItemCount`
10964
+ # @return [Fixnum]
10965
+ attr_accessor :order_item_count
10966
+
10967
+ # Ids of the Repricing rule for this report.
10968
+ # Corresponds to the JSON property `ruleIds`
10969
+ # @return [Array<String>]
10970
+ attr_accessor :rule_ids
10971
+
10972
+ # The price represented as a number and currency.
10973
+ # Corresponds to the JSON property `totalGmv`
10974
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
10975
+ attr_accessor :total_gmv
10976
+
10977
+ # Type of the rule.
10978
+ # Corresponds to the JSON property `type`
10979
+ # @return [String]
10980
+ attr_accessor :type
10981
+
10982
+ def initialize(**args)
10983
+ update!(**args)
10984
+ end
10985
+
10986
+ # Update properties of this object
10987
+ def update!(**args)
10988
+ @application_count = args[:application_count] if args.key?(:application_count)
10989
+ @buybox_winning_product_stats = args[:buybox_winning_product_stats] if args.key?(:buybox_winning_product_stats)
10990
+ @date = args[:date] if args.key?(:date)
10991
+ @high_watermark = args[:high_watermark] if args.key?(:high_watermark)
10992
+ @inapplicability_details = args[:inapplicability_details] if args.key?(:inapplicability_details)
10993
+ @low_watermark = args[:low_watermark] if args.key?(:low_watermark)
10994
+ @order_item_count = args[:order_item_count] if args.key?(:order_item_count)
10995
+ @rule_ids = args[:rule_ids] if args.key?(:rule_ids)
10996
+ @total_gmv = args[:total_gmv] if args.key?(:total_gmv)
10997
+ @type = args[:type] if args.key?(:type)
10998
+ end
10999
+ end
11000
+
11001
+ # Stats specific to buybox winning rules for product report.
11002
+ class RepricingProductReportBuyboxWinningProductStats
11003
+ include Google::Apis::Core::Hashable
11004
+
11005
+ # Number of times this product won the buybox with these rules during this time
11006
+ # period.
11007
+ # Corresponds to the JSON property `buyboxWinsCount`
11008
+ # @return [Fixnum]
11009
+ attr_accessor :buybox_wins_count
11010
+
11011
+ def initialize(**args)
11012
+ update!(**args)
11013
+ end
11014
+
11015
+ # Update properties of this object
11016
+ def update!(**args)
11017
+ @buybox_wins_count = args[:buybox_wins_count] if args.key?(:buybox_wins_count)
11018
+ end
11019
+ end
11020
+
10173
11021
  # Represents a repricing rule. A repricing rule is used by shopping serving to
10174
11022
  # adjust transactable offer prices if conditions are met. Next ID: 24
10175
11023
  class RepricingRule
10176
11024
  include Google::Apis::Core::Hashable
10177
11025
 
11026
+ # A repricing rule that changes the sale price based on cost of goods sale.
11027
+ # Corresponds to the JSON property `cogsBasedRule`
11028
+ # @return [Google::Apis::ContentV2_1::RepricingRuleCostOfGoodsSaleRule]
11029
+ attr_accessor :cogs_based_rule
11030
+
10178
11031
  # Required. Immutable. CLDR country code (e.g. "US").
10179
11032
  # Corresponds to the JSON property `countryCode`
10180
11033
  # @return [String]
@@ -10232,6 +11085,11 @@ module Google
10232
11085
  # @return [String]
10233
11086
  attr_accessor :rule_id
10234
11087
 
11088
+ # Definition of stats based rule.
11089
+ # Corresponds to the JSON property `statsBasedRule`
11090
+ # @return [Google::Apis::ContentV2_1::RepricingRuleStatsBasedRule]
11091
+ attr_accessor :stats_based_rule
11092
+
10235
11093
  # The title for the rule.
10236
11094
  # Corresponds to the JSON property `title`
10237
11095
  # @return [String]
@@ -10248,6 +11106,7 @@ module Google
10248
11106
 
10249
11107
  # Update properties of this object
10250
11108
  def update!(**args)
11109
+ @cogs_based_rule = args[:cogs_based_rule] if args.key?(:cogs_based_rule)
10251
11110
  @country_code = args[:country_code] if args.key?(:country_code)
10252
11111
  @effective_time_period = args[:effective_time_period] if args.key?(:effective_time_period)
10253
11112
  @eligible_offer_matcher = args[:eligible_offer_matcher] if args.key?(:eligible_offer_matcher)
@@ -10256,11 +11115,38 @@ module Google
10256
11115
  @paused = args[:paused] if args.key?(:paused)
10257
11116
  @restriction = args[:restriction] if args.key?(:restriction)
10258
11117
  @rule_id = args[:rule_id] if args.key?(:rule_id)
11118
+ @stats_based_rule = args[:stats_based_rule] if args.key?(:stats_based_rule)
10259
11119
  @title = args[:title] if args.key?(:title)
10260
11120
  @type = args[:type] if args.key?(:type)
10261
11121
  end
10262
11122
  end
10263
11123
 
11124
+ # A repricing rule that changes the sale price based on cost of goods sale.
11125
+ class RepricingRuleCostOfGoodsSaleRule
11126
+ include Google::Apis::Core::Hashable
11127
+
11128
+ # The percent change against the COGS. Ex: 20 would mean to set the adjusted
11129
+ # price 1.2X of the COGS data.
11130
+ # Corresponds to the JSON property `percentageDelta`
11131
+ # @return [Fixnum]
11132
+ attr_accessor :percentage_delta
11133
+
11134
+ # The price delta against the COGS. E.g. 2 means $2 more of the COGS.
11135
+ # Corresponds to the JSON property `priceDelta`
11136
+ # @return [String]
11137
+ attr_accessor :price_delta
11138
+
11139
+ def initialize(**args)
11140
+ update!(**args)
11141
+ end
11142
+
11143
+ # Update properties of this object
11144
+ def update!(**args)
11145
+ @percentage_delta = args[:percentage_delta] if args.key?(:percentage_delta)
11146
+ @price_delta = args[:price_delta] if args.key?(:price_delta)
11147
+ end
11148
+ end
11149
+
10264
11150
  #
10265
11151
  class RepricingRuleEffectiveTime
10266
11152
  include Google::Apis::Core::Hashable
@@ -10338,6 +11224,12 @@ module Google
10338
11224
  # @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
10339
11225
  attr_accessor :offer_id_matcher
10340
11226
 
11227
+ # When true, the rule won't be applied to offers with active promotions.
11228
+ # Corresponds to the JSON property `skipWhenOnPromotion`
11229
+ # @return [Boolean]
11230
+ attr_accessor :skip_when_on_promotion
11231
+ alias_method :skip_when_on_promotion?, :skip_when_on_promotion
11232
+
10341
11233
  def initialize(**args)
10342
11234
  update!(**args)
10343
11235
  end
@@ -10348,6 +11240,7 @@ module Google
10348
11240
  @item_group_id_matcher = args[:item_group_id_matcher] if args.key?(:item_group_id_matcher)
10349
11241
  @matcher_option = args[:matcher_option] if args.key?(:matcher_option)
10350
11242
  @offer_id_matcher = args[:offer_id_matcher] if args.key?(:offer_id_matcher)
11243
+ @skip_when_on_promotion = args[:skip_when_on_promotion] if args.key?(:skip_when_on_promotion)
10351
11244
  end
10352
11245
  end
10353
11246
 
@@ -10373,6 +11266,108 @@ module Google
10373
11266
  end
10374
11267
  end
10375
11268
 
11269
+ # Resource that represents a daily Repricing rule report. Next ID: 11
11270
+ class RepricingRuleReport
11271
+ include Google::Apis::Core::Hashable
11272
+
11273
+ # Stats specific to buybox winning rules for rule report.
11274
+ # Corresponds to the JSON property `buyboxWinningRuleStats`
11275
+ # @return [Google::Apis::ContentV2_1::RepricingRuleReportBuyboxWinningRuleStats]
11276
+ attr_accessor :buybox_winning_rule_stats
11277
+
11278
+ # Represents a whole or partial calendar date, such as a birthday. The time of
11279
+ # day and time zone are either specified elsewhere or are insignificant. The
11280
+ # date is relative to the Gregorian Calendar. This can represent one of the
11281
+ # following: * A full date, with non-zero year, month, and day values * A month
11282
+ # and day value, with a zero year, such as an anniversary * A year on its own,
11283
+ # with zero month and day values * A year and month value, with a zero day, such
11284
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
11285
+ # google.protobuf.Timestamp`.
11286
+ # Corresponds to the JSON property `date`
11287
+ # @return [Google::Apis::ContentV2_1::Date]
11288
+ attr_accessor :date
11289
+
11290
+ # List of product ids that are impacted by this rule during this reporting
11291
+ # period. Out of stock products and products not searched for by customers are
11292
+ # examples of non-impacted products.
11293
+ # Corresponds to the JSON property `impactedProducts`
11294
+ # @return [Array<String>]
11295
+ attr_accessor :impacted_products
11296
+
11297
+ # List of all reasons the rule did not apply to the inapplicable products during
11298
+ # the specified reporting period.
11299
+ # Corresponds to the JSON property `inapplicabilityDetails`
11300
+ # @return [Array<Google::Apis::ContentV2_1::InapplicabilityDetails>]
11301
+ attr_accessor :inapplicability_details
11302
+
11303
+ # List of product ids that are inapplicable to this rule during this reporting
11304
+ # period. To get the inapplicable reason for a specific product, see
11305
+ # RepricingProductReport.
11306
+ # Corresponds to the JSON property `inapplicableProducts`
11307
+ # @return [Array<String>]
11308
+ attr_accessor :inapplicable_products
11309
+
11310
+ # Total unit count of impacted products ordered while the rule was active on the
11311
+ # date of the report. This count includes all orders that were started while the
11312
+ # rule was active, even if the rule was no longer active when the order was
11313
+ # completed.
11314
+ # Corresponds to the JSON property `orderItemCount`
11315
+ # @return [Fixnum]
11316
+ attr_accessor :order_item_count
11317
+
11318
+ # Id of the Repricing rule for this report.
11319
+ # Corresponds to the JSON property `ruleId`
11320
+ # @return [String]
11321
+ attr_accessor :rule_id
11322
+
11323
+ # The price represented as a number and currency.
11324
+ # Corresponds to the JSON property `totalGmv`
11325
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
11326
+ attr_accessor :total_gmv
11327
+
11328
+ # Type of the rule.
11329
+ # Corresponds to the JSON property `type`
11330
+ # @return [String]
11331
+ attr_accessor :type
11332
+
11333
+ def initialize(**args)
11334
+ update!(**args)
11335
+ end
11336
+
11337
+ # Update properties of this object
11338
+ def update!(**args)
11339
+ @buybox_winning_rule_stats = args[:buybox_winning_rule_stats] if args.key?(:buybox_winning_rule_stats)
11340
+ @date = args[:date] if args.key?(:date)
11341
+ @impacted_products = args[:impacted_products] if args.key?(:impacted_products)
11342
+ @inapplicability_details = args[:inapplicability_details] if args.key?(:inapplicability_details)
11343
+ @inapplicable_products = args[:inapplicable_products] if args.key?(:inapplicable_products)
11344
+ @order_item_count = args[:order_item_count] if args.key?(:order_item_count)
11345
+ @rule_id = args[:rule_id] if args.key?(:rule_id)
11346
+ @total_gmv = args[:total_gmv] if args.key?(:total_gmv)
11347
+ @type = args[:type] if args.key?(:type)
11348
+ end
11349
+ end
11350
+
11351
+ # Stats specific to buybox winning rules for rule report.
11352
+ class RepricingRuleReportBuyboxWinningRuleStats
11353
+ include Google::Apis::Core::Hashable
11354
+
11355
+ # Number of unique products that won the buybox with this rule during this
11356
+ # period of time.
11357
+ # Corresponds to the JSON property `buyboxWonProductCount`
11358
+ # @return [Fixnum]
11359
+ attr_accessor :buybox_won_product_count
11360
+
11361
+ def initialize(**args)
11362
+ update!(**args)
11363
+ end
11364
+
11365
+ # Update properties of this object
11366
+ def update!(**args)
11367
+ @buybox_won_product_count = args[:buybox_won_product_count] if args.key?(:buybox_won_product_count)
11368
+ end
11369
+ end
11370
+
10376
11371
  # Definition of a rule restriction. At least one of the following needs to be
10377
11372
  # true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
10378
11373
  # floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
@@ -10415,15 +11410,43 @@ module Google
10415
11410
 
10416
11411
  # The percentage delta relative to the offer selling price. This field is signed.
10417
11412
  # It must be negative in floor. When it is used in floor, it should be > -100.
10418
- # If an offer is selling at $10 and this field is -30 in floor, the repricing
10419
- # rule only applies if the calculated new price is >= $7.
11413
+ # For example, if an offer is selling at $10 and this field is -30 in floor, the
11414
+ # repricing rule only applies if the calculated new price is >= $7.
10420
11415
  # Corresponds to the JSON property `percentageDelta`
10421
11416
  # @return [Fixnum]
10422
11417
  attr_accessor :percentage_delta
10423
11418
 
10424
11419
  # The price micros relative to the offer selling price. This field is signed. It
10425
- # must be negative in floor. If an offer is selling at $10 and this field is -$2
10426
- # in floor, the repricing rule only applies if the calculated new price is >= $8.
11420
+ # must be negative in floor. For example, if an offer is selling at $10 and this
11421
+ # field is -$2 in floor, the repricing rule only applies if the calculated new
11422
+ # price is >= $8.
11423
+ # Corresponds to the JSON property `priceDelta`
11424
+ # @return [String]
11425
+ attr_accessor :price_delta
11426
+
11427
+ def initialize(**args)
11428
+ update!(**args)
11429
+ end
11430
+
11431
+ # Update properties of this object
11432
+ def update!(**args)
11433
+ @percentage_delta = args[:percentage_delta] if args.key?(:percentage_delta)
11434
+ @price_delta = args[:price_delta] if args.key?(:price_delta)
11435
+ end
11436
+ end
11437
+
11438
+ # Definition of stats based rule.
11439
+ class RepricingRuleStatsBasedRule
11440
+ include Google::Apis::Core::Hashable
11441
+
11442
+ # The percent change against the price target. Valid from 0 to 100 inclusively.
11443
+ # Corresponds to the JSON property `percentageDelta`
11444
+ # @return [Fixnum]
11445
+ attr_accessor :percentage_delta
11446
+
11447
+ # The price delta against the above price target. A positive value means the
11448
+ # price should be adjusted to be above statistical measure, and a negative value
11449
+ # means below. Currency code must not be included.
10427
11450
  # Corresponds to the JSON property `priceDelta`
10428
11451
  # @return [String]
10429
11452
  attr_accessor :price_delta
@@ -10753,7 +11776,7 @@ module Google
10753
11776
  attr_accessor :delivery_date
10754
11777
 
10755
11778
  # Type of the return method. Acceptable values are: - "`byMail`" - "`
10756
- # contactCustomerSupport`" - "`returnless`"
11779
+ # contactCustomerSupport`" - "`returnless`" - "`inStore`"
10757
11780
  # Corresponds to the JSON property `returnMethodType`
10758
11781
  # @return [String]
10759
11782
  attr_accessor :return_method_type
@@ -11351,7 +12374,7 @@ module Google
11351
12374
  # qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
11352
12375
  # transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
11353
12376
  # wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
11354
- # refundFromMerchant`" - "`returnLabelShippingFee`"
12377
+ # refundFromMerchant`" - "`returnLabelShippingFee`" - "`pspFee`"
11355
12378
  # Corresponds to the JSON property `description`
11356
12379
  # @return [String]
11357
12380
  attr_accessor :description
@@ -12156,6 +13179,12 @@ module Google
12156
13179
  # @return [Google::Apis::ContentV2_1::TestOrderAddress]
12157
13180
  attr_accessor :address
12158
13181
 
13182
+ # Whether the order is scheduled delivery order.
13183
+ # Corresponds to the JSON property `isScheduledDelivery`
13184
+ # @return [Boolean]
13185
+ attr_accessor :is_scheduled_delivery
13186
+ alias_method :is_scheduled_delivery?, :is_scheduled_delivery
13187
+
12159
13188
  # The phone number of the person receiving the delivery.
12160
13189
  # Corresponds to the JSON property `phoneNumber`
12161
13190
  # @return [String]
@@ -12168,6 +13197,7 @@ module Google
12168
13197
  # Update properties of this object
12169
13198
  def update!(**args)
12170
13199
  @address = args[:address] if args.key?(:address)
13200
+ @is_scheduled_delivery = args[:is_scheduled_delivery] if args.key?(:is_scheduled_delivery)
12171
13201
  @phone_number = args[:phone_number] if args.key?(:phone_number)
12172
13202
  end
12173
13203
  end
@@ -12366,6 +13396,32 @@ module Google
12366
13396
  end
12367
13397
  end
12368
13398
 
13399
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
13400
+ # time-zones).
13401
+ class TimeZone
13402
+ include Google::Apis::Core::Hashable
13403
+
13404
+ # IANA Time Zone Database time zone, e.g. "America/New_York".
13405
+ # Corresponds to the JSON property `id`
13406
+ # @return [String]
13407
+ attr_accessor :id
13408
+
13409
+ # Optional. IANA Time Zone Database version number, e.g. "2019a".
13410
+ # Corresponds to the JSON property `version`
13411
+ # @return [String]
13412
+ attr_accessor :version
13413
+
13414
+ def initialize(**args)
13415
+ update!(**args)
13416
+ end
13417
+
13418
+ # Update properties of this object
13419
+ def update!(**args)
13420
+ @id = args[:id] if args.key?(:id)
13421
+ @version = args[:version] if args.key?(:version)
13422
+ end
13423
+ end
13424
+
12369
13425
  #
12370
13426
  class TransitTable
12371
13427
  include Google::Apis::Core::Hashable