google-shopping-merchant-accounts-v1beta 0.4.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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/shopping/merchant/accounts/v1beta/account_issue_service/client.rb +7 -0
  4. data/lib/google/shopping/merchant/accounts/v1beta/account_issue_service/rest/client.rb +7 -0
  5. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_service/client.rb +7 -0
  6. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_service/rest/client.rb +7 -0
  7. data/lib/google/shopping/merchant/accounts/v1beta/accounts_service/client.rb +7 -0
  8. data/lib/google/shopping/merchant/accounts/v1beta/accounts_service/rest/client.rb +7 -0
  9. data/lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/client.rb +7 -0
  10. data/lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/rest/client.rb +7 -0
  11. data/lib/google/shopping/merchant/accounts/v1beta/business_identity_service/client.rb +7 -0
  12. data/lib/google/shopping/merchant/accounts/v1beta/business_identity_service/rest/client.rb +7 -0
  13. data/lib/google/shopping/merchant/accounts/v1beta/business_info_service/client.rb +7 -0
  14. data/lib/google/shopping/merchant/accounts/v1beta/business_info_service/rest/client.rb +7 -0
  15. data/lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/client.rb +7 -0
  16. data/lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/rest/client.rb +7 -0
  17. data/lib/google/shopping/merchant/accounts/v1beta/homepage_service/client.rb +7 -0
  18. data/lib/google/shopping/merchant/accounts/v1beta/homepage_service/rest/client.rb +7 -0
  19. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_pb.rb +4 -1
  20. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/client.rb +10 -3
  21. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/rest/client.rb +10 -3
  22. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_services_pb.rb +2 -2
  23. data/lib/google/shopping/merchant/accounts/v1beta/programs_service/client.rb +7 -0
  24. data/lib/google/shopping/merchant/accounts/v1beta/programs_service/rest/client.rb +7 -0
  25. data/lib/google/shopping/merchant/accounts/v1beta/regions_service/client.rb +7 -0
  26. data/lib/google/shopping/merchant/accounts/v1beta/regions_service/rest/client.rb +7 -0
  27. data/lib/google/shopping/merchant/accounts/v1beta/shipping_settings_service/client.rb +7 -0
  28. data/lib/google/shopping/merchant/accounts/v1beta/shipping_settings_service/rest/client.rb +7 -0
  29. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_agreement_state_service/client.rb +7 -0
  30. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_agreement_state_service/rest/client.rb +7 -0
  31. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/client.rb +7 -0
  32. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/rest/client.rb +7 -0
  33. data/lib/google/shopping/merchant/accounts/v1beta/user_service/client.rb +7 -0
  34. data/lib/google/shopping/merchant/accounts/v1beta/user_service/rest/client.rb +7 -0
  35. data/lib/google/shopping/merchant/accounts/v1beta/version.rb +1 -1
  36. data/proto_docs/google/api/client.rb +14 -0
  37. data/proto_docs/google/shopping/merchant/accounts/v1beta/online_return_policy.rb +47 -12
  38. data/proto_docs/google/shopping/merchant/accounts/v1beta/tax_rule.rb +8 -0
  39. data/proto_docs/google/type/datetime.rb +4 -0
  40. data/proto_docs/google/type/phone_number.rb +4 -0
  41. metadata +6 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6915e815f2e5bd835a5c3fdaa7bf35659bf51105b52d7792711f85c53def0eb5
4
- data.tar.gz: b770db28737f35e302053038b4a5a3b59b15f76ae4edeac8c5cb67a24214f9a1
3
+ metadata.gz: 2b2139c4da1bfe8624e4b1f6f7e6e397c84f8ec07257d63391d4bd9fbcdd20f6
4
+ data.tar.gz: 50d4bc9052db101c8f0bd3687e42ddd6d12004f1cdb8294bc54581bc93f5d739
5
5
  SHA512:
6
- metadata.gz: 9c41dde993a8233da09e8da48237e242d84ad3677d37030e779a73fcf2f2365414ec01a585078bb97d1729af2d9bbb6b0e700e2b7a03705e9f63d417f14f555f
7
- data.tar.gz: bb32b5d841f840958ba05cd83ca88ddf340643e0fc1c9fd90cef95211a46d17a33e457584dc92bff747ad30cf57f6978903f1a5a3d3f358ddc263b192e4c74ec
6
+ metadata.gz: a01dcd45c14fc3699b651218084f259617cbafc028d9ecdd15a8de0cebcc7c7eab397f8c191a473c6fd3dacc93015a30977a7547dac55d7980f35c570c0e2f4e
7
+ data.tar.gz: 3a4915c1032c12ea022ec3b5e82dd7f6fee947775f1efbbed4d9e07c9fd9421c306fce42db75dfd7491fbb26a5da29c0ad97a2c08fd3b092d61de45cdbbf51e7
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -344,6 +344,13 @@ module Google
344
344
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
345
345
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
346
346
  # * (`nil`) indicating no credentials
347
+ #
348
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
349
+ # external source for authentication to Google Cloud, you must validate it before
350
+ # providing it to a Google API client library. Providing an unvalidated credential
351
+ # configuration to Google APIs can compromise the security of your systems and data.
352
+ # For more information, refer to [Validate credential configurations from external
353
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
347
354
  # @return [::Object]
348
355
  # @!attribute [rw] scope
349
356
  # The OAuth scopes
@@ -328,6 +328,13 @@ module Google
328
328
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
329
329
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
330
330
  # * (`nil`) indicating no credentials
331
+ #
332
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
333
+ # external source for authentication to Google Cloud, you must validate it before
334
+ # providing it to a Google API client library. Providing an unvalidated credential
335
+ # configuration to Google APIs can compromise the security of your systems and data.
336
+ # For more information, refer to [Validate credential configurations from external
337
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
331
338
  # @return [::Object]
332
339
  # @!attribute [rw] scope
333
340
  # The OAuth scopes
@@ -509,6 +509,13 @@ module Google
509
509
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
510
510
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
511
511
  # * (`nil`) indicating no credentials
512
+ #
513
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
514
+ # external source for authentication to Google Cloud, you must validate it before
515
+ # providing it to a Google API client library. Providing an unvalidated credential
516
+ # configuration to Google APIs can compromise the security of your systems and data.
517
+ # For more information, refer to [Validate credential configurations from external
518
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
512
519
  # @return [::Object]
513
520
  # @!attribute [rw] scope
514
521
  # The OAuth scopes
@@ -479,6 +479,13 @@ module Google
479
479
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
480
480
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
481
481
  # * (`nil`) indicating no credentials
482
+ #
483
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
484
+ # external source for authentication to Google Cloud, you must validate it before
485
+ # providing it to a Google API client library. Providing an unvalidated credential
486
+ # configuration to Google APIs can compromise the security of your systems and data.
487
+ # For more information, refer to [Validate credential configurations from external
488
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
482
489
  # @return [::Object]
483
490
  # @!attribute [rw] scope
484
491
  # The OAuth scopes
@@ -800,6 +800,13 @@ module Google
800
800
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
801
801
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
802
802
  # * (`nil`) indicating no credentials
803
+ #
804
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
805
+ # external source for authentication to Google Cloud, you must validate it before
806
+ # providing it to a Google API client library. Providing an unvalidated credential
807
+ # configuration to Google APIs can compromise the security of your systems and data.
808
+ # For more information, refer to [Validate credential configurations from external
809
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
803
810
  # @return [::Object]
804
811
  # @!attribute [rw] scope
805
812
  # The OAuth scopes
@@ -765,6 +765,13 @@ module Google
765
765
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
766
766
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
767
767
  # * (`nil`) indicating no credentials
768
+ #
769
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
770
+ # external source for authentication to Google Cloud, you must validate it before
771
+ # providing it to a Google API client library. Providing an unvalidated credential
772
+ # configuration to Google APIs can compromise the security of your systems and data.
773
+ # For more information, refer to [Validate credential configurations from external
774
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
768
775
  # @return [::Object]
769
776
  # @!attribute [rw] scope
770
777
  # The OAuth scopes
@@ -407,6 +407,13 @@ module Google
407
407
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
408
408
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
409
409
  # * (`nil`) indicating no credentials
410
+ #
411
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
412
+ # external source for authentication to Google Cloud, you must validate it before
413
+ # providing it to a Google API client library. Providing an unvalidated credential
414
+ # configuration to Google APIs can compromise the security of your systems and data.
415
+ # For more information, refer to [Validate credential configurations from external
416
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
410
417
  # @return [::Object]
411
418
  # @!attribute [rw] scope
412
419
  # The OAuth scopes
@@ -384,6 +384,13 @@ module Google
384
384
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
385
385
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
386
386
  # * (`nil`) indicating no credentials
387
+ #
388
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
389
+ # external source for authentication to Google Cloud, you must validate it before
390
+ # providing it to a Google API client library. Providing an unvalidated credential
391
+ # configuration to Google APIs can compromise the security of your systems and data.
392
+ # For more information, refer to [Validate credential configurations from external
393
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
387
394
  # @return [::Object]
388
395
  # @!attribute [rw] scope
389
396
  # The OAuth scopes
@@ -408,6 +408,13 @@ module Google
408
408
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
409
409
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
410
410
  # * (`nil`) indicating no credentials
411
+ #
412
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
413
+ # external source for authentication to Google Cloud, you must validate it before
414
+ # providing it to a Google API client library. Providing an unvalidated credential
415
+ # configuration to Google APIs can compromise the security of your systems and data.
416
+ # For more information, refer to [Validate credential configurations from external
417
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
411
418
  # @return [::Object]
412
419
  # @!attribute [rw] scope
413
420
  # The OAuth scopes
@@ -385,6 +385,13 @@ module Google
385
385
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
386
386
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
387
387
  # * (`nil`) indicating no credentials
388
+ #
389
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
390
+ # external source for authentication to Google Cloud, you must validate it before
391
+ # providing it to a Google API client library. Providing an unvalidated credential
392
+ # configuration to Google APIs can compromise the security of your systems and data.
393
+ # For more information, refer to [Validate credential configurations from external
394
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
388
395
  # @return [::Object]
389
396
  # @!attribute [rw] scope
390
397
  # The OAuth scopes
@@ -407,6 +407,13 @@ module Google
407
407
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
408
408
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
409
409
  # * (`nil`) indicating no credentials
410
+ #
411
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
412
+ # external source for authentication to Google Cloud, you must validate it before
413
+ # providing it to a Google API client library. Providing an unvalidated credential
414
+ # configuration to Google APIs can compromise the security of your systems and data.
415
+ # For more information, refer to [Validate credential configurations from external
416
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
410
417
  # @return [::Object]
411
418
  # @!attribute [rw] scope
412
419
  # The OAuth scopes
@@ -384,6 +384,13 @@ module Google
384
384
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
385
385
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
386
386
  # * (`nil`) indicating no credentials
387
+ #
388
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
389
+ # external source for authentication to Google Cloud, you must validate it before
390
+ # providing it to a Google API client library. Providing an unvalidated credential
391
+ # configuration to Google APIs can compromise the security of your systems and data.
392
+ # For more information, refer to [Validate credential configurations from external
393
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
387
394
  # @return [::Object]
388
395
  # @!attribute [rw] scope
389
396
  # The OAuth scopes
@@ -422,6 +422,13 @@ module Google
422
422
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
423
423
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
424
424
  # * (`nil`) indicating no credentials
425
+ #
426
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
427
+ # external source for authentication to Google Cloud, you must validate it before
428
+ # providing it to a Google API client library. Providing an unvalidated credential
429
+ # configuration to Google APIs can compromise the security of your systems and data.
430
+ # For more information, refer to [Validate credential configurations from external
431
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
425
432
  # @return [::Object]
426
433
  # @!attribute [rw] scope
427
434
  # The OAuth scopes
@@ -399,6 +399,13 @@ module Google
399
399
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
400
400
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
401
401
  # * (`nil`) indicating no credentials
402
+ #
403
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
404
+ # external source for authentication to Google Cloud, you must validate it before
405
+ # providing it to a Google API client library. Providing an unvalidated credential
406
+ # configuration to Google APIs can compromise the security of your systems and data.
407
+ # For more information, refer to [Validate credential configurations from external
408
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
402
409
  # @return [::Object]
403
410
  # @!attribute [rw] scope
404
411
  # The OAuth scopes
@@ -591,6 +591,13 @@ module Google
591
591
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
592
592
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
593
593
  # * (`nil`) indicating no credentials
594
+ #
595
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
596
+ # external source for authentication to Google Cloud, you must validate it before
597
+ # providing it to a Google API client library. Providing an unvalidated credential
598
+ # configuration to Google APIs can compromise the security of your systems and data.
599
+ # For more information, refer to [Validate credential configurations from external
600
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
594
601
  # @return [::Object]
595
602
  # @!attribute [rw] scope
596
603
  # The OAuth scopes
@@ -554,6 +554,13 @@ module Google
554
554
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
555
555
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
556
556
  # * (`nil`) indicating no credentials
557
+ #
558
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
559
+ # external source for authentication to Google Cloud, you must validate it before
560
+ # providing it to a Google API client library. Providing an unvalidated credential
561
+ # configuration to Google APIs can compromise the security of your systems and data.
562
+ # For more information, refer to [Validate credential configurations from external
563
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
557
564
  # @return [::Object]
558
565
  # @!attribute [rw] scope
559
566
  # The OAuth scopes
@@ -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.
@@ -430,6 +430,13 @@ module Google
430
430
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
431
431
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
432
432
  # * (`nil`) indicating no credentials
433
+ #
434
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
435
+ # external source for authentication to Google Cloud, you must validate it before
436
+ # providing it to a Google API client library. Providing an unvalidated credential
437
+ # configuration to Google APIs can compromise the security of your systems and data.
438
+ # For more information, refer to [Validate credential configurations from external
439
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
433
440
  # @return [::Object]
434
441
  # @!attribute [rw] scope
435
442
  # The OAuth scopes
@@ -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.
@@ -407,6 +407,13 @@ module Google
407
407
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
408
408
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
409
409
  # * (`nil`) indicating no credentials
410
+ #
411
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
412
+ # external source for authentication to Google Cloud, you must validate it before
413
+ # providing it to a Google API client library. Providing an unvalidated credential
414
+ # configuration to Google APIs can compromise the security of your systems and data.
415
+ # For more information, refer to [Validate credential configurations from external
416
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
410
417
  # @return [::Object]
411
418
  # @!attribute [rw] scope
412
419
  # The OAuth scopes
@@ -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
 
@@ -602,6 +602,13 @@ module Google
602
602
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
603
603
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
604
604
  # * (`nil`) indicating no credentials
605
+ #
606
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
607
+ # external source for authentication to Google Cloud, you must validate it before
608
+ # providing it to a Google API client library. Providing an unvalidated credential
609
+ # configuration to Google APIs can compromise the security of your systems and data.
610
+ # For more information, refer to [Validate credential configurations from external
611
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
605
612
  # @return [::Object]
606
613
  # @!attribute [rw] scope
607
614
  # The OAuth scopes
@@ -565,6 +565,13 @@ module Google
565
565
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
566
566
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
567
567
  # * (`nil`) indicating no credentials
568
+ #
569
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
570
+ # external source for authentication to Google Cloud, you must validate it before
571
+ # providing it to a Google API client library. Providing an unvalidated credential
572
+ # configuration to Google APIs can compromise the security of your systems and data.
573
+ # For more information, refer to [Validate credential configurations from external
574
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
568
575
  # @return [::Object]
569
576
  # @!attribute [rw] scope
570
577
  # The OAuth scopes
@@ -695,6 +695,13 @@ module Google
695
695
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
696
696
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
697
697
  # * (`nil`) indicating no credentials
698
+ #
699
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
700
+ # external source for authentication to Google Cloud, you must validate it before
701
+ # providing it to a Google API client library. Providing an unvalidated credential
702
+ # configuration to Google APIs can compromise the security of your systems and data.
703
+ # For more information, refer to [Validate credential configurations from external
704
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
698
705
  # @return [::Object]
699
706
  # @!attribute [rw] scope
700
707
  # The OAuth scopes
@@ -651,6 +651,13 @@ module Google
651
651
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
652
652
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
653
653
  # * (`nil`) indicating no credentials
654
+ #
655
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
656
+ # external source for authentication to Google Cloud, you must validate it before
657
+ # providing it to a Google API client library. Providing an unvalidated credential
658
+ # configuration to Google APIs can compromise the security of your systems and data.
659
+ # For more information, refer to [Validate credential configurations from external
660
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
654
661
  # @return [::Object]
655
662
  # @!attribute [rw] scope
656
663
  # The OAuth scopes
@@ -404,6 +404,13 @@ module Google
404
404
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
405
405
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
406
406
  # * (`nil`) indicating no credentials
407
+ #
408
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
409
+ # external source for authentication to Google Cloud, you must validate it before
410
+ # providing it to a Google API client library. Providing an unvalidated credential
411
+ # configuration to Google APIs can compromise the security of your systems and data.
412
+ # For more information, refer to [Validate credential configurations from external
413
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
407
414
  # @return [::Object]
408
415
  # @!attribute [rw] scope
409
416
  # The OAuth scopes
@@ -381,6 +381,13 @@ module Google
381
381
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
382
382
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
383
383
  # * (`nil`) indicating no credentials
384
+ #
385
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
386
+ # external source for authentication to Google Cloud, you must validate it before
387
+ # providing it to a Google API client library. Providing an unvalidated credential
388
+ # configuration to Google APIs can compromise the security of your systems and data.
389
+ # For more information, refer to [Validate credential configurations from external
390
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
384
391
  # @return [::Object]
385
392
  # @!attribute [rw] scope
386
393
  # The OAuth scopes
@@ -406,6 +406,13 @@ module Google
406
406
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
407
407
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
408
408
  # * (`nil`) indicating no credentials
409
+ #
410
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
411
+ # external source for authentication to Google Cloud, you must validate it before
412
+ # providing it to a Google API client library. Providing an unvalidated credential
413
+ # configuration to Google APIs can compromise the security of your systems and data.
414
+ # For more information, refer to [Validate credential configurations from external
415
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
409
416
  # @return [::Object]
410
417
  # @!attribute [rw] scope
411
418
  # The OAuth scopes
@@ -383,6 +383,13 @@ module Google
383
383
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
384
384
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
385
385
  # * (`nil`) indicating no credentials
386
+ #
387
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
388
+ # external source for authentication to Google Cloud, you must validate it before
389
+ # providing it to a Google API client library. Providing an unvalidated credential
390
+ # configuration to Google APIs can compromise the security of your systems and data.
391
+ # For more information, refer to [Validate credential configurations from external
392
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
386
393
  # @return [::Object]
387
394
  # @!attribute [rw] scope
388
395
  # The OAuth scopes
@@ -493,6 +493,13 @@ module Google
493
493
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
494
494
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
495
495
  # * (`nil`) indicating no credentials
496
+ #
497
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
498
+ # external source for authentication to Google Cloud, you must validate it before
499
+ # providing it to a Google API client library. Providing an unvalidated credential
500
+ # configuration to Google APIs can compromise the security of your systems and data.
501
+ # For more information, refer to [Validate credential configurations from external
502
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
496
503
  # @return [::Object]
497
504
  # @!attribute [rw] scope
498
505
  # The OAuth scopes
@@ -471,6 +471,13 @@ module Google
471
471
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
472
472
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
473
473
  # * (`nil`) indicating no credentials
474
+ #
475
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
476
+ # external source for authentication to Google Cloud, you must validate it before
477
+ # providing it to a Google API client library. Providing an unvalidated credential
478
+ # configuration to Google APIs can compromise the security of your systems and data.
479
+ # For more information, refer to [Validate credential configurations from external
480
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
474
481
  # @return [::Object]
475
482
  # @!attribute [rw] scope
476
483
  # The OAuth scopes
@@ -698,6 +698,13 @@ module Google
698
698
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
699
699
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
700
700
  # * (`nil`) indicating no credentials
701
+ #
702
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
703
+ # external source for authentication to Google Cloud, you must validate it before
704
+ # providing it to a Google API client library. Providing an unvalidated credential
705
+ # configuration to Google APIs can compromise the security of your systems and data.
706
+ # For more information, refer to [Validate credential configurations from external
707
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
701
708
  # @return [::Object]
702
709
  # @!attribute [rw] scope
703
710
  # The OAuth scopes
@@ -654,6 +654,13 @@ module Google
654
654
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
655
655
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
656
656
  # * (`nil`) indicating no credentials
657
+ #
658
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
659
+ # external source for authentication to Google Cloud, you must validate it before
660
+ # providing it to a Google API client library. Providing an unvalidated credential
661
+ # configuration to Google APIs can compromise the security of your systems and data.
662
+ # For more information, refer to [Validate credential configurations from external
663
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
657
664
  # @return [::Object]
658
665
  # @!attribute [rw] scope
659
666
  # The OAuth scopes
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module Accounts
24
24
  module V1beta
25
- VERSION = "0.4.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
@@ -166,10 +170,14 @@ module Google
166
170
  # @!attribute [rw] fixed_fee
167
171
  # @return [::Google::Shopping::Type::Price]
168
172
  # Fixed restocking fee.
173
+ #
174
+ # Note: The following fields are mutually exclusive: `fixed_fee`, `micro_percent`. If a field in that set is populated, all other fields in the set will automatically be cleared.
169
175
  # @!attribute [rw] micro_percent
170
176
  # @return [::Integer]
171
177
  # Percent of total price in micros. 15,000,000 means 15% of the total
172
178
  # price would be charged.
179
+ #
180
+ # Note: The following fields are mutually exclusive: `micro_percent`, `fixed_fee`. If a field in that set is populated, all other fields in the set will automatically be cleared.
173
181
  class RestockingFee
174
182
  include ::Google::Protobuf::MessageExts
175
183
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -204,6 +212,33 @@ module Google
204
212
  end
205
213
  end
206
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
+
207
242
  # The available return methods.
208
243
  module ReturnMethod
209
244
  # Default value. This value is unused.
@@ -38,18 +38,26 @@ module Google
38
38
  # @return [::Integer]
39
39
  # The admin_id or criteria_id of the region in which this rule is
40
40
  # applicable.
41
+ #
42
+ # Note: The following fields are mutually exclusive: `location_id`, `post_code_range`. If a field in that set is populated, all other fields in the set will automatically be cleared.
41
43
  # @!attribute [rw] post_code_range
42
44
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::TaxRule::TaxPostalCodeRange]
43
45
  # The range of postal codes in which this rule is applicable.
46
+ #
47
+ # Note: The following fields are mutually exclusive: `post_code_range`, `location_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
44
48
  # @!attribute [rw] use_google_rate
45
49
  # @return [::Boolean]
46
50
  # Rate that depends on delivery location: if merchant has a nexus in
47
51
  # corresponding US state, rates from authorities with jurisdiction over
48
52
  # delivery area are added up.
53
+ #
54
+ # Note: The following fields are mutually exclusive: `use_google_rate`, `self_specified_rate_micros`. If a field in that set is populated, all other fields in the set will automatically be cleared.
49
55
  # @!attribute [rw] self_specified_rate_micros
50
56
  # @return [::Integer]
51
57
  # A fixed rate specified in micros, where 100% = 1_000_000.
52
58
  # Suitable for origin-based states.
59
+ #
60
+ # Note: The following fields are mutually exclusive: `self_specified_rate_micros`, `use_google_rate`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
61
  # @!attribute [rw] region_code
54
62
  # @return [::String]
55
63
  # Region code in which this rule is applicable
@@ -75,9 +75,13 @@ module Google
75
75
  # UTC offset. Must be whole seconds, between -18 hours and +18 hours.
76
76
  # For example, a UTC offset of -4:00 would be represented as
77
77
  # { seconds: -14400 }.
78
+ #
79
+ # Note: The following fields are mutually exclusive: `utc_offset`, `time_zone`. If a field in that set is populated, all other fields in the set will automatically be cleared.
78
80
  # @!attribute [rw] time_zone
79
81
  # @return [::Google::Type::TimeZone]
80
82
  # Time zone.
83
+ #
84
+ # Note: The following fields are mutually exclusive: `time_zone`, `utc_offset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
81
85
  class DateTime
82
86
  include ::Google::Protobuf::MessageExts
83
87
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -62,12 +62,16 @@ module Google
62
62
  # - https://www.itu.int/rec/T-REC-E.164-201011-I
63
63
  # - https://en.wikipedia.org/wiki/E.164.
64
64
  # - https://en.wikipedia.org/wiki/List_of_country_calling_codes
65
+ #
66
+ # Note: The following fields are mutually exclusive: `e164_number`, `short_code`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
67
  # @!attribute [rw] short_code
66
68
  # @return [::Google::Type::PhoneNumber::ShortCode]
67
69
  # A short code.
68
70
  #
69
71
  # Reference(s):
70
72
  # - https://en.wikipedia.org/wiki/Short_code
73
+ #
74
+ # Note: The following fields are mutually exclusive: `short_code`, `e164_number`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
75
  # @!attribute [rw] extension
72
76
  # @return [::String]
73
77
  # The phone number's extension. The extension is not standardized in ITU
metadata CHANGED
@@ -1,14 +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.4.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-03-06 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -275,7 +274,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
275
274
  licenses:
276
275
  - Apache-2.0
277
276
  metadata: {}
278
- post_install_message:
279
277
  rdoc_options: []
280
278
  require_paths:
281
279
  - lib
@@ -283,15 +281,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
283
281
  requirements:
284
282
  - - ">="
285
283
  - !ruby/object:Gem::Version
286
- version: '2.7'
284
+ version: '3.0'
287
285
  required_rubygems_version: !ruby/object:Gem::Requirement
288
286
  requirements:
289
287
  - - ">="
290
288
  - !ruby/object:Gem::Version
291
289
  version: '0'
292
290
  requirements: []
293
- rubygems_version: 3.5.23
294
- signing_key:
291
+ rubygems_version: 3.6.5
295
292
  specification_version: 4
296
293
  summary: Programmatically manage your Merchant Center Accounts.
297
294
  test_files: []