google-cloud-beyond_corp-client_gateways-v1 0.10.0 → 0.10.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: 808315a484ff38f09368400d32fded7253a0c0ad6a6a928456b72963540976ee
4
- data.tar.gz: 3f030a2ad5d6fc7bcd73b7ef90543a1618dceafe4e0a3ccd0a7e95d28323e1d6
3
+ metadata.gz: 2af977c62978071646e6429a1360d4b0fb8bf50cf0d51b4aa29daa960cb3a108
4
+ data.tar.gz: 2b0e6bc6344e9093bc04187ce20ffac1ce5fa8cfaa782097517126cd985381f0
5
5
  SHA512:
6
- metadata.gz: c0e2539669776528d5498d79b1a6d476cf4ef6f54cfdea34617c5b95e590cfef8d6c642f29096c4e761bd91e790fcb871d03d6789669a279106673bbebcbffbb
7
- data.tar.gz: 63886f222578677c3cac8ff2c031eb3f4b3ca5722784e4a2dc50b1af1099e58d699728d566d0b2572c387b66827c5f31f58e1ac1c4d1c60da074138d5d9e0877
6
+ metadata.gz: abccd3c0bcead19b767b70c96221fcc1b0883e0f39e0f3ffc811be066ab0639e0dad57f788a6c8eea06d9998b56d92be89514832fd957130f584ef1d09f54a5c
7
+ data.tar.gz: f7833fda248d31ec05cd740d3a2a5c55596f1d35f2e537bfbba4d2e0695694b28424ef49aa851de7a5c309945cd0616fe798e6374bc1e5a7fbb065137d5786eb
@@ -689,8 +689,6 @@ module Google
689
689
  # @return [::String,nil]
690
690
  # @!attribute [rw] credentials
691
691
  # Credentials to send with calls. You may provide any of the following types:
692
- # * (`String`) The path to a service account key file in JSON format
693
- # * (`Hash`) A service account key as a Hash
694
692
  # * (`Google::Auth::Credentials`) A googleauth credentials object
695
693
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
696
694
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -699,7 +697,26 @@ module Google
699
697
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
700
698
  # * (`nil`) indicating no credentials
701
699
  #
702
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
700
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
701
+ # is deprecated. Providing an unvalidated credential configuration to
702
+ # Google APIs can compromise the security of your systems and data.
703
+ #
704
+ # @example
705
+ #
706
+ # # The recommended way to provide credentials is to use the `make_creds` method
707
+ # # on the appropriate credentials class for your environment.
708
+ #
709
+ # require "googleauth"
710
+ #
711
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
712
+ # json_key_io: ::File.open("/path/to/keyfile.json")
713
+ # )
714
+ #
715
+ # client = ::Google::Cloud::BeyondCorp::ClientGateways::V1::ClientGatewaysService::Client.new do |config|
716
+ # config.credentials = credentials
717
+ # end
718
+ #
719
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
703
720
  # external source for authentication to Google Cloud, you must validate it before
704
721
  # providing it to a Google API client library. Providing an unvalidated credential
705
722
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module BeyondCorp
23
23
  module ClientGateways
24
24
  module V1
25
- VERSION = "0.10.0"
25
+ VERSION = "0.10.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-beyond_corp-client_gateways-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC