google-cloud-binary_authorization-v1beta1 0.17.0 → 0.17.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: 261c1ef22419788ed43e71ffdabf6087f42a02ffca9f279c34f8579016bd2ee2
4
- data.tar.gz: 145f8d0515ddb6568b80c7722e604a4adf7c07d8a2223eeed29f7733fcc545e3
3
+ metadata.gz: 10cc9c090991efa2c426bd0c9f2a08fbe3c603ac084463378b255e3873e5f2e4
4
+ data.tar.gz: 809bb4fa2eb73af6d9bc3d0dfae4d2079c224cac86c85e8606e2e836afee2dad
5
5
  SHA512:
6
- metadata.gz: 64e694dedeed1a17af364b243dae9b21aa22061155890d5555575f18f8d7f90baf3112adcf22c586fc3597cfb67df45a3f4cda4c432b8c717cb0b534db36da38
7
- data.tar.gz: 2e40809073cea3f4213876155c548b4d9e75e64192cbe32767163e532889d73830c4c55e6a0de814e9e483d8f8abbf57dca5ea30b1a0b820096673daf7ccf9c6
6
+ metadata.gz: 5625f8632d7a931a4509ad9f7ca3603f60027a7bc4547d859093dde87095f80632fa38efd772c5d84eaf60ddc2081e968c7867244ef993f621a8c6d470931456
7
+ data.tar.gz: c66a426631d2ad4e89bf785422f99480d88196a0bea693201395446d1b63ad5b874e13f0cb060e1ef16fe5f4899abe57320f7d0657895231183346e2f42b20bb
@@ -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: If you accept a credential configuration (JSON file or Hash) from an
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::V1beta1::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: If you accept a credential configuration (JSON file or Hash) from an
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::V1beta1::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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module BinaryAuthorization
23
23
  module V1beta1
24
- VERSION = "0.17.0"
24
+ VERSION = "0.17.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-binary_authorization-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC