google-shopping-merchant-accounts-v1beta 0.8.0 → 0.9.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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/client.rb +581 -0
  3. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/credentials.rb +49 -0
  4. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/paths.rb +49 -0
  5. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/rest/client.rb +541 -0
  6. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/rest/service_stub.rb +206 -0
  7. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/rest.rb +57 -0
  8. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service.rb +60 -0
  9. data/lib/google/shopping/merchant/accounts/v1beta/gbpaccounts_pb.rb +56 -0
  10. data/lib/google/shopping/merchant/accounts/v1beta/gbpaccounts_services_pb.rb +52 -0
  11. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/client.rb +584 -0
  12. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/credentials.rb +49 -0
  13. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/paths.rb +71 -0
  14. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/rest/client.rb +544 -0
  15. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/rest/service_stub.rb +206 -0
  16. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/rest.rb +56 -0
  17. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service.rb +59 -0
  18. data/lib/google/shopping/merchant/accounts/v1beta/lfpproviders_pb.rb +55 -0
  19. data/lib/google/shopping/merchant/accounts/v1beta/lfpproviders_services_pb.rb +51 -0
  20. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/client.rb +875 -0
  21. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/credentials.rb +49 -0
  22. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/paths.rb +66 -0
  23. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/rest/client.rb +814 -0
  24. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/rest/service_stub.rb +391 -0
  25. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/rest.rb +57 -0
  26. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service.rb +60 -0
  27. data/lib/google/shopping/merchant/accounts/v1beta/omnichannelsettings_pb.rb +68 -0
  28. data/lib/google/shopping/merchant/accounts/v1beta/omnichannelsettings_services_pb.rb +58 -0
  29. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_pb.rb +8 -1
  30. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/client.rb +285 -4
  31. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/rest/client.rb +264 -4
  32. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/rest/service_stub.rb +185 -0
  33. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/rest.rb +1 -1
  34. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service.rb +1 -1
  35. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_services_pb.rb +9 -3
  36. data/lib/google/shopping/merchant/accounts/v1beta/rest.rb +3 -0
  37. data/lib/google/shopping/merchant/accounts/v1beta/version.rb +1 -1
  38. data/lib/google/shopping/merchant/accounts/v1beta.rb +3 -0
  39. data/proto_docs/google/shopping/merchant/accounts/v1beta/gbpaccounts.rb +123 -0
  40. data/proto_docs/google/shopping/merchant/accounts/v1beta/lfpproviders.rb +108 -0
  41. data/proto_docs/google/shopping/merchant/accounts/v1beta/omnichannelsettings.rb +336 -0
  42. data/proto_docs/google/shopping/merchant/accounts/v1beta/online_return_policy.rb +64 -10
  43. metadata +31 -1
@@ -35,7 +35,7 @@ module Google
35
35
  # Request message for the `ListOnlineReturnPolicies` method.
36
36
  # @!attribute [rw] parent
37
37
  # @return [::String]
38
- # Required. The business account for which to list return policies.
38
+ # Required. The merchant account for which to list return policies.
39
39
  # Format: `accounts/{account}`
40
40
  # @!attribute [rw] page_size
41
41
  # @return [::Integer]
@@ -59,6 +59,40 @@ module Google
59
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
60
60
  end
61
61
 
62
+ # Request message for the `CreateOnlineReturnPolicy` method.
63
+ # @!attribute [rw] parent
64
+ # @return [::String]
65
+ # Required. The merchant account for which to create a return policy.
66
+ # Format: `accounts/{account}`
67
+ # @!attribute [rw] online_return_policy
68
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy]
69
+ # Required. The return policy to create.
70
+ class CreateOnlineReturnPolicyRequest
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+
75
+ # Request message for the `UpdateOnlineReturnPolicy` method.
76
+ # @!attribute [rw] online_return_policy
77
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy]
78
+ # Required. The return policy to update.
79
+ # @!attribute [rw] update_mask
80
+ # @return [::Google::Protobuf::FieldMask]
81
+ class UpdateOnlineReturnPolicyRequest
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+ end
85
+
86
+ # Request message for the `DeleteOnlineReturnPolicy` method.
87
+ # @!attribute [rw] name
88
+ # @return [::String]
89
+ # Required. The name of the return policy to delete.
90
+ # Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`
91
+ class DeleteOnlineReturnPolicyRequest
92
+ include ::Google::Protobuf::MessageExts
93
+ extend ::Google::Protobuf::MessageExts::ClassMethods
94
+ end
95
+
62
96
  # Response message for the `ListOnlineReturnPolicies` method.
63
97
  # @!attribute [rw] online_return_policies
64
98
  # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy>]
@@ -98,27 +132,28 @@ module Google
98
132
  # The values must be a valid 2 letter ISO 3166 code.
99
133
  # @!attribute [rw] policy
100
134
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::Policy]
101
- # The return policy.
135
+ # Optional. The return policy.
102
136
  # @!attribute [rw] seasonal_overrides
103
137
  # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::SeasonalOverride>]
104
138
  # Optional. Overrides to the general policy for orders placed during a
105
139
  # specific set of time intervals.
106
140
  # @!attribute [rw] restocking_fee
107
141
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::RestockingFee]
108
- # The restocking fee that applies to all return reason categories. This would
109
- # be treated as a free restocking fee if the value is not set.
142
+ # Optional. The restocking fee that applies to all return reason categories.
143
+ # This would be treated as a free restocking fee if the value is not set.
110
144
  # @!attribute [rw] return_methods
111
145
  # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::ReturnMethod>]
112
- # The return methods of how customers can return an item. This value is
113
- # required to not be empty unless the type of return policy is noReturns.
146
+ # Optional. The return methods of how customers can return an item. This
147
+ # value is required to not be empty unless the type of return policy is
148
+ # noReturns.
114
149
  # @!attribute [rw] item_conditions
115
150
  # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::ItemCondition>]
116
- # The item conditions accepted for returns must not be empty unless the type
117
- # of return policy is 'noReturns'.
151
+ # Optional. The item conditions accepted for returns must not be empty unless
152
+ # the type of return policy is 'noReturns'.
118
153
  # @!attribute [rw] return_shipping_fee
119
154
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::ReturnShippingFee]
120
- # The return shipping fee. Should be set only when customer need to download
121
- # and print the return label.
155
+ # Optional. The return shipping fee. Should be set only when customer need to
156
+ # download and print the return label.
122
157
  # @!attribute [rw] return_policy_uri
123
158
  # @return [::String]
124
159
  # Required. The return policy uri. This can used by Google to do a sanity
@@ -135,6 +170,10 @@ module Google
135
170
  # @return [::Boolean]
136
171
  # This field specifies if merchant allows customers to exchange products,
137
172
  # this field is required.
173
+ # @!attribute [rw] return_label_source
174
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::ReturnLabelSource]
175
+ # The field specifies the return label source. This field is required when
176
+ # return method is BY_MAIL.
138
177
  class OnlineReturnPolicy
139
178
  include ::Google::Protobuf::MessageExts
140
179
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -265,6 +304,21 @@ module Google
265
304
  # Used.
266
305
  USED = 2
267
306
  end
307
+
308
+ # The available return label sources.
309
+ module ReturnLabelSource
310
+ # Default value. This value is unused.
311
+ RETURN_LABEL_SOURCE_UNSPECIFIED = 0
312
+
313
+ # Download and print.
314
+ DOWNLOAD_AND_PRINT = 1
315
+
316
+ # Label include in the package.
317
+ IN_THE_PACKAGE = 2
318
+
319
+ # Customer to provide.
320
+ CUSTOMER_RESPONSIBILITY = 3
321
+ end
268
322
  end
269
323
  end
270
324
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-accounts-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -159,6 +159,15 @@ files:
159
159
  - lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/rest/service_stub.rb
160
160
  - lib/google/shopping/merchant/accounts/v1beta/emailpreferences_pb.rb
161
161
  - lib/google/shopping/merchant/accounts/v1beta/emailpreferences_services_pb.rb
162
+ - lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service.rb
163
+ - lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/client.rb
164
+ - lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/credentials.rb
165
+ - lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/paths.rb
166
+ - lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/rest.rb
167
+ - lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/rest/client.rb
168
+ - lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/rest/service_stub.rb
169
+ - lib/google/shopping/merchant/accounts/v1beta/gbpaccounts_pb.rb
170
+ - lib/google/shopping/merchant/accounts/v1beta/gbpaccounts_services_pb.rb
162
171
  - lib/google/shopping/merchant/accounts/v1beta/homepage_pb.rb
163
172
  - lib/google/shopping/merchant/accounts/v1beta/homepage_service.rb
164
173
  - lib/google/shopping/merchant/accounts/v1beta/homepage_service/client.rb
@@ -168,6 +177,24 @@ files:
168
177
  - lib/google/shopping/merchant/accounts/v1beta/homepage_service/rest/client.rb
169
178
  - lib/google/shopping/merchant/accounts/v1beta/homepage_service/rest/service_stub.rb
170
179
  - lib/google/shopping/merchant/accounts/v1beta/homepage_services_pb.rb
180
+ - lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service.rb
181
+ - lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/client.rb
182
+ - lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/credentials.rb
183
+ - lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/paths.rb
184
+ - lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/rest.rb
185
+ - lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/rest/client.rb
186
+ - lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/rest/service_stub.rb
187
+ - lib/google/shopping/merchant/accounts/v1beta/lfpproviders_pb.rb
188
+ - lib/google/shopping/merchant/accounts/v1beta/lfpproviders_services_pb.rb
189
+ - lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service.rb
190
+ - lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/client.rb
191
+ - lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/credentials.rb
192
+ - lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/paths.rb
193
+ - lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/rest.rb
194
+ - lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/rest/client.rb
195
+ - lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/rest/service_stub.rb
196
+ - lib/google/shopping/merchant/accounts/v1beta/omnichannelsettings_pb.rb
197
+ - lib/google/shopping/merchant/accounts/v1beta/omnichannelsettings_services_pb.rb
171
198
  - lib/google/shopping/merchant/accounts/v1beta/online_return_policy_pb.rb
172
199
  - lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service.rb
173
200
  - lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/client.rb
@@ -257,7 +284,10 @@ files:
257
284
  - proto_docs/google/shopping/merchant/accounts/v1beta/businessinfo.rb
258
285
  - proto_docs/google/shopping/merchant/accounts/v1beta/customerservice.rb
259
286
  - proto_docs/google/shopping/merchant/accounts/v1beta/emailpreferences.rb
287
+ - proto_docs/google/shopping/merchant/accounts/v1beta/gbpaccounts.rb
260
288
  - proto_docs/google/shopping/merchant/accounts/v1beta/homepage.rb
289
+ - proto_docs/google/shopping/merchant/accounts/v1beta/lfpproviders.rb
290
+ - proto_docs/google/shopping/merchant/accounts/v1beta/omnichannelsettings.rb
261
291
  - proto_docs/google/shopping/merchant/accounts/v1beta/online_return_policy.rb
262
292
  - proto_docs/google/shopping/merchant/accounts/v1beta/phoneverificationstate.rb
263
293
  - proto_docs/google/shopping/merchant/accounts/v1beta/programs.rb