lib/google/cloud/compute/v1/firewalls/rest/client.rb in google-cloud-compute-v1-2.15.0 vs lib/google/cloud/compute/v1/firewalls/rest/client.rb in google-cloud-compute-v1-2.16.0
- old
+ new
@@ -785,9 +785,16 @@
# * (`Google::Auth::Credentials`) A googleauth credentials object
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
# * (`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