google-cloud-network_security-v1beta1 0.13.0 → 0.13.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: ed6c39c4fdd9cbda9e0d2a6c115499584fe675c886463e247dd2c76d5e0d613e
4
- data.tar.gz: b39d9504ede3bd384bdfc0841609402dcd3e59e18975112e03098e8f704c59bb
3
+ metadata.gz: 12d34cb813d62bfb27b36ea78dce6fe9900f5785798bfe39ef018c2ea9586e67
4
+ data.tar.gz: 3a4535c5cbf9ee86f02d7a70555880b9a6f577722c33c5b003216437e0987fdd
5
5
  SHA512:
6
- metadata.gz: 3e31a6eba5c0031d3759788e174094d54e647387973cc9829773434a285497c6e08530250485b41ceee58c26d441180f96e5f5cfb73b55b9283ab541b461399d
7
- data.tar.gz: 8716d81bb1bb25c36da1e60e3d2cf7beda609e93a6df89b84bae86375459b4568a040bceb2edbffaf05a89318721bd70668224e6fad5ae76b058f49d1dfd16f6
6
+ metadata.gz: d8af57c306338e9f66a9589af9d3df347fcbab99db354c6f4cb9c4b1be71f2d1328967b25f75969ee604c21dcc575ca30e9031fb32ce5586358bc734783e376d
7
+ data.tar.gz: 4f1945141c36e944cc965ca89ca971113660b364f8cbe84994e3b7eefd9c8c9963319adf655649c537d92bf6f5b8935b1b5f8f1a4ef5af0eb81cdc919f0000ae
@@ -1717,8 +1717,6 @@ module Google
1717
1717
  # @return [::String,nil]
1718
1718
  # @!attribute [rw] credentials
1719
1719
  # Credentials to send with calls. You may provide any of the following types:
1720
- # * (`String`) The path to a service account key file in JSON format
1721
- # * (`Hash`) A service account key as a Hash
1722
1720
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1723
1721
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1724
1722
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1727,7 +1725,26 @@ module Google
1727
1725
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1728
1726
  # * (`nil`) indicating no credentials
1729
1727
  #
1730
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1728
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1729
+ # is deprecated. Providing an unvalidated credential configuration to
1730
+ # Google APIs can compromise the security of your systems and data.
1731
+ #
1732
+ # @example
1733
+ #
1734
+ # # The recommended way to provide credentials is to use the `make_creds` method
1735
+ # # on the appropriate credentials class for your environment.
1736
+ #
1737
+ # require "googleauth"
1738
+ #
1739
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1740
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1741
+ # )
1742
+ #
1743
+ # client = ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Client.new do |config|
1744
+ # config.credentials = credentials
1745
+ # end
1746
+ #
1747
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1731
1748
  # external source for authentication to Google Cloud, you must validate it before
1732
1749
  # providing it to a Google API client library. Providing an unvalidated credential
1733
1750
  # 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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkSecurity
23
23
  module V1beta1
24
- VERSION = "0.13.0"
24
+ VERSION = "0.13.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-network_security-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC