google-cloud-binary_authorization-v1 1.4.0 → 1.4.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/binary_authorization/v1/binauthz_management_service/client.rb +20 -3
- data/lib/google/cloud/binary_authorization/v1/system_policy/client.rb +20 -3
- data/lib/google/cloud/binary_authorization/v1/validation_helper/client.rb +20 -3
- data/lib/google/cloud/binary_authorization/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: 86e0a2e862e7c9acf18cf83c96bce921ae2fc632c7a1efd532f9ecfaaf2f241e
|
|
4
|
+
data.tar.gz: 5585ce456e38f9dca8f0ebe8c13c460ace53545769ab809539daf68e5162ce31
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9fe632af4327924972b4321d49bcd8feb90a554bd66a4f4890cb151a729256756acbdf621437503cd7d869d69126241da09414942d62caac1afed0435182501b
|
|
7
|
+
data.tar.gz: 75d0c426bef01519ba63787c641d6b485990b188e8e7738bfaab6d1dc11dbd8012747f99937004e9f2c94e5af05aab3b6097ca16913c4f1e2284d9e14b8d3ab8
|
|
@@ -895,8 +895,6 @@ module Google
|
|
|
895
895
|
# @return [::String,nil]
|
|
896
896
|
# @!attribute [rw] credentials
|
|
897
897
|
# Credentials to send with calls. You may provide any of the following types:
|
|
898
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
899
|
-
# * (`Hash`) A service account key as a Hash
|
|
900
898
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
901
899
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
902
900
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -905,7 +903,26 @@ module Google
|
|
|
905
903
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
906
904
|
# * (`nil`) indicating no credentials
|
|
907
905
|
#
|
|
908
|
-
# Warning:
|
|
906
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
907
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
908
|
+
# Google APIs can compromise the security of your systems and data.
|
|
909
|
+
#
|
|
910
|
+
# @example
|
|
911
|
+
#
|
|
912
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
913
|
+
# # on the appropriate credentials class for your environment.
|
|
914
|
+
#
|
|
915
|
+
# require "googleauth"
|
|
916
|
+
#
|
|
917
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
918
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
919
|
+
# )
|
|
920
|
+
#
|
|
921
|
+
# client = ::Google::Cloud::BinaryAuthorization::V1::BinauthzManagementService::Client.new do |config|
|
|
922
|
+
# config.credentials = credentials
|
|
923
|
+
# end
|
|
924
|
+
#
|
|
925
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
909
926
|
# external source for authentication to Google Cloud, you must validate it before
|
|
910
927
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
911
928
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -304,8 +304,6 @@ module Google
|
|
|
304
304
|
# @return [::String,nil]
|
|
305
305
|
# @!attribute [rw] credentials
|
|
306
306
|
# Credentials to send with calls. You may provide any of the following types:
|
|
307
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
308
|
-
# * (`Hash`) A service account key as a Hash
|
|
309
307
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
310
308
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
311
309
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -314,7 +312,26 @@ module Google
|
|
|
314
312
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
315
313
|
# * (`nil`) indicating no credentials
|
|
316
314
|
#
|
|
317
|
-
# Warning:
|
|
315
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
316
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
317
|
+
# Google APIs can compromise the security of your systems and data.
|
|
318
|
+
#
|
|
319
|
+
# @example
|
|
320
|
+
#
|
|
321
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
322
|
+
# # on the appropriate credentials class for your environment.
|
|
323
|
+
#
|
|
324
|
+
# require "googleauth"
|
|
325
|
+
#
|
|
326
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
327
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
328
|
+
# )
|
|
329
|
+
#
|
|
330
|
+
# client = ::Google::Cloud::BinaryAuthorization::V1::SystemPolicy::Client.new do |config|
|
|
331
|
+
# config.credentials = credentials
|
|
332
|
+
# end
|
|
333
|
+
#
|
|
334
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
318
335
|
# external source for authentication to Google Cloud, you must validate it before
|
|
319
336
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
320
337
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -315,8 +315,6 @@ module Google
|
|
|
315
315
|
# @return [::String,nil]
|
|
316
316
|
# @!attribute [rw] credentials
|
|
317
317
|
# Credentials to send with calls. You may provide any of the following types:
|
|
318
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
319
|
-
# * (`Hash`) A service account key as a Hash
|
|
320
318
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
321
319
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
322
320
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -325,7 +323,26 @@ module Google
|
|
|
325
323
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
326
324
|
# * (`nil`) indicating no credentials
|
|
327
325
|
#
|
|
328
|
-
# Warning:
|
|
326
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
327
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
328
|
+
# Google APIs can compromise the security of your systems and data.
|
|
329
|
+
#
|
|
330
|
+
# @example
|
|
331
|
+
#
|
|
332
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
333
|
+
# # on the appropriate credentials class for your environment.
|
|
334
|
+
#
|
|
335
|
+
# require "googleauth"
|
|
336
|
+
#
|
|
337
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
338
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
339
|
+
# )
|
|
340
|
+
#
|
|
341
|
+
# client = ::Google::Cloud::BinaryAuthorization::V1::ValidationHelper::Client.new do |config|
|
|
342
|
+
# config.credentials = credentials
|
|
343
|
+
# end
|
|
344
|
+
#
|
|
345
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
329
346
|
# external source for authentication to Google Cloud, you must validate it before
|
|
330
347
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
331
348
|
# configuration to Google APIs can compromise the security of your systems and data.
|