lib/google/cloud/parallelstore/v1/parallelstore/client.rb in google-cloud-parallelstore-v1-0.2.1 vs lib/google/cloud/parallelstore/v1/parallelstore/client.rb in google-cloud-parallelstore-v1-0.3.0
- old
+ new
@@ -1047,9 +1047,16 @@
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
# * (`nil`) indicating no credentials
+ #
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
+ # external source for authentication to Google Cloud, you must validate it before
+ # providing it to a Google API client library. Providing an unvalidated credential
+ # configuration to Google APIs can compromise the security of your systems and data.
+ # For more information, refer to [Validate credential configurations from external
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
# @return [::Object]
# @!attribute [rw] scope
# The OAuth scopes
# @return [::Array<::String>]
# @!attribute [rw] lib_name