google-shopping-merchant-accounts-v1 0.3.0 → 0.3.2

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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/shopping/merchant/accounts/v1/account_issue_service/client.rb +20 -3
  3. data/lib/google/shopping/merchant/accounts/v1/account_relationships_service/client.rb +20 -3
  4. data/lib/google/shopping/merchant/accounts/v1/account_services_service/client.rb +20 -3
  5. data/lib/google/shopping/merchant/accounts/v1/accounts_pb.rb +4 -1
  6. data/lib/google/shopping/merchant/accounts/v1/accounts_service/client.rb +32 -8
  7. data/lib/google/shopping/merchant/accounts/v1/accounts_service/rest/client.rb +12 -5
  8. data/lib/google/shopping/merchant/accounts/v1/accounts_services_pb.rb +7 -4
  9. data/lib/google/shopping/merchant/accounts/v1/accountservices_pb.rb +2 -1
  10. data/lib/google/shopping/merchant/accounts/v1/autofeed_settings_service/client.rb +20 -3
  11. data/lib/google/shopping/merchant/accounts/v1/automatic_improvements_service/client.rb +20 -3
  12. data/lib/google/shopping/merchant/accounts/v1/business_identity_service/client.rb +20 -3
  13. data/lib/google/shopping/merchant/accounts/v1/business_info_service/client.rb +20 -3
  14. data/lib/google/shopping/merchant/accounts/v1/checkout_settings_service/client.rb +20 -3
  15. data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/client.rb +99 -4
  16. data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/rest/client.rb +80 -1
  17. data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/rest/service_stub.rb +59 -0
  18. data/lib/google/shopping/merchant/accounts/v1/developerregistration_pb.rb +2 -1
  19. data/lib/google/shopping/merchant/accounts/v1/developerregistration_services_pb.rb +2 -0
  20. data/lib/google/shopping/merchant/accounts/v1/email_preferences_service/client.rb +20 -3
  21. data/lib/google/shopping/merchant/accounts/v1/gbp_accounts_service/client.rb +20 -3
  22. data/lib/google/shopping/merchant/accounts/v1/homepage_service/client.rb +20 -3
  23. data/lib/google/shopping/merchant/accounts/v1/lfp_providers_service/client.rb +20 -3
  24. data/lib/google/shopping/merchant/accounts/v1/omnichannel_settings_service/client.rb +20 -3
  25. data/lib/google/shopping/merchant/accounts/v1/online_return_policy_service/client.rb +20 -3
  26. data/lib/google/shopping/merchant/accounts/v1/programs_service/client.rb +20 -3
  27. data/lib/google/shopping/merchant/accounts/v1/regions_service/client.rb +20 -3
  28. data/lib/google/shopping/merchant/accounts/v1/shipping_settings_service/client.rb +20 -3
  29. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_agreement_state_service/client.rb +20 -3
  30. data/lib/google/shopping/merchant/accounts/v1/terms_of_service_service/client.rb +20 -3
  31. data/lib/google/shopping/merchant/accounts/v1/user_pb.rb +2 -1
  32. data/lib/google/shopping/merchant/accounts/v1/user_service/client.rb +114 -3
  33. data/lib/google/shopping/merchant/accounts/v1/user_service/rest/client.rb +87 -0
  34. data/lib/google/shopping/merchant/accounts/v1/user_service/rest/service_stub.rb +62 -0
  35. data/lib/google/shopping/merchant/accounts/v1/user_services_pb.rb +3 -0
  36. data/lib/google/shopping/merchant/accounts/v1/verificationmailsettings_pb.rb +47 -0
  37. data/lib/google/shopping/merchant/accounts/v1/version.rb +1 -1
  38. data/proto_docs/google/shopping/merchant/accounts/v1/accessright.rb +4 -2
  39. data/proto_docs/google/shopping/merchant/accounts/v1/accounts.rb +72 -0
  40. data/proto_docs/google/shopping/merchant/accounts/v1/accountservices.rb +18 -5
  41. data/proto_docs/google/shopping/merchant/accounts/v1/developerregistration.rb +12 -1
  42. data/proto_docs/google/shopping/merchant/accounts/v1/programs.rb +1 -0
  43. data/proto_docs/google/shopping/merchant/accounts/v1/user.rb +14 -2
  44. data/proto_docs/google/shopping/merchant/accounts/v1/verificationmailsettings.rb +53 -0
  45. metadata +3 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74744a7cda08094e16ab6f8182767b2dac2e985098a6f70eb9b71745a0455577
4
- data.tar.gz: 74be83187de36292717de5f930d48abb0506ed3fd38d0431e483857e659ff626
3
+ metadata.gz: d331420fb4e6be12d22966e2d9d1fdac7a7e306cdab2d779be77ab943de0c183
4
+ data.tar.gz: 87e71f2775f94c3031d35939dfc9a765d0344421b2deef0356c95f4cf4f968c1
5
5
  SHA512:
6
- metadata.gz: b177d5fcc81bcbd71fe7e80f44bc9c7b3fb0f3318c20a49f2ab1587a75b8f1e2a16fc014033bcd3dfcf654ca4e6d04679669715d2afcea2a278a8c49f6c46e95
7
- data.tar.gz: 8c101b3d8b450ed780db8dbcb32375d9c7213768133c46c083dd0cbbb93ebe60d9518809294f2c64047975caab6e7bbfb6244e78f8042408117188e712bf44f6
6
+ metadata.gz: cd0a3a1572d09bc4ce1a94d19747a040837eb1d103de76664bcf27fbe9679450248f494847c8203c918d6817fba707f2abbbfc317f5ec6dd238010a966502682
7
+ data.tar.gz: b6d9e8c8be0cbec17b0c43d1bca0bb989069d3dc4e81dd5629d7317f10cb8095f630b84124e96d881c44c6057b14a7bb69787d1642213c09fd9c4e1a699b439b
@@ -342,8 +342,6 @@ module Google
342
342
  # @return [::String,nil]
343
343
  # @!attribute [rw] credentials
344
344
  # Credentials to send with calls. You may provide any of the following types:
345
- # * (`String`) The path to a service account key file in JSON format
346
- # * (`Hash`) A service account key as a Hash
347
345
  # * (`Google::Auth::Credentials`) A googleauth credentials object
348
346
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
349
347
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -352,7 +350,26 @@ module Google
352
350
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
353
351
  # * (`nil`) indicating no credentials
354
352
  #
355
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
353
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
354
+ # is deprecated. Providing an unvalidated credential configuration to
355
+ # Google APIs can compromise the security of your systems and data.
356
+ #
357
+ # @example
358
+ #
359
+ # # The recommended way to provide credentials is to use the `make_creds` method
360
+ # # on the appropriate credentials class for your environment.
361
+ #
362
+ # require "googleauth"
363
+ #
364
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
365
+ # json_key_io: ::File.open("/path/to/keyfile.json")
366
+ # )
367
+ #
368
+ # client = ::Google::Shopping::Merchant::Accounts::V1::AccountIssueService::Client.new do |config|
369
+ # config.credentials = credentials
370
+ # end
371
+ #
372
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
356
373
  # external source for authentication to Google Cloud, you must validate it before
357
374
  # providing it to a Google API client library. Providing an unvalidated credential
358
375
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -502,8 +502,6 @@ module Google
502
502
  # @return [::String,nil]
503
503
  # @!attribute [rw] credentials
504
504
  # Credentials to send with calls. You may provide any of the following types:
505
- # * (`String`) The path to a service account key file in JSON format
506
- # * (`Hash`) A service account key as a Hash
507
505
  # * (`Google::Auth::Credentials`) A googleauth credentials object
508
506
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
509
507
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -512,7 +510,26 @@ module Google
512
510
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
513
511
  # * (`nil`) indicating no credentials
514
512
  #
515
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
513
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
514
+ # is deprecated. Providing an unvalidated credential configuration to
515
+ # Google APIs can compromise the security of your systems and data.
516
+ #
517
+ # @example
518
+ #
519
+ # # The recommended way to provide credentials is to use the `make_creds` method
520
+ # # on the appropriate credentials class for your environment.
521
+ #
522
+ # require "googleauth"
523
+ #
524
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
525
+ # json_key_io: ::File.open("/path/to/keyfile.json")
526
+ # )
527
+ #
528
+ # client = ::Google::Shopping::Merchant::Accounts::V1::AccountRelationshipsService::Client.new do |config|
529
+ # config.credentials = credentials
530
+ # end
531
+ #
532
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
516
533
  # external source for authentication to Google Cloud, you must validate it before
517
534
  # providing it to a Google API client library. Providing an unvalidated credential
518
535
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -673,8 +673,6 @@ module Google
673
673
  # @return [::String,nil]
674
674
  # @!attribute [rw] credentials
675
675
  # Credentials to send with calls. You may provide any of the following types:
676
- # * (`String`) The path to a service account key file in JSON format
677
- # * (`Hash`) A service account key as a Hash
678
676
  # * (`Google::Auth::Credentials`) A googleauth credentials object
679
677
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
680
678
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -683,7 +681,26 @@ module Google
683
681
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
684
682
  # * (`nil`) indicating no credentials
685
683
  #
686
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
684
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
685
+ # is deprecated. Providing an unvalidated credential configuration to
686
+ # Google APIs can compromise the security of your systems and data.
687
+ #
688
+ # @example
689
+ #
690
+ # # The recommended way to provide credentials is to use the `make_creds` method
691
+ # # on the appropriate credentials class for your environment.
692
+ #
693
+ # require "googleauth"
694
+ #
695
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
696
+ # json_key_io: ::File.open("/path/to/keyfile.json")
697
+ # )
698
+ #
699
+ # client = ::Google::Shopping::Merchant::Accounts::V1::AccountServicesService::Client.new do |config|
700
+ # config.credentials = credentials
701
+ # end
702
+ #
703
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
687
704
  # external source for authentication to Google Cloud, you must validate it before
688
705
  # providing it to a Google API client library. Providing an unvalidated credential
689
706
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -12,10 +12,11 @@ require 'google/protobuf/empty_pb'
12
12
  require 'google/protobuf/field_mask_pb'
13
13
  require 'google/shopping/merchant/accounts/v1/accountservices_pb'
14
14
  require 'google/shopping/merchant/accounts/v1/user_pb'
15
+ require 'google/shopping/merchant/accounts/v1/verificationmailsettings_pb'
15
16
  require 'google/type/datetime_pb'
16
17
 
17
18
 
18
- descriptor_data = "\n3google/shopping/merchant/accounts/v1/accounts.proto\x12$google.shopping.merchant.accounts.v1\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/merchant/accounts/v1/accountservices.proto\x1a/google/shopping/merchant/accounts/v1/user.proto\x1a\x1agoogle/type/datetime.proto\"\xb9\x02\n\x07\x41\x63\x63ount\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x17\n\naccount_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x61\x63\x63ount_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\radult_content\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x19\n\x0ctest_account\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12-\n\ttime_zone\x18\x06 \x01(\x0b\x32\x15.google.type.TimeZoneB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x07 \x01(\tB\x03\xe0\x41\x02:N\xea\x41K\n\"merchantapi.googleapis.com/Account\x12\x12\x61\x63\x63ounts/{account}*\x08\x61\x63\x63ounts2\x07\x61\x63\x63ountB\x10\n\x0e_adult_content\"M\n\x11GetAccountRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\"\xc2\x04\n CreateAndConfigureAccountRequest\x12\x43\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32-.google.shopping.merchant.accounts.v1.AccountB\x03\xe0\x41\x02\x12\x61\n\x04user\x18\x03 \x03(\x0b\x32N.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUserB\x03\xe0\x41\x01\x12n\n\x07service\x18\x04 \x03(\x0b\x32X.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountServiceB\x03\xe0\x41\x02\x1a^\n\x07\x41\x64\x64User\x12\x14\n\x07user_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12=\n\x04user\x18\x02 \x01(\x0b\x32*.google.shopping.merchant.accounts.v1.UserB\x03\xe0\x41\x01\x1a\xa5\x01\n\x11\x41\x64\x64\x41\x63\x63ountService\x12W\n\x13\x61\x63\x63ount_aggregation\x18g \x01(\x0b\x32\x38.google.shopping.merchant.accounts.v1.AccountAggregationH\x00\x12\x1a\n\x08provider\x18\x01 \x01(\tB\x03\xe0\x41\x02H\x01\x88\x01\x01\x42\x0e\n\x0cservice_typeB\x0b\n\t_provider\"d\n\x14\x44\x65leteAccountRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x91\x01\n\x14UpdateAccountRequest\x12\x43\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32-.google.shopping.merchant.accounts.v1.AccountB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"[\n\x13ListAccountsRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"p\n\x14ListAccountsResponse\x12?\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32-.google.shopping.merchant.accounts.v1.Account\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x87\x01\n\x16ListSubAccountsRequest\x12<\n\x08provider\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\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\"s\n\x17ListSubAccountsResponse\x12?\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32-.google.shopping.merchant.accounts.v1.Account\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xaa\t\n\x0f\x41\x63\x63ountsService\x12\xa3\x01\n\nGetAccount\x12\x37.google.shopping.merchant.accounts.v1.GetAccountRequest\x1a-.google.shopping.merchant.accounts.v1.Account\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/accounts/v1/{name=accounts/*}\x12\xc7\x01\n\x19\x43reateAndConfigureAccount\x12\x46.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest\x1a-.google.shopping.merchant.accounts.v1.Account\"3\x82\xd3\xe4\x93\x02-\"(/accounts/v1/accounts:createAndConfigure:\x01*\x12\x92\x01\n\rDeleteAccount\x12:.google.shopping.merchant.accounts.v1.DeleteAccountRequest\x1a\x16.google.protobuf.Empty\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 *\x1e/accounts/v1/{name=accounts/*}\x12\xc9\x01\n\rUpdateAccount\x12:.google.shopping.merchant.accounts.v1.UpdateAccountRequest\x1a-.google.shopping.merchant.accounts.v1.Account\"M\xda\x41\x13\x61\x63\x63ount,update_mask\x82\xd3\xe4\x93\x02\x31\x32&/accounts/v1/{account.name=accounts/*}:\x07\x61\x63\x63ount\x12\xa4\x01\n\x0cListAccounts\x12\x39.google.shopping.merchant.accounts.v1.ListAccountsRequest\x1a:.google.shopping.merchant.accounts.v1.ListAccountsResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/accounts/v1/accounts\x12\xd5\x01\n\x0fListSubAccounts\x12<.google.shopping.merchant.accounts.v1.ListSubAccountsRequest\x1a=.google.shopping.merchant.accounts.v1.ListSubAccountsResponse\"E\xda\x41\x08provider\x82\xd3\xe4\x93\x02\x34\x12\x32/accounts/v1/{provider=accounts/*}:listSubaccounts\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\x80\x02\n(com.google.shopping.merchant.accounts.v1B\rAccountsProtoP\x01ZJcloud.google.com/go/shopping/merchant/accounts/apiv1/accountspb;accountspb\xaa\x02$Google.Shopping.Merchant.Accounts.V1\xca\x02$Google\\Shopping\\Merchant\\Accounts\\V1\xea\x02(Google::Shopping::Merchant::Accounts::V1b\x06proto3"
19
+ descriptor_data = "\n3google/shopping/merchant/accounts/v1/accounts.proto\x12$google.shopping.merchant.accounts.v1\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/merchant/accounts/v1/accountservices.proto\x1a/google/shopping/merchant/accounts/v1/user.proto\x1a\x43google/shopping/merchant/accounts/v1/verificationmailsettings.proto\x1a\x1agoogle/type/datetime.proto\"\xb9\x02\n\x07\x41\x63\x63ount\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x17\n\naccount_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x61\x63\x63ount_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\radult_content\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x19\n\x0ctest_account\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12-\n\ttime_zone\x18\x06 \x01(\x0b\x32\x15.google.type.TimeZoneB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x07 \x01(\tB\x03\xe0\x41\x02:N\xea\x41K\n\"merchantapi.googleapis.com/Account\x12\x12\x61\x63\x63ounts/{account}*\x08\x61\x63\x63ounts2\x07\x61\x63\x63ountB\x10\n\x0e_adult_content\"M\n\x11GetAccountRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\"\xfb\t\n CreateAndConfigureAccountRequest\x12\x43\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32-.google.shopping.merchant.accounts.v1.AccountB\x03\xe0\x41\x02\x12\x61\n\x04user\x18\x03 \x03(\x0b\x32N.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUserB\x03\xe0\x41\x01\x12n\n\x07service\x18\x04 \x03(\x0b\x32X.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountServiceB\x03\xe0\x41\x02\x12v\n\tset_alias\x18\x05 \x03(\x0b\x32^.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationshipB\x03\xe0\x41\x01\x1a\xc7\x01\n\x07\x41\x64\x64User\x12\x14\n\x07user_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12=\n\x04user\x18\x02 \x01(\x0b\x32*.google.shopping.merchant.accounts.v1.UserB\x03\xe0\x41\x01\x12g\n\x1averification_mail_settings\x18\x03 \x01(\x0b\x32>.google.shopping.merchant.accounts.v1.VerificationMailSettingsB\x03\xe0\x41\x01\x1a\xab\x04\n\x11\x41\x64\x64\x41\x63\x63ountService\x12W\n\x13\x61\x63\x63ount_aggregation\x18g \x01(\x0b\x32\x38.google.shopping.merchant.accounts.v1.AccountAggregationH\x00\x12U\n\x12\x61\x63\x63ount_management\x18h \x01(\x0b\x32\x37.google.shopping.merchant.accounts.v1.AccountManagementH\x00\x12W\n\x13\x63omparison_shopping\x18i \x01(\x0b\x32\x38.google.shopping.merchant.accounts.v1.ComparisonShoppingH\x00\x12W\n\x13products_management\x18j \x01(\x0b\x32\x38.google.shopping.merchant.accounts.v1.ProductsManagementH\x00\x12Y\n\x14\x63\x61mpaigns_management\x18k \x01(\x0b\x32\x39.google.shopping.merchant.accounts.v1.CampaignsManagementH\x00\x12\x1a\n\x08provider\x18\x01 \x01(\tB\x03\xe0\x41\x02H\x01\x88\x01\x01\x12 \n\x13\x65xternal_account_id\x18\x03 \x01(\tB\x03\xe0\x41\x05\x42\x0e\n\x0cservice_typeB\x0b\n\t_provider\x1aO\n\x17SetAliasForRelationship\x12\x15\n\x08provider\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1d\n\x10\x61\x63\x63ount_id_alias\x18\x02 \x01(\tB\x03\xe0\x41\x02\"d\n\x14\x44\x65leteAccountRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x91\x01\n\x14UpdateAccountRequest\x12\x43\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32-.google.shopping.merchant.accounts.v1.AccountB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"[\n\x13ListAccountsRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"p\n\x14ListAccountsResponse\x12?\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32-.google.shopping.merchant.accounts.v1.Account\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x87\x01\n\x16ListSubAccountsRequest\x12<\n\x08provider\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\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\"s\n\x17ListSubAccountsResponse\x12?\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32-.google.shopping.merchant.accounts.v1.Account\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xaa\t\n\x0f\x41\x63\x63ountsService\x12\xa3\x01\n\nGetAccount\x12\x37.google.shopping.merchant.accounts.v1.GetAccountRequest\x1a-.google.shopping.merchant.accounts.v1.Account\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/accounts/v1/{name=accounts/*}\x12\xc7\x01\n\x19\x43reateAndConfigureAccount\x12\x46.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest\x1a-.google.shopping.merchant.accounts.v1.Account\"3\x82\xd3\xe4\x93\x02-\"(/accounts/v1/accounts:createAndConfigure:\x01*\x12\x92\x01\n\rDeleteAccount\x12:.google.shopping.merchant.accounts.v1.DeleteAccountRequest\x1a\x16.google.protobuf.Empty\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 *\x1e/accounts/v1/{name=accounts/*}\x12\xc9\x01\n\rUpdateAccount\x12:.google.shopping.merchant.accounts.v1.UpdateAccountRequest\x1a-.google.shopping.merchant.accounts.v1.Account\"M\xda\x41\x13\x61\x63\x63ount,update_mask\x82\xd3\xe4\x93\x02\x31\x32&/accounts/v1/{account.name=accounts/*}:\x07\x61\x63\x63ount\x12\xa4\x01\n\x0cListAccounts\x12\x39.google.shopping.merchant.accounts.v1.ListAccountsRequest\x1a:.google.shopping.merchant.accounts.v1.ListAccountsResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/accounts/v1/accounts\x12\xd5\x01\n\x0fListSubAccounts\x12<.google.shopping.merchant.accounts.v1.ListSubAccountsRequest\x1a=.google.shopping.merchant.accounts.v1.ListSubAccountsResponse\"E\xda\x41\x08provider\x82\xd3\xe4\x93\x02\x34\x12\x32/accounts/v1/{provider=accounts/*}:listSubaccounts\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\x80\x02\n(com.google.shopping.merchant.accounts.v1B\rAccountsProtoP\x01ZJcloud.google.com/go/shopping/merchant/accounts/apiv1/accountspb;accountspb\xaa\x02$Google.Shopping.Merchant.Accounts.V1\xca\x02$Google\\Shopping\\Merchant\\Accounts\\V1\xea\x02(Google::Shopping::Merchant::Accounts::V1b\x06proto3"
19
20
 
20
21
  pool = Google::Protobuf::DescriptorPool.generated_pool
21
22
 
@@ -32,6 +33,7 @@ rescue TypeError
32
33
  imports = [
33
34
  ["google.type.TimeZone", "google/type/datetime.proto"],
34
35
  ["google.shopping.merchant.accounts.v1.User", "google/shopping/merchant/accounts/v1/user.proto"],
36
+ ["google.shopping.merchant.accounts.v1.VerificationMailSettings", "google/shopping/merchant/accounts/v1/verificationmailsettings.proto"],
35
37
  ["google.shopping.merchant.accounts.v1.AccountAggregation", "google/shopping/merchant/accounts/v1/accountservices.proto"],
36
38
  ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
37
39
  ]
@@ -55,6 +57,7 @@ module Google
55
57
  CreateAndConfigureAccountRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest").msgclass
56
58
  CreateAndConfigureAccountRequest::AddUser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser").msgclass
57
59
  CreateAndConfigureAccountRequest::AddAccountService = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService").msgclass
60
+ CreateAndConfigureAccountRequest::SetAliasForRelationship = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship").msgclass
58
61
  DeleteAccountRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.DeleteAccountRequest").msgclass
59
62
  UpdateAccountRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.UpdateAccountRequest").msgclass
60
63
  ListAccountsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.ListAccountsRequest").msgclass
@@ -291,7 +291,7 @@ module Google
291
291
  # @param options [::Gapic::CallOptions, ::Hash]
292
292
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
293
293
  #
294
- # @overload create_and_configure_account(account: nil, user: nil, service: nil)
294
+ # @overload create_and_configure_account(account: nil, user: nil, service: nil, set_alias: nil)
295
295
  # Pass arguments to `create_and_configure_account` via keyword arguments. Note that at
296
296
  # least one keyword argument is required. To specify no parameters, or to keep all
297
297
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -308,6 +308,10 @@ module Google
308
308
  # used to create a sub-account under an existing advanced account through
309
309
  # this method. Additional `account_management` or
310
310
  # `product_management` services may be provided.
311
+ # @param set_alias [::Array<::Google::Shopping::Merchant::Accounts::V1::CreateAndConfigureAccountRequest::SetAliasForRelationship, ::Hash>]
312
+ # Optional. If a relationship is created with a provider, you can set an
313
+ # alias for it with this field. The calling user must be an admin on the
314
+ # provider to be able to set an alias.
311
315
  #
312
316
  # @yield [response, operation] Access the result along with the RPC operation
313
317
  # @yieldparam response [::Google::Shopping::Merchant::Accounts::V1::Account]
@@ -368,10 +372,13 @@ module Google
368
372
  ##
369
373
  # Deletes the specified account regardless of its type: standalone, advanced
370
374
  # account or sub-account. Deleting an advanced account leads to the deletion
371
- # of all of its sub-accounts. Executing this method requires admin access.
372
- # The deletion succeeds only if the account does not provide services
373
- # to any other account and has no processed offers. You can use the `force`
374
- # parameter to override this.
375
+ # of all of its sub-accounts. This also deletes the account's [developer
376
+ # registration
377
+ # entity](/merchant/api/reference/rest/accounts_v1/accounts.developerRegistration)
378
+ # and any associated GCP project to the account. Executing this method
379
+ # requires admin access. The deletion succeeds only if the account does not
380
+ # provide services to any other account and has no processed offers. You can
381
+ # use the `force` parameter to override this.
375
382
  #
376
383
  # @overload delete_account(request, options = nil)
377
384
  # Pass arguments to `delete_account` via a request object, either of type
@@ -797,8 +804,6 @@ module Google
797
804
  # @return [::String,nil]
798
805
  # @!attribute [rw] credentials
799
806
  # Credentials to send with calls. You may provide any of the following types:
800
- # * (`String`) The path to a service account key file in JSON format
801
- # * (`Hash`) A service account key as a Hash
802
807
  # * (`Google::Auth::Credentials`) A googleauth credentials object
803
808
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
804
809
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -807,7 +812,26 @@ module Google
807
812
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
808
813
  # * (`nil`) indicating no credentials
809
814
  #
810
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
815
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
816
+ # is deprecated. Providing an unvalidated credential configuration to
817
+ # Google APIs can compromise the security of your systems and data.
818
+ #
819
+ # @example
820
+ #
821
+ # # The recommended way to provide credentials is to use the `make_creds` method
822
+ # # on the appropriate credentials class for your environment.
823
+ #
824
+ # require "googleauth"
825
+ #
826
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
827
+ # json_key_io: ::File.open("/path/to/keyfile.json")
828
+ # )
829
+ #
830
+ # client = ::Google::Shopping::Merchant::Accounts::V1::AccountsService::Client.new do |config|
831
+ # config.credentials = credentials
832
+ # end
833
+ #
834
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
811
835
  # external source for authentication to Google Cloud, you must validate it before
812
836
  # providing it to a Google API client library. Providing an unvalidated credential
813
837
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -277,7 +277,7 @@ module Google
277
277
  # @param options [::Gapic::CallOptions, ::Hash]
278
278
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
279
279
  #
280
- # @overload create_and_configure_account(account: nil, user: nil, service: nil)
280
+ # @overload create_and_configure_account(account: nil, user: nil, service: nil, set_alias: nil)
281
281
  # Pass arguments to `create_and_configure_account` via keyword arguments. Note that at
282
282
  # least one keyword argument is required. To specify no parameters, or to keep all
283
283
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -294,6 +294,10 @@ module Google
294
294
  # used to create a sub-account under an existing advanced account through
295
295
  # this method. Additional `account_management` or
296
296
  # `product_management` services may be provided.
297
+ # @param set_alias [::Array<::Google::Shopping::Merchant::Accounts::V1::CreateAndConfigureAccountRequest::SetAliasForRelationship, ::Hash>]
298
+ # Optional. If a relationship is created with a provider, you can set an
299
+ # alias for it with this field. The calling user must be an admin on the
300
+ # provider to be able to set an alias.
297
301
  # @yield [result, operation] Access the result along with the TransportOperation object
298
302
  # @yieldparam result [::Google::Shopping::Merchant::Accounts::V1::Account]
299
303
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -355,10 +359,13 @@ module Google
355
359
  ##
356
360
  # Deletes the specified account regardless of its type: standalone, advanced
357
361
  # account or sub-account. Deleting an advanced account leads to the deletion
358
- # of all of its sub-accounts. Executing this method requires admin access.
359
- # The deletion succeeds only if the account does not provide services
360
- # to any other account and has no processed offers. You can use the `force`
361
- # parameter to override this.
362
+ # of all of its sub-accounts. This also deletes the account's [developer
363
+ # registration
364
+ # entity](/merchant/api/reference/rest/accounts_v1/accounts.developerRegistration)
365
+ # and any associated GCP project to the account. Executing this method
366
+ # requires admin access. The deletion succeeds only if the account does not
367
+ # provide services to any other account and has no processed offers. You can
368
+ # use the `force` parameter to override this.
362
369
  #
363
370
  # @overload delete_account(request, options = nil)
364
371
  # Pass arguments to `delete_account` via a request object, either of type
@@ -43,10 +43,13 @@ module Google
43
43
  rpc :CreateAndConfigureAccount, ::Google::Shopping::Merchant::Accounts::V1::CreateAndConfigureAccountRequest, ::Google::Shopping::Merchant::Accounts::V1::Account
44
44
  # Deletes the specified account regardless of its type: standalone, advanced
45
45
  # account or sub-account. Deleting an advanced account leads to the deletion
46
- # of all of its sub-accounts. Executing this method requires admin access.
47
- # The deletion succeeds only if the account does not provide services
48
- # to any other account and has no processed offers. You can use the `force`
49
- # parameter to override this.
46
+ # of all of its sub-accounts. This also deletes the account's [developer
47
+ # registration
48
+ # entity](/merchant/api/reference/rest/accounts_v1/accounts.developerRegistration)
49
+ # and any associated GCP project to the account. Executing this method
50
+ # requires admin access. The deletion succeeds only if the account does not
51
+ # provide services to any other account and has no processed offers. You can
52
+ # use the `force` parameter to override this.
50
53
  rpc :DeleteAccount, ::Google::Shopping::Merchant::Accounts::V1::DeleteAccountRequest, ::Google::Protobuf::Empty
51
54
  # Updates an account regardless of its type: standalone, advanced account or
52
55
  # sub-account. Executing this method requires admin access.
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
11
11
  require 'google/protobuf/empty_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n:google/shopping/merchant/accounts/v1/accountservices.proto\x12$google.shopping.merchant.accounts.v1\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\"\xc9\x07\n\x0e\x41\x63\x63ountService\x12W\n\x13products_management\x18\x64 \x01(\x0b\x32\x38.google.shopping.merchant.accounts.v1.ProductsManagementH\x00\x12Y\n\x14\x63\x61mpaigns_management\x18\x65 \x01(\x0b\x32\x39.google.shopping.merchant.accounts.v1.CampaignsManagementH\x00\x12U\n\x12\x61\x63\x63ount_management\x18\x66 \x01(\x0b\x32\x37.google.shopping.merchant.accounts.v1.AccountManagementH\x00\x12W\n\x13\x61\x63\x63ount_aggregation\x18g \x01(\x0b\x32\x38.google.shopping.merchant.accounts.v1.AccountAggregationH\x00\x12`\n\x18local_listing_management\x18h \x01(\x0b\x32<.google.shopping.merchant.accounts.v1.LocalListingManagementH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1a\n\x08provider\x18\x02 \x01(\tB\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\"\n\x15provider_display_name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12G\n\thandshake\x18\x04 \x01(\x0b\x32/.google.shopping.merchant.accounts.v1.HandshakeB\x03\xe0\x41\x03\x12X\n\nmutability\x18\x05 \x01(\x0e\x32?.google.shopping.merchant.accounts.v1.AccountService.MutabilityB\x03\xe0\x41\x03\x12 \n\x13\x65xternal_account_id\x18\x06 \x01(\tB\x03\xe0\x41\x05\"D\n\nMutability\x12\x1a\n\x16MUTABILITY_UNSPECIFIED\x10\x00\x12\x0b\n\x07MUTABLE\x10\x01\x12\r\n\tIMMUTABLE\x10\x02:v\xea\x41s\n)merchantapi.googleapis.com/AccountService\x12%accounts/{account}/services/{service}*\x0f\x61\x63\x63ountServices2\x0e\x61\x63\x63ountServiceB\x0e\n\x0cservice_typeB\x0b\n\t_provider\"[\n\x18GetAccountServiceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)merchantapi.googleapis.com/AccountService\"\x89\x01\n\x1aListAccountServicesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\"\x86\x01\n\x1bListAccountServicesResponse\x12N\n\x10\x61\x63\x63ount_services\x18\x01 \x03(\x0b\x32\x34.google.shopping.merchant.accounts.v1.AccountService\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc5\x01\n\x1cProposeAccountServiceRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12\x15\n\x08provider\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12R\n\x0f\x61\x63\x63ount_service\x18\x04 \x01(\x0b\x32\x34.google.shopping.merchant.accounts.v1.AccountServiceB\x03\xe0\x41\x02\"_\n\x1c\x41pproveAccountServiceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)merchantapi.googleapis.com/AccountService\"^\n\x1bRejectAccountServiceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)merchantapi.googleapis.com/AccountService\"\x14\n\x12ProductsManagement\"\x15\n\x13\x43\x61mpaignsManagement\"\x13\n\x11\x41\x63\x63ountManagement\"\x14\n\x12\x41\x63\x63ountAggregation\"\x18\n\x16LocalListingManagement\"\xcd\x02\n\tHandshake\x12Z\n\x0e\x61pproval_state\x18\x01 \x01(\x0e\x32=.google.shopping.merchant.accounts.v1.Handshake.ApprovalStateB\x03\xe0\x41\x03\x12I\n\x05\x61\x63tor\x18\x02 \x01(\x0e\x32\x35.google.shopping.merchant.accounts.v1.Handshake.ActorB\x03\xe0\x41\x03\"[\n\rApprovalState\x12\x1e\n\x1a\x41PPROVAL_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0f\n\x0b\x45STABLISHED\x10\x02\x12\x0c\n\x08REJECTED\x10\x03\"<\n\x05\x41\x63tor\x12\x15\n\x11\x41\x43TOR_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x41\x43\x43OUNT\x10\x01\x12\x0f\n\x0bOTHER_PARTY\x10\x02\x32\x85\t\n\x16\x41\x63\x63ountServicesService\x12\xc3\x01\n\x11GetAccountService\x12>.google.shopping.merchant.accounts.v1.GetAccountServiceRequest\x1a\x34.google.shopping.merchant.accounts.v1.AccountService\"8\xda\x41\x04name\x82\xd3\xe4\x93\x02+\x12)/accounts/v1/{name=accounts/*/services/*}\x12\xd6\x01\n\x13ListAccountServices\x12@.google.shopping.merchant.accounts.v1.ListAccountServicesRequest\x1a\x41.google.shopping.merchant.accounts.v1.ListAccountServicesResponse\":\xda\x41\x06parent\x82\xd3\xe4\x93\x02+\x12)/accounts/v1/{parent=accounts/*}/services\x12\xf1\x01\n\x15ProposeAccountService\x12\x42.google.shopping.merchant.accounts.v1.ProposeAccountServiceRequest\x1a\x34.google.shopping.merchant.accounts.v1.AccountService\"^\xda\x41\x1fparent,provider,account_service\x82\xd3\xe4\x93\x02\x36\"1/accounts/v1/{parent=accounts/*}/services:propose:\x01*\x12\xd6\x01\n\x15\x41pproveAccountService\x12\x42.google.shopping.merchant.accounts.v1.ApproveAccountServiceRequest\x1a\x34.google.shopping.merchant.accounts.v1.AccountService\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/accounts/v1/{name=accounts/*/services/*}:approve:\x01*\x12\xb5\x01\n\x14RejectAccountService\x12\x41.google.shopping.merchant.accounts.v1.RejectAccountServiceRequest\x1a\x16.google.protobuf.Empty\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\"0/accounts/v1/{name=accounts/*/services/*}:reject:\x01*\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\x87\x02\n(com.google.shopping.merchant.accounts.v1B\x14\x41\x63\x63ountServicesProtoP\x01ZJcloud.google.com/go/shopping/merchant/accounts/apiv1/accountspb;accountspb\xaa\x02$Google.Shopping.Merchant.Accounts.V1\xca\x02$Google\\Shopping\\Merchant\\Accounts\\V1\xea\x02(Google::Shopping::Merchant::Accounts::V1b\x06proto3"
14
+ descriptor_data = "\n:google/shopping/merchant/accounts/v1/accountservices.proto\x12$google.shopping.merchant.accounts.v1\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\"\xa2\x08\n\x0e\x41\x63\x63ountService\x12W\n\x13products_management\x18\x64 \x01(\x0b\x32\x38.google.shopping.merchant.accounts.v1.ProductsManagementH\x00\x12Y\n\x14\x63\x61mpaigns_management\x18\x65 \x01(\x0b\x32\x39.google.shopping.merchant.accounts.v1.CampaignsManagementH\x00\x12U\n\x12\x61\x63\x63ount_management\x18\x66 \x01(\x0b\x32\x37.google.shopping.merchant.accounts.v1.AccountManagementH\x00\x12W\n\x13\x61\x63\x63ount_aggregation\x18g \x01(\x0b\x32\x38.google.shopping.merchant.accounts.v1.AccountAggregationH\x00\x12`\n\x18local_listing_management\x18h \x01(\x0b\x32<.google.shopping.merchant.accounts.v1.LocalListingManagementH\x00\x12W\n\x13\x63omparison_shopping\x18i \x01(\x0b\x32\x38.google.shopping.merchant.accounts.v1.ComparisonShoppingH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1a\n\x08provider\x18\x02 \x01(\tB\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\"\n\x15provider_display_name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12G\n\thandshake\x18\x04 \x01(\x0b\x32/.google.shopping.merchant.accounts.v1.HandshakeB\x03\xe0\x41\x03\x12X\n\nmutability\x18\x05 \x01(\x0e\x32?.google.shopping.merchant.accounts.v1.AccountService.MutabilityB\x03\xe0\x41\x03\x12 \n\x13\x65xternal_account_id\x18\x06 \x01(\tB\x03\xe0\x41\x05\"D\n\nMutability\x12\x1a\n\x16MUTABILITY_UNSPECIFIED\x10\x00\x12\x0b\n\x07MUTABLE\x10\x01\x12\r\n\tIMMUTABLE\x10\x02:v\xea\x41s\n)merchantapi.googleapis.com/AccountService\x12%accounts/{account}/services/{service}*\x0f\x61\x63\x63ountServices2\x0e\x61\x63\x63ountServiceB\x0e\n\x0cservice_typeB\x0b\n\t_provider\"[\n\x18GetAccountServiceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)merchantapi.googleapis.com/AccountService\"\x89\x01\n\x1aListAccountServicesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\"\x86\x01\n\x1bListAccountServicesResponse\x12N\n\x10\x61\x63\x63ount_services\x18\x01 \x03(\x0b\x32\x34.google.shopping.merchant.accounts.v1.AccountService\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc5\x01\n\x1cProposeAccountServiceRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12\x15\n\x08provider\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12R\n\x0f\x61\x63\x63ount_service\x18\x04 \x01(\x0b\x32\x34.google.shopping.merchant.accounts.v1.AccountServiceB\x03\xe0\x41\x02\"_\n\x1c\x41pproveAccountServiceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)merchantapi.googleapis.com/AccountService\"^\n\x1bRejectAccountServiceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)merchantapi.googleapis.com/AccountService\"\x14\n\x12ProductsManagement\"\x15\n\x13\x43\x61mpaignsManagement\"\x13\n\x11\x41\x63\x63ountManagement\"\x14\n\x12\x41\x63\x63ountAggregation\"\x18\n\x16LocalListingManagement\"\x14\n\x12\x43omparisonShopping\"\xcd\x02\n\tHandshake\x12Z\n\x0e\x61pproval_state\x18\x01 \x01(\x0e\x32=.google.shopping.merchant.accounts.v1.Handshake.ApprovalStateB\x03\xe0\x41\x03\x12I\n\x05\x61\x63tor\x18\x02 \x01(\x0e\x32\x35.google.shopping.merchant.accounts.v1.Handshake.ActorB\x03\xe0\x41\x03\"[\n\rApprovalState\x12\x1e\n\x1a\x41PPROVAL_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0f\n\x0b\x45STABLISHED\x10\x02\x12\x0c\n\x08REJECTED\x10\x03\"<\n\x05\x41\x63tor\x12\x15\n\x11\x41\x43TOR_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x41\x43\x43OUNT\x10\x01\x12\x0f\n\x0bOTHER_PARTY\x10\x02\x32\x85\t\n\x16\x41\x63\x63ountServicesService\x12\xc3\x01\n\x11GetAccountService\x12>.google.shopping.merchant.accounts.v1.GetAccountServiceRequest\x1a\x34.google.shopping.merchant.accounts.v1.AccountService\"8\xda\x41\x04name\x82\xd3\xe4\x93\x02+\x12)/accounts/v1/{name=accounts/*/services/*}\x12\xd6\x01\n\x13ListAccountServices\x12@.google.shopping.merchant.accounts.v1.ListAccountServicesRequest\x1a\x41.google.shopping.merchant.accounts.v1.ListAccountServicesResponse\":\xda\x41\x06parent\x82\xd3\xe4\x93\x02+\x12)/accounts/v1/{parent=accounts/*}/services\x12\xf1\x01\n\x15ProposeAccountService\x12\x42.google.shopping.merchant.accounts.v1.ProposeAccountServiceRequest\x1a\x34.google.shopping.merchant.accounts.v1.AccountService\"^\xda\x41\x1fparent,provider,account_service\x82\xd3\xe4\x93\x02\x36\"1/accounts/v1/{parent=accounts/*}/services:propose:\x01*\x12\xd6\x01\n\x15\x41pproveAccountService\x12\x42.google.shopping.merchant.accounts.v1.ApproveAccountServiceRequest\x1a\x34.google.shopping.merchant.accounts.v1.AccountService\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/accounts/v1/{name=accounts/*/services/*}:approve:\x01*\x12\xb5\x01\n\x14RejectAccountService\x12\x41.google.shopping.merchant.accounts.v1.RejectAccountServiceRequest\x1a\x16.google.protobuf.Empty\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\"0/accounts/v1/{name=accounts/*/services/*}:reject:\x01*\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\x87\x02\n(com.google.shopping.merchant.accounts.v1B\x14\x41\x63\x63ountServicesProtoP\x01ZJcloud.google.com/go/shopping/merchant/accounts/apiv1/accountspb;accountspb\xaa\x02$Google.Shopping.Merchant.Accounts.V1\xca\x02$Google\\Shopping\\Merchant\\Accounts\\V1\xea\x02(Google::Shopping::Merchant::Accounts::V1b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -55,6 +55,7 @@ module Google
55
55
  AccountManagement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.AccountManagement").msgclass
56
56
  AccountAggregation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.AccountAggregation").msgclass
57
57
  LocalListingManagement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.LocalListingManagement").msgclass
58
+ ComparisonShopping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.ComparisonShopping").msgclass
58
59
  Handshake = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.Handshake").msgclass
59
60
  Handshake::ApprovalState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.Handshake.ApprovalState").enummodule
60
61
  Handshake::Actor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.Handshake.Actor").enummodule
@@ -398,8 +398,6 @@ module Google
398
398
  # @return [::String,nil]
399
399
  # @!attribute [rw] credentials
400
400
  # Credentials to send with calls. You may provide any of the following types:
401
- # * (`String`) The path to a service account key file in JSON format
402
- # * (`Hash`) A service account key as a Hash
403
401
  # * (`Google::Auth::Credentials`) A googleauth credentials object
404
402
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
405
403
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -408,7 +406,26 @@ module Google
408
406
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
409
407
  # * (`nil`) indicating no credentials
410
408
  #
411
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
409
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
410
+ # is deprecated. Providing an unvalidated credential configuration to
411
+ # Google APIs can compromise the security of your systems and data.
412
+ #
413
+ # @example
414
+ #
415
+ # # The recommended way to provide credentials is to use the `make_creds` method
416
+ # # on the appropriate credentials class for your environment.
417
+ #
418
+ # require "googleauth"
419
+ #
420
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
421
+ # json_key_io: ::File.open("/path/to/keyfile.json")
422
+ # )
423
+ #
424
+ # client = ::Google::Shopping::Merchant::Accounts::V1::AutofeedSettingsService::Client.new do |config|
425
+ # config.credentials = credentials
426
+ # end
427
+ #
428
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
412
429
  # external source for authentication to Google Cloud, you must validate it before
413
430
  # providing it to a Google API client library. Providing an unvalidated credential
414
431
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -408,8 +408,6 @@ module Google
408
408
  # @return [::String,nil]
409
409
  # @!attribute [rw] credentials
410
410
  # Credentials to send with calls. You may provide any of the following types:
411
- # * (`String`) The path to a service account key file in JSON format
412
- # * (`Hash`) A service account key as a Hash
413
411
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
412
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
413
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -418,7 +416,26 @@ module Google
418
416
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
419
417
  # * (`nil`) indicating no credentials
420
418
  #
421
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
419
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
420
+ # is deprecated. Providing an unvalidated credential configuration to
421
+ # Google APIs can compromise the security of your systems and data.
422
+ #
423
+ # @example
424
+ #
425
+ # # The recommended way to provide credentials is to use the `make_creds` method
426
+ # # on the appropriate credentials class for your environment.
427
+ #
428
+ # require "googleauth"
429
+ #
430
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
431
+ # json_key_io: ::File.open("/path/to/keyfile.json")
432
+ # )
433
+ #
434
+ # client = ::Google::Shopping::Merchant::Accounts::V1::AutomaticImprovementsService::Client.new do |config|
435
+ # config.credentials = credentials
436
+ # end
437
+ #
438
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
422
439
  # external source for authentication to Google Cloud, you must validate it before
423
440
  # providing it to a Google API client library. Providing an unvalidated credential
424
441
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -410,8 +410,6 @@ module Google
410
410
  # @return [::String,nil]
411
411
  # @!attribute [rw] credentials
412
412
  # Credentials to send with calls. You may provide any of the following types:
413
- # * (`String`) The path to a service account key file in JSON format
414
- # * (`Hash`) A service account key as a Hash
415
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
416
414
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
417
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -420,7 +418,26 @@ module Google
420
418
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
421
419
  # * (`nil`) indicating no credentials
422
420
  #
423
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
421
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
422
+ # is deprecated. Providing an unvalidated credential configuration to
423
+ # Google APIs can compromise the security of your systems and data.
424
+ #
425
+ # @example
426
+ #
427
+ # # The recommended way to provide credentials is to use the `make_creds` method
428
+ # # on the appropriate credentials class for your environment.
429
+ #
430
+ # require "googleauth"
431
+ #
432
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
433
+ # json_key_io: ::File.open("/path/to/keyfile.json")
434
+ # )
435
+ #
436
+ # client = ::Google::Shopping::Merchant::Accounts::V1::BusinessIdentityService::Client.new do |config|
437
+ # config.credentials = credentials
438
+ # end
439
+ #
440
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
424
441
  # external source for authentication to Google Cloud, you must validate it before
425
442
  # providing it to a Google API client library. Providing an unvalidated credential
426
443
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -406,8 +406,6 @@ module Google
406
406
  # @return [::String,nil]
407
407
  # @!attribute [rw] credentials
408
408
  # Credentials to send with calls. You may provide any of the following types:
409
- # * (`String`) The path to a service account key file in JSON format
410
- # * (`Hash`) A service account key as a Hash
411
409
  # * (`Google::Auth::Credentials`) A googleauth credentials object
412
410
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
413
411
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -416,7 +414,26 @@ module Google
416
414
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
417
415
  # * (`nil`) indicating no credentials
418
416
  #
419
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
417
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
418
+ # is deprecated. Providing an unvalidated credential configuration to
419
+ # Google APIs can compromise the security of your systems and data.
420
+ #
421
+ # @example
422
+ #
423
+ # # The recommended way to provide credentials is to use the `make_creds` method
424
+ # # on the appropriate credentials class for your environment.
425
+ #
426
+ # require "googleauth"
427
+ #
428
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
429
+ # json_key_io: ::File.open("/path/to/keyfile.json")
430
+ # )
431
+ #
432
+ # client = ::Google::Shopping::Merchant::Accounts::V1::BusinessInfoService::Client.new do |config|
433
+ # config.credentials = credentials
434
+ # end
435
+ #
436
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
420
437
  # external source for authentication to Google Cloud, you must validate it before
421
438
  # providing it to a Google API client library. Providing an unvalidated credential
422
439
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -581,8 +581,6 @@ module Google
581
581
  # @return [::String,nil]
582
582
  # @!attribute [rw] credentials
583
583
  # Credentials to send with calls. You may provide any of the following types:
584
- # * (`String`) The path to a service account key file in JSON format
585
- # * (`Hash`) A service account key as a Hash
586
584
  # * (`Google::Auth::Credentials`) A googleauth credentials object
587
585
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
588
586
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -591,7 +589,26 @@ module Google
591
589
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
592
590
  # * (`nil`) indicating no credentials
593
591
  #
594
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
592
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
593
+ # is deprecated. Providing an unvalidated credential configuration to
594
+ # Google APIs can compromise the security of your systems and data.
595
+ #
596
+ # @example
597
+ #
598
+ # # The recommended way to provide credentials is to use the `make_creds` method
599
+ # # on the appropriate credentials class for your environment.
600
+ #
601
+ # require "googleauth"
602
+ #
603
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
604
+ # json_key_io: ::File.open("/path/to/keyfile.json")
605
+ # )
606
+ #
607
+ # client = ::Google::Shopping::Merchant::Accounts::V1::CheckoutSettingsService::Client.new do |config|
608
+ # config.credentials = credentials
609
+ # end
610
+ #
611
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
595
612
  # external source for authentication to Google Cloud, you must validate it before
596
613
  # providing it to a Google API client library. Providing an unvalidated credential
597
614
  # configuration to Google APIs can compromise the security of your systems and data.