google-cloud-resource_manager-v3 1.5.0 → 1.5.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/cloud/resource_manager/v3/folders/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/folders/operations.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/organizations/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/projects/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/projects/operations.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/tag_bindings/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/tag_bindings/operations.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/tag_holds/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/tag_holds/operations.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/tag_keys/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/tag_keys/operations.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/tag_values/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/tag_values/operations.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/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: 8a465756603cd9adf9bbc1ecd85d4485d2e296f87c73d6f93681c76fde68ab8a
|
|
4
|
+
data.tar.gz: 477b635396eccdb9835e5bbd96043eb8b9c54d1a0748d0949d1959f6a54409a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db32049b75739a8bf67f629f28f231145dbe7f9fd6a356969b0ba4b1363e1c730da12325a4378f0b7d3045d3b584fc1d26d75ae1363a0a11cfdc0a69061a8b5e
|
|
7
|
+
data.tar.gz: 06d72afbd4e82e6ab73440f69a360f7a86172acbdcb839a0677fe1a087d99415ba0611c418b17e34ea06a48b24e7fdfc929e2c3fabb312ccb2db620fff4abb58
|
|
@@ -1427,8 +1427,6 @@ module Google
|
|
|
1427
1427
|
# @return [::String,nil]
|
|
1428
1428
|
# @!attribute [rw] credentials
|
|
1429
1429
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1430
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1431
|
-
# * (`Hash`) A service account key as a Hash
|
|
1432
1430
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1433
1431
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1434
1432
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1437,7 +1435,26 @@ module Google
|
|
|
1437
1435
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1438
1436
|
# * (`nil`) indicating no credentials
|
|
1439
1437
|
#
|
|
1440
|
-
# Warning:
|
|
1438
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1439
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1440
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1441
|
+
#
|
|
1442
|
+
# @example
|
|
1443
|
+
#
|
|
1444
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1445
|
+
# # on the appropriate credentials class for your environment.
|
|
1446
|
+
#
|
|
1447
|
+
# require "googleauth"
|
|
1448
|
+
#
|
|
1449
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1450
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1451
|
+
# )
|
|
1452
|
+
#
|
|
1453
|
+
# client = ::Google::Cloud::ResourceManager::V3::Folders::Client.new do |config|
|
|
1454
|
+
# config.credentials = credentials
|
|
1455
|
+
# end
|
|
1456
|
+
#
|
|
1457
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1441
1458
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1442
1459
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1443
1460
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -724,8 +724,6 @@ module Google
|
|
|
724
724
|
# @return [::String,nil]
|
|
725
725
|
# @!attribute [rw] credentials
|
|
726
726
|
# Credentials to send with calls. You may provide any of the following types:
|
|
727
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
728
|
-
# * (`Hash`) A service account key as a Hash
|
|
729
727
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
730
728
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
731
729
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -734,7 +732,26 @@ module Google
|
|
|
734
732
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
735
733
|
# * (`nil`) indicating no credentials
|
|
736
734
|
#
|
|
737
|
-
# Warning:
|
|
735
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
736
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
737
|
+
# Google APIs can compromise the security of your systems and data.
|
|
738
|
+
#
|
|
739
|
+
# @example
|
|
740
|
+
#
|
|
741
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
742
|
+
# # on the appropriate credentials class for your environment.
|
|
743
|
+
#
|
|
744
|
+
# require "googleauth"
|
|
745
|
+
#
|
|
746
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
747
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
748
|
+
# )
|
|
749
|
+
#
|
|
750
|
+
# client = ::Google::Cloud::ResourceManager::V3::Organizations::Client.new do |config|
|
|
751
|
+
# config.credentials = credentials
|
|
752
|
+
# end
|
|
753
|
+
#
|
|
754
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
738
755
|
# external source for authentication to Google Cloud, you must validate it before
|
|
739
756
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
740
757
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1444,8 +1444,6 @@ module Google
|
|
|
1444
1444
|
# @return [::String,nil]
|
|
1445
1445
|
# @!attribute [rw] credentials
|
|
1446
1446
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1447
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1448
|
-
# * (`Hash`) A service account key as a Hash
|
|
1449
1447
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1450
1448
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1451
1449
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1454,7 +1452,26 @@ module Google
|
|
|
1454
1452
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1455
1453
|
# * (`nil`) indicating no credentials
|
|
1456
1454
|
#
|
|
1457
|
-
# Warning:
|
|
1455
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1456
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1457
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1458
|
+
#
|
|
1459
|
+
# @example
|
|
1460
|
+
#
|
|
1461
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1462
|
+
# # on the appropriate credentials class for your environment.
|
|
1463
|
+
#
|
|
1464
|
+
# require "googleauth"
|
|
1465
|
+
#
|
|
1466
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1467
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1468
|
+
# )
|
|
1469
|
+
#
|
|
1470
|
+
# client = ::Google::Cloud::ResourceManager::V3::Projects::Client.new do |config|
|
|
1471
|
+
# config.credentials = credentials
|
|
1472
|
+
# end
|
|
1473
|
+
#
|
|
1474
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1458
1475
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1459
1476
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1460
1477
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -616,8 +616,6 @@ module Google
|
|
|
616
616
|
# @return [::String,nil]
|
|
617
617
|
# @!attribute [rw] credentials
|
|
618
618
|
# Credentials to send with calls. You may provide any of the following types:
|
|
619
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
620
|
-
# * (`Hash`) A service account key as a Hash
|
|
621
619
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
622
620
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
623
621
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -626,7 +624,26 @@ module Google
|
|
|
626
624
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
627
625
|
# * (`nil`) indicating no credentials
|
|
628
626
|
#
|
|
629
|
-
# Warning:
|
|
627
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
628
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
629
|
+
# Google APIs can compromise the security of your systems and data.
|
|
630
|
+
#
|
|
631
|
+
# @example
|
|
632
|
+
#
|
|
633
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
634
|
+
# # on the appropriate credentials class for your environment.
|
|
635
|
+
#
|
|
636
|
+
# require "googleauth"
|
|
637
|
+
#
|
|
638
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
639
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
640
|
+
# )
|
|
641
|
+
#
|
|
642
|
+
# client = ::Google::Cloud::ResourceManager::V3::TagBindings::Client.new do |config|
|
|
643
|
+
# config.credentials = credentials
|
|
644
|
+
# end
|
|
645
|
+
#
|
|
646
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
630
647
|
# external source for authentication to Google Cloud, you must validate it before
|
|
631
648
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
632
649
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -546,8 +546,6 @@ module Google
|
|
|
546
546
|
# @return [::String,nil]
|
|
547
547
|
# @!attribute [rw] credentials
|
|
548
548
|
# Credentials to send with calls. You may provide any of the following types:
|
|
549
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
550
|
-
# * (`Hash`) A service account key as a Hash
|
|
551
549
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
552
550
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
553
551
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -556,7 +554,26 @@ module Google
|
|
|
556
554
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
557
555
|
# * (`nil`) indicating no credentials
|
|
558
556
|
#
|
|
559
|
-
# Warning:
|
|
557
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
558
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
559
|
+
# Google APIs can compromise the security of your systems and data.
|
|
560
|
+
#
|
|
561
|
+
# @example
|
|
562
|
+
#
|
|
563
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
564
|
+
# # on the appropriate credentials class for your environment.
|
|
565
|
+
#
|
|
566
|
+
# require "googleauth"
|
|
567
|
+
#
|
|
568
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
569
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
570
|
+
# )
|
|
571
|
+
#
|
|
572
|
+
# client = ::Google::Cloud::ResourceManager::V3::TagHolds::Client.new do |config|
|
|
573
|
+
# config.credentials = credentials
|
|
574
|
+
# end
|
|
575
|
+
#
|
|
576
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
560
577
|
# external source for authentication to Google Cloud, you must validate it before
|
|
561
578
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
562
579
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1106,8 +1106,6 @@ module Google
|
|
|
1106
1106
|
# @return [::String,nil]
|
|
1107
1107
|
# @!attribute [rw] credentials
|
|
1108
1108
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1109
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1110
|
-
# * (`Hash`) A service account key as a Hash
|
|
1111
1109
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1112
1110
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1113
1111
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1116,7 +1114,26 @@ module Google
|
|
|
1116
1114
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1117
1115
|
# * (`nil`) indicating no credentials
|
|
1118
1116
|
#
|
|
1119
|
-
# Warning:
|
|
1117
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1118
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1119
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1120
|
+
#
|
|
1121
|
+
# @example
|
|
1122
|
+
#
|
|
1123
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1124
|
+
# # on the appropriate credentials class for your environment.
|
|
1125
|
+
#
|
|
1126
|
+
# require "googleauth"
|
|
1127
|
+
#
|
|
1128
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1129
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1130
|
+
# )
|
|
1131
|
+
#
|
|
1132
|
+
# client = ::Google::Cloud::ResourceManager::V3::TagKeys::Client.new do |config|
|
|
1133
|
+
# config.credentials = credentials
|
|
1134
|
+
# end
|
|
1135
|
+
#
|
|
1136
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1120
1137
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1121
1138
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1122
1139
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1106,8 +1106,6 @@ module Google
|
|
|
1106
1106
|
# @return [::String,nil]
|
|
1107
1107
|
# @!attribute [rw] credentials
|
|
1108
1108
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1109
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1110
|
-
# * (`Hash`) A service account key as a Hash
|
|
1111
1109
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1112
1110
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1113
1111
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1116,7 +1114,26 @@ module Google
|
|
|
1116
1114
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1117
1115
|
# * (`nil`) indicating no credentials
|
|
1118
1116
|
#
|
|
1119
|
-
# Warning:
|
|
1117
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1118
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1119
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1120
|
+
#
|
|
1121
|
+
# @example
|
|
1122
|
+
#
|
|
1123
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1124
|
+
# # on the appropriate credentials class for your environment.
|
|
1125
|
+
#
|
|
1126
|
+
# require "googleauth"
|
|
1127
|
+
#
|
|
1128
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1129
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1130
|
+
# )
|
|
1131
|
+
#
|
|
1132
|
+
# client = ::Google::Cloud::ResourceManager::V3::TagValues::Client.new do |config|
|
|
1133
|
+
# config.credentials = credentials
|
|
1134
|
+
# end
|
|
1135
|
+
#
|
|
1136
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1120
1137
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1121
1138
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1122
1139
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|