google-cloud-beyond_corp-app_connectors-v1 0.10.0 → 0.10.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: db1a3183b1d62b9d1e531887c39fe4d6e564d9cd01b40081dd5a5c297038470c
4
- data.tar.gz: 2886838dcf2a9119e330aaf9b7bd64e35a51e151608df8ba48ef2f599cba397d
3
+ metadata.gz: 25cc6b0bd6028c17a590fa3e0894cd4f1a09167e20230042fe867d0e20db64ba
4
+ data.tar.gz: 4e05dcc532247843caafe6faaa7a09cf6decbc0205f50bcc768ed6f372953f53
5
5
  SHA512:
6
- metadata.gz: 602e36d4ba686cb3919e31ebd3041ae67242f2d3d84d430e40e9e2a0b847d88d847613beedb5138cb16f4c7cde860142ee766cb851759ac25cd8a2abd9b6aee7
7
- data.tar.gz: 0bf31c2d76eb59e451020e71d9612759aa5a9f1a1fe581d12308be69c77e93dd31f454ff45a0a1694758d174caff1bfc6293699c33fee3aa08a654c456b07c6d
6
+ metadata.gz: f36c926bde43092de515ebfa108f16a929f904be1e799e80a98b5268bb3fb58009673fe723b22dd12f02b98b41483f2b8d0e606bc49bba8ec03306792b7ab040
7
+ data.tar.gz: cbf9c2dc85307cc9132716604f85762139c6ad5ffdb4c0f0d349d1cef9a90dc6475baa669a60bf6bddc9b6722354801c5b2aa15a1c73b493120154bb6d527d59
@@ -937,8 +937,6 @@ module Google
937
937
  # @return [::String,nil]
938
938
  # @!attribute [rw] credentials
939
939
  # Credentials to send with calls. You may provide any of the following types:
940
- # * (`String`) The path to a service account key file in JSON format
941
- # * (`Hash`) A service account key as a Hash
942
940
  # * (`Google::Auth::Credentials`) A googleauth credentials object
943
941
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
944
942
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -947,7 +945,26 @@ module Google
947
945
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
948
946
  # * (`nil`) indicating no credentials
949
947
  #
950
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
948
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
949
+ # is deprecated. Providing an unvalidated credential configuration to
950
+ # Google APIs can compromise the security of your systems and data.
951
+ #
952
+ # @example
953
+ #
954
+ # # The recommended way to provide credentials is to use the `make_creds` method
955
+ # # on the appropriate credentials class for your environment.
956
+ #
957
+ # require "googleauth"
958
+ #
959
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
960
+ # json_key_io: ::File.open("/path/to/keyfile.json")
961
+ # )
962
+ #
963
+ # client = ::Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnectorsService::Client.new do |config|
964
+ # config.credentials = credentials
965
+ # end
966
+ #
967
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
951
968
  # external source for authentication to Google Cloud, you must validate it before
952
969
  # providing it to a Google API client library. Providing an unvalidated credential
953
970
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module BeyondCorp
23
23
  module AppConnectors
24
24
  module V1
25
- VERSION = "0.10.0"
25
+ VERSION = "0.10.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-beyond_corp-app_connectors-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC