google-cloud-kms-v1 1.9.0 → 1.9.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/kms/v1/autokey/client.rb +20 -3
- data/lib/google/cloud/kms/v1/autokey/operations.rb +20 -3
- data/lib/google/cloud/kms/v1/autokey_admin/client.rb +20 -3
- data/lib/google/cloud/kms/v1/ekm_service/client.rb +20 -3
- data/lib/google/cloud/kms/v1/key_management_service/client.rb +20 -3
- data/lib/google/cloud/kms/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: f7d0081e509e03971f944a00307770827f84eabbe4bef877f57fa0ca6633dfd5
|
|
4
|
+
data.tar.gz: e1228846aacdd74c970515f931af4c69f45968d4fcedcb1b876644145a6885ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 978813151c5043959e5a5fb0c3a929a157290963e38dabba6e206afc086dbf071e2cc721cf7bc43f2bc1aa732d85af6ba04f761910741ddefc2ac9bb8eb1f9c5
|
|
7
|
+
data.tar.gz: 256e7712db20f6447b898b22884287b09001e165b0b4b89be857d5b77c96a906e4bcf51b4d6d27f27685230a6aead3fa0992bd3b5222a6cb52675ca26c35de6f
|
|
@@ -597,8 +597,6 @@ module Google
|
|
|
597
597
|
# @return [::String,nil]
|
|
598
598
|
# @!attribute [rw] credentials
|
|
599
599
|
# Credentials to send with calls. You may provide any of the following types:
|
|
600
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
601
|
-
# * (`Hash`) A service account key as a Hash
|
|
602
600
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
603
601
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
604
602
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -607,7 +605,26 @@ module Google
|
|
|
607
605
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
608
606
|
# * (`nil`) indicating no credentials
|
|
609
607
|
#
|
|
610
|
-
# Warning:
|
|
608
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
609
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
610
|
+
# Google APIs can compromise the security of your systems and data.
|
|
611
|
+
#
|
|
612
|
+
# @example
|
|
613
|
+
#
|
|
614
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
615
|
+
# # on the appropriate credentials class for your environment.
|
|
616
|
+
#
|
|
617
|
+
# require "googleauth"
|
|
618
|
+
#
|
|
619
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
620
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
621
|
+
# )
|
|
622
|
+
#
|
|
623
|
+
# client = ::Google::Cloud::Kms::V1::Autokey::Client.new do |config|
|
|
624
|
+
# config.credentials = credentials
|
|
625
|
+
# end
|
|
626
|
+
#
|
|
627
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
611
628
|
# external source for authentication to Google Cloud, you must validate it before
|
|
612
629
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
613
630
|
# 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.
|
|
@@ -542,8 +542,6 @@ module Google
|
|
|
542
542
|
# @return [::String,nil]
|
|
543
543
|
# @!attribute [rw] credentials
|
|
544
544
|
# Credentials to send with calls. You may provide any of the following types:
|
|
545
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
546
|
-
# * (`Hash`) A service account key as a Hash
|
|
547
545
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
548
546
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
549
547
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -552,7 +550,26 @@ module Google
|
|
|
552
550
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
553
551
|
# * (`nil`) indicating no credentials
|
|
554
552
|
#
|
|
555
|
-
# Warning:
|
|
553
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
554
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
555
|
+
# Google APIs can compromise the security of your systems and data.
|
|
556
|
+
#
|
|
557
|
+
# @example
|
|
558
|
+
#
|
|
559
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
560
|
+
# # on the appropriate credentials class for your environment.
|
|
561
|
+
#
|
|
562
|
+
# require "googleauth"
|
|
563
|
+
#
|
|
564
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
565
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
566
|
+
# )
|
|
567
|
+
#
|
|
568
|
+
# client = ::Google::Cloud::Kms::V1::AutokeyAdmin::Client.new do |config|
|
|
569
|
+
# config.credentials = credentials
|
|
570
|
+
# end
|
|
571
|
+
#
|
|
572
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
556
573
|
# external source for authentication to Google Cloud, you must validate it before
|
|
557
574
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
558
575
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -922,8 +922,6 @@ module Google
|
|
|
922
922
|
# @return [::String,nil]
|
|
923
923
|
# @!attribute [rw] credentials
|
|
924
924
|
# Credentials to send with calls. You may provide any of the following types:
|
|
925
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
926
|
-
# * (`Hash`) A service account key as a Hash
|
|
927
925
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
928
926
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
929
927
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -932,7 +930,26 @@ module Google
|
|
|
932
930
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
933
931
|
# * (`nil`) indicating no credentials
|
|
934
932
|
#
|
|
935
|
-
# Warning:
|
|
933
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
934
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
935
|
+
# Google APIs can compromise the security of your systems and data.
|
|
936
|
+
#
|
|
937
|
+
# @example
|
|
938
|
+
#
|
|
939
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
940
|
+
# # on the appropriate credentials class for your environment.
|
|
941
|
+
#
|
|
942
|
+
# require "googleauth"
|
|
943
|
+
#
|
|
944
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
945
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
946
|
+
# )
|
|
947
|
+
#
|
|
948
|
+
# client = ::Google::Cloud::Kms::V1::EkmService::Client.new do |config|
|
|
949
|
+
# config.credentials = credentials
|
|
950
|
+
# end
|
|
951
|
+
#
|
|
952
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
936
953
|
# external source for authentication to Google Cloud, you must validate it before
|
|
937
954
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
938
955
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -3669,8 +3669,6 @@ module Google
|
|
|
3669
3669
|
# @return [::String,nil]
|
|
3670
3670
|
# @!attribute [rw] credentials
|
|
3671
3671
|
# Credentials to send with calls. You may provide any of the following types:
|
|
3672
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
3673
|
-
# * (`Hash`) A service account key as a Hash
|
|
3674
3672
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
3675
3673
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
3676
3674
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -3679,7 +3677,26 @@ module Google
|
|
|
3679
3677
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
3680
3678
|
# * (`nil`) indicating no credentials
|
|
3681
3679
|
#
|
|
3682
|
-
# Warning:
|
|
3680
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
3681
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
3682
|
+
# Google APIs can compromise the security of your systems and data.
|
|
3683
|
+
#
|
|
3684
|
+
# @example
|
|
3685
|
+
#
|
|
3686
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
3687
|
+
# # on the appropriate credentials class for your environment.
|
|
3688
|
+
#
|
|
3689
|
+
# require "googleauth"
|
|
3690
|
+
#
|
|
3691
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
3692
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
3693
|
+
# )
|
|
3694
|
+
#
|
|
3695
|
+
# client = ::Google::Cloud::Kms::V1::KeyManagementService::Client.new do |config|
|
|
3696
|
+
# config.credentials = credentials
|
|
3697
|
+
# end
|
|
3698
|
+
#
|
|
3699
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
3683
3700
|
# external source for authentication to Google Cloud, you must validate it before
|
|
3684
3701
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
3685
3702
|
# configuration to Google APIs can compromise the security of your systems and data.
|