google-cloud-security_center-v1p1beta1 0.19.0 → 0.19.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: 54ab33d52b7bf9bb77330a5d1b6e55a3e2d0bd8c5435d5b1de269ae59b017cb2
|
|
4
|
+
data.tar.gz: 191945901ab333847caa25ec95b12dae3404791599830fd79c915e535173f997
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fba3c2be907bd4312442fd165b4d85c0a754abebae26c41d0ed8b8f1345120e8c05c6f64bd28a9106a5d9d06b808970affdcbd2a83c1dc4f68a1e0c48bc76257
|
|
7
|
+
data.tar.gz: f4fe884a624949934103635256f4d6c2ccc2a674f859c24d0759897d347b826f531564a31fee22e9ebd40081a9d01b006d4737552e5618a5224a8e7fc71c5b85
|
|
@@ -2925,8 +2925,6 @@ module Google
|
|
|
2925
2925
|
# @return [::String,nil]
|
|
2926
2926
|
# @!attribute [rw] credentials
|
|
2927
2927
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2928
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2929
|
-
# * (`Hash`) A service account key as a Hash
|
|
2930
2928
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2931
2929
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2932
2930
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2935,7 +2933,26 @@ module Google
|
|
|
2935
2933
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2936
2934
|
# * (`nil`) indicating no credentials
|
|
2937
2935
|
#
|
|
2938
|
-
# Warning:
|
|
2936
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2937
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2938
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2939
|
+
#
|
|
2940
|
+
# @example
|
|
2941
|
+
#
|
|
2942
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2943
|
+
# # on the appropriate credentials class for your environment.
|
|
2944
|
+
#
|
|
2945
|
+
# require "googleauth"
|
|
2946
|
+
#
|
|
2947
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2948
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2949
|
+
# )
|
|
2950
|
+
#
|
|
2951
|
+
# client = ::Google::Cloud::SecurityCenter::V1p1beta1::SecurityCenter::Client.new do |config|
|
|
2952
|
+
# config.credentials = credentials
|
|
2953
|
+
# end
|
|
2954
|
+
#
|
|
2955
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2939
2956
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2940
2957
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2941
2958
|
# 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.
|