google-shopping-merchant-accounts-v1beta 0.8.0 → 0.10.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 +301 -4
  31. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/rest/client.rb +280 -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 +88 -16
  43. metadata +32 -2
@@ -32,10 +32,62 @@ module Google
32
32
  extend ::Google::Protobuf::MessageExts::ClassMethods
33
33
  end
34
34
 
35
+ # Request message for the `CreateOnlineReturnPolicy` method.
36
+ # @!attribute [rw] parent
37
+ # @return [::String]
38
+ # Required. The merchant account for which the return policy will be created.
39
+ # Format: `accounts/{account}`
40
+ # @!attribute [rw] online_return_policy
41
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy]
42
+ # Required. The return policy object to create.
43
+ class CreateOnlineReturnPolicyRequest
44
+ include ::Google::Protobuf::MessageExts
45
+ extend ::Google::Protobuf::MessageExts::ClassMethods
46
+ end
47
+
48
+ # Request message for the `UpdateOnlineReturnPolicy` method. The method
49
+ # supports field masks and when the mask is provided, only the fields specified
50
+ # in the mask are updated.
51
+ # @!attribute [rw] online_return_policy
52
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy]
53
+ # Required. The online return policy to update.
54
+ # The online return policy's `name` field is used to identify the
55
+ # online return policy to be updated.
56
+ # @!attribute [rw] update_mask
57
+ # @return [::Google::Protobuf::FieldMask]
58
+ # Optional. List of fields being updated.
59
+ #
60
+ # The following fields are supported (in both `snake_case` and
61
+ # `lowerCamelCase`):
62
+ #
63
+ # - `accept_defective_only`
64
+ # - `accept_exchange`
65
+ # - `item_conditions`
66
+ # - `policy`
67
+ # - `process_refund_days`
68
+ # - `restocking_fee`
69
+ # - `return_methods`
70
+ # - `return_policy_uri`
71
+ # - `return_shipping_fee`
72
+ class UpdateOnlineReturnPolicyRequest
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
76
+
77
+ # Request message for the `DeleteOnlineReturnPolicy` method.
78
+ # @!attribute [rw] name
79
+ # @return [::String]
80
+ # Required. The name of the return policy to delete.
81
+ # Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`
82
+ class DeleteOnlineReturnPolicyRequest
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+
35
87
  # Request message for the `ListOnlineReturnPolicies` method.
36
88
  # @!attribute [rw] parent
37
89
  # @return [::String]
38
- # Required. The business account for which to list return policies.
90
+ # Required. The merchant account for which to list return policies.
39
91
  # Format: `accounts/{account}`
40
92
  # @!attribute [rw] page_size
41
93
  # @return [::Integer]
@@ -98,43 +150,48 @@ module Google
98
150
  # The values must be a valid 2 letter ISO 3166 code.
99
151
  # @!attribute [rw] policy
100
152
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::Policy]
101
- # The return policy.
153
+ # Optional. The return policy.
102
154
  # @!attribute [rw] seasonal_overrides
103
155
  # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::SeasonalOverride>]
104
156
  # Optional. Overrides to the general policy for orders placed during a
105
157
  # specific set of time intervals.
106
158
  # @!attribute [rw] restocking_fee
107
159
  # @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.
160
+ # Optional. The restocking fee that applies to all return reason categories.
161
+ # This would be treated as a free restocking fee if the value is not set.
110
162
  # @!attribute [rw] return_methods
111
163
  # @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.
164
+ # Optional. The return methods of how customers can return an item. This
165
+ # value is required to not be empty unless the type of return policy is
166
+ # noReturns.
114
167
  # @!attribute [rw] item_conditions
115
168
  # @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'.
169
+ # Optional. The item conditions accepted for returns must not be empty unless
170
+ # the type of return policy is 'noReturns'.
118
171
  # @!attribute [rw] return_shipping_fee
119
172
  # @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.
173
+ # Optional. The return shipping fee. Should be set only when customer need to
174
+ # download and print the return label.
122
175
  # @!attribute [rw] return_policy_uri
123
176
  # @return [::String]
124
177
  # Required. The return policy uri. This can used by Google to do a sanity
125
178
  # check for the policy. It must be a valid URL.
126
179
  # @!attribute [rw] accept_defective_only
127
180
  # @return [::Boolean]
128
- # This field specifies if merchant only accepts defective products for
129
- # returns, and this field is required.
181
+ # Optional. This field specifies if merchant
182
+ # only accepts defective products for returns.
130
183
  # @!attribute [rw] process_refund_days
131
184
  # @return [::Integer]
132
- # The field specifies the number of days it takes for merchants to process
133
- # refunds, field is optional.
185
+ # Optional. The field specifies the number of
186
+ # days it takes for merchants to process refunds.
134
187
  # @!attribute [rw] accept_exchange
135
188
  # @return [::Boolean]
136
- # This field specifies if merchant allows customers to exchange products,
137
- # this field is required.
189
+ # Optional. This field specifies if merchant
190
+ # allows customers to exchange products.
191
+ # @!attribute [rw] return_label_source
192
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::ReturnLabelSource]
193
+ # Optional. The field specifies the return
194
+ # label source.
138
195
  class OnlineReturnPolicy
139
196
  include ::Google::Protobuf::MessageExts
140
197
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -265,6 +322,21 @@ module Google
265
322
  # Used.
266
323
  USED = 2
267
324
  end
325
+
326
+ # The available return label sources.
327
+ module ReturnLabelSource
328
+ # Default value. This value is unused.
329
+ RETURN_LABEL_SOURCE_UNSPECIFIED = 0
330
+
331
+ # Download and print.
332
+ DOWNLOAD_AND_PRINT = 1
333
+
334
+ # Label include in the package.
335
+ IN_THE_PACKAGE = 2
336
+
337
+ # Customer to provide.
338
+ CUSTOMER_RESPONSIBILITY = 3
339
+ end
268
340
  end
269
341
  end
270
342
  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.10.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
@@ -292,7 +322,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
292
322
  - !ruby/object:Gem::Version
293
323
  version: '0'
294
324
  requirements: []
295
- rubygems_version: 3.6.8
325
+ rubygems_version: 3.6.9
296
326
  specification_version: 4
297
327
  summary: Programmatically manage your Merchant Center Accounts.
298
328
  test_files: []