google-shopping-merchant-accounts-v1 0.3.0 → 0.3.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.
- checksums.yaml +4 -4
- data/lib/google/shopping/merchant/accounts/v1/account_issue_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/account_relationships_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/account_services_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/accounts_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/autofeed_settings_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/automatic_improvements_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/business_identity_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/business_info_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/checkout_settings_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/developer_registration_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/email_preferences_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/gbp_accounts_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/homepage_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/lfp_providers_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/omnichannel_settings_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/online_return_policy_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/programs_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/regions_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/shipping_settings_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/terms_of_service_agreement_state_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/terms_of_service_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/user_service/client.rb +20 -3
- data/lib/google/shopping/merchant/accounts/v1/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b6af362a44ec87059e75065e148cecde4ac445dcfb7dd945ac1b6b748b90af1
|
|
4
|
+
data.tar.gz: e3d86454c1ea09cbbc5924b8525c2e50634bef7d7b280b3cbc80b5a39f35477f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71aac0d5e1b1370983e8a6fbd0cffb964ddfcddf4a07f0bfb9f478f7749cb2e2653423f43cbf00b87c9bd721d3e4053d1fea74fea0aae98cf9bc577ad1e7fbb3
|
|
7
|
+
data.tar.gz: 1cc37e0f1948d64575d9d8a80b42a44110dd4533e21bf0dd4518e8d80b106280a4f5f1d434221e2d5ce254e4fe30c4936b4e13c985bd1ca8be14510cca65032f
|
|
@@ -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:
|
|
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:
|
|
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:
|
|
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.
|
|
@@ -797,8 +797,6 @@ module Google
|
|
|
797
797
|
# @return [::String,nil]
|
|
798
798
|
# @!attribute [rw] credentials
|
|
799
799
|
# 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
800
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
803
801
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
804
802
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -807,7 +805,26 @@ module Google
|
|
|
807
805
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
808
806
|
# * (`nil`) indicating no credentials
|
|
809
807
|
#
|
|
810
|
-
# Warning:
|
|
808
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
809
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
810
|
+
# Google APIs can compromise the security of your systems and data.
|
|
811
|
+
#
|
|
812
|
+
# @example
|
|
813
|
+
#
|
|
814
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
815
|
+
# # on the appropriate credentials class for your environment.
|
|
816
|
+
#
|
|
817
|
+
# require "googleauth"
|
|
818
|
+
#
|
|
819
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
820
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
821
|
+
# )
|
|
822
|
+
#
|
|
823
|
+
# client = ::Google::Shopping::Merchant::Accounts::V1::AccountsService::Client.new do |config|
|
|
824
|
+
# config.credentials = credentials
|
|
825
|
+
# end
|
|
826
|
+
#
|
|
827
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
811
828
|
# external source for authentication to Google Cloud, you must validate it before
|
|
812
829
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
813
830
|
# 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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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.
|
|
@@ -496,8 +496,6 @@ module Google
|
|
|
496
496
|
# @return [::String,nil]
|
|
497
497
|
# @!attribute [rw] credentials
|
|
498
498
|
# Credentials to send with calls. You may provide any of the following types:
|
|
499
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
500
|
-
# * (`Hash`) A service account key as a Hash
|
|
501
499
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
502
500
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
503
501
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -506,7 +504,26 @@ module Google
|
|
|
506
504
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
507
505
|
# * (`nil`) indicating no credentials
|
|
508
506
|
#
|
|
509
|
-
# Warning:
|
|
507
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
508
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
509
|
+
# Google APIs can compromise the security of your systems and data.
|
|
510
|
+
#
|
|
511
|
+
# @example
|
|
512
|
+
#
|
|
513
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
514
|
+
# # on the appropriate credentials class for your environment.
|
|
515
|
+
#
|
|
516
|
+
# require "googleauth"
|
|
517
|
+
#
|
|
518
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
519
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
520
|
+
# )
|
|
521
|
+
#
|
|
522
|
+
# client = ::Google::Shopping::Merchant::Accounts::V1::DeveloperRegistrationService::Client.new do |config|
|
|
523
|
+
# config.credentials = credentials
|
|
524
|
+
# end
|
|
525
|
+
#
|
|
526
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
510
527
|
# external source for authentication to Google Cloud, you must validate it before
|
|
511
528
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
512
529
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -417,8 +417,6 @@ module Google
|
|
|
417
417
|
# @return [::String,nil]
|
|
418
418
|
# @!attribute [rw] credentials
|
|
419
419
|
# Credentials to send with calls. You may provide any of the following types:
|
|
420
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
421
|
-
# * (`Hash`) A service account key as a Hash
|
|
422
420
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
423
421
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
424
422
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -427,7 +425,26 @@ module Google
|
|
|
427
425
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
428
426
|
# * (`nil`) indicating no credentials
|
|
429
427
|
#
|
|
430
|
-
# Warning:
|
|
428
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
429
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
430
|
+
# Google APIs can compromise the security of your systems and data.
|
|
431
|
+
#
|
|
432
|
+
# @example
|
|
433
|
+
#
|
|
434
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
435
|
+
# # on the appropriate credentials class for your environment.
|
|
436
|
+
#
|
|
437
|
+
# require "googleauth"
|
|
438
|
+
#
|
|
439
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
440
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
441
|
+
# )
|
|
442
|
+
#
|
|
443
|
+
# client = ::Google::Shopping::Merchant::Accounts::V1::EmailPreferencesService::Client.new do |config|
|
|
444
|
+
# config.credentials = credentials
|
|
445
|
+
# end
|
|
446
|
+
#
|
|
447
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
431
448
|
# external source for authentication to Google Cloud, you must validate it before
|
|
432
449
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
433
450
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -423,8 +423,6 @@ module Google
|
|
|
423
423
|
# @return [::String,nil]
|
|
424
424
|
# @!attribute [rw] credentials
|
|
425
425
|
# Credentials to send with calls. You may provide any of the following types:
|
|
426
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
427
|
-
# * (`Hash`) A service account key as a Hash
|
|
428
426
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
429
427
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
430
428
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -433,7 +431,26 @@ module Google
|
|
|
433
431
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
434
432
|
# * (`nil`) indicating no credentials
|
|
435
433
|
#
|
|
436
|
-
# Warning:
|
|
434
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
435
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
436
|
+
# Google APIs can compromise the security of your systems and data.
|
|
437
|
+
#
|
|
438
|
+
# @example
|
|
439
|
+
#
|
|
440
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
441
|
+
# # on the appropriate credentials class for your environment.
|
|
442
|
+
#
|
|
443
|
+
# require "googleauth"
|
|
444
|
+
#
|
|
445
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
446
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
447
|
+
# )
|
|
448
|
+
#
|
|
449
|
+
# client = ::Google::Shopping::Merchant::Accounts::V1::GbpAccountsService::Client.new do |config|
|
|
450
|
+
# config.credentials = credentials
|
|
451
|
+
# end
|
|
452
|
+
#
|
|
453
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
437
454
|
# external source for authentication to Google Cloud, you must validate it before
|
|
438
455
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
439
456
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -598,8 +598,6 @@ module Google
|
|
|
598
598
|
# @return [::String,nil]
|
|
599
599
|
# @!attribute [rw] credentials
|
|
600
600
|
# Credentials to send with calls. You may provide any of the following types:
|
|
601
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
602
|
-
# * (`Hash`) A service account key as a Hash
|
|
603
601
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
604
602
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
605
603
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -608,7 +606,26 @@ module Google
|
|
|
608
606
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
609
607
|
# * (`nil`) indicating no credentials
|
|
610
608
|
#
|
|
611
|
-
# Warning:
|
|
609
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
610
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
611
|
+
# Google APIs can compromise the security of your systems and data.
|
|
612
|
+
#
|
|
613
|
+
# @example
|
|
614
|
+
#
|
|
615
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
616
|
+
# # on the appropriate credentials class for your environment.
|
|
617
|
+
#
|
|
618
|
+
# require "googleauth"
|
|
619
|
+
#
|
|
620
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
621
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
622
|
+
# )
|
|
623
|
+
#
|
|
624
|
+
# client = ::Google::Shopping::Merchant::Accounts::V1::HomepageService::Client.new do |config|
|
|
625
|
+
# config.credentials = credentials
|
|
626
|
+
# end
|
|
627
|
+
#
|
|
628
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
612
629
|
# external source for authentication to Google Cloud, you must validate it before
|
|
613
630
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
614
631
|
# 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:
|
|
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::V1::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:
|
|
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::V1::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.
|
|
@@ -595,8 +595,6 @@ module Google
|
|
|
595
595
|
# @return [::String,nil]
|
|
596
596
|
# @!attribute [rw] credentials
|
|
597
597
|
# Credentials to send with calls. You may provide any of the following types:
|
|
598
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
599
|
-
# * (`Hash`) A service account key as a Hash
|
|
600
598
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
601
599
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
602
600
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -605,7 +603,26 @@ module Google
|
|
|
605
603
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
606
604
|
# * (`nil`) indicating no credentials
|
|
607
605
|
#
|
|
608
|
-
# Warning:
|
|
606
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
607
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
608
|
+
# Google APIs can compromise the security of your systems and data.
|
|
609
|
+
#
|
|
610
|
+
# @example
|
|
611
|
+
#
|
|
612
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
613
|
+
# # on the appropriate credentials class for your environment.
|
|
614
|
+
#
|
|
615
|
+
# require "googleauth"
|
|
616
|
+
#
|
|
617
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
618
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
619
|
+
# )
|
|
620
|
+
#
|
|
621
|
+
# client = ::Google::Shopping::Merchant::Accounts::V1::OnlineReturnPolicyService::Client.new do |config|
|
|
622
|
+
# config.credentials = credentials
|
|
623
|
+
# end
|
|
624
|
+
#
|
|
625
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
609
626
|
# external source for authentication to Google Cloud, you must validate it before
|
|
610
627
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
611
628
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -594,8 +594,6 @@ module Google
|
|
|
594
594
|
# @return [::String,nil]
|
|
595
595
|
# @!attribute [rw] credentials
|
|
596
596
|
# Credentials to send with calls. You may provide any of the following types:
|
|
597
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
598
|
-
# * (`Hash`) A service account key as a Hash
|
|
599
597
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
600
598
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
601
599
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -604,7 +602,26 @@ module Google
|
|
|
604
602
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
605
603
|
# * (`nil`) indicating no credentials
|
|
606
604
|
#
|
|
607
|
-
# Warning:
|
|
605
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
606
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
607
|
+
# Google APIs can compromise the security of your systems and data.
|
|
608
|
+
#
|
|
609
|
+
# @example
|
|
610
|
+
#
|
|
611
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
612
|
+
# # on the appropriate credentials class for your environment.
|
|
613
|
+
#
|
|
614
|
+
# require "googleauth"
|
|
615
|
+
#
|
|
616
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
617
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
618
|
+
# )
|
|
619
|
+
#
|
|
620
|
+
# client = ::Google::Shopping::Merchant::Accounts::V1::ProgramsService::Client.new do |config|
|
|
621
|
+
# config.credentials = credentials
|
|
622
|
+
# end
|
|
623
|
+
#
|
|
624
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
608
625
|
# external source for authentication to Google Cloud, you must validate it before
|
|
609
626
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
610
627
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -956,8 +956,6 @@ module Google
|
|
|
956
956
|
# @return [::String,nil]
|
|
957
957
|
# @!attribute [rw] credentials
|
|
958
958
|
# Credentials to send with calls. You may provide any of the following types:
|
|
959
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
960
|
-
# * (`Hash`) A service account key as a Hash
|
|
961
959
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
962
960
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
963
961
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -966,7 +964,26 @@ module Google
|
|
|
966
964
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
967
965
|
# * (`nil`) indicating no credentials
|
|
968
966
|
#
|
|
969
|
-
# Warning:
|
|
967
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
968
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
969
|
+
# Google APIs can compromise the security of your systems and data.
|
|
970
|
+
#
|
|
971
|
+
# @example
|
|
972
|
+
#
|
|
973
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
974
|
+
# # on the appropriate credentials class for your environment.
|
|
975
|
+
#
|
|
976
|
+
# require "googleauth"
|
|
977
|
+
#
|
|
978
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
979
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
980
|
+
# )
|
|
981
|
+
#
|
|
982
|
+
# client = ::Google::Shopping::Merchant::Accounts::V1::RegionsService::Client.new do |config|
|
|
983
|
+
# config.credentials = credentials
|
|
984
|
+
# end
|
|
985
|
+
#
|
|
986
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
970
987
|
# external source for authentication to Google Cloud, you must validate it before
|
|
971
988
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
972
989
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -402,8 +402,6 @@ module Google
|
|
|
402
402
|
# @return [::String,nil]
|
|
403
403
|
# @!attribute [rw] credentials
|
|
404
404
|
# Credentials to send with calls. You may provide any of the following types:
|
|
405
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
406
|
-
# * (`Hash`) A service account key as a Hash
|
|
407
405
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
408
406
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
409
407
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -412,7 +410,26 @@ module Google
|
|
|
412
410
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
413
411
|
# * (`nil`) indicating no credentials
|
|
414
412
|
#
|
|
415
|
-
# Warning:
|
|
413
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
414
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
415
|
+
# Google APIs can compromise the security of your systems and data.
|
|
416
|
+
#
|
|
417
|
+
# @example
|
|
418
|
+
#
|
|
419
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
420
|
+
# # on the appropriate credentials class for your environment.
|
|
421
|
+
#
|
|
422
|
+
# require "googleauth"
|
|
423
|
+
#
|
|
424
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
425
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
426
|
+
# )
|
|
427
|
+
#
|
|
428
|
+
# client = ::Google::Shopping::Merchant::Accounts::V1::ShippingSettingsService::Client.new do |config|
|
|
429
|
+
# config.credentials = credentials
|
|
430
|
+
# end
|
|
431
|
+
#
|
|
432
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
416
433
|
# external source for authentication to Google Cloud, you must validate it before
|
|
417
434
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
418
435
|
# configuration to Google APIs can compromise the security of your systems and data.
|
data/lib/google/shopping/merchant/accounts/v1/terms_of_service_agreement_state_service/client.rb
CHANGED
|
@@ -401,8 +401,6 @@ module Google
|
|
|
401
401
|
# @return [::String,nil]
|
|
402
402
|
# @!attribute [rw] credentials
|
|
403
403
|
# Credentials to send with calls. You may provide any of the following types:
|
|
404
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
405
|
-
# * (`Hash`) A service account key as a Hash
|
|
406
404
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
407
405
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
408
406
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -411,7 +409,26 @@ module Google
|
|
|
411
409
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
412
410
|
# * (`nil`) indicating no credentials
|
|
413
411
|
#
|
|
414
|
-
# Warning:
|
|
412
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
413
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
414
|
+
# Google APIs can compromise the security of your systems and data.
|
|
415
|
+
#
|
|
416
|
+
# @example
|
|
417
|
+
#
|
|
418
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
419
|
+
# # on the appropriate credentials class for your environment.
|
|
420
|
+
#
|
|
421
|
+
# require "googleauth"
|
|
422
|
+
#
|
|
423
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
424
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
425
|
+
# )
|
|
426
|
+
#
|
|
427
|
+
# client = ::Google::Shopping::Merchant::Accounts::V1::TermsOfServiceAgreementStateService::Client.new do |config|
|
|
428
|
+
# config.credentials = credentials
|
|
429
|
+
# end
|
|
430
|
+
#
|
|
431
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
415
432
|
# external source for authentication to Google Cloud, you must validate it before
|
|
416
433
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
417
434
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -485,8 +485,6 @@ module Google
|
|
|
485
485
|
# @return [::String,nil]
|
|
486
486
|
# @!attribute [rw] credentials
|
|
487
487
|
# Credentials to send with calls. You may provide any of the following types:
|
|
488
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
489
|
-
# * (`Hash`) A service account key as a Hash
|
|
490
488
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
491
489
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
492
490
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -495,7 +493,26 @@ module Google
|
|
|
495
493
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
496
494
|
# * (`nil`) indicating no credentials
|
|
497
495
|
#
|
|
498
|
-
# Warning:
|
|
496
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
497
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
498
|
+
# Google APIs can compromise the security of your systems and data.
|
|
499
|
+
#
|
|
500
|
+
# @example
|
|
501
|
+
#
|
|
502
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
503
|
+
# # on the appropriate credentials class for your environment.
|
|
504
|
+
#
|
|
505
|
+
# require "googleauth"
|
|
506
|
+
#
|
|
507
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
508
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
509
|
+
# )
|
|
510
|
+
#
|
|
511
|
+
# client = ::Google::Shopping::Merchant::Accounts::V1::TermsOfServiceService::Client.new do |config|
|
|
512
|
+
# config.credentials = credentials
|
|
513
|
+
# end
|
|
514
|
+
#
|
|
515
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
499
516
|
# external source for authentication to Google Cloud, you must validate it before
|
|
500
517
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
501
518
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -696,8 +696,6 @@ module Google
|
|
|
696
696
|
# @return [::String,nil]
|
|
697
697
|
# @!attribute [rw] credentials
|
|
698
698
|
# Credentials to send with calls. You may provide any of the following types:
|
|
699
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
700
|
-
# * (`Hash`) A service account key as a Hash
|
|
701
699
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
702
700
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
703
701
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -706,7 +704,26 @@ module Google
|
|
|
706
704
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
707
705
|
# * (`nil`) indicating no credentials
|
|
708
706
|
#
|
|
709
|
-
# Warning:
|
|
707
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
708
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
709
|
+
# Google APIs can compromise the security of your systems and data.
|
|
710
|
+
#
|
|
711
|
+
# @example
|
|
712
|
+
#
|
|
713
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
714
|
+
# # on the appropriate credentials class for your environment.
|
|
715
|
+
#
|
|
716
|
+
# require "googleauth"
|
|
717
|
+
#
|
|
718
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
719
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
720
|
+
# )
|
|
721
|
+
#
|
|
722
|
+
# client = ::Google::Shopping::Merchant::Accounts::V1::UserService::Client.new do |config|
|
|
723
|
+
# config.credentials = credentials
|
|
724
|
+
# end
|
|
725
|
+
#
|
|
726
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
710
727
|
# external source for authentication to Google Cloud, you must validate it before
|
|
711
728
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
712
729
|
# configuration to Google APIs can compromise the security of your systems and data.
|