google-iam-v3beta 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac094d06a7d5d7c3fc521c3769b608d6c742f5ae8cbf4a8e2e084e20abcaa203
4
- data.tar.gz: 441f9a5cb49372b1d4258fe574ec273d5f56118b9f135adec287ac43f9cd22f8
3
+ metadata.gz: ca9683db4c0ed16b85d5f6531ed2a3702e6d642fb6240bd07bea7acedf9c1b52
4
+ data.tar.gz: 057b3b3b7b6f441632c86ab1c36dd91cbe7ce08144611dadb3e8aa0e1b19a828
5
5
  SHA512:
6
- metadata.gz: ee2ee937a2777e821b9586cbb2b20e73d655d9e0f0fc2ed1232f38d4b011e1792f30fd5782bd965f9c29f13123a7a23d41e966ba4faf73c427354d9fee5f7a97
7
- data.tar.gz: ef249e760972cad5aae204b95e0f22407ce05b28e7cb1696d39c1262e7e2421b72b358f5d5ec7e18bd30f3eb2df11ff44b962b7c69b6f368661052734988ee96
6
+ metadata.gz: 6bde57aa99baa14635dd60e095e318c6655d2ed32e5c2d5e1f6e85dd32cbbd5db9c697d658d38bb6864dbdbbcab7b3861e074a783dbc3e819a362a1d576ef817
7
+ data.tar.gz: 85c55a87ef30f8b0a753a921a0aca4450f61be677dec18082257be5496c9e2fdc06cbd5f54fe96fc527a84810e67bd5f167693f9910fc64a1138aa7af5719933
@@ -942,8 +942,6 @@ module Google
942
942
  # @return [::String,nil]
943
943
  # @!attribute [rw] credentials
944
944
  # Credentials to send with calls. You may provide any of the following types:
945
- # * (`String`) The path to a service account key file in JSON format
946
- # * (`Hash`) A service account key as a Hash
947
945
  # * (`Google::Auth::Credentials`) A googleauth credentials object
948
946
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
949
947
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -952,7 +950,26 @@ module Google
952
950
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
953
951
  # * (`nil`) indicating no credentials
954
952
  #
955
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
953
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
954
+ # is deprecated. Providing an unvalidated credential configuration to
955
+ # Google APIs can compromise the security of your systems and data.
956
+ #
957
+ # @example
958
+ #
959
+ # # The recommended way to provide credentials is to use the `make_creds` method
960
+ # # on the appropriate credentials class for your environment.
961
+ #
962
+ # require "googleauth"
963
+ #
964
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
965
+ # json_key_io: ::File.open("/path/to/keyfile.json")
966
+ # )
967
+ #
968
+ # client = ::Google::Iam::V3beta::PolicyBindings::Client.new do |config|
969
+ # config.credentials = credentials
970
+ # end
971
+ #
972
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
956
973
  # external source for authentication to Google Cloud, you must validate it before
957
974
  # providing it to a Google API client library. Providing an unvalidated credential
958
975
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -641,8 +641,6 @@ module Google
641
641
  # @return [::String,nil]
642
642
  # @!attribute [rw] credentials
643
643
  # Credentials to send with calls. You may provide any of the following types:
644
- # * (`String`) The path to a service account key file in JSON format
645
- # * (`Hash`) A service account key as a Hash
646
644
  # * (`Google::Auth::Credentials`) A googleauth credentials object
647
645
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
648
646
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -651,7 +649,26 @@ module Google
651
649
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
652
650
  # * (`nil`) indicating no credentials
653
651
  #
654
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
652
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
653
+ # is deprecated. Providing an unvalidated credential configuration to
654
+ # Google APIs can compromise the security of your systems and data.
655
+ #
656
+ # @example
657
+ #
658
+ # # The recommended way to provide credentials is to use the `make_creds` method
659
+ # # on the appropriate credentials class for your environment.
660
+ #
661
+ # require "googleauth"
662
+ #
663
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
664
+ # json_key_io: ::File.open("/path/to/keyfile.json")
665
+ # )
666
+ #
667
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
668
+ # config.credentials = credentials
669
+ # end
670
+ #
671
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
655
672
  # external source for authentication to Google Cloud, you must validate it before
656
673
  # providing it to a Google API client library. Providing an unvalidated credential
657
674
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -895,8 +895,6 @@ module Google
895
895
  # @return [::String,nil]
896
896
  # @!attribute [rw] credentials
897
897
  # Credentials to send with calls. You may provide any of the following types:
898
- # * (`String`) The path to a service account key file in JSON format
899
- # * (`Hash`) A service account key as a Hash
900
898
  # * (`Google::Auth::Credentials`) A googleauth credentials object
901
899
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
902
900
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -905,7 +903,26 @@ module Google
905
903
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
906
904
  # * (`nil`) indicating no credentials
907
905
  #
908
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
906
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
907
+ # is deprecated. Providing an unvalidated credential configuration to
908
+ # Google APIs can compromise the security of your systems and data.
909
+ #
910
+ # @example
911
+ #
912
+ # # The recommended way to provide credentials is to use the `make_creds` method
913
+ # # on the appropriate credentials class for your environment.
914
+ #
915
+ # require "googleauth"
916
+ #
917
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
918
+ # json_key_io: ::File.open("/path/to/keyfile.json")
919
+ # )
920
+ #
921
+ # client = ::Google::Iam::V3beta::PrincipalAccessBoundaryPolicies::Client.new do |config|
922
+ # config.credentials = credentials
923
+ # end
924
+ #
925
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
909
926
  # external source for authentication to Google Cloud, you must validate it before
910
927
  # providing it to a Google API client library. Providing an unvalidated credential
911
928
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -641,8 +641,6 @@ module Google
641
641
  # @return [::String,nil]
642
642
  # @!attribute [rw] credentials
643
643
  # Credentials to send with calls. You may provide any of the following types:
644
- # * (`String`) The path to a service account key file in JSON format
645
- # * (`Hash`) A service account key as a Hash
646
644
  # * (`Google::Auth::Credentials`) A googleauth credentials object
647
645
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
648
646
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -651,7 +649,26 @@ module Google
651
649
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
652
650
  # * (`nil`) indicating no credentials
653
651
  #
654
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
652
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
653
+ # is deprecated. Providing an unvalidated credential configuration to
654
+ # Google APIs can compromise the security of your systems and data.
655
+ #
656
+ # @example
657
+ #
658
+ # # The recommended way to provide credentials is to use the `make_creds` method
659
+ # # on the appropriate credentials class for your environment.
660
+ #
661
+ # require "googleauth"
662
+ #
663
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
664
+ # json_key_io: ::File.open("/path/to/keyfile.json")
665
+ # )
666
+ #
667
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
668
+ # config.credentials = credentials
669
+ # end
670
+ #
671
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
655
672
  # external source for authentication to Google Cloud, you must validate it before
656
673
  # providing it to a Google API client library. Providing an unvalidated credential
657
674
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Iam
22
22
  module V3beta
23
- VERSION = "0.3.0"
23
+ VERSION = "0.3.1"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-iam-v3beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC