google-shopping-merchant-accounts-v1beta 0.12.0 → 0.12.1

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 (23) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/shopping/merchant/accounts/v1beta/account_issue_service/client.rb +20 -3
  3. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_service/client.rb +20 -3
  4. data/lib/google/shopping/merchant/accounts/v1beta/accounts_service/client.rb +20 -3
  5. data/lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/client.rb +20 -3
  6. data/lib/google/shopping/merchant/accounts/v1beta/automatic_improvements_service/client.rb +20 -3
  7. data/lib/google/shopping/merchant/accounts/v1beta/business_identity_service/client.rb +20 -3
  8. data/lib/google/shopping/merchant/accounts/v1beta/business_info_service/client.rb +20 -3
  9. data/lib/google/shopping/merchant/accounts/v1beta/checkout_settings_service/client.rb +20 -3
  10. data/lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/client.rb +20 -3
  11. data/lib/google/shopping/merchant/accounts/v1beta/gbp_accounts_service/client.rb +20 -3
  12. data/lib/google/shopping/merchant/accounts/v1beta/homepage_service/client.rb +20 -3
  13. data/lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/client.rb +20 -3
  14. data/lib/google/shopping/merchant/accounts/v1beta/omnichannel_settings_service/client.rb +20 -3
  15. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/client.rb +20 -3
  16. data/lib/google/shopping/merchant/accounts/v1beta/programs_service/client.rb +20 -3
  17. data/lib/google/shopping/merchant/accounts/v1beta/regions_service/client.rb +20 -3
  18. data/lib/google/shopping/merchant/accounts/v1beta/shipping_settings_service/client.rb +20 -3
  19. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_agreement_state_service/client.rb +20 -3
  20. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/client.rb +20 -3
  21. data/lib/google/shopping/merchant/accounts/v1beta/user_service/client.rb +20 -3
  22. data/lib/google/shopping/merchant/accounts/v1beta/version.rb +1 -1
  23. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db99eef8680eef19b51a347f5af458f44555f8cae8e66b3fc76998f6234f6641
4
- data.tar.gz: dea80ce40052101cb986d39d12a9a947f1be5fd80e6b0d9a968a1c8c98a0cc83
3
+ metadata.gz: f5cc782e1b2063100ea18ff54138f5a48717090e089132114e311e5a467a1b48
4
+ data.tar.gz: 38f7b966247d4069480a921b1de74a12da5a7e35ca36927d1039cba7539bbcf3
5
5
  SHA512:
6
- metadata.gz: 1869a8c365726358707ca8d8116459f3e1202f9da493f2186c91cfe127e8c89f03751ac422344ebc99f095d7de1638d4ec3215a4c81a2f1adfeb02350857fc2a
7
- data.tar.gz: 5b8f247856592198ef0c3d409efbcbd3a01752022ede160e90cf8ddefea3cc1391fa9fc18773794f1547809d52bd29f111edbc9751af9a15664728aa72c8f828
6
+ metadata.gz: a30f4e1bbe0f085f8e90ef4f9f0fe8b418a368c3595345098fea9e3083fb9abab1d8703235f0514fdb08335731da7828c879ab791f40e4c130d5ed301285154a
7
+ data.tar.gz: 7bc935c86e716e47bb090e30ece4e8952bd12aab11fcc2db5bacc2a64f1667ec7c50ce02dfefad60f83b3fd77ed771acdd73b43a82e9d4e2573171febb81d3e1
@@ -335,8 +335,6 @@ module Google
335
335
  # @return [::String,nil]
336
336
  # @!attribute [rw] credentials
337
337
  # Credentials to send with calls. You may provide any of the following types:
338
- # * (`String`) The path to a service account key file in JSON format
339
- # * (`Hash`) A service account key as a Hash
340
338
  # * (`Google::Auth::Credentials`) A googleauth credentials object
341
339
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
342
340
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -345,7 +343,26 @@ module Google
345
343
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
346
344
  # * (`nil`) indicating no credentials
347
345
  #
348
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
346
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
347
+ # is deprecated. Providing an unvalidated credential configuration to
348
+ # Google APIs can compromise the security of your systems and data.
349
+ #
350
+ # @example
351
+ #
352
+ # # The recommended way to provide credentials is to use the `make_creds` method
353
+ # # on the appropriate credentials class for your environment.
354
+ #
355
+ # require "googleauth"
356
+ #
357
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
358
+ # json_key_io: ::File.open("/path/to/keyfile.json")
359
+ # )
360
+ #
361
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::AccountIssueService::Client.new do |config|
362
+ # config.credentials = credentials
363
+ # end
364
+ #
365
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
349
366
  # external source for authentication to Google Cloud, you must validate it before
350
367
  # providing it to a Google API client library. Providing an unvalidated credential
351
368
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -500,8 +500,6 @@ module Google
500
500
  # @return [::String,nil]
501
501
  # @!attribute [rw] credentials
502
502
  # Credentials to send with calls. You may provide any of the following types:
503
- # * (`String`) The path to a service account key file in JSON format
504
- # * (`Hash`) A service account key as a Hash
505
503
  # * (`Google::Auth::Credentials`) A googleauth credentials object
506
504
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
507
505
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -510,7 +508,26 @@ module Google
510
508
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
511
509
  # * (`nil`) indicating no credentials
512
510
  #
513
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
511
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
512
+ # is deprecated. Providing an unvalidated credential configuration to
513
+ # Google APIs can compromise the security of your systems and data.
514
+ #
515
+ # @example
516
+ #
517
+ # # The recommended way to provide credentials is to use the `make_creds` method
518
+ # # on the appropriate credentials class for your environment.
519
+ #
520
+ # require "googleauth"
521
+ #
522
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
523
+ # json_key_io: ::File.open("/path/to/keyfile.json")
524
+ # )
525
+ #
526
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::AccountTaxService::Client.new do |config|
527
+ # config.credentials = credentials
528
+ # end
529
+ #
530
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
514
531
  # external source for authentication to Google Cloud, you must validate it before
515
532
  # providing it to a Google API client library. Providing an unvalidated credential
516
533
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -791,8 +791,6 @@ module Google
791
791
  # @return [::String,nil]
792
792
  # @!attribute [rw] credentials
793
793
  # Credentials to send with calls. You may provide any of the following types:
794
- # * (`String`) The path to a service account key file in JSON format
795
- # * (`Hash`) A service account key as a Hash
796
794
  # * (`Google::Auth::Credentials`) A googleauth credentials object
797
795
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
798
796
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -801,7 +799,26 @@ module Google
801
799
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
802
800
  # * (`nil`) indicating no credentials
803
801
  #
804
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
802
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
803
+ # is deprecated. Providing an unvalidated credential configuration to
804
+ # Google APIs can compromise the security of your systems and data.
805
+ #
806
+ # @example
807
+ #
808
+ # # The recommended way to provide credentials is to use the `make_creds` method
809
+ # # on the appropriate credentials class for your environment.
810
+ #
811
+ # require "googleauth"
812
+ #
813
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
814
+ # json_key_io: ::File.open("/path/to/keyfile.json")
815
+ # )
816
+ #
817
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::AccountsService::Client.new do |config|
818
+ # config.credentials = credentials
819
+ # end
820
+ #
821
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
805
822
  # external source for authentication to Google Cloud, you must validate it before
806
823
  # providing it to a Google API client library. Providing an unvalidated credential
807
824
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -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::V1beta::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::V1beta::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.
@@ -399,8 +399,6 @@ module Google
399
399
  # @return [::String,nil]
400
400
  # @!attribute [rw] credentials
401
401
  # Credentials to send with calls. You may provide any of the following types:
402
- # * (`String`) The path to a service account key file in JSON format
403
- # * (`Hash`) A service account key as a Hash
404
402
  # * (`Google::Auth::Credentials`) A googleauth credentials object
405
403
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
406
404
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -409,7 +407,26 @@ module Google
409
407
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
410
408
  # * (`nil`) indicating no credentials
411
409
  #
412
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
410
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
411
+ # is deprecated. Providing an unvalidated credential configuration to
412
+ # Google APIs can compromise the security of your systems and data.
413
+ #
414
+ # @example
415
+ #
416
+ # # The recommended way to provide credentials is to use the `make_creds` method
417
+ # # on the appropriate credentials class for your environment.
418
+ #
419
+ # require "googleauth"
420
+ #
421
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
422
+ # json_key_io: ::File.open("/path/to/keyfile.json")
423
+ # )
424
+ #
425
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::BusinessIdentityService::Client.new do |config|
426
+ # config.credentials = credentials
427
+ # end
428
+ #
429
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
413
430
  # external source for authentication to Google Cloud, you must validate it before
414
431
  # providing it to a Google API client library. Providing an unvalidated credential
415
432
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -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::V1beta::BusinessInfoService::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.
@@ -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::V1beta::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.
@@ -413,8 +413,6 @@ module Google
413
413
  # @return [::String,nil]
414
414
  # @!attribute [rw] credentials
415
415
  # Credentials to send with calls. You may provide any of the following types:
416
- # * (`String`) The path to a service account key file in JSON format
417
- # * (`Hash`) A service account key as a Hash
418
416
  # * (`Google::Auth::Credentials`) A googleauth credentials object
419
417
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
420
418
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -423,7 +421,26 @@ module Google
423
421
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
424
422
  # * (`nil`) indicating no credentials
425
423
  #
426
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
424
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
425
+ # is deprecated. Providing an unvalidated credential configuration to
426
+ # Google APIs can compromise the security of your systems and data.
427
+ #
428
+ # @example
429
+ #
430
+ # # The recommended way to provide credentials is to use the `make_creds` method
431
+ # # on the appropriate credentials class for your environment.
432
+ #
433
+ # require "googleauth"
434
+ #
435
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
436
+ # json_key_io: ::File.open("/path/to/keyfile.json")
437
+ # )
438
+ #
439
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::EmailPreferencesService::Client.new do |config|
440
+ # config.credentials = credentials
441
+ # end
442
+ #
443
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
427
444
  # external source for authentication to Google Cloud, you must validate it before
428
445
  # providing it to a Google API client library. Providing an unvalidated credential
429
446
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -419,8 +419,6 @@ module Google
419
419
  # @return [::String,nil]
420
420
  # @!attribute [rw] credentials
421
421
  # Credentials to send with calls. You may provide any of the following types:
422
- # * (`String`) The path to a service account key file in JSON format
423
- # * (`Hash`) A service account key as a Hash
424
422
  # * (`Google::Auth::Credentials`) A googleauth credentials object
425
423
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
426
424
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -429,7 +427,26 @@ module Google
429
427
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
430
428
  # * (`nil`) indicating no credentials
431
429
  #
432
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
430
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
431
+ # is deprecated. Providing an unvalidated credential configuration to
432
+ # Google APIs can compromise the security of your systems and data.
433
+ #
434
+ # @example
435
+ #
436
+ # # The recommended way to provide credentials is to use the `make_creds` method
437
+ # # on the appropriate credentials class for your environment.
438
+ #
439
+ # require "googleauth"
440
+ #
441
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
442
+ # json_key_io: ::File.open("/path/to/keyfile.json")
443
+ # )
444
+ #
445
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::GbpAccountsService::Client.new do |config|
446
+ # config.credentials = credentials
447
+ # end
448
+ #
449
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
433
450
  # external source for authentication to Google Cloud, you must validate it before
434
451
  # providing it to a Google API client library. Providing an unvalidated credential
435
452
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -582,8 +582,6 @@ module Google
582
582
  # @return [::String,nil]
583
583
  # @!attribute [rw] credentials
584
584
  # Credentials to send with calls. You may provide any of the following types:
585
- # * (`String`) The path to a service account key file in JSON format
586
- # * (`Hash`) A service account key as a Hash
587
585
  # * (`Google::Auth::Credentials`) A googleauth credentials object
588
586
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
589
587
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -592,7 +590,26 @@ module Google
592
590
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
593
591
  # * (`nil`) indicating no credentials
594
592
  #
595
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
593
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
594
+ # is deprecated. Providing an unvalidated credential configuration to
595
+ # Google APIs can compromise the security of your systems and data.
596
+ #
597
+ # @example
598
+ #
599
+ # # The recommended way to provide credentials is to use the `make_creds` method
600
+ # # on the appropriate credentials class for your environment.
601
+ #
602
+ # require "googleauth"
603
+ #
604
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
605
+ # json_key_io: ::File.open("/path/to/keyfile.json")
606
+ # )
607
+ #
608
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::HomepageService::Client.new do |config|
609
+ # config.credentials = credentials
610
+ # end
611
+ #
612
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
596
613
  # external source for authentication to Google Cloud, you must validate it before
597
614
  # providing it to a Google API client library. Providing an unvalidated credential
598
615
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -422,8 +422,6 @@ module Google
422
422
  # @return [::String,nil]
423
423
  # @!attribute [rw] credentials
424
424
  # Credentials to send with calls. You may provide any of the following types:
425
- # * (`String`) The path to a service account key file in JSON format
426
- # * (`Hash`) A service account key as a Hash
427
425
  # * (`Google::Auth::Credentials`) A googleauth credentials object
428
426
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
429
427
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -432,7 +430,26 @@ module Google
432
430
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
433
431
  # * (`nil`) indicating no credentials
434
432
  #
435
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
433
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
434
+ # is deprecated. Providing an unvalidated credential configuration to
435
+ # Google APIs can compromise the security of your systems and data.
436
+ #
437
+ # @example
438
+ #
439
+ # # The recommended way to provide credentials is to use the `make_creds` method
440
+ # # on the appropriate credentials class for your environment.
441
+ #
442
+ # require "googleauth"
443
+ #
444
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
445
+ # json_key_io: ::File.open("/path/to/keyfile.json")
446
+ # )
447
+ #
448
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::LfpProvidersService::Client.new do |config|
449
+ # config.credentials = credentials
450
+ # end
451
+ #
452
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
436
453
  # external source for authentication to Google Cloud, you must validate it before
437
454
  # providing it to a Google API client library. Providing an unvalidated credential
438
455
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -692,8 +692,6 @@ module Google
692
692
  # @return [::String,nil]
693
693
  # @!attribute [rw] credentials
694
694
  # Credentials to send with calls. You may provide any of the following types:
695
- # * (`String`) The path to a service account key file in JSON format
696
- # * (`Hash`) A service account key as a Hash
697
695
  # * (`Google::Auth::Credentials`) A googleauth credentials object
698
696
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
699
697
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -702,7 +700,26 @@ module Google
702
700
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
703
701
  # * (`nil`) indicating no credentials
704
702
  #
705
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
703
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
704
+ # is deprecated. Providing an unvalidated credential configuration to
705
+ # Google APIs can compromise the security of your systems and data.
706
+ #
707
+ # @example
708
+ #
709
+ # # The recommended way to provide credentials is to use the `make_creds` method
710
+ # # on the appropriate credentials class for your environment.
711
+ #
712
+ # require "googleauth"
713
+ #
714
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
715
+ # json_key_io: ::File.open("/path/to/keyfile.json")
716
+ # )
717
+ #
718
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::OmnichannelSettingsService::Client.new do |config|
719
+ # config.credentials = credentials
720
+ # end
721
+ #
722
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
706
723
  # external source for authentication to Google Cloud, you must validate it before
707
724
  # providing it to a Google API client library. Providing an unvalidated credential
708
725
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -697,8 +697,6 @@ module Google
697
697
  # @return [::String,nil]
698
698
  # @!attribute [rw] credentials
699
699
  # Credentials to send with calls. You may provide any of the following types:
700
- # * (`String`) The path to a service account key file in JSON format
701
- # * (`Hash`) A service account key as a Hash
702
700
  # * (`Google::Auth::Credentials`) A googleauth credentials object
703
701
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
704
702
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -707,7 +705,26 @@ module Google
707
705
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
708
706
  # * (`nil`) indicating no credentials
709
707
  #
710
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
708
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
709
+ # is deprecated. Providing an unvalidated credential configuration to
710
+ # Google APIs can compromise the security of your systems and data.
711
+ #
712
+ # @example
713
+ #
714
+ # # The recommended way to provide credentials is to use the `make_creds` method
715
+ # # on the appropriate credentials class for your environment.
716
+ #
717
+ # require "googleauth"
718
+ #
719
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
720
+ # json_key_io: ::File.open("/path/to/keyfile.json")
721
+ # )
722
+ #
723
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::OnlineReturnPolicyService::Client.new do |config|
724
+ # config.credentials = credentials
725
+ # end
726
+ #
727
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
711
728
  # external source for authentication to Google Cloud, you must validate it before
712
729
  # providing it to a Google API client library. Providing an unvalidated credential
713
730
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -593,8 +593,6 @@ module Google
593
593
  # @return [::String,nil]
594
594
  # @!attribute [rw] credentials
595
595
  # Credentials to send with calls. You may provide any of the following types:
596
- # * (`String`) The path to a service account key file in JSON format
597
- # * (`Hash`) A service account key as a Hash
598
596
  # * (`Google::Auth::Credentials`) A googleauth credentials object
599
597
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
600
598
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -603,7 +601,26 @@ module Google
603
601
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
604
602
  # * (`nil`) indicating no credentials
605
603
  #
606
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
604
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
605
+ # is deprecated. Providing an unvalidated credential configuration to
606
+ # Google APIs can compromise the security of your systems and data.
607
+ #
608
+ # @example
609
+ #
610
+ # # The recommended way to provide credentials is to use the `make_creds` method
611
+ # # on the appropriate credentials class for your environment.
612
+ #
613
+ # require "googleauth"
614
+ #
615
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
616
+ # json_key_io: ::File.open("/path/to/keyfile.json")
617
+ # )
618
+ #
619
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::ProgramsService::Client.new do |config|
620
+ # config.credentials = credentials
621
+ # end
622
+ #
623
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
607
624
  # external source for authentication to Google Cloud, you must validate it before
608
625
  # providing it to a Google API client library. Providing an unvalidated credential
609
626
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -686,8 +686,6 @@ module Google
686
686
  # @return [::String,nil]
687
687
  # @!attribute [rw] credentials
688
688
  # Credentials to send with calls. You may provide any of the following types:
689
- # * (`String`) The path to a service account key file in JSON format
690
- # * (`Hash`) A service account key as a Hash
691
689
  # * (`Google::Auth::Credentials`) A googleauth credentials object
692
690
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
693
691
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -696,7 +694,26 @@ module Google
696
694
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
697
695
  # * (`nil`) indicating no credentials
698
696
  #
699
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
697
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
698
+ # is deprecated. Providing an unvalidated credential configuration to
699
+ # Google APIs can compromise the security of your systems and data.
700
+ #
701
+ # @example
702
+ #
703
+ # # The recommended way to provide credentials is to use the `make_creds` method
704
+ # # on the appropriate credentials class for your environment.
705
+ #
706
+ # require "googleauth"
707
+ #
708
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
709
+ # json_key_io: ::File.open("/path/to/keyfile.json")
710
+ # )
711
+ #
712
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::RegionsService::Client.new do |config|
713
+ # config.credentials = credentials
714
+ # end
715
+ #
716
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
700
717
  # external source for authentication to Google Cloud, you must validate it before
701
718
  # providing it to a Google API client library. Providing an unvalidated credential
702
719
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -395,8 +395,6 @@ module Google
395
395
  # @return [::String,nil]
396
396
  # @!attribute [rw] credentials
397
397
  # Credentials to send with calls. You may provide any of the following types:
398
- # * (`String`) The path to a service account key file in JSON format
399
- # * (`Hash`) A service account key as a Hash
400
398
  # * (`Google::Auth::Credentials`) A googleauth credentials object
401
399
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
402
400
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -405,7 +403,26 @@ module Google
405
403
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
406
404
  # * (`nil`) indicating no credentials
407
405
  #
408
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
406
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
407
+ # is deprecated. Providing an unvalidated credential configuration to
408
+ # Google APIs can compromise the security of your systems and data.
409
+ #
410
+ # @example
411
+ #
412
+ # # The recommended way to provide credentials is to use the `make_creds` method
413
+ # # on the appropriate credentials class for your environment.
414
+ #
415
+ # require "googleauth"
416
+ #
417
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
418
+ # json_key_io: ::File.open("/path/to/keyfile.json")
419
+ # )
420
+ #
421
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::ShippingSettingsService::Client.new do |config|
422
+ # config.credentials = credentials
423
+ # end
424
+ #
425
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
409
426
  # external source for authentication to Google Cloud, you must validate it before
410
427
  # providing it to a Google API client library. Providing an unvalidated credential
411
428
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -397,8 +397,6 @@ module Google
397
397
  # @return [::String,nil]
398
398
  # @!attribute [rw] credentials
399
399
  # Credentials to send with calls. You may provide any of the following types:
400
- # * (`String`) The path to a service account key file in JSON format
401
- # * (`Hash`) A service account key as a Hash
402
400
  # * (`Google::Auth::Credentials`) A googleauth credentials object
403
401
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
404
402
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -407,7 +405,26 @@ module Google
407
405
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
408
406
  # * (`nil`) indicating no credentials
409
407
  #
410
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
408
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
409
+ # is deprecated. Providing an unvalidated credential configuration to
410
+ # Google APIs can compromise the security of your systems and data.
411
+ #
412
+ # @example
413
+ #
414
+ # # The recommended way to provide credentials is to use the `make_creds` method
415
+ # # on the appropriate credentials class for your environment.
416
+ #
417
+ # require "googleauth"
418
+ #
419
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
420
+ # json_key_io: ::File.open("/path/to/keyfile.json")
421
+ # )
422
+ #
423
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::TermsOfServiceAgreementStateService::Client.new do |config|
424
+ # config.credentials = credentials
425
+ # end
426
+ #
427
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
411
428
  # external source for authentication to Google Cloud, you must validate it before
412
429
  # providing it to a Google API client library. Providing an unvalidated credential
413
430
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -484,8 +484,6 @@ module Google
484
484
  # @return [::String,nil]
485
485
  # @!attribute [rw] credentials
486
486
  # Credentials to send with calls. You may provide any of the following types:
487
- # * (`String`) The path to a service account key file in JSON format
488
- # * (`Hash`) A service account key as a Hash
489
487
  # * (`Google::Auth::Credentials`) A googleauth credentials object
490
488
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
491
489
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -494,7 +492,26 @@ module Google
494
492
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
495
493
  # * (`nil`) indicating no credentials
496
494
  #
497
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
495
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
496
+ # is deprecated. Providing an unvalidated credential configuration to
497
+ # Google APIs can compromise the security of your systems and data.
498
+ #
499
+ # @example
500
+ #
501
+ # # The recommended way to provide credentials is to use the `make_creds` method
502
+ # # on the appropriate credentials class for your environment.
503
+ #
504
+ # require "googleauth"
505
+ #
506
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
507
+ # json_key_io: ::File.open("/path/to/keyfile.json")
508
+ # )
509
+ #
510
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::TermsOfServiceService::Client.new do |config|
511
+ # config.credentials = credentials
512
+ # end
513
+ #
514
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
498
515
  # external source for authentication to Google Cloud, you must validate it before
499
516
  # providing it to a Google API client library. Providing an unvalidated credential
500
517
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -689,8 +689,6 @@ module Google
689
689
  # @return [::String,nil]
690
690
  # @!attribute [rw] credentials
691
691
  # Credentials to send with calls. You may provide any of the following types:
692
- # * (`String`) The path to a service account key file in JSON format
693
- # * (`Hash`) A service account key as a Hash
694
692
  # * (`Google::Auth::Credentials`) A googleauth credentials object
695
693
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
696
694
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -699,7 +697,26 @@ module Google
699
697
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
700
698
  # * (`nil`) indicating no credentials
701
699
  #
702
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
700
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
701
+ # is deprecated. Providing an unvalidated credential configuration to
702
+ # Google APIs can compromise the security of your systems and data.
703
+ #
704
+ # @example
705
+ #
706
+ # # The recommended way to provide credentials is to use the `make_creds` method
707
+ # # on the appropriate credentials class for your environment.
708
+ #
709
+ # require "googleauth"
710
+ #
711
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
712
+ # json_key_io: ::File.open("/path/to/keyfile.json")
713
+ # )
714
+ #
715
+ # client = ::Google::Shopping::Merchant::Accounts::V1beta::UserService::Client.new do |config|
716
+ # config.credentials = credentials
717
+ # end
718
+ #
719
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
703
720
  # external source for authentication to Google Cloud, you must validate it before
704
721
  # providing it to a Google API client library. Providing an unvalidated credential
705
722
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module Accounts
24
24
  module V1beta
25
- VERSION = "0.12.0"
25
+ VERSION = "0.12.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-accounts-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC