google-shopping-merchant-accounts-v1beta 0.9.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf1322c4663ac1cb59fe22f35f7590d7c760a74b7c38642194bca926c4126166
4
- data.tar.gz: ccb159202e4d757af87019e26b5d7f2d8101fe8efaa59ce04c853a35778e3148
3
+ metadata.gz: 87c84c46ca5096077f22faa3856f51d38becc16fe455bc088877bd832a57076f
4
+ data.tar.gz: 47974fe28c08bcd9b9bad7ddebe178b338edd7f88b359be5c2097a645979705e
5
5
  SHA512:
6
- metadata.gz: 5dade4d85ddabcb51e34c57ac8a0c10656b4c610624adca1d674e0b3323d0650b1be9efe81223838385b589560dd12e34881292f2dec86b94c05d86fe607d5b4
7
- data.tar.gz: 46118f6cfcda18cb42d397ca17aedeea2bd41ab2ae7ae3a175465a17bcf4d26e4b2e38b17ca53c14d6cb4f44df8c52d4e82e1e8cff2215244159d3ce3988210a
6
+ metadata.gz: cf0fd46989ab3383d56d3797f5460cff1b673c5c907117941e1ab95e1624797e3819efd64434e92d2ca6b2e8c2c960dfee7f38de6cc544954586177a5d3cfdc4
7
+ data.tar.gz: 709a41ec45f591e4d8578af38787df4175f6e145571d95b0361e79ba566c7b57c68f3418c48f67caa17ed33a7739441bbbc299b20e88b8d42d7564b903638aff
@@ -14,7 +14,7 @@ require 'google/shopping/type/types_pb'
14
14
  require 'google/type/date_pb'
15
15
 
16
16
 
17
- 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\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.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\"\xc9\x01\n\x1f\x43reateOnlineReturnPolicyRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-merchantapi.googleapis.com/OnlineReturnPolicy\x12_\n\x14online_return_policy\x18\x02 \x01(\x0b\x32<.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyB\x03\xe0\x41\x02\"\xb3\x01\n\x1fUpdateOnlineReturnPolicyRequest\x12_\n\x14online_return_policy\x18\x01 \x01(\x0b\x32<.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"f\n\x1f\x44\x65leteOnlineReturnPolicyRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-merchantapi.googleapis.com/OnlineReturnPolicy\"\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\"\x88\x12\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\x12X\n\x06policy\x18\x05 \x01(\x0b\x32\x43.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.PolicyB\x03\xe0\x41\x01\x12n\n\x12seasonal_overrides\x18\x0e \x03(\x0b\x32M.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.SeasonalOverrideB\x03\xe0\x41\x01\x12g\n\x0erestocking_fee\x18\x06 \x01(\x0b\x32J.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.RestockingFeeB\x03\xe0\x41\x01\x12\x66\n\x0ereturn_methods\x18\x07 \x03(\x0e\x32I.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnMethodB\x03\xe0\x41\x01\x12h\n\x0fitem_conditions\x18\x08 \x03(\x0e\x32J.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ItemConditionB\x03\xe0\x41\x01\x12p\n\x13return_shipping_fee\x18\t \x01(\x0b\x32N.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnShippingFeeB\x03\xe0\x41\x01\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\x12p\n\x13return_label_source\x18\x0f \x01(\x0e\x32N.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnLabelSourceH\x03\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\"\x81\x01\n\x11ReturnLabelSource\x12#\n\x1fRETURN_LABEL_SOURCE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x44OWNLOAD_AND_PRINT\x10\x01\x12\x12\n\x0eIN_THE_PACKAGE\x10\x02\x12\x1b\n\x17\x43USTOMER_RESPONSIBILITY\x10\x03:\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_exchangeB\x16\n\x14_return_label_source2\xd8\n\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\x12\x85\x02\n\x18\x43reateOnlineReturnPolicy\x12I.google.shopping.merchant.accounts.v1beta.CreateOnlineReturnPolicyRequest\x1a<.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy\"`\xda\x41\x06parent\x82\xd3\xe4\x93\x02Q\"9/accounts/v1beta/{parent=accounts/*}/onlineReturnPolicies:\x14online_return_policy\x12\xb5\x02\n\x18UpdateOnlineReturnPolicy\x12I.google.shopping.merchant.accounts.v1beta.UpdateOnlineReturnPolicyRequest\x1a<.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy\"\x8f\x01\xda\x41 online_return_policy,update_mask\x82\xd3\xe4\x93\x02\x66\x32N/accounts/v1beta/{online_return_policy.name=accounts/*/onlineReturnPolicies/*}:\x14online_return_policy\x12\xc7\x01\n\x18\x44\x65leteOnlineReturnPolicy\x12I.google.shopping.merchant.accounts.v1beta.DeleteOnlineReturnPolicyRequest\x1a\x16.google.protobuf.Empty\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/accounts/v1beta/{name=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"
17
+ 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\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.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\"\xc9\x01\n\x1f\x43reateOnlineReturnPolicyRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-merchantapi.googleapis.com/OnlineReturnPolicy\x12_\n\x14online_return_policy\x18\x02 \x01(\x0b\x32<.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyB\x03\xe0\x41\x02\"\xb8\x01\n\x1fUpdateOnlineReturnPolicyRequest\x12_\n\x14online_return_policy\x18\x01 \x01(\x0b\x32<.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"f\n\x1f\x44\x65leteOnlineReturnPolicyRequest\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\"\x9c\x12\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\x12X\n\x06policy\x18\x05 \x01(\x0b\x32\x43.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.PolicyB\x03\xe0\x41\x01\x12n\n\x12seasonal_overrides\x18\x0e \x03(\x0b\x32M.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.SeasonalOverrideB\x03\xe0\x41\x01\x12g\n\x0erestocking_fee\x18\x06 \x01(\x0b\x32J.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.RestockingFeeB\x03\xe0\x41\x01\x12\x66\n\x0ereturn_methods\x18\x07 \x03(\x0e\x32I.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnMethodB\x03\xe0\x41\x01\x12h\n\x0fitem_conditions\x18\x08 \x03(\x0e\x32J.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ItemConditionB\x03\xe0\x41\x01\x12p\n\x13return_shipping_fee\x18\t \x01(\x0b\x32N.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnShippingFeeB\x03\xe0\x41\x01\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(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12%\n\x13process_refund_days\x18\x0c \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12!\n\x0f\x61\x63\x63\x65pt_exchange\x18\r \x01(\x08\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12u\n\x13return_label_source\x18\x0f \x01(\x0e\x32N.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnLabelSourceB\x03\xe0\x41\x01H\x03\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\"\x81\x01\n\x11ReturnLabelSource\x12#\n\x1fRETURN_LABEL_SOURCE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x44OWNLOAD_AND_PRINT\x10\x01\x12\x12\n\x0eIN_THE_PACKAGE\x10\x02\x12\x1b\n\x17\x43USTOMER_RESPONSIBILITY\x10\x03:\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_exchangeB\x16\n\x14_return_label_source2\xf6\n\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\x12\xa3\x02\n\x18\x43reateOnlineReturnPolicy\x12I.google.shopping.merchant.accounts.v1beta.CreateOnlineReturnPolicyRequest\x1a<.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy\"~\xda\x41\x06parent\xda\x41\x1bparent,online_return_policy\x82\xd3\xe4\x93\x02Q\"9/accounts/v1beta/{parent=accounts/*}/onlineReturnPolicies:\x14online_return_policy\x12\xb5\x02\n\x18UpdateOnlineReturnPolicy\x12I.google.shopping.merchant.accounts.v1beta.UpdateOnlineReturnPolicyRequest\x1a<.google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy\"\x8f\x01\xda\x41 online_return_policy,update_mask\x82\xd3\xe4\x93\x02\x66\x32N/accounts/v1beta/{online_return_policy.name=accounts/*/onlineReturnPolicies/*}:\x14online_return_policy\x12\xc7\x01\n\x18\x44\x65leteOnlineReturnPolicy\x12I.google.shopping.merchant.accounts.v1beta.DeleteOnlineReturnPolicyRequest\x1a\x16.google.protobuf.Empty\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/accounts/v1beta/{name=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"
18
18
 
19
19
  pool = Google::Protobuf::DescriptorPool.generated_pool
20
20
 
@@ -49,10 +49,10 @@ module Google
49
49
  module Accounts
50
50
  module V1beta
51
51
  GetOnlineReturnPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.GetOnlineReturnPolicyRequest").msgclass
52
- ListOnlineReturnPoliciesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.ListOnlineReturnPoliciesRequest").msgclass
53
52
  CreateOnlineReturnPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.CreateOnlineReturnPolicyRequest").msgclass
54
53
  UpdateOnlineReturnPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.UpdateOnlineReturnPolicyRequest").msgclass
55
54
  DeleteOnlineReturnPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.DeleteOnlineReturnPolicyRequest").msgclass
55
+ ListOnlineReturnPoliciesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.ListOnlineReturnPoliciesRequest").msgclass
56
56
  ListOnlineReturnPoliciesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.ListOnlineReturnPoliciesResponse").msgclass
57
57
  OnlineReturnPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy").msgclass
58
58
  OnlineReturnPolicy::ReturnShippingFee = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnShippingFee").msgclass
@@ -405,10 +405,10 @@ module Google
405
405
  # the default parameter values, pass an empty Hash as a request object (see above).
406
406
  #
407
407
  # @param parent [::String]
408
- # Required. The merchant account for which to create a return policy.
408
+ # Required. The merchant account for which the return policy will be created.
409
409
  # Format: `accounts/{account}`
410
410
  # @param online_return_policy [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy, ::Hash]
411
- # Required. The return policy to create.
411
+ # Required. The return policy object to create.
412
412
  #
413
413
  # @yield [response, operation] Access the result along with the RPC operation
414
414
  # @yieldparam response [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy]
@@ -493,8 +493,24 @@ module Google
493
493
  # the default parameter values, pass an empty Hash as a request object (see above).
494
494
  #
495
495
  # @param online_return_policy [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy, ::Hash]
496
- # Required. The return policy to update.
496
+ # Required. The online return policy to update.
497
+ # The online return policy's `name` field is used to identify the
498
+ # online return policy to be updated.
497
499
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
500
+ # Optional. List of fields being updated.
501
+ #
502
+ # The following fields are supported (in both `snake_case` and
503
+ # `lowerCamelCase`):
504
+ #
505
+ # - `accept_defective_only`
506
+ # - `accept_exchange`
507
+ # - `item_conditions`
508
+ # - `policy`
509
+ # - `process_refund_days`
510
+ # - `restocking_fee`
511
+ # - `return_methods`
512
+ # - `return_policy_uri`
513
+ # - `return_shipping_fee`
498
514
  #
499
515
  # @yield [response, operation] Access the result along with the RPC operation
500
516
  # @yieldparam response [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy]
@@ -561,7 +577,7 @@ module Google
561
577
  end
562
578
 
563
579
  ##
564
- # Deletes an existing return policy for a given merchant.
580
+ # Deletes an existing return policy.
565
581
  #
566
582
  # @overload delete_online_return_policy(request, options = nil)
567
583
  # Pass arguments to `delete_online_return_policy` via a request object, either of type
@@ -384,10 +384,10 @@ module Google
384
384
  # the default parameter values, pass an empty Hash as a request object (see above).
385
385
  #
386
386
  # @param parent [::String]
387
- # Required. The merchant account for which to create a return policy.
387
+ # Required. The merchant account for which the return policy will be created.
388
388
  # Format: `accounts/{account}`
389
389
  # @param online_return_policy [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy, ::Hash]
390
- # Required. The return policy to create.
390
+ # Required. The return policy object to create.
391
391
  # @yield [result, operation] Access the result along with the TransportOperation object
392
392
  # @yieldparam result [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy]
393
393
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -465,8 +465,24 @@ module Google
465
465
  # the default parameter values, pass an empty Hash as a request object (see above).
466
466
  #
467
467
  # @param online_return_policy [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy, ::Hash]
468
- # Required. The return policy to update.
468
+ # Required. The online return policy to update.
469
+ # The online return policy's `name` field is used to identify the
470
+ # online return policy to be updated.
469
471
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
472
+ # Optional. List of fields being updated.
473
+ #
474
+ # The following fields are supported (in both `snake_case` and
475
+ # `lowerCamelCase`):
476
+ #
477
+ # - `accept_defective_only`
478
+ # - `accept_exchange`
479
+ # - `item_conditions`
480
+ # - `policy`
481
+ # - `process_refund_days`
482
+ # - `restocking_fee`
483
+ # - `return_methods`
484
+ # - `return_policy_uri`
485
+ # - `return_shipping_fee`
470
486
  # @yield [result, operation] Access the result along with the TransportOperation object
471
487
  # @yieldparam result [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy]
472
488
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -526,7 +542,7 @@ module Google
526
542
  end
527
543
 
528
544
  ##
529
- # Deletes an existing return policy for a given merchant.
545
+ # Deletes an existing return policy.
530
546
  #
531
547
  # @overload delete_online_return_policy(request, options = nil)
532
548
  # Pass arguments to `delete_online_return_policy` via a request object, either of type
@@ -46,7 +46,7 @@ module Google
46
46
  rpc :CreateOnlineReturnPolicy, ::Google::Shopping::Merchant::Accounts::V1beta::CreateOnlineReturnPolicyRequest, ::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy
47
47
  # Updates an existing return policy for a given merchant.
48
48
  rpc :UpdateOnlineReturnPolicy, ::Google::Shopping::Merchant::Accounts::V1beta::UpdateOnlineReturnPolicyRequest, ::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy
49
- # Deletes an existing return policy for a given merchant.
49
+ # Deletes an existing return policy.
50
50
  rpc :DeleteOnlineReturnPolicy, ::Google::Shopping::Merchant::Accounts::V1beta::DeleteOnlineReturnPolicyRequest, ::Google::Protobuf::Empty
51
51
  end
52
52
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module Accounts
24
24
  module V1beta
25
- VERSION = "0.9.0"
25
+ VERSION = "0.10.0"
26
26
  end
27
27
  end
28
28
  end
@@ -32,52 +32,43 @@ module Google
32
32
  extend ::Google::Protobuf::MessageExts::ClassMethods
33
33
  end
34
34
 
35
- # Request message for the `ListOnlineReturnPolicies` method.
36
- # @!attribute [rw] parent
37
- # @return [::String]
38
- # Required. The merchant account for which to list return policies.
39
- # Format: `accounts/{account}`
40
- # @!attribute [rw] page_size
41
- # @return [::Integer]
42
- # Optional. The maximum number of `OnlineReturnPolicy` resources to return.
43
- # The service returns fewer than this value if the number of return policies
44
- # for the given merchant is less that than the `pageSize`. The default value
45
- # is 10. The maximum value is 100; If a value higher than the maximum is
46
- # specified, then the `pageSize` will default to the maximum
47
- # @!attribute [rw] page_token
48
- # @return [::String]
49
- # Optional. A page token, received from a previous `ListOnlineReturnPolicies`
50
- # call. Provide the page token to retrieve the subsequent page.
51
- #
52
- # When paginating, all other parameters provided to
53
- # `ListOnlineReturnPolicies` must match the call that provided the page
54
- # token. The token returned as
55
- # {::Google::Shopping::Merchant::Accounts::V1beta::ListOnlineReturnPoliciesResponse#next_page_token nextPageToken}
56
- # in the response to the previous request.
57
- class ListOnlineReturnPoliciesRequest
58
- include ::Google::Protobuf::MessageExts
59
- extend ::Google::Protobuf::MessageExts::ClassMethods
60
- end
61
-
62
35
  # Request message for the `CreateOnlineReturnPolicy` method.
63
36
  # @!attribute [rw] parent
64
37
  # @return [::String]
65
- # Required. The merchant account for which to create a return policy.
38
+ # Required. The merchant account for which the return policy will be created.
66
39
  # Format: `accounts/{account}`
67
40
  # @!attribute [rw] online_return_policy
68
41
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy]
69
- # Required. The return policy to create.
42
+ # Required. The return policy object to create.
70
43
  class CreateOnlineReturnPolicyRequest
71
44
  include ::Google::Protobuf::MessageExts
72
45
  extend ::Google::Protobuf::MessageExts::ClassMethods
73
46
  end
74
47
 
75
- # Request message for the `UpdateOnlineReturnPolicy` method.
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.
76
51
  # @!attribute [rw] online_return_policy
77
52
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy]
78
- # Required. The return policy to update.
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.
79
56
  # @!attribute [rw] update_mask
80
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`
81
72
  class UpdateOnlineReturnPolicyRequest
82
73
  include ::Google::Protobuf::MessageExts
83
74
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -93,6 +84,33 @@ module Google
93
84
  extend ::Google::Protobuf::MessageExts::ClassMethods
94
85
  end
95
86
 
87
+ # Request message for the `ListOnlineReturnPolicies` method.
88
+ # @!attribute [rw] parent
89
+ # @return [::String]
90
+ # Required. The merchant account for which to list return policies.
91
+ # Format: `accounts/{account}`
92
+ # @!attribute [rw] page_size
93
+ # @return [::Integer]
94
+ # Optional. The maximum number of `OnlineReturnPolicy` resources to return.
95
+ # The service returns fewer than this value if the number of return policies
96
+ # for the given merchant is less that than the `pageSize`. The default value
97
+ # is 10. The maximum value is 100; If a value higher than the maximum is
98
+ # specified, then the `pageSize` will default to the maximum
99
+ # @!attribute [rw] page_token
100
+ # @return [::String]
101
+ # Optional. A page token, received from a previous `ListOnlineReturnPolicies`
102
+ # call. Provide the page token to retrieve the subsequent page.
103
+ #
104
+ # When paginating, all other parameters provided to
105
+ # `ListOnlineReturnPolicies` must match the call that provided the page
106
+ # token. The token returned as
107
+ # {::Google::Shopping::Merchant::Accounts::V1beta::ListOnlineReturnPoliciesResponse#next_page_token nextPageToken}
108
+ # in the response to the previous request.
109
+ class ListOnlineReturnPoliciesRequest
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
+ end
113
+
96
114
  # Response message for the `ListOnlineReturnPolicies` method.
97
115
  # @!attribute [rw] online_return_policies
98
116
  # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicy>]
@@ -160,20 +178,20 @@ module Google
160
178
  # check for the policy. It must be a valid URL.
161
179
  # @!attribute [rw] accept_defective_only
162
180
  # @return [::Boolean]
163
- # This field specifies if merchant only accepts defective products for
164
- # returns, and this field is required.
181
+ # Optional. This field specifies if merchant
182
+ # only accepts defective products for returns.
165
183
  # @!attribute [rw] process_refund_days
166
184
  # @return [::Integer]
167
- # The field specifies the number of days it takes for merchants to process
168
- # refunds, field is optional.
185
+ # Optional. The field specifies the number of
186
+ # days it takes for merchants to process refunds.
169
187
  # @!attribute [rw] accept_exchange
170
188
  # @return [::Boolean]
171
- # This field specifies if merchant allows customers to exchange products,
172
- # this field is required.
189
+ # Optional. This field specifies if merchant
190
+ # allows customers to exchange products.
173
191
  # @!attribute [rw] return_label_source
174
192
  # @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.
193
+ # Optional. The field specifies the return
194
+ # label source.
177
195
  class OnlineReturnPolicy
178
196
  include ::Google::Protobuf::MessageExts
179
197
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -322,7 +322,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
322
322
  - !ruby/object:Gem::Version
323
323
  version: '0'
324
324
  requirements: []
325
- rubygems_version: 3.6.8
325
+ rubygems_version: 3.6.9
326
326
  specification_version: 4
327
327
  summary: Programmatically manage your Merchant Center Accounts.
328
328
  test_files: []