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

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,121 @@
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 Protobuf
22
+ # Wrapper message for `double`.
23
+ #
24
+ # The JSON representation for `DoubleValue` is JSON number.
25
+ # @!attribute [rw] value
26
+ # @return [::Float]
27
+ # The double value.
28
+ class DoubleValue
29
+ include ::Google::Protobuf::MessageExts
30
+ extend ::Google::Protobuf::MessageExts::ClassMethods
31
+ end
32
+
33
+ # Wrapper message for `float`.
34
+ #
35
+ # The JSON representation for `FloatValue` is JSON number.
36
+ # @!attribute [rw] value
37
+ # @return [::Float]
38
+ # The float value.
39
+ class FloatValue
40
+ include ::Google::Protobuf::MessageExts
41
+ extend ::Google::Protobuf::MessageExts::ClassMethods
42
+ end
43
+
44
+ # Wrapper message for `int64`.
45
+ #
46
+ # The JSON representation for `Int64Value` is JSON string.
47
+ # @!attribute [rw] value
48
+ # @return [::Integer]
49
+ # The int64 value.
50
+ class Int64Value
51
+ include ::Google::Protobuf::MessageExts
52
+ extend ::Google::Protobuf::MessageExts::ClassMethods
53
+ end
54
+
55
+ # Wrapper message for `uint64`.
56
+ #
57
+ # The JSON representation for `UInt64Value` is JSON string.
58
+ # @!attribute [rw] value
59
+ # @return [::Integer]
60
+ # The uint64 value.
61
+ class UInt64Value
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+ end
65
+
66
+ # Wrapper message for `int32`.
67
+ #
68
+ # The JSON representation for `Int32Value` is JSON number.
69
+ # @!attribute [rw] value
70
+ # @return [::Integer]
71
+ # The int32 value.
72
+ class Int32Value
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
76
+
77
+ # Wrapper message for `uint32`.
78
+ #
79
+ # The JSON representation for `UInt32Value` is JSON number.
80
+ # @!attribute [rw] value
81
+ # @return [::Integer]
82
+ # The uint32 value.
83
+ class UInt32Value
84
+ include ::Google::Protobuf::MessageExts
85
+ extend ::Google::Protobuf::MessageExts::ClassMethods
86
+ end
87
+
88
+ # Wrapper message for `bool`.
89
+ #
90
+ # The JSON representation for `BoolValue` is JSON `true` and `false`.
91
+ # @!attribute [rw] value
92
+ # @return [::Boolean]
93
+ # The bool value.
94
+ class BoolValue
95
+ include ::Google::Protobuf::MessageExts
96
+ extend ::Google::Protobuf::MessageExts::ClassMethods
97
+ end
98
+
99
+ # Wrapper message for `string`.
100
+ #
101
+ # The JSON representation for `StringValue` is JSON string.
102
+ # @!attribute [rw] value
103
+ # @return [::String]
104
+ # The string value.
105
+ class StringValue
106
+ include ::Google::Protobuf::MessageExts
107
+ extend ::Google::Protobuf::MessageExts::ClassMethods
108
+ end
109
+
110
+ # Wrapper message for `bytes`.
111
+ #
112
+ # The JSON representation for `BytesValue` is JSON string.
113
+ # @!attribute [rw] value
114
+ # @return [::String]
115
+ # The bytes value.
116
+ class BytesValue
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+ end
121
+ end
@@ -0,0 +1,51 @@
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 access right.
26
+ module AccessRight
27
+ # Default value. This value is unused.
28
+ ACCESS_RIGHT_UNSPECIFIED = 0
29
+
30
+ # Standard access rights.
31
+ STANDARD = 1
32
+
33
+ # Has access to the same read-only methods as STANDARD, but no access to
34
+ # any mutating methods.
35
+ READ_ONLY = 4
36
+
37
+ # Admin access rights.
38
+ ADMIN = 2
39
+
40
+ # Users with this right have access to performance and insights.
41
+ PERFORMANCE_REPORTING = 3
42
+
43
+ # Users with this right have access to Merchant API and its notifications.
44
+ # This role is only accessible to accounts that has a developer registration.
45
+ API_DEVELOPER = 5
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,144 @@
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
+ # Issues with your Merchant Center account that can impact all your products.
26
+ # For more information, see [Account-level issues in Merchant
27
+ # Center](https://support.google.com/merchants/answer/12153802?sjid=17798438912526418908-EU#account).
28
+ # @!attribute [rw] name
29
+ # @return [::String]
30
+ # Identifier. The resource name of the account issue.
31
+ # Format: `accounts/{account}/issues/{id}`. For example,
32
+ # `accounts/123456/issues/misrepresentation-of-self-or-products-unacceptable-business-practice-policy`.
33
+ # @!attribute [rw] title
34
+ # @return [::String]
35
+ # The localized title of the issue.
36
+ # @!attribute [rw] severity
37
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AccountIssue::Severity]
38
+ # The overall severity of the issue.
39
+ # @!attribute [rw] impacted_destinations
40
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1::AccountIssue::ImpactedDestination>]
41
+ # The impact this issue has on various destinations.
42
+ # @!attribute [rw] detail
43
+ # @return [::String]
44
+ # Further localized details about the issue.
45
+ # @!attribute [rw] documentation_uri
46
+ # @return [::String]
47
+ # Link to Merchant Center Help Center providing further information about the
48
+ # issue and how to fix it.
49
+ class AccountIssue
50
+ include ::Google::Protobuf::MessageExts
51
+ extend ::Google::Protobuf::MessageExts::ClassMethods
52
+
53
+ # The impact of the issue on a destination.
54
+ # @!attribute [rw] reporting_context
55
+ # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
56
+ # The impacted reporting context.
57
+ # @!attribute [rw] impacts
58
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1::AccountIssue::ImpactedDestination::Impact>]
59
+ # The (negative) impact for various regions on the given destination.
60
+ class ImpactedDestination
61
+ include ::Google::Protobuf::MessageExts
62
+ extend ::Google::Protobuf::MessageExts::ClassMethods
63
+
64
+ # The impact of the issue on a region.
65
+ # @!attribute [rw] region_code
66
+ # @return [::String]
67
+ # The [CLDR region code](https://cldr.unicode.org/) where this issue
68
+ # applies.
69
+ # @!attribute [rw] severity
70
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AccountIssue::Severity]
71
+ # The severity of the issue on the destination and region.
72
+ class Impact
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
76
+ end
77
+
78
+ # All possible issue severities.
79
+ module Severity
80
+ # The severity is unknown.
81
+ SEVERITY_UNSPECIFIED = 0
82
+
83
+ # The issue causes offers to not serve.
84
+ CRITICAL = 1
85
+
86
+ # The issue might affect offers (in the future) or might be an
87
+ # indicator of issues with offers.
88
+ ERROR = 2
89
+
90
+ # The issue is a suggestion for improvement.
91
+ SUGGESTION = 3
92
+ end
93
+ end
94
+
95
+ # Request message for the `ListAccountIssues` method.
96
+ # @!attribute [rw] parent
97
+ # @return [::String]
98
+ # Required. The parent, which owns this collection of issues.
99
+ # Format: `accounts/{account}`
100
+ # @!attribute [rw] page_size
101
+ # @return [::Integer]
102
+ # Optional. The maximum number of issues to return. The service may return
103
+ # fewer than this value. If unspecified, at most 50 issues will be returned.
104
+ # The maximum value is 100; values above 100 will be coerced to 100
105
+ # @!attribute [rw] page_token
106
+ # @return [::String]
107
+ # Optional. A page token, received from a previous `ListAccountIssues` call.
108
+ # Provide this to retrieve the subsequent page.
109
+ #
110
+ # When paginating, all other parameters provided to `ListAccountIssues` must
111
+ # match the call that provided the page token.
112
+ # @!attribute [rw] language_code
113
+ # @return [::String]
114
+ # Optional. The issues in the response will have human-readable fields in the
115
+ # given language. The format is [BCP-47](https://tools.ietf.org/html/bcp47),
116
+ # such as `en-US` or `sr-Latn`. If not value is provided, `en-US` will be
117
+ # used.
118
+ # @!attribute [rw] time_zone
119
+ # @return [::String]
120
+ # Optional. The [IANA](https://www.iana.org/time-zones) timezone used to
121
+ # localize times in human-readable fields. For example 'America/Los_Angeles'.
122
+ # If not set, 'America/Los_Angeles' will be used.
123
+ class ListAccountIssuesRequest
124
+ include ::Google::Protobuf::MessageExts
125
+ extend ::Google::Protobuf::MessageExts::ClassMethods
126
+ end
127
+
128
+ # Response message for the `ListAccountIssues` method.
129
+ # @!attribute [rw] account_issues
130
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1::AccountIssue>]
131
+ # The issues from the specified account.
132
+ # @!attribute [rw] next_page_token
133
+ # @return [::String]
134
+ # A token, which can be sent as `page_token` to retrieve the next page.
135
+ # If this field is omitted, there are no subsequent pages.
136
+ class ListAccountIssuesResponse
137
+ include ::Google::Protobuf::MessageExts
138
+ extend ::Google::Protobuf::MessageExts::ClassMethods
139
+ end
140
+ end
141
+ end
142
+ end
143
+ end
144
+ end
@@ -0,0 +1,124 @@
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 `AccountRelationship` message defines a formal connection between a
26
+ # merchant's account and a service provider's account. This relationship
27
+ # enables the provider to offer specific services to the business, such as
28
+ # product management or campaign management. It specifies the access rights
29
+ # and permissions to the business's data relevant to those services.
30
+ #
31
+ # Establishing an account relationship involves linking the merchant's account
32
+ # with a provider's account. The provider could be another Google account (like
33
+ # Google Ads or Google My Business) or a third-party platform (such as Shopify
34
+ # or WooCommerce).
35
+ # @!attribute [rw] name
36
+ # @return [::String]
37
+ # Identifier. The resource name of the account relationship.
38
+ # Format: `accounts/{account}/relationships/{relationship}`. For example,
39
+ # `accounts/123456/relationships/567890`.
40
+ # @!attribute [rw] provider
41
+ # @return [::String]
42
+ # Immutable. The provider of the service. Either the reference to an account
43
+ # such as `providers/123` or a well-known service provider (one of
44
+ # `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).
45
+ # @!attribute [r] provider_display_name
46
+ # @return [::String]
47
+ # Output only. The human-readable display name of the provider account.
48
+ # @!attribute [rw] account_id_alias
49
+ # @return [::String]
50
+ # Optional. An optional alias you can assign to this account relationship.
51
+ # This alias acts as a convenient identifier for your own reference and
52
+ # management. It must be unique among all your account relationships with the
53
+ # same provider.
54
+ #
55
+ # For example, you might use `account_id_alias` to assign a friendly name
56
+ # to this relationship for easier identification in your systems.
57
+ class AccountRelationship
58
+ include ::Google::Protobuf::MessageExts
59
+ extend ::Google::Protobuf::MessageExts::ClassMethods
60
+ end
61
+
62
+ # Request to get an account relationship.
63
+ # @!attribute [rw] name
64
+ # @return [::String]
65
+ # Required. The resource name of the account relationship to get.
66
+ # Format: `accounts/{account}/relationships/{relationship}`. For example,
67
+ # `accounts/123456/relationships/567890`.
68
+ class GetAccountRelationshipRequest
69
+ include ::Google::Protobuf::MessageExts
70
+ extend ::Google::Protobuf::MessageExts::ClassMethods
71
+ end
72
+
73
+ # Request message for the `UpdateAccountRelationship` method.
74
+ # @!attribute [rw] account_relationship
75
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AccountRelationship]
76
+ # Required. The new version of the account relationship.
77
+ # @!attribute [rw] update_mask
78
+ # @return [::Google::Protobuf::FieldMask]
79
+ # Optional. List of fields being updated.
80
+ #
81
+ # The following fields are supported (in both `snake_case` and
82
+ # `lowerCamelCase`):
83
+ #
84
+ # - `account_id_alias`
85
+ class UpdateAccountRelationshipRequest
86
+ include ::Google::Protobuf::MessageExts
87
+ extend ::Google::Protobuf::MessageExts::ClassMethods
88
+ end
89
+
90
+ # Request to list account relationships.
91
+ # @!attribute [rw] parent
92
+ # @return [::String]
93
+ # Required. The parent account of the account relationship to filter by.
94
+ # Format: `accounts/{account}`
95
+ # @!attribute [rw] page_token
96
+ # @return [::String]
97
+ # Optional. The token returned by the previous `list` request.
98
+ # @!attribute [rw] page_size
99
+ # @return [::Integer]
100
+ # Optional. The maximum number of elements to return in the response. Use for
101
+ # paging. If no `page_size` is specified, `100` is used as the default value.
102
+ # The maximum allowed value is `1000`.
103
+ class ListAccountRelationshipsRequest
104
+ include ::Google::Protobuf::MessageExts
105
+ extend ::Google::Protobuf::MessageExts::ClassMethods
106
+ end
107
+
108
+ # Response after trying to list account relationships.
109
+ # @!attribute [rw] account_relationships
110
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1::AccountRelationship>]
111
+ # The account relationships that match your filter.
112
+ # @!attribute [rw] next_page_token
113
+ # @return [::String]
114
+ # A page token. You can send the `page_token` to get the next page.
115
+ # Only included in the `list` response if there are more pages.
116
+ class ListAccountRelationshipsResponse
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+ end
121
+ end
122
+ end
123
+ end
124
+ end
@@ -0,0 +1,250 @@
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 `Account` message represents a business's account within Shopping
26
+ # Ads. It's the primary entity for managing product data, settings, and
27
+ # interactions with Google's services and external providers.
28
+ #
29
+ # Accounts can operate as standalone entities or be part of a advanced account
30
+ # structure. In an advanced account setup the parent account manages multiple
31
+ # sub-accounts.
32
+ #
33
+ # Establishing an account involves configuring attributes like the account
34
+ # name, time zone, and language preferences.
35
+ #
36
+ # The `Account` message is the parent entity for many other resources, for
37
+ # example, `AccountRelationship`, `Homepage`, `BusinessInfo` and so on.
38
+ # @!attribute [rw] name
39
+ # @return [::String]
40
+ # Identifier. The resource name of the account.
41
+ # Format: `accounts/{account}`
42
+ # @!attribute [r] account_id
43
+ # @return [::Integer]
44
+ # Output only. The ID of the account.
45
+ # @!attribute [rw] account_name
46
+ # @return [::String]
47
+ # Required. A human-readable name of the account. See
48
+ # [store name](https://support.google.com/merchants/answer/160556) and
49
+ # [business name](https://support.google.com/merchants/answer/12159159) for
50
+ # more information.
51
+ # @!attribute [rw] adult_content
52
+ # @return [::Boolean]
53
+ # Optional. Whether this account contains adult content.
54
+ # @!attribute [r] test_account
55
+ # @return [::Boolean]
56
+ # Output only. Whether this is a test account.
57
+ # @!attribute [rw] time_zone
58
+ # @return [::Google::Type::TimeZone]
59
+ # Required. The time zone of the account.
60
+ #
61
+ # On writes, `time_zone` sets both the `reporting_time_zone` and the
62
+ # `display_time_zone`.
63
+ #
64
+ # For reads, `time_zone` always returns the `display_time_zone`. If
65
+ # `display_time_zone` doesn't exist for your account, `time_zone` is empty.
66
+ #
67
+ # The `version` field is not supported, won't be set in responses and will be
68
+ # silently ignored if specified in requests.
69
+ # @!attribute [rw] language_code
70
+ # @return [::String]
71
+ # Required. The account's [BCP-47 language
72
+ # code](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`.
73
+ class Account
74
+ include ::Google::Protobuf::MessageExts
75
+ extend ::Google::Protobuf::MessageExts::ClassMethods
76
+ end
77
+
78
+ # Request message for the `GetAccount` method.
79
+ # @!attribute [rw] name
80
+ # @return [::String]
81
+ # Required. The name of the account to retrieve.
82
+ # Format: `accounts/{account}`
83
+ class GetAccountRequest
84
+ include ::Google::Protobuf::MessageExts
85
+ extend ::Google::Protobuf::MessageExts::ClassMethods
86
+ end
87
+
88
+ # Request message for the `CreateAndConfigureAccount` method.
89
+ # @!attribute [rw] account
90
+ # @return [::Google::Shopping::Merchant::Accounts::V1::Account]
91
+ # Required. The account to be created.
92
+ # @!attribute [rw] user
93
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1::CreateAndConfigureAccountRequest::AddUser>]
94
+ # Optional. Users to be added to the account.
95
+ # @!attribute [rw] service
96
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1::CreateAndConfigureAccountRequest::AddAccountService>]
97
+ # Required. An account service between the account to be created and the
98
+ # provider account is initialized as part of the creation. At least one such
99
+ # service needs to be provided. Currently exactly one of these needs to be
100
+ # `account_aggregation` and `accounts.createAndConfigure` method can be
101
+ # used to create a sub-account under an existing advanced account through
102
+ # this method. Additional `account_management` or
103
+ # `product_management` services may be provided.
104
+ class CreateAndConfigureAccountRequest
105
+ include ::Google::Protobuf::MessageExts
106
+ extend ::Google::Protobuf::MessageExts::ClassMethods
107
+
108
+ # Instruction for adding a user to the account during creation.
109
+ # @!attribute [rw] user_id
110
+ # @return [::String]
111
+ # Required. The email address of the user (for example,
112
+ # `john.doe@gmail.com`).
113
+ # @!attribute [rw] user
114
+ # @return [::Google::Shopping::Merchant::Accounts::V1::User]
115
+ # Optional. Details about the user to be added. At the moment, only access
116
+ # rights may be specified.
117
+ class AddUser
118
+ include ::Google::Protobuf::MessageExts
119
+ extend ::Google::Protobuf::MessageExts::ClassMethods
120
+ end
121
+
122
+ # Additional instructions to add account services during creation of the
123
+ # account.
124
+ # @!attribute [rw] account_aggregation
125
+ # @return [::Google::Shopping::Merchant::Accounts::V1::AccountAggregation]
126
+ # The provider is an
127
+ # [aggregator](https://support.google.com/merchants/answer/188487) for
128
+ # the account. Payload for service type Account Aggregation.
129
+ # @!attribute [rw] provider
130
+ # @return [::String]
131
+ # Required. The provider of the service. Either the reference to an account
132
+ # such as `providers/123` or a well-known service provider (one of
133
+ # `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).
134
+ class AddAccountService
135
+ include ::Google::Protobuf::MessageExts
136
+ extend ::Google::Protobuf::MessageExts::ClassMethods
137
+ end
138
+ end
139
+
140
+ # Request message for the `DeleteAccount` method.
141
+ # @!attribute [rw] name
142
+ # @return [::String]
143
+ # Required. The name of the account to delete.
144
+ # Format: `accounts/{account}`
145
+ # @!attribute [rw] force
146
+ # @return [::Boolean]
147
+ # Optional. If set to `true`, the account is deleted even if it provides
148
+ # services to other accounts or has processed offers.
149
+ class DeleteAccountRequest
150
+ include ::Google::Protobuf::MessageExts
151
+ extend ::Google::Protobuf::MessageExts::ClassMethods
152
+ end
153
+
154
+ # Request message for the `UpdateAccount` method.
155
+ # @!attribute [rw] account
156
+ # @return [::Google::Shopping::Merchant::Accounts::V1::Account]
157
+ # Required. The new version of the account.
158
+ # @!attribute [rw] update_mask
159
+ # @return [::Google::Protobuf::FieldMask]
160
+ # Optional. List of fields being updated.
161
+ #
162
+ # The following fields are supported (in both `snake_case` and
163
+ # `lowerCamelCase`):
164
+ #
165
+ # - `account_name`
166
+ # - `adult_content`
167
+ # - `language_code`
168
+ # - `time_zone`
169
+ class UpdateAccountRequest
170
+ include ::Google::Protobuf::MessageExts
171
+ extend ::Google::Protobuf::MessageExts::ClassMethods
172
+ end
173
+
174
+ # Request message for the `accounts.list` method.
175
+ # @!attribute [rw] page_size
176
+ # @return [::Integer]
177
+ # Optional. The maximum number of accounts to return. The service may return
178
+ # fewer than this value. If unspecified, at most 250 accounts are returned.
179
+ # The maximum value is 500; values above 500 are coerced to 500.
180
+ # @!attribute [rw] page_token
181
+ # @return [::String]
182
+ # Optional. A page token, received from a previous `accounts.list` call.
183
+ # Provide this to retrieve the subsequent page.
184
+ #
185
+ # When paginating, all other parameters provided in the `accounts.list`
186
+ # request must match the call that provided the page token.
187
+ # @!attribute [rw] filter
188
+ # @return [::String]
189
+ # Optional. Returns only accounts that match the
190
+ # [filter](https://developers.google.com/merchant/api/guides/accounts/filter).
191
+ # For more details, see the
192
+ # [filter syntax
193
+ # reference](https://developers.google.com/merchant/api/guides/accounts/filter-syntax).
194
+ class ListAccountsRequest
195
+ include ::Google::Protobuf::MessageExts
196
+ extend ::Google::Protobuf::MessageExts::ClassMethods
197
+ end
198
+
199
+ # Response message for the `accounts.list` method.
200
+ # @!attribute [rw] accounts
201
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1::Account>]
202
+ # The accounts matching the `ListAccountsRequest`.
203
+ # @!attribute [rw] next_page_token
204
+ # @return [::String]
205
+ # A token, which can be sent as `page_token` to retrieve the next page.
206
+ # If this field is omitted, there are no subsequent pages.
207
+ class ListAccountsResponse
208
+ include ::Google::Protobuf::MessageExts
209
+ extend ::Google::Protobuf::MessageExts::ClassMethods
210
+ end
211
+
212
+ # Request message for the `ListSubAccounts` method.
213
+ # @!attribute [rw] provider
214
+ # @return [::String]
215
+ # Required. The aggregation service provider.
216
+ # Format: `accounts/{accountId}`
217
+ # @!attribute [rw] page_size
218
+ # @return [::Integer]
219
+ # Optional. The maximum number of accounts to return. The service may return
220
+ # fewer than this value. If unspecified, at most 250 accounts are returned.
221
+ # The maximum value is 500; values above 500 are coerced to 500.
222
+ # @!attribute [rw] page_token
223
+ # @return [::String]
224
+ # Optional. A page token, received from a previous `accounts.list` call.
225
+ # Provide this to retrieve the subsequent page.
226
+ #
227
+ # When paginating, all other parameters provided in the `accounts.list`
228
+ # request must match the call that provided the page token.
229
+ class ListSubAccountsRequest
230
+ include ::Google::Protobuf::MessageExts
231
+ extend ::Google::Protobuf::MessageExts::ClassMethods
232
+ end
233
+
234
+ # Response message for the `ListSubAccounts` method.
235
+ # @!attribute [rw] accounts
236
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1::Account>]
237
+ # The accounts for which the given parent account is an aggregator.
238
+ # @!attribute [rw] next_page_token
239
+ # @return [::String]
240
+ # A token, which can be sent as `page_token` to retrieve the next page.
241
+ # If this field is omitted, there are no subsequent pages.
242
+ class ListSubAccountsResponse
243
+ include ::Google::Protobuf::MessageExts
244
+ extend ::Google::Protobuf::MessageExts::ClassMethods
245
+ end
246
+ end
247
+ end
248
+ end
249
+ end
250
+ end