google-cloud-security_center-v1 1.7.0 → 1.7.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca1ce9656b701b5aceddf0af6083a125efe11a537a25110db93aa90beb342da9
|
|
4
|
+
data.tar.gz: 2b732bcbe1a3b1e596252927835ad337c8e09f69c5ef8ae2d52e5faa6ae41c95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a497897297dab921c9c730f302537a66e43ff06d9d3b764010095bbfd6746094fcba229bdfc5c730f465d1c4f2e2186615f6408ba8ade3a94381c7188aa6f348
|
|
7
|
+
data.tar.gz: 8df09a77f056cf1d1b512911ccc4cfc0ced71127ed2da3ced8a97c33657d331b83ca66192673f2f2fce4b4ccce3338d7e81ba493e0950a9780b4aca134ae9222
|
|
@@ -6853,8 +6853,6 @@ module Google
|
|
|
6853
6853
|
# @return [::String,nil]
|
|
6854
6854
|
# @!attribute [rw] credentials
|
|
6855
6855
|
# Credentials to send with calls. You may provide any of the following types:
|
|
6856
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
6857
|
-
# * (`Hash`) A service account key as a Hash
|
|
6858
6856
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
6859
6857
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
6860
6858
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -6863,7 +6861,26 @@ module Google
|
|
|
6863
6861
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
6864
6862
|
# * (`nil`) indicating no credentials
|
|
6865
6863
|
#
|
|
6866
|
-
# Warning:
|
|
6864
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
6865
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
6866
|
+
# Google APIs can compromise the security of your systems and data.
|
|
6867
|
+
#
|
|
6868
|
+
# @example
|
|
6869
|
+
#
|
|
6870
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
6871
|
+
# # on the appropriate credentials class for your environment.
|
|
6872
|
+
#
|
|
6873
|
+
# require "googleauth"
|
|
6874
|
+
#
|
|
6875
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
6876
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
6877
|
+
# )
|
|
6878
|
+
#
|
|
6879
|
+
# client = ::Google::Cloud::SecurityCenter::V1::SecurityCenter::Client.new do |config|
|
|
6880
|
+
# config.credentials = credentials
|
|
6881
|
+
# end
|
|
6882
|
+
#
|
|
6883
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
6867
6884
|
# external source for authentication to Google Cloud, you must validate it before
|
|
6868
6885
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
6869
6886
|
# 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.
|