google-shopping-merchant-accounts-v1 0.a → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/shopping/merchant/accounts/v1/accessright_pb.rb +44 -0
  6. data/lib/google/shopping/merchant/accounts/v1/account_issue_service/client.rb +497 -0
  7. data/lib/google/shopping/merchant/accounts/v1/account_issue_service/credentials.rb +49 -0
  8. data/lib/google/shopping/merchant/accounts/v1/account_issue_service/paths.rb +49 -0
  9. data/lib/google/shopping/merchant/accounts/v1/account_issue_service/rest/client.rb +464 -0
  10. data/lib/google/shopping/merchant/accounts/v1/account_issue_service/rest/service_stub.rb +144 -0
  11. data/lib/google/shopping/merchant/accounts/v1/account_issue_service/rest.rb +54 -0
  12. data/lib/google/shopping/merchant/accounts/v1/account_issue_service.rb +57 -0
  13. data/lib/google/shopping/merchant/accounts/v1/account_relationships_service/client.rb +671 -0
  14. data/lib/google/shopping/merchant/accounts/v1/account_relationships_service/credentials.rb +49 -0
  15. data/lib/google/shopping/merchant/accounts/v1/account_relationships_service/paths.rb +66 -0
  16. data/lib/google/shopping/merchant/accounts/v1/account_relationships_service/rest/client.rb +624 -0
  17. data/lib/google/shopping/merchant/accounts/v1/account_relationships_service/rest/service_stub.rb +267 -0
  18. data/lib/google/shopping/merchant/accounts/v1/account_relationships_service/rest.rb +54 -0
  19. data/lib/google/shopping/merchant/accounts/v1/account_relationships_service.rb +57 -0
  20. data/lib/google/shopping/merchant/accounts/v1/account_services_service/client.rb +856 -0
  21. data/lib/google/shopping/merchant/accounts/v1/account_services_service/credentials.rb +49 -0
  22. data/lib/google/shopping/merchant/accounts/v1/account_services_service/paths.rb +66 -0
  23. data/lib/google/shopping/merchant/accounts/v1/account_services_service/rest/client.rb +795 -0
  24. data/lib/google/shopping/merchant/accounts/v1/account_services_service/rest/service_stub.rb +391 -0
  25. data/lib/google/shopping/merchant/accounts/v1/account_services_service/rest.rb +54 -0
  26. data/lib/google/shopping/merchant/accounts/v1/account_services_service.rb +57 -0
  27. data/lib/google/shopping/merchant/accounts/v1/accountissue_pb.rb +55 -0
  28. data/lib/google/shopping/merchant/accounts/v1/accountissue_services_pb.rb +54 -0
  29. data/lib/google/shopping/merchant/accounts/v1/accountrelationships_pb.rb +55 -0
  30. data/lib/google/shopping/merchant/accounts/v1/accountrelationships_services_pb.rb +52 -0
  31. data/lib/google/shopping/merchant/accounts/v1/accounts_pb.rb +68 -0
  32. data/lib/google/shopping/merchant/accounts/v1/accounts_service/client.rb +987 -0
  33. data/lib/google/shopping/merchant/accounts/v1/accounts_service/credentials.rb +49 -0
  34. data/lib/google/shopping/merchant/accounts/v1/accounts_service/paths.rb +66 -0
  35. data/lib/google/shopping/merchant/accounts/v1/accounts_service/rest/client.rb +935 -0
  36. data/lib/google/shopping/merchant/accounts/v1/accounts_service/rest/service_stub.rb +447 -0
  37. data/lib/google/shopping/merchant/accounts/v1/accounts_service/rest.rb +54 -0
  38. data/lib/google/shopping/merchant/accounts/v1/accounts_service.rb +57 -0
  39. data/lib/google/shopping/merchant/accounts/v1/accounts_services_pb.rb +74 -0
  40. data/lib/google/shopping/merchant/accounts/v1/accountservices_pb.rb +65 -0
  41. data/lib/google/shopping/merchant/accounts/v1/accountservices_services_pb.rb +56 -0
  42. data/lib/google/shopping/merchant/accounts/v1/autofeed_settings_service/client.rb +560 -0
  43. data/lib/google/shopping/merchant/accounts/v1/autofeed_settings_service/credentials.rb +49 -0
  44. data/lib/google/shopping/merchant/accounts/v1/autofeed_settings_service/paths.rb +49 -0
  45. data/lib/google/shopping/merchant/accounts/v1/autofeed_settings_service/rest/client.rb +520 -0
  46. data/lib/google/shopping/merchant/accounts/v1/autofeed_settings_service/rest/service_stub.rb +206 -0
  47. data/lib/google/shopping/merchant/accounts/v1/autofeed_settings_service/rest.rb +55 -0
  48. data/lib/google/shopping/merchant/accounts/v1/autofeed_settings_service.rb +58 -0
  49. data/lib/google/shopping/merchant/accounts/v1/autofeedsettings_pb.rb +53 -0
  50. data/lib/google/shopping/merchant/accounts/v1/autofeedsettings_services_pb.rb +50 -0
  51. data/lib/google/shopping/merchant/accounts/v1/automatic_improvements_service/client.rb +570 -0
  52. data/lib/google/shopping/merchant/accounts/v1/automatic_improvements_service/credentials.rb +49 -0
  53. data/lib/google/shopping/merchant/accounts/v1/automatic_improvements_service/paths.rb +49 -0
  54. data/lib/google/shopping/merchant/accounts/v1/automatic_improvements_service/rest/client.rb +530 -0
  55. data/lib/google/shopping/merchant/accounts/v1/automatic_improvements_service/rest/service_stub.rb +206 -0
  56. data/lib/google/shopping/merchant/accounts/v1/automatic_improvements_service/rest.rb +56 -0
  57. data/lib/google/shopping/merchant/accounts/v1/automatic_improvements_service.rb +59 -0
  58. data/lib/google/shopping/merchant/accounts/v1/automaticimprovements_pb.rb +58 -0
  59. data/lib/google/shopping/merchant/accounts/v1/automaticimprovements_services_pb.rb +51 -0
  60. data/lib/google/shopping/merchant/accounts/v1/business_identity_service/client.rb +572 -0
  61. data/lib/google/shopping/merchant/accounts/v1/business_identity_service/credentials.rb +49 -0
  62. data/lib/google/shopping/merchant/accounts/v1/business_identity_service/paths.rb +49 -0
  63. data/lib/google/shopping/merchant/accounts/v1/business_identity_service/rest/client.rb +532 -0
  64. data/lib/google/shopping/merchant/accounts/v1/business_identity_service/rest/service_stub.rb +206 -0
  65. data/lib/google/shopping/merchant/accounts/v1/business_identity_service/rest.rb +55 -0
  66. data/lib/google/shopping/merchant/accounts/v1/business_identity_service.rb +58 -0
  67. data/lib/google/shopping/merchant/accounts/v1/business_info_service/client.rb +568 -0
  68. data/lib/google/shopping/merchant/accounts/v1/business_info_service/credentials.rb +49 -0
  69. data/lib/google/shopping/merchant/accounts/v1/business_info_service/paths.rb +49 -0
  70. data/lib/google/shopping/merchant/accounts/v1/business_info_service/rest/client.rb +528 -0
  71. data/lib/google/shopping/merchant/accounts/v1/business_info_service/rest/service_stub.rb +206 -0
  72. data/lib/google/shopping/merchant/accounts/v1/business_info_service/rest.rb +54 -0
  73. data/lib/google/shopping/merchant/accounts/v1/business_info_service.rb +57 -0
  74. data/lib/google/shopping/merchant/accounts/v1/businessidentity_pb.rb +56 -0
  75. data/lib/google/shopping/merchant/accounts/v1/businessidentity_services_pb.rb +51 -0
  76. data/lib/google/shopping/merchant/accounts/v1/businessinfo_pb.rb +60 -0
  77. data/lib/google/shopping/merchant/accounts/v1/businessinfo_services_pb.rb +50 -0
  78. data/lib/google/shopping/merchant/accounts/v1/checkout_settings_service/client.rb +757 -0
  79. data/lib/google/shopping/merchant/accounts/v1/checkout_settings_service/credentials.rb +49 -0
  80. data/lib/google/shopping/merchant/accounts/v1/checkout_settings_service/paths.rb +69 -0
  81. data/lib/google/shopping/merchant/accounts/v1/checkout_settings_service/rest/client.rb +703 -0
  82. data/lib/google/shopping/merchant/accounts/v1/checkout_settings_service/rest/service_stub.rb +329 -0
  83. data/lib/google/shopping/merchant/accounts/v1/checkout_settings_service/rest.rb +55 -0
  84. data/lib/google/shopping/merchant/accounts/v1/checkout_settings_service.rb +58 -0
  85. data/lib/google/shopping/merchant/accounts/v1/checkoutsettings_pb.rb +60 -0
  86. data/lib/google/shopping/merchant/accounts/v1/checkoutsettings_services_pb.rb +56 -0
  87. data/lib/google/shopping/merchant/accounts/v1/customerservice_pb.rb +48 -0
  88. data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/client.rb +665 -0
  89. data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/credentials.rb +49 -0
  90. data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/paths.rb +49 -0
  91. data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/rest/client.rb +618 -0
  92. data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/rest/service_stub.rb +268 -0
  93. data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/rest.rb +54 -0
  94. data/lib/google/shopping/merchant/accounts/v1/developer_registration_service.rb +57 -0
  95. data/lib/google/shopping/merchant/accounts/v1/developerregistration_pb.rb +53 -0
  96. data/lib/google/shopping/merchant/accounts/v1/developerregistration_services_pb.rb +56 -0
  97. data/lib/google/shopping/merchant/accounts/v1/email_preferences_service/client.rb +579 -0
  98. data/lib/google/shopping/merchant/accounts/v1/email_preferences_service/credentials.rb +49 -0
  99. data/lib/google/shopping/merchant/accounts/v1/email_preferences_service/paths.rb +52 -0
  100. data/lib/google/shopping/merchant/accounts/v1/email_preferences_service/rest/client.rb +539 -0
  101. data/lib/google/shopping/merchant/accounts/v1/email_preferences_service/rest/service_stub.rb +206 -0
  102. data/lib/google/shopping/merchant/accounts/v1/email_preferences_service/rest.rb +54 -0
  103. data/lib/google/shopping/merchant/accounts/v1/email_preferences_service.rb +57 -0
  104. data/lib/google/shopping/merchant/accounts/v1/emailpreferences_pb.rb +54 -0
  105. data/lib/google/shopping/merchant/accounts/v1/emailpreferences_services_pb.rb +64 -0
  106. data/lib/google/shopping/merchant/accounts/v1/gbp_accounts_service/client.rb +585 -0
  107. data/lib/google/shopping/merchant/accounts/v1/gbp_accounts_service/credentials.rb +49 -0
  108. data/lib/google/shopping/merchant/accounts/v1/gbp_accounts_service/paths.rb +49 -0
  109. data/lib/google/shopping/merchant/accounts/v1/gbp_accounts_service/rest/client.rb +545 -0
  110. data/lib/google/shopping/merchant/accounts/v1/gbp_accounts_service/rest/service_stub.rb +206 -0
  111. data/lib/google/shopping/merchant/accounts/v1/gbp_accounts_service/rest.rb +57 -0
  112. data/lib/google/shopping/merchant/accounts/v1/gbp_accounts_service.rb +60 -0
  113. data/lib/google/shopping/merchant/accounts/v1/gbpaccounts_pb.rb +56 -0
  114. data/lib/google/shopping/merchant/accounts/v1/gbpaccounts_services_pb.rb +56 -0
  115. data/lib/google/shopping/merchant/accounts/v1/homepage_pb.rb +55 -0
  116. data/lib/google/shopping/merchant/accounts/v1/homepage_service/client.rb +774 -0
  117. data/lib/google/shopping/merchant/accounts/v1/homepage_service/credentials.rb +49 -0
  118. data/lib/google/shopping/merchant/accounts/v1/homepage_service/paths.rb +49 -0
  119. data/lib/google/shopping/merchant/accounts/v1/homepage_service/rest/client.rb +720 -0
  120. data/lib/google/shopping/merchant/accounts/v1/homepage_service/rest/service_stub.rb +330 -0
  121. data/lib/google/shopping/merchant/accounts/v1/homepage_service/rest.rb +54 -0
  122. data/lib/google/shopping/merchant/accounts/v1/homepage_service.rb +57 -0
  123. data/lib/google/shopping/merchant/accounts/v1/homepage_services_pb.rb +73 -0
  124. data/lib/google/shopping/merchant/accounts/v1/lfp_providers_service/client.rb +584 -0
  125. data/lib/google/shopping/merchant/accounts/v1/lfp_providers_service/credentials.rb +49 -0
  126. data/lib/google/shopping/merchant/accounts/v1/lfp_providers_service/paths.rb +71 -0
  127. data/lib/google/shopping/merchant/accounts/v1/lfp_providers_service/rest/client.rb +544 -0
  128. data/lib/google/shopping/merchant/accounts/v1/lfp_providers_service/rest/service_stub.rb +206 -0
  129. data/lib/google/shopping/merchant/accounts/v1/lfp_providers_service/rest.rb +56 -0
  130. data/lib/google/shopping/merchant/accounts/v1/lfp_providers_service.rb +59 -0
  131. data/lib/google/shopping/merchant/accounts/v1/lfpproviders_pb.rb +55 -0
  132. data/lib/google/shopping/merchant/accounts/v1/lfpproviders_services_pb.rb +51 -0
  133. data/lib/google/shopping/merchant/accounts/v1/omnichannel_settings_service/client.rb +875 -0
  134. data/lib/google/shopping/merchant/accounts/v1/omnichannel_settings_service/credentials.rb +49 -0
  135. data/lib/google/shopping/merchant/accounts/v1/omnichannel_settings_service/paths.rb +66 -0
  136. data/lib/google/shopping/merchant/accounts/v1/omnichannel_settings_service/rest/client.rb +814 -0
  137. data/lib/google/shopping/merchant/accounts/v1/omnichannel_settings_service/rest/service_stub.rb +391 -0
  138. data/lib/google/shopping/merchant/accounts/v1/omnichannel_settings_service/rest.rb +57 -0
  139. data/lib/google/shopping/merchant/accounts/v1/omnichannel_settings_service.rb +60 -0
  140. data/lib/google/shopping/merchant/accounts/v1/omnichannelsettings_pb.rb +68 -0
  141. data/lib/google/shopping/merchant/accounts/v1/omnichannelsettings_services_pb.rb +58 -0
  142. data/lib/google/shopping/merchant/accounts/v1/online_return_policy_pb.rb +68 -0
  143. data/lib/google/shopping/merchant/accounts/v1/online_return_policy_service/client.rb +771 -0
  144. data/lib/google/shopping/merchant/accounts/v1/online_return_policy_service/credentials.rb +49 -0
  145. data/lib/google/shopping/merchant/accounts/v1/online_return_policy_service/paths.rb +66 -0
  146. data/lib/google/shopping/merchant/accounts/v1/online_return_policy_service/rest/client.rb +717 -0
  147. data/lib/google/shopping/merchant/accounts/v1/online_return_policy_service/rest/service_stub.rb +328 -0
  148. data/lib/google/shopping/merchant/accounts/v1/online_return_policy_service/rest.rb +58 -0
  149. data/lib/google/shopping/merchant/accounts/v1/online_return_policy_service.rb +61 -0
  150. data/lib/google/shopping/merchant/accounts/v1/online_return_policy_services_pb.rb +57 -0
  151. data/lib/google/shopping/merchant/accounts/v1/phoneverificationstate_pb.rb +44 -0
  152. data/lib/google/shopping/merchant/accounts/v1/programs_pb.rb +56 -0
  153. data/lib/google/shopping/merchant/accounts/v1/programs_service/client.rb +770 -0
  154. data/lib/google/shopping/merchant/accounts/v1/programs_service/credentials.rb +49 -0
  155. data/lib/google/shopping/merchant/accounts/v1/programs_service/paths.rb +66 -0
  156. data/lib/google/shopping/merchant/accounts/v1/programs_service/rest/client.rb +716 -0
  157. data/lib/google/shopping/merchant/accounts/v1/programs_service/rest/service_stub.rb +329 -0
  158. data/lib/google/shopping/merchant/accounts/v1/programs_service/rest.rb +64 -0
  159. data/lib/google/shopping/merchant/accounts/v1/programs_service.rb +67 -0
  160. data/lib/google/shopping/merchant/accounts/v1/programs_services_pb.rb +63 -0
  161. data/lib/google/shopping/merchant/accounts/v1/regions_pb.rb +63 -0
  162. data/lib/google/shopping/merchant/accounts/v1/regions_service/client.rb +869 -0
  163. data/lib/google/shopping/merchant/accounts/v1/regions_service/credentials.rb +49 -0
  164. data/lib/google/shopping/merchant/accounts/v1/regions_service/paths.rb +66 -0
  165. data/lib/google/shopping/merchant/accounts/v1/regions_service/rest/client.rb +808 -0
  166. data/lib/google/shopping/merchant/accounts/v1/regions_service/rest/service_stub.rb +390 -0
  167. data/lib/google/shopping/merchant/accounts/v1/regions_service/rest.rb +58 -0
  168. data/lib/google/shopping/merchant/accounts/v1/regions_service.rb +61 -0
  169. data/lib/google/shopping/merchant/accounts/v1/regions_services_pb.rb +62 -0
  170. data/lib/google/shopping/merchant/accounts/v1/rest.rb +60 -0
  171. data/lib/google/shopping/merchant/accounts/v1/shipping_settings_service/client.rb +564 -0
  172. data/lib/google/shopping/merchant/accounts/v1/shipping_settings_service/credentials.rb +49 -0
  173. data/lib/google/shopping/merchant/accounts/v1/shipping_settings_service/paths.rb +63 -0
  174. data/lib/google/shopping/merchant/accounts/v1/shipping_settings_service/rest/client.rb +524 -0
  175. data/lib/google/shopping/merchant/accounts/v1/shipping_settings_service/rest/service_stub.rb +206 -0
  176. data/lib/google/shopping/merchant/accounts/v1/shipping_settings_service/rest.rb +55 -0
  177. data/lib/google/shopping/merchant/accounts/v1/shipping_settings_service.rb +58 -0
  178. data/lib/google/shopping/merchant/accounts/v1/shippingsettings_pb.rb +83 -0
  179. data/lib/google/shopping/merchant/accounts/v1/shippingsettings_services_pb.rb +51 -0
  180. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_agreement_state_service/client.rb +563 -0
  181. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_agreement_state_service/credentials.rb +49 -0
  182. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_agreement_state_service/paths.rb +66 -0
  183. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_agreement_state_service/rest/client.rb +523 -0
  184. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_agreement_state_service/rest/service_stub.rb +205 -0
  185. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_agreement_state_service/rest.rb +54 -0
  186. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_agreement_state_service.rb +57 -0
  187. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_service/client.rb +654 -0
  188. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_service/credentials.rb +49 -0
  189. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_service/paths.rb +63 -0
  190. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_service/rest/client.rb +615 -0
  191. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_service/rest/service_stub.rb +264 -0
  192. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_service/rest.rb +54 -0
  193. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_service.rb +57 -0
  194. data/lib/google/shopping/merchant/accounts/v1/termsofservice_pb.rb +56 -0
  195. data/lib/google/shopping/merchant/accounts/v1/termsofservice_services_pb.rb +52 -0
  196. data/lib/google/shopping/merchant/accounts/v1/termsofserviceagreementstate_pb.rb +56 -0
  197. data/lib/google/shopping/merchant/accounts/v1/termsofserviceagreementstate_services_pb.rb +53 -0
  198. data/lib/google/shopping/merchant/accounts/v1/termsofservicekind_pb.rb +44 -0
  199. data/lib/google/shopping/merchant/accounts/v1/user_pb.rb +60 -0
  200. data/lib/google/shopping/merchant/accounts/v1/user_service/client.rb +879 -0
  201. data/lib/google/shopping/merchant/accounts/v1/user_service/credentials.rb +49 -0
  202. data/lib/google/shopping/merchant/accounts/v1/user_service/paths.rb +66 -0
  203. data/lib/google/shopping/merchant/accounts/v1/user_service/rest/client.rb +818 -0
  204. data/lib/google/shopping/merchant/accounts/v1/user_service/rest/service_stub.rb +390 -0
  205. data/lib/google/shopping/merchant/accounts/v1/user_service/rest.rb +54 -0
  206. data/lib/google/shopping/merchant/accounts/v1/user_service.rb +57 -0
  207. data/lib/google/shopping/merchant/accounts/v1/user_services_pb.rb +60 -0
  208. data/lib/google/shopping/merchant/accounts/v1/version.rb +7 -2
  209. data/lib/google/shopping/merchant/accounts/v1.rb +68 -0
  210. data/lib/google-shopping-merchant-accounts-v1.rb +21 -0
  211. data/proto_docs/README.md +4 -0
  212. data/proto_docs/google/api/client.rb +473 -0
  213. data/proto_docs/google/api/field_behavior.rb +85 -0
  214. data/proto_docs/google/api/launch_stage.rb +71 -0
  215. data/proto_docs/google/api/resource.rb +227 -0
  216. data/proto_docs/google/protobuf/duration.rb +98 -0
  217. data/proto_docs/google/protobuf/empty.rb +34 -0
  218. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  219. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  220. data/proto_docs/google/shopping/merchant/accounts/v1/accessright.rb +51 -0
  221. data/proto_docs/google/shopping/merchant/accounts/v1/accountissue.rb +144 -0
  222. data/proto_docs/google/shopping/merchant/accounts/v1/accountrelationships.rb +124 -0
  223. data/proto_docs/google/shopping/merchant/accounts/v1/accounts.rb +250 -0
  224. data/proto_docs/google/shopping/merchant/accounts/v1/accountservices.rb +288 -0
  225. data/proto_docs/google/shopping/merchant/accounts/v1/autofeedsettings.rb +75 -0
  226. data/proto_docs/google/shopping/merchant/accounts/v1/automaticimprovements.rb +235 -0
  227. data/proto_docs/google/shopping/merchant/accounts/v1/businessidentity.rb +140 -0
  228. data/proto_docs/google/shopping/merchant/accounts/v1/businessinfo.rb +91 -0
  229. data/proto_docs/google/shopping/merchant/accounts/v1/checkoutsettings.rb +187 -0
  230. data/proto_docs/google/shopping/merchant/accounts/v1/customerservice.rb +43 -0
  231. data/proto_docs/google/shopping/merchant/accounts/v1/developerregistration.rb +82 -0
  232. data/proto_docs/google/shopping/merchant/accounts/v1/emailpreferences.rb +87 -0
  233. data/proto_docs/google/shopping/merchant/accounts/v1/gbpaccounts.rb +123 -0
  234. data/proto_docs/google/shopping/merchant/accounts/v1/homepage.rb +106 -0
  235. data/proto_docs/google/shopping/merchant/accounts/v1/lfpproviders.rb +108 -0
  236. data/proto_docs/google/shopping/merchant/accounts/v1/omnichannelsettings.rb +336 -0
  237. data/proto_docs/google/shopping/merchant/accounts/v1/online_return_policy.rb +317 -0
  238. data/proto_docs/google/shopping/merchant/accounts/v1/phoneverificationstate.rb +40 -0
  239. data/proto_docs/google/shopping/merchant/accounts/v1/programs.rb +170 -0
  240. data/proto_docs/google/shopping/merchant/accounts/v1/regions.rb +195 -0
  241. data/proto_docs/google/shopping/merchant/accounts/v1/shippingsettings.rb +757 -0
  242. data/proto_docs/google/shopping/merchant/accounts/v1/termsofservice.rb +118 -0
  243. data/proto_docs/google/shopping/merchant/accounts/v1/termsofserviceagreementstate.rb +136 -0
  244. data/proto_docs/google/shopping/merchant/accounts/v1/termsofservicekind.rb +37 -0
  245. data/proto_docs/google/shopping/merchant/accounts/v1/user.rb +164 -0
  246. data/proto_docs/google/shopping/type/types.rb +210 -0
  247. data/proto_docs/google/type/date.rb +53 -0
  248. data/proto_docs/google/type/datetime.rb +103 -0
  249. data/proto_docs/google/type/phone_number.rb +116 -0
  250. data/proto_docs/google/type/postal_address.rb +135 -0
  251. metadata +309 -9
@@ -0,0 +1,288 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Shopping
22
+ module Merchant
23
+ module Accounts
24
+ module V1
25
+ # The `AccountService` message represents a specific service that a provider
26
+ # account offers to a Merchant Center account.
27
+ #
28
+ # `AccountService` defines the permissions and capabilities granted to the
29
+ # provider, allowing for operations such as product management or campaign
30
+ # management.
31
+ #
32
+ # The lifecycle of an `AccountService` involves a proposal phase, where one
33
+ # party suggests the service, and an approval phase, where the other party
34
+ # accepts or rejects it. This handshake mechanism ensures mutual consent before
35
+ # any access is granted. This mechanism safeguards both parties by ensuring
36
+ # that access rights are granted appropriately and that both the business and
37
+ # provider are aware of the services enabled. In scenarios where a user is an
38
+ # admin of both accounts, the approval can happen automatically.
39
+ #
40
+ # The mutability of a service is also managed through `AccountService`. Some
41
+ # services might be immutable, for example, if they were established through
42
+ # other systems or APIs, and you cannot alter them through this API.
43
+ # @!attribute [rw] products_management
44
+ # @return [::Google::Shopping::Merchant::Accounts::V1::ProductsManagement]
45
+ # Service type for managing products. This allows the provider to handle
46
+ # product data on behalf of the business, including reading and writing
47
+ # product listings. It's commonly used when the provider offers inventory
48
+ # management or catalog synchronization services to keep the business's
49
+ # product information up-to-date across platforms.
50
+ #
51
+ # Note: The following fields are mutually exclusive: `products_management`, `campaigns_management`, `account_management`, `account_aggregation`, `local_listing_management`. If a field in that set is populated, all other fields in the set will automatically be cleared.
52
+ # @!attribute [rw] campaigns_management
53
+ # @return [::Google::Shopping::Merchant::Accounts::V1::CampaignsManagement]
54
+ # Service type for managing advertising campaigns. Grants the provider
55
+ # access to create and manage the business's ad campaigns, including
56
+ # setting up campaigns, adjusting bids, and optimizing performance.
57
+ #
58
+ # Note: The following fields are mutually exclusive: `campaigns_management`, `products_management`, `account_management`, `account_aggregation`, `local_listing_management`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
+ # @!attribute [rw] account_management
60
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AccountManagement]
61
+ # Service type for account management. Enables the provider to perform
62
+ # administrative actions on the business's account, such as
63
+ # configuring account settings, managing users, or updating business
64
+ # information.
65
+ #
66
+ # Note: The following fields are mutually exclusive: `account_management`, `products_management`, `campaigns_management`, `account_aggregation`, `local_listing_management`. If a field in that set is populated, all other fields in the set will automatically be cleared.
67
+ # @!attribute [rw] account_aggregation
68
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AccountAggregation]
69
+ # Service type for account aggregation. This enables the provider, which is
70
+ # an advanced account, to manage multiple sub-accounts (client
71
+ # accounts). Through this service, the advanced account provider can
72
+ # perform administrative and operational tasks across all linked
73
+ # sub-accounts.
74
+ #
75
+ # This is useful for agencies, aggregators, or large retailers that need
76
+ # centralized control over many Merchant Center accounts.
77
+ #
78
+ # Note: The following fields are mutually exclusive: `account_aggregation`, `products_management`, `campaigns_management`, `account_management`, `local_listing_management`. If a field in that set is populated, all other fields in the set will automatically be cleared.
79
+ # @!attribute [rw] local_listing_management
80
+ # @return [::Google::Shopping::Merchant::Accounts::V1::LocalListingManagement]
81
+ # Service type for local listings management. The business group associated
82
+ # with the external account id will be used to provide local inventory to
83
+ # this Merchant Center account.
84
+ #
85
+ # Note: The following fields are mutually exclusive: `local_listing_management`, `products_management`, `campaigns_management`, `account_management`, `account_aggregation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
86
+ # @!attribute [rw] name
87
+ # @return [::String]
88
+ # Identifier. The resource name of the account service.
89
+ # Format: `accounts/{account}/services/{service}`
90
+ # @!attribute [r] provider
91
+ # @return [::String]
92
+ # Output only. The provider of the service. Either the reference to an
93
+ # account such as `providers/123` or a well-known service provider (one of
94
+ # `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).
95
+ # @!attribute [r] provider_display_name
96
+ # @return [::String]
97
+ # Output only. The human-readable display name of the provider account.
98
+ # @!attribute [r] handshake
99
+ # @return [::Google::Shopping::Merchant::Accounts::V1::Handshake]
100
+ # Output only. Information about the state of the service in terms of
101
+ # establishing it (e.g. is it pending approval or approved).
102
+ # @!attribute [r] mutability
103
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AccountService::Mutability]
104
+ # Output only. Whether the service is mutable (e.g. through Approve / Reject
105
+ # RPCs). A service that was created through another system or API might be
106
+ # immutable.
107
+ # @!attribute [rw] external_account_id
108
+ # @return [::String]
109
+ # Immutable. An optional, immutable identifier that Google uses to refer to
110
+ # this account when communicating with the provider. This should be the
111
+ # unique account ID within the provider's system (for example, your shop ID
112
+ # in Shopify).
113
+ #
114
+ # If you have multiple accounts with the same provider - for instance,
115
+ # different accounts for various regions — the `external_account_id`
116
+ # differentiates between them, ensuring accurate linking and integration
117
+ # between Google and the provider.
118
+ class AccountService
119
+ include ::Google::Protobuf::MessageExts
120
+ extend ::Google::Protobuf::MessageExts::ClassMethods
121
+
122
+ # The list of mutability option settings a service can have.
123
+ module Mutability
124
+ # Unused default value
125
+ MUTABILITY_UNSPECIFIED = 0
126
+
127
+ # The service can be mutated without restrictions.
128
+ MUTABLE = 1
129
+
130
+ # The service is read-only and must not be mutated.
131
+ IMMUTABLE = 2
132
+ end
133
+ end
134
+
135
+ # Request to get an account service.
136
+ # @!attribute [rw] name
137
+ # @return [::String]
138
+ # Required. The resource name of the account service to get.
139
+ # Format: `accounts/{account}/services/{service}`
140
+ class GetAccountServiceRequest
141
+ include ::Google::Protobuf::MessageExts
142
+ extend ::Google::Protobuf::MessageExts::ClassMethods
143
+ end
144
+
145
+ # Request to list account services.
146
+ # @!attribute [rw] parent
147
+ # @return [::String]
148
+ # Required. The parent account of the account service to filter by.
149
+ # Format: `accounts/{account}`
150
+ # @!attribute [rw] page_token
151
+ # @return [::String]
152
+ # Optional. The token returned by the previous `list` request.
153
+ # @!attribute [rw] page_size
154
+ # @return [::Integer]
155
+ # Optional. The maximum number of elements to return in the response. Use for
156
+ # paging. If no `page_size` is specified, `100` is used as the default value.
157
+ # The maximum allowed value is `1000`.
158
+ class ListAccountServicesRequest
159
+ include ::Google::Protobuf::MessageExts
160
+ extend ::Google::Protobuf::MessageExts::ClassMethods
161
+ end
162
+
163
+ # Response after trying to list account services.
164
+ # @!attribute [rw] account_services
165
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1::AccountService>]
166
+ # The account services that match your filter.
167
+ # @!attribute [rw] next_page_token
168
+ # @return [::String]
169
+ # A page token. You can send the `page_token` to get the next page.
170
+ # Only included in the `list` response if there are more pages.
171
+ class ListAccountServicesResponse
172
+ include ::Google::Protobuf::MessageExts
173
+ extend ::Google::Protobuf::MessageExts::ClassMethods
174
+ end
175
+
176
+ # Request to propose an account service.
177
+ # @!attribute [rw] parent
178
+ # @return [::String]
179
+ # Required. The resource name of the parent account for the service.
180
+ # Format: `accounts/{account}`
181
+ # @!attribute [rw] provider
182
+ # @return [::String]
183
+ # Required. The provider of the service. Either the reference to an account
184
+ # such as `providers/123` or a well-known service provider (one of
185
+ # `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).
186
+ # @!attribute [rw] account_service
187
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AccountService]
188
+ # Required. The account service to propose.
189
+ class ProposeAccountServiceRequest
190
+ include ::Google::Protobuf::MessageExts
191
+ extend ::Google::Protobuf::MessageExts::ClassMethods
192
+ end
193
+
194
+ # Request to approve an account service.
195
+ # @!attribute [rw] name
196
+ # @return [::String]
197
+ # Required. The resource name of the account service to approve.
198
+ # Format: `accounts/{account}/services/{service}`
199
+ class ApproveAccountServiceRequest
200
+ include ::Google::Protobuf::MessageExts
201
+ extend ::Google::Protobuf::MessageExts::ClassMethods
202
+ end
203
+
204
+ # Request to reject an account service.
205
+ # @!attribute [rw] name
206
+ # @return [::String]
207
+ # Required. The resource name of the account service to reject.
208
+ # Format: `accounts/{account}/services/{service}`
209
+ class RejectAccountServiceRequest
210
+ include ::Google::Protobuf::MessageExts
211
+ extend ::Google::Protobuf::MessageExts::ClassMethods
212
+ end
213
+
214
+ # `ProductsManagement` payload.
215
+ class ProductsManagement
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
219
+
220
+ # `CampaignManagement` payload.
221
+ class CampaignsManagement
222
+ include ::Google::Protobuf::MessageExts
223
+ extend ::Google::Protobuf::MessageExts::ClassMethods
224
+ end
225
+
226
+ # `AccountManagement` payload.
227
+ class AccountManagement
228
+ include ::Google::Protobuf::MessageExts
229
+ extend ::Google::Protobuf::MessageExts::ClassMethods
230
+ end
231
+
232
+ # `AccountAggregation` payload.
233
+ class AccountAggregation
234
+ include ::Google::Protobuf::MessageExts
235
+ extend ::Google::Protobuf::MessageExts::ClassMethods
236
+ end
237
+
238
+ # `LocalListingManagement` payload.
239
+ class LocalListingManagement
240
+ include ::Google::Protobuf::MessageExts
241
+ extend ::Google::Protobuf::MessageExts::ClassMethods
242
+ end
243
+
244
+ # The current status of establishing of the service.
245
+ # (for example, pending approval or approved).
246
+ # @!attribute [r] approval_state
247
+ # @return [::Google::Shopping::Merchant::Accounts::V1::Handshake::ApprovalState]
248
+ # Output only. The approval state of this handshake.
249
+ # @!attribute [r] actor
250
+ # @return [::Google::Shopping::Merchant::Accounts::V1::Handshake::Actor]
251
+ # Output only. The most recent account to modify the account service's
252
+ # `approval_status`.
253
+ class Handshake
254
+ include ::Google::Protobuf::MessageExts
255
+ extend ::Google::Protobuf::MessageExts::ClassMethods
256
+
257
+ # The approal state of a handshake.
258
+ module ApprovalState
259
+ # Unspecified approval status.
260
+ APPROVAL_STATE_UNSPECIFIED = 0
261
+
262
+ # The service was proposed and is waiting to be confirmed.
263
+ PENDING = 1
264
+
265
+ # Both parties have confirmed the service.
266
+ ESTABLISHED = 2
267
+
268
+ # The service proposal was rejected.
269
+ REJECTED = 3
270
+ end
271
+
272
+ # The various actors that can be involved in a handshake.
273
+ module Actor
274
+ # Unspecified actor.
275
+ ACTOR_UNSPECIFIED = 0
276
+
277
+ # The last change was done by the account who has this service.
278
+ ACCOUNT = 1
279
+
280
+ # The last change was done by the other party who this service points to.
281
+ OTHER_PARTY = 2
282
+ end
283
+ end
284
+ end
285
+ end
286
+ end
287
+ end
288
+ end
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Shopping
22
+ module Merchant
23
+ module Accounts
24
+ module V1
25
+ # Collection of information related to the
26
+ # [autofeed](https://support.google.com/merchants/answer/7538732) settings.
27
+ # @!attribute [rw] name
28
+ # @return [::String]
29
+ # Identifier. The resource name of the autofeed settings.
30
+ # Format: `accounts/{account}/autofeedSettings`.
31
+ # @!attribute [rw] enable_products
32
+ # @return [::Boolean]
33
+ # Required. Enables or disables product crawling through the autofeed for the
34
+ # given account. Autofeed accounts must meet [certain
35
+ # conditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience),
36
+ # which can be checked through the `eligible` field.
37
+ # The account must **not** be a marketplace.
38
+ # When the autofeed is enabled for the first time, the products usually
39
+ # appear instantly. When re-enabling, it might take up to 24 hours for
40
+ # products to appear.
41
+ # @!attribute [r] eligible
42
+ # @return [::Boolean]
43
+ # Output only. Determines whether the business is eligible for being enrolled
44
+ # into an autofeed.
45
+ class AutofeedSettings
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+ end
49
+
50
+ # Request message for the `GetAutofeedSettings` method.
51
+ # @!attribute [rw] name
52
+ # @return [::String]
53
+ # Required. The resource name of the autofeed settings.
54
+ # Format: `accounts/{account}/autofeedSettings`
55
+ class GetAutofeedSettingsRequest
56
+ include ::Google::Protobuf::MessageExts
57
+ extend ::Google::Protobuf::MessageExts::ClassMethods
58
+ end
59
+
60
+ # Request message for the `UpdateAutofeedSettings` method.
61
+ # @!attribute [rw] autofeed_settings
62
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AutofeedSettings]
63
+ # Required. The new version of the autofeed setting.
64
+ # @!attribute [rw] update_mask
65
+ # @return [::Google::Protobuf::FieldMask]
66
+ # Required. List of fields being updated.
67
+ class UpdateAutofeedSettingsRequest
68
+ include ::Google::Protobuf::MessageExts
69
+ extend ::Google::Protobuf::MessageExts::ClassMethods
70
+ end
71
+ end
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,235 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Shopping
22
+ module Merchant
23
+ module Accounts
24
+ module V1
25
+ # Collection of information related to the [automatic
26
+ # improvements](https://developers.google.com/shopping-content/guides/automatic-improvements)
27
+ # of an account.
28
+ # @!attribute [rw] name
29
+ # @return [::String]
30
+ # Identifier. The resource name of the automatic improvements.
31
+ # Format: `accounts/{account}/automaticImprovements`.
32
+ # @!attribute [rw] item_updates
33
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AutomaticItemUpdates]
34
+ # Turning on [item
35
+ # updates](https://support.google.com/merchants/answer/3246284) allows
36
+ # Google to automatically update items for you. When item updates are on,
37
+ # Google uses the structured data markup on the website and advanced data
38
+ # extractors to update the price and availability of the items. When the item
39
+ # updates are off, items with mismatched data aren't shown.
40
+ # This field is only updated (cleared) if provided in the update mask.
41
+ # @!attribute [rw] image_improvements
42
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AutomaticImageImprovements]
43
+ # This improvement will attempt to automatically correct submitted images if
44
+ # they don't meet the [image
45
+ # requirements](https://support.google.com/merchants/answer/6324350), for
46
+ # example, removing overlays. If successful, the image will be replaced and
47
+ # approved. This improvement is only applied to images of disapproved offers.
48
+ # For more information see: [Automatic image
49
+ # improvements](https://support.google.com/merchants/answer/9242973)
50
+ # This field is only updated (cleared) if provided in the update mask.
51
+ # @!attribute [rw] shipping_improvements
52
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AutomaticShippingImprovements]
53
+ # Not available for [advanced
54
+ # accounts](https://support.google.com/merchants/answer/188487). By turning
55
+ # on [automatic shipping
56
+ # improvements](https://support.google.com/merchants/answer/10027038), you
57
+ # are allowing Google to improve the accuracy of your delivery times shown to
58
+ # shoppers using Google. More accurate delivery times, especially when
59
+ # faster, typically lead to better conversion rates. Google will improve your
60
+ # estimated delivery times based on various factors:
61
+ # * Delivery address of an order
62
+ # * Current handling time and shipping time settings
63
+ # * Estimated weekdays or business days
64
+ # * Parcel tracking data
65
+ # This field is only updated (cleared) if provided in the update mask.
66
+ class AutomaticImprovements
67
+ include ::Google::Protobuf::MessageExts
68
+ extend ::Google::Protobuf::MessageExts::ClassMethods
69
+ end
70
+
71
+ # Turning on [item
72
+ # updates](https://support.google.com/merchants/answer/3246284) allows
73
+ # Google to automatically update items for you. When item updates are on,
74
+ # Google uses the structured data markup on the website and advanced data
75
+ # extractors to update the price and availability of the items. When the item
76
+ # updates are off, items with mismatched data aren't shown.
77
+ # @!attribute [rw] account_item_updates_settings
78
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AutomaticItemUpdates::ItemUpdatesAccountLevelSettings]
79
+ # Optional. Determines which attributes of the items should be automatically
80
+ # updated. If this field is not present and provided in the update mask, then
81
+ # the settings will be deleted. If there are no settings for subaccount, they
82
+ # are inherited from aggregator.
83
+ # @!attribute [r] effective_allow_price_updates
84
+ # @return [::Boolean]
85
+ # Output only. The effective value of allow_price_updates.
86
+ # If account_item_updates_settings is present, then this value is the same.
87
+ # Otherwise, it represents the inherited value of the parent account.
88
+ # The default value is true if no settings are present.
89
+ # Read-only.
90
+ # @!attribute [r] effective_allow_availability_updates
91
+ # @return [::Boolean]
92
+ # Output only. The effective value of allow_availability_updates.
93
+ # If account_item_updates_settings is present, then this value is the same.
94
+ # Otherwise, it represents the inherited value of the parent account.
95
+ # The default value is true if no settings are present.
96
+ # Read-only.
97
+ # @!attribute [r] effective_allow_strict_availability_updates
98
+ # @return [::Boolean]
99
+ # Output only. The effective value of
100
+ # allow_strict_availability_updates.
101
+ # If account_item_updates_settings is present, then this value is the same.
102
+ # Otherwise, it represents the inherited value of the parent account.
103
+ # The default value is true if no settings are present.
104
+ # Read-only.
105
+ # @!attribute [r] effective_allow_condition_updates
106
+ # @return [::Boolean]
107
+ # Output only. The effective value of allow_condition_updates.
108
+ # If account_item_updates_settings is present, then this value is the same.
109
+ # Otherwise, it represents the inherited value of the parent account.
110
+ # The default value is true if no settings are present.
111
+ # Read-only.
112
+ class AutomaticItemUpdates
113
+ include ::Google::Protobuf::MessageExts
114
+ extend ::Google::Protobuf::MessageExts::ClassMethods
115
+
116
+ # Settings for the Automatic Item Updates.
117
+ # @!attribute [rw] allow_price_updates
118
+ # @return [::Boolean]
119
+ # If price updates are enabled, Google always updates the active price with
120
+ # the crawled information.
121
+ # @!attribute [rw] allow_availability_updates
122
+ # @return [::Boolean]
123
+ # If availability updates are enabled, any previous availability values
124
+ # get overwritten if Google finds an out-of-stock annotation on the offer's
125
+ # page.
126
+ # If additionally `allow_strict_availability_updates` field is set to
127
+ # true, values get overwritten if Google finds an in-stock annotation on
128
+ # the offer’s page.
129
+ # @!attribute [rw] allow_strict_availability_updates
130
+ # @return [::Boolean]
131
+ # If `allow_availability_updates` is enabled, items are automatically
132
+ # updated in all your Shopping target countries. By default, availability
133
+ # updates will only be applied to items that are 'out of stock' on your
134
+ # website but 'in stock' on Shopping. Set this to true to also update items
135
+ # that are 'in stock' on your website, but 'out of stock' on Google
136
+ # Shopping. In order for this field to have an effect, you must also set
137
+ # `allow_availability_updates`.
138
+ # @!attribute [rw] allow_condition_updates
139
+ # @return [::Boolean]
140
+ # If condition updates are enabled, Google always updates item condition
141
+ # with the condition detected from the details of your product.
142
+ class ItemUpdatesAccountLevelSettings
143
+ include ::Google::Protobuf::MessageExts
144
+ extend ::Google::Protobuf::MessageExts::ClassMethods
145
+ end
146
+ end
147
+
148
+ # This improvement will attempt to automatically correct submitted images if
149
+ # they don't meet the [image
150
+ # requirements](https://support.google.com/merchants/answer/6324350), for
151
+ # example, removing overlays. If successful, the image will be replaced and
152
+ # approved. This improvement is only applied to images of disapproved offers.
153
+ # For more information see: [Automatic image
154
+ # improvements](https://support.google.com/merchants/answer/9242973)
155
+ # @!attribute [rw] account_image_improvements_settings
156
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AutomaticImageImprovements::ImageImprovementsAccountLevelSettings]
157
+ # Optional. Determines how the images should be automatically updated.
158
+ # If this field is not present and provided in the update mask, then the
159
+ # settings will be deleted. If there are no settings for subaccount, they are
160
+ # inherited from aggregator.
161
+ # @!attribute [r] effective_allow_automatic_image_improvements
162
+ # @return [::Boolean]
163
+ # Output only. The effective value of allow_automatic_image_improvements.
164
+ # If account_image_improvements_settings is present, then this value is the
165
+ # same. Otherwise, it represents the inherited value of the parent account.
166
+ # Read-only.
167
+ class AutomaticImageImprovements
168
+ include ::Google::Protobuf::MessageExts
169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
170
+
171
+ # Settings for the Automatic Image Improvements.
172
+ # @!attribute [rw] allow_automatic_image_improvements
173
+ # @return [::Boolean]
174
+ # Enables automatic image improvements.
175
+ class ImageImprovementsAccountLevelSettings
176
+ include ::Google::Protobuf::MessageExts
177
+ extend ::Google::Protobuf::MessageExts::ClassMethods
178
+ end
179
+ end
180
+
181
+ # Not available for [advanced
182
+ # accounts](https://support.google.com/merchants/answer/188487). By turning on
183
+ # [automatic shipping
184
+ # improvements](https://support.google.com/merchants/answer/10027038),
185
+ # you are allowing Google to improve the accuracy of your delivery times shown
186
+ # to shoppers using Google. More accurate delivery times, especially when
187
+ # faster, typically lead to better conversion rates. Google will improve your
188
+ # estimated delivery times based on various factors:
189
+ # * Delivery address of an order
190
+ # * Current handling time and shipping time settings
191
+ # * Estimated weekdays or business days
192
+ # * Parcel tracking data
193
+ # @!attribute [rw] allow_shipping_improvements
194
+ # @return [::Boolean]
195
+ # Enables automatic shipping improvements.
196
+ class AutomaticShippingImprovements
197
+ include ::Google::Protobuf::MessageExts
198
+ extend ::Google::Protobuf::MessageExts::ClassMethods
199
+ end
200
+
201
+ # Request message for the `GetAutomaticImprovements` method.
202
+ # @!attribute [rw] name
203
+ # @return [::String]
204
+ # Required. The resource name of the automatic improvements.
205
+ # Format: `accounts/{account}/automaticImprovements`
206
+ class GetAutomaticImprovementsRequest
207
+ include ::Google::Protobuf::MessageExts
208
+ extend ::Google::Protobuf::MessageExts::ClassMethods
209
+ end
210
+
211
+ # Request message for the `UpdateAutomaticImprovements` method.
212
+ # @!attribute [rw] automatic_improvements
213
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AutomaticImprovements]
214
+ # Required. The new version of the automatic imrovements.
215
+ # @!attribute [rw] update_mask
216
+ # @return [::Google::Protobuf::FieldMask]
217
+ # Required. List of fields being updated.
218
+ # The following fields are supported (in both `snake_case` and
219
+ # `lowerCamelCase`):
220
+ #
221
+ # - `item_updates`
222
+ # - `item_updates.account_level_settings`
223
+ # - `image_improvements`
224
+ # - `image_improvements.account_level_settings`
225
+ # - `shipping_improvements`
226
+ # - `shipping_improvements.allow_shipping_improvements`
227
+ class UpdateAutomaticImprovementsRequest
228
+ include ::Google::Protobuf::MessageExts
229
+ extend ::Google::Protobuf::MessageExts::ClassMethods
230
+ end
231
+ end
232
+ end
233
+ end
234
+ end
235
+ end