google-cloud-cloud_security_compliance-v1 0.1.0 → 0.1.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 +4 -4
- data/lib/google/cloud/cloud_security_compliance/v1/config/client.rb +20 -3
- data/lib/google/cloud/cloud_security_compliance/v1/deployment/client.rb +20 -3
- data/lib/google/cloud/cloud_security_compliance/v1/deployment/operations.rb +20 -3
- data/lib/google/cloud/cloud_security_compliance/v1/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '09439f5cf532655885f4f2029779ff55ddbd07f30b33bd1272d80983ed27cff2'
|
|
4
|
+
data.tar.gz: 317c7da76e54d38d2cbbd7e70de25c12c375fabff9f0d58f2e46392cc85f97b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4cf74aaa0335e4bfbe2a3bef4d582d982fc134357cd5bc347f0bfd0409f1a6902c82b0eab0f66b272c61465dec1667c223137272e1b81afe67d426606b596254
|
|
7
|
+
data.tar.gz: 96e4924870213fdd45eeb1027975f04184957c32930a3af7fdccd7732b198420c335f81ea2c5baff4325b65d21aba5ad2acb6362be17637fb1826624aff614c8
|
|
@@ -1250,8 +1250,6 @@ module Google
|
|
|
1250
1250
|
# @return [::String,nil]
|
|
1251
1251
|
# @!attribute [rw] credentials
|
|
1252
1252
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1253
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1254
|
-
# * (`Hash`) A service account key as a Hash
|
|
1255
1253
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1256
1254
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1257
1255
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1260,7 +1258,26 @@ module Google
|
|
|
1260
1258
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1261
1259
|
# * (`nil`) indicating no credentials
|
|
1262
1260
|
#
|
|
1263
|
-
# Warning:
|
|
1261
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1262
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1263
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1264
|
+
#
|
|
1265
|
+
# @example
|
|
1266
|
+
#
|
|
1267
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1268
|
+
# # on the appropriate credentials class for your environment.
|
|
1269
|
+
#
|
|
1270
|
+
# require "googleauth"
|
|
1271
|
+
#
|
|
1272
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1273
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1274
|
+
# )
|
|
1275
|
+
#
|
|
1276
|
+
# client = ::Google::Cloud::CloudSecurityCompliance::V1::Config::Client.new do |config|
|
|
1277
|
+
# config.credentials = credentials
|
|
1278
|
+
# end
|
|
1279
|
+
#
|
|
1280
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1264
1281
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1265
1282
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1266
1283
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -858,8 +858,6 @@ module Google
|
|
|
858
858
|
# @return [::String,nil]
|
|
859
859
|
# @!attribute [rw] credentials
|
|
860
860
|
# Credentials to send with calls. You may provide any of the following types:
|
|
861
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
862
|
-
# * (`Hash`) A service account key as a Hash
|
|
863
861
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
864
862
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
865
863
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -868,7 +866,26 @@ module Google
|
|
|
868
866
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
869
867
|
# * (`nil`) indicating no credentials
|
|
870
868
|
#
|
|
871
|
-
# Warning:
|
|
869
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
870
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
871
|
+
# Google APIs can compromise the security of your systems and data.
|
|
872
|
+
#
|
|
873
|
+
# @example
|
|
874
|
+
#
|
|
875
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
876
|
+
# # on the appropriate credentials class for your environment.
|
|
877
|
+
#
|
|
878
|
+
# require "googleauth"
|
|
879
|
+
#
|
|
880
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
881
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
882
|
+
# )
|
|
883
|
+
#
|
|
884
|
+
# client = ::Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client.new do |config|
|
|
885
|
+
# config.credentials = credentials
|
|
886
|
+
# end
|
|
887
|
+
#
|
|
888
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
872
889
|
# external source for authentication to Google Cloud, you must validate it before
|
|
873
890
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
874
891
|
# 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.
|