google-shopping-merchant-accounts-v1beta 0.5.0 → 0.6.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29234369a3c430f50e1caed5ca719f2dab3702557cc4d75b5cba08d53a13d15e
4
- data.tar.gz: bbc0985d5e10c2dfebd7ace72f9577f39987f4d85852a3f6a91887f321986f2e
3
+ metadata.gz: 2b2139c4da1bfe8624e4b1f6f7e6e397c84f8ec07257d63391d4bd9fbcdd20f6
4
+ data.tar.gz: 50d4bc9052db101c8f0bd3687e42ddd6d12004f1cdb8294bc54581bc93f5d739
5
5
  SHA512:
6
- metadata.gz: d03e9fb1fb51296928aafd98bf05d7c76adf2d8d5f6b479594cdf584f6d3c6e50a52a904101f484218e6af9c824bb471d31bead96238249b4ac9771d8eb31bad
7
- data.tar.gz: a39853fff95b34550e2739ca935e762ac824e7b109af80de8ce1ae2d30089981d81e4f2172c1fddb15fa13e610ddff3c876d7c62a53ded58abd30d576c1d81f7
6
+ metadata.gz: a01dcd45c14fc3699b651218084f259617cbafc028d9ecdd15a8de0cebcc7c7eab397f8c191a473c6fd3dacc93015a30977a7547dac55d7980f35c570c0e2f4e
7
+ data.tar.gz: 3a4915c1032c12ea022ec3b5e82dd7f6fee947775f1efbbed4d9e07c9fd9421c306fce42db75dfd7491fbb26a5da29c0ad97a2c08fd3b092d61de45cdbbf51e7
@@ -9,9 +9,10 @@ require 'google/api/client_pb'
9
9
  require 'google/api/field_behavior_pb'
10
10
  require 'google/api/resource_pb'
11
11
  require 'google/shopping/type/types_pb'
12
+ require 'google/type/date_pb'
12
13
 
13
14
 
14
- descriptor_data = "\nCgoogle/shopping/merchant/accounts/v1beta/online_return_policy.proto\x12(google.shopping.merchant.accounts.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/shopping/type/types.proto\"c\n\x1cGetOnlineReturnPolicyRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-merchantapi.googleapis.com/OnlineReturnPolicy\"\x99\x01\n\x1fListOnlineReturnPoliciesRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-merchantapi.googleapis.com/OnlineReturnPolicy\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x99\x01\n ListOnlineReturnPoliciesResponse\x12\\\n\x16online_return_policies\x18\x01 \x03(\x0b\x32<.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x80\r\n\x12OnlineReturnPolicy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1d\n\x10return_policy_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\r\n\x05label\x18\x03 \x01(\t\x12\x11\n\tcountries\x18\x04 \x03(\t\x12S\n\x06policy\x18\x05 \x01(\x0b\x32\x43.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.Policy\x12\x62\n\x0erestocking_fee\x18\x06 \x01(\x0b\x32J.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.RestockingFee\x12\x61\n\x0ereturn_methods\x18\x07 \x03(\x0e\x32I.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnMethod\x12\x63\n\x0fitem_conditions\x18\x08 \x03(\x0e\x32J.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ItemCondition\x12k\n\x13return_shipping_fee\x18\t \x01(\x0b\x32N.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnShippingFee\x12\x19\n\x11return_policy_uri\x18\n \x01(\t\x12\"\n\x15\x61\x63\x63\x65pt_defective_only\x18\x0b \x01(\x08H\x00\x88\x01\x01\x12 \n\x13process_refund_days\x18\x0c \x01(\x05H\x01\x88\x01\x01\x12\x1c\n\x0f\x61\x63\x63\x65pt_exchange\x18\r \x01(\x08H\x02\x88\x01\x01\x1a\xef\x01\n\x11ReturnShippingFee\x12\x61\n\x04type\x18\x01 \x01(\x0e\x32S.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnShippingFee.Type\x12.\n\tfixed_fee\x18\x02 \x01(\x0b\x32\x1b.google.shopping.type.Price\"G\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x46IXED\x10\x01\x12\x1e\n\x1a\x43USTOMER_PAYING_ACTUAL_FEE\x10\x02\x1a\x62\n\rRestockingFee\x12\x30\n\tfixed_fee\x18\x01 \x01(\x0b\x32\x1b.google.shopping.type.PriceH\x00\x12\x17\n\rmicro_percent\x18\x02 \x01(\x05H\x00\x42\x06\n\x04type\x1a\xd5\x01\n\x06Policy\x12V\n\x04type\x18\x01 \x01(\x0e\x32H.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.Policy.Type\x12\x0c\n\x04\x64\x61ys\x18\x02 \x01(\x03\"e\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12!\n\x1dNUMBER_OF_DAYS_AFTER_DELIVERY\x10\x01\x12\x0e\n\nNO_RETURNS\x10\x02\x12\x14\n\x10LIFETIME_RETURNS\x10\x03\"X\n\x0cReturnMethod\x12\x1d\n\x19RETURN_METHOD_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x42Y_MAIL\x10\x01\x12\x0c\n\x08IN_STORE\x10\x02\x12\x0e\n\nAT_A_KIOSK\x10\x03\"B\n\rItemCondition\x12\x1e\n\x1aITEM_CONDITION_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\x08\n\x04USED\x10\x02:\x96\x01\xea\x41\x92\x01\n-merchantapi.googleapis.com/OnlineReturnPolicy\x12\x37\x61\x63\x63ounts/{account}/onlineReturnPolicies/{return_policy}*\x14onlineReturnPolicies2\x12onlineReturnPolicyB\x18\n\x16_accept_defective_onlyB\x16\n\x14_process_refund_daysB\x12\n\x10_accept_exchange2\xce\x04\n\x19OnlineReturnPolicyService\x12\xe7\x01\n\x15GetOnlineReturnPolicy\x12\x46.google.shopping.merchant.accounts.v1beta.GetOnlineReturnPolicyRequest\x1a<.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/accounts/v1beta/{name=accounts/*/onlineReturnPolicies/*}\x12\xfd\x01\n\x18ListOnlineReturnPolicies\x12I.google.shopping.merchant.accounts.v1beta.ListOnlineReturnPoliciesRequest\x1aJ.google.shopping.merchant.accounts.v1beta.ListOnlineReturnPoliciesResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/accounts/v1beta/{parent=accounts/*}/onlineReturnPolicies\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\x99\x01\n,com.google.shopping.merchant.accounts.v1betaB\x17OnlineReturnPolicyProtoP\x01ZNcloud.google.com/go/shopping/merchant/accounts/apiv1beta/accountspb;accountspbb\x06proto3"
15
+ descriptor_data = "\nCgoogle/shopping/merchant/accounts/v1beta/online_return_policy.proto\x12(google.shopping.merchant.accounts.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/shopping/type/types.proto\x1a\x16google/type/date.proto\"c\n\x1cGetOnlineReturnPolicyRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-merchantapi.googleapis.com/OnlineReturnPolicy\"\x99\x01\n\x1fListOnlineReturnPoliciesRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-merchantapi.googleapis.com/OnlineReturnPolicy\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x99\x01\n ListOnlineReturnPoliciesResponse\x12\\\n\x16online_return_policies\x18\x01 \x03(\x0b\x32<.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe1\x0f\n\x12OnlineReturnPolicy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1d\n\x10return_policy_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x05label\x18\x03 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x19\n\tcountries\x18\x04 \x03(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12S\n\x06policy\x18\x05 \x01(\x0b\x32\x43.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.Policy\x12n\n\x12seasonal_overrides\x18\x0e \x03(\x0b\x32M.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.SeasonalOverrideB\x03\xe0\x41\x01\x12\x62\n\x0erestocking_fee\x18\x06 \x01(\x0b\x32J.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.RestockingFee\x12\x61\n\x0ereturn_methods\x18\x07 \x03(\x0e\x32I.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnMethod\x12\x63\n\x0fitem_conditions\x18\x08 \x03(\x0e\x32J.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ItemCondition\x12k\n\x13return_shipping_fee\x18\t \x01(\x0b\x32N.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnShippingFee\x12\x1e\n\x11return_policy_uri\x18\n \x01(\tB\x03\xe0\x41\x02\x12\"\n\x15\x61\x63\x63\x65pt_defective_only\x18\x0b \x01(\x08H\x00\x88\x01\x01\x12 \n\x13process_refund_days\x18\x0c \x01(\x05H\x01\x88\x01\x01\x12\x1c\n\x0f\x61\x63\x63\x65pt_exchange\x18\r \x01(\x08H\x02\x88\x01\x01\x1a\xf4\x01\n\x11ReturnShippingFee\x12\x66\n\x04type\x18\x01 \x01(\x0e\x32S.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnShippingFee.TypeB\x03\xe0\x41\x02\x12.\n\tfixed_fee\x18\x02 \x01(\x0b\x32\x1b.google.shopping.type.Price\"G\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x46IXED\x10\x01\x12\x1e\n\x1a\x43USTOMER_PAYING_ACTUAL_FEE\x10\x02\x1a\x62\n\rRestockingFee\x12\x30\n\tfixed_fee\x18\x01 \x01(\x0b\x32\x1b.google.shopping.type.PriceH\x00\x12\x17\n\rmicro_percent\x18\x02 \x01(\x05H\x00\x42\x06\n\x04type\x1a\xd5\x01\n\x06Policy\x12V\n\x04type\x18\x01 \x01(\x0e\x32H.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.Policy.Type\x12\x0c\n\x04\x64\x61ys\x18\x02 \x01(\x03\"e\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12!\n\x1dNUMBER_OF_DAYS_AFTER_DELIVERY\x10\x01\x12\x0e\n\nNO_RETURNS\x10\x02\x12\x14\n\x10LIFETIME_RETURNS\x10\x03\x1a\xd4\x01\n\x10SeasonalOverride\x12\x15\n\x0breturn_days\x18\x05 \x01(\x05H\x00\x12.\n\x11return_until_date\x18\x06 \x01(\x0b\x32\x11.google.type.DateH\x00\x12\x12\n\x05label\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12*\n\nstart_date\x18\x02 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x02\x12(\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x02\x42\x0f\n\rreturn_window\"X\n\x0cReturnMethod\x12\x1d\n\x19RETURN_METHOD_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x42Y_MAIL\x10\x01\x12\x0c\n\x08IN_STORE\x10\x02\x12\x0e\n\nAT_A_KIOSK\x10\x03\"B\n\rItemCondition\x12\x1e\n\x1aITEM_CONDITION_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\x08\n\x04USED\x10\x02:\x96\x01\xea\x41\x92\x01\n-merchantapi.googleapis.com/OnlineReturnPolicy\x12\x37\x61\x63\x63ounts/{account}/onlineReturnPolicies/{return_policy}*\x14onlineReturnPolicies2\x12onlineReturnPolicyB\x18\n\x16_accept_defective_onlyB\x16\n\x14_process_refund_daysB\x12\n\x10_accept_exchange2\xce\x04\n\x19OnlineReturnPolicyService\x12\xe7\x01\n\x15GetOnlineReturnPolicy\x12\x46.google.shopping.merchant.accounts.v1beta.GetOnlineReturnPolicyRequest\x1a<.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/accounts/v1beta/{name=accounts/*/onlineReturnPolicies/*}\x12\xfd\x01\n\x18ListOnlineReturnPolicies\x12I.google.shopping.merchant.accounts.v1beta.ListOnlineReturnPoliciesRequest\x1aJ.google.shopping.merchant.accounts.v1beta.ListOnlineReturnPoliciesResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/accounts/v1beta/{parent=accounts/*}/onlineReturnPolicies\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\x99\x01\n,com.google.shopping.merchant.accounts.v1betaB\x17OnlineReturnPolicyProtoP\x01ZNcloud.google.com/go/shopping/merchant/accounts/apiv1beta/accountspb;accountspbb\x06proto3"
15
16
 
16
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
18
 
@@ -27,6 +28,7 @@ rescue TypeError
27
28
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
29
  imports = [
29
30
  ["google.shopping.type.Price", "google/shopping/type/types.proto"],
31
+ ["google.type.Date", "google/type/date.proto"],
30
32
  ]
31
33
  imports.each do |type_name, expected_filename|
32
34
  import_file = pool.lookup(type_name).file_descriptor
@@ -52,6 +54,7 @@ module Google
52
54
  OnlineReturnPolicy::RestockingFee = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.RestockingFee").msgclass
53
55
  OnlineReturnPolicy::Policy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.Policy").msgclass
54
56
  OnlineReturnPolicy::Policy::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.Policy.Type").enummodule
57
+ OnlineReturnPolicy::SeasonalOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.SeasonalOverride").msgclass
55
58
  OnlineReturnPolicy::ReturnMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnMethod").enummodule
56
59
  OnlineReturnPolicy::ItemCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ItemCondition").enummodule
57
60
  end
@@ -194,7 +194,7 @@ module Google
194
194
  # Service calls
195
195
 
196
196
  ##
197
- # Gets an existing return policy.
197
+ # Gets an existing return policy for a given business.
198
198
  #
199
199
  # @overload get_online_return_policy(request, options = nil)
200
200
  # Pass arguments to `get_online_return_policy` via a request object, either of type
@@ -280,7 +280,7 @@ module Google
280
280
  end
281
281
 
282
282
  ##
283
- # Lists all existing return policies.
283
+ # Lists all existing return policies for a given business.
284
284
  #
285
285
  # @overload list_online_return_policies(request, options = nil)
286
286
  # Pass arguments to `list_online_return_policies` via a request object, either of type
@@ -298,7 +298,7 @@ module Google
298
298
  # the default parameter values, pass an empty Hash as a request object (see above).
299
299
  #
300
300
  # @param parent [::String]
301
- # Required. The merchant account for which to list return policies.
301
+ # Required. The business account for which to list return policies.
302
302
  # Format: `accounts/{account}`
303
303
  # @param page_size [::Integer]
304
304
  # Optional. The maximum number of `OnlineReturnPolicy` resources to return.
@@ -187,7 +187,7 @@ module Google
187
187
  # Service calls
188
188
 
189
189
  ##
190
- # Gets an existing return policy.
190
+ # Gets an existing return policy for a given business.
191
191
  #
192
192
  # @overload get_online_return_policy(request, options = nil)
193
193
  # Pass arguments to `get_online_return_policy` via a request object, either of type
@@ -266,7 +266,7 @@ module Google
266
266
  end
267
267
 
268
268
  ##
269
- # Lists all existing return policies.
269
+ # Lists all existing return policies for a given business.
270
270
  #
271
271
  # @overload list_online_return_policies(request, options = nil)
272
272
  # Pass arguments to `list_online_return_policies` via a request object, either of type
@@ -284,7 +284,7 @@ module Google
284
284
  # the default parameter values, pass an empty Hash as a request object (see above).
285
285
  #
286
286
  # @param parent [::String]
287
- # Required. The merchant account for which to list return policies.
287
+ # Required. The business account for which to list return policies.
288
288
  # Format: `accounts/{account}`
289
289
  # @param page_size [::Integer]
290
290
  # Optional. The maximum number of `OnlineReturnPolicy` resources to return.
@@ -38,9 +38,9 @@ module Google
38
38
  self.unmarshal_class_method = :decode
39
39
  self.service_name = 'google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService'
40
40
 
41
- # Gets an existing return policy.
41
+ # Gets an existing return policy for a given business.
42
42
  rpc :GetOnlineReturnPolicy, ::Google::Shopping::Merchant::Accounts::V1beta::GetOnlineReturnPolicyRequest, ::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy
43
- # Lists all existing return policies.
43
+ # Lists all existing return policies for a given business.
44
44
  rpc :ListOnlineReturnPolicies, ::Google::Shopping::Merchant::Accounts::V1beta::ListOnlineReturnPoliciesRequest, ::Google::Shopping::Merchant::Accounts::V1beta::ListOnlineReturnPoliciesResponse
45
45
  end
46
46
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module Accounts
24
24
  module V1beta
25
- VERSION = "0.5.0"
25
+ VERSION = "0.6.0"
26
26
  end
27
27
  end
28
28
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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 merchant account for which to list return policies.
38
+ # Required. The business account for which to list return policies.
39
39
  # Format: `accounts/{account}`
40
40
  # @!attribute [rw] page_size
41
41
  # @return [::Integer]
@@ -84,21 +84,25 @@ module Google
84
84
  # Output only. Return policy ID generated by Google.
85
85
  # @!attribute [rw] label
86
86
  # @return [::String]
87
- # This field represents the unique user-defined label of the return policy.
88
- # It is important to note that the same label cannot be used in different
89
- # return policies for the same country. Unless a product specifies a specific
90
- # label attribute, policies will be automatically labeled as 'default'.
91
- # To assign a custom return policy to certain product groups, follow the
92
- # instructions provided in the [Return policy label]
87
+ # Required. Immutable. This field represents the unique user-defined label of
88
+ # the return policy. It is important to note that the same label cannot be
89
+ # used in different return policies for the same country. Unless a product
90
+ # specifies a specific label attribute, policies will be automatically
91
+ # labeled as 'default'. To assign a custom return policy to certain product
92
+ # groups, follow the instructions provided in the [Return policy label]
93
93
  # (https://support.google.com/merchants/answer/9445425).
94
94
  # The label can contain up to 50 characters.
95
95
  # @!attribute [rw] countries
96
96
  # @return [::Array<::String>]
97
- # The countries of sale where the return policy applies. The values
98
- # must be a valid 2 letter ISO 3166 code.
97
+ # Required. Immutable. The countries of sale where the return policy applies.
98
+ # The values must be a valid 2 letter ISO 3166 code.
99
99
  # @!attribute [rw] policy
100
100
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::Policy]
101
101
  # The return policy.
102
+ # @!attribute [rw] seasonal_overrides
103
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::SeasonalOverride>]
104
+ # Optional. Overrides to the general policy for orders placed during a
105
+ # specific set of time intervals.
102
106
  # @!attribute [rw] restocking_fee
103
107
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::RestockingFee]
104
108
  # The restocking fee that applies to all return reason categories. This would
@@ -117,8 +121,8 @@ module Google
117
121
  # and print the return label.
118
122
  # @!attribute [rw] return_policy_uri
119
123
  # @return [::String]
120
- # The return policy uri. This can used by Google to do a sanity check for the
121
- # policy. It must be a valid URL.
124
+ # Required. The return policy uri. This can used by Google to do a sanity
125
+ # check for the policy. It must be a valid URL.
122
126
  # @!attribute [rw] accept_defective_only
123
127
  # @return [::Boolean]
124
128
  # This field specifies if merchant only accepts defective products for
@@ -139,7 +143,7 @@ module Google
139
143
  # indicate that the customer pays the actual shipping cost.
140
144
  # @!attribute [rw] type
141
145
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy::ReturnShippingFee::Type]
142
- # Type of return shipping fee.
146
+ # Required. Type of return shipping fee.
143
147
  # @!attribute [rw] fixed_fee
144
148
  # @return [::Google::Shopping::Type::Price]
145
149
  # Fixed return shipping fee amount. This value is only applicable when type
@@ -208,6 +212,33 @@ module Google
208
212
  end
209
213
  end
210
214
 
215
+ # @!attribute [rw] return_days
216
+ # @return [::Integer]
217
+ # Number of days (from the delivery date) that the product can be
218
+ # returned.
219
+ #
220
+ # Note: The following fields are mutually exclusive: `return_days`, `return_until_date`. If a field in that set is populated, all other fields in the set will automatically be cleared.
221
+ # @!attribute [rw] return_until_date
222
+ # @return [::Google::Type::Date]
223
+ # Fixed end date until which the product can be returned.
224
+ #
225
+ # Note: The following fields are mutually exclusive: `return_until_date`, `return_days`. If a field in that set is populated, all other fields in the set will automatically be cleared.
226
+ # @!attribute [rw] label
227
+ # @return [::String]
228
+ # Required. Display name of this seasonal override in Merchant Center.
229
+ # @!attribute [rw] start_date
230
+ # @return [::Google::Type::Date]
231
+ # Required. Defines the date range when this seasonal override applies.
232
+ # Both start_date and end_date are inclusive.
233
+ # The dates of the seasonal overrides should not overlap.
234
+ # @!attribute [rw] end_date
235
+ # @return [::Google::Type::Date]
236
+ # Required. seasonal override end date (inclusive).
237
+ class SeasonalOverride
238
+ include ::Google::Protobuf::MessageExts
239
+ extend ::Google::Protobuf::MessageExts::ClassMethods
240
+ end
241
+
211
242
  # The available return methods.
212
243
  module ReturnMethod
213
244
  # Default value. This value is unused.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-accounts-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 2025-03-06 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -288,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
288
  - !ruby/object:Gem::Version
289
289
  version: '0'
290
290
  requirements: []
291
- rubygems_version: 3.6.2
291
+ rubygems_version: 3.6.5
292
292
  specification_version: 4
293
293
  summary: Programmatically manage your Merchant Center Accounts.
294
294
  test_files: []