google-cloud-security_center-v2 1.5.0 → 1.5.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: 5aa41dadd09f678c6815b09f6298ede441d1042dcf15e7fac663db685f51de8a
|
|
4
|
+
data.tar.gz: d1981aeccf5a29abb6e0f61fff27256b1bac5cb5d94842f0df936ae544ccc37b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c36b6d43a8d301b9d16c29aff4517dfb8eb65f2ed4cae7d68d0e894410cc4e7c9b5a4b080a49e35b650668d36e01fe001db374fb1e576d78704bf50fd813d84
|
|
7
|
+
data.tar.gz: f7bd0ed059eb91adc9e97bce7874661fade76c8d3fc1907d4ce8205e7227f3ddbecb0f9bd2a125a560f1b035cf6a450d87c8ec9e3d0f76266cb24166cbc3ea3c
|
|
@@ -4347,8 +4347,6 @@ module Google
|
|
|
4347
4347
|
# @return [::String,nil]
|
|
4348
4348
|
# @!attribute [rw] credentials
|
|
4349
4349
|
# Credentials to send with calls. You may provide any of the following types:
|
|
4350
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
4351
|
-
# * (`Hash`) A service account key as a Hash
|
|
4352
4350
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
4353
4351
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
4354
4352
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -4357,7 +4355,26 @@ module Google
|
|
|
4357
4355
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
4358
4356
|
# * (`nil`) indicating no credentials
|
|
4359
4357
|
#
|
|
4360
|
-
# Warning:
|
|
4358
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
4359
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
4360
|
+
# Google APIs can compromise the security of your systems and data.
|
|
4361
|
+
#
|
|
4362
|
+
# @example
|
|
4363
|
+
#
|
|
4364
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
4365
|
+
# # on the appropriate credentials class for your environment.
|
|
4366
|
+
#
|
|
4367
|
+
# require "googleauth"
|
|
4368
|
+
#
|
|
4369
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
4370
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
4371
|
+
# )
|
|
4372
|
+
#
|
|
4373
|
+
# client = ::Google::Cloud::SecurityCenter::V2::SecurityCenter::Client.new do |config|
|
|
4374
|
+
# config.credentials = credentials
|
|
4375
|
+
# end
|
|
4376
|
+
#
|
|
4377
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
4361
4378
|
# external source for authentication to Google Cloud, you must validate it before
|
|
4362
4379
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
4363
4380
|
# 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.
|