google-cloud-network_services-v1 2.6.0 → 2.6.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: 1e9119649a6a69d8bd858190cb19a1768c2bd7b40f8dca901a405e86ca175ac9
4
- data.tar.gz: 9063aafff77d6c48b5b19a564754004196b6a1a35f8c576f52fe2df8ce00dedb
3
+ metadata.gz: 4e91feaa61276b27da13a51e9952288b2030b680f9c17b1f9a736e83843dffd5
4
+ data.tar.gz: b98c69decdfe113e538936fff1e079b3765bcd0607a9451b4bb2cc59275877e1
5
5
  SHA512:
6
- metadata.gz: 483555d5aac383d46f6b94736c50c6fe261301c75dffb8cc813bd35f07df1a61f7ff828a801822b6d3d9430a183706f601a1302c1a4d9da2f0c937e7de9b46f4
7
- data.tar.gz: c7557b2e2c9fd77d216830aa9507d0b1021f8edc074d55b9464e25048f92941fb347a1240802689dffb5bd934a0e587a48d3637bac4b67029f1747beaadf089a
6
+ metadata.gz: 274c01417f91918651ed9e4391f70030e240f75cb08b401b832fe0019dc0be7ba35850fc1e80eeb2bcfb072ff3612a967296c74fb2dcdd96a8486af2405b790f
7
+ data.tar.gz: dd879e38ca0966d0e3f0cc1fec51927e65968ba28b12e2a8df2bb1290ee1cf76a04bf5b943fb44504511b367d3f2911ef0fdb79a1cbc6ad3b03869522a3ded16
@@ -1841,8 +1841,6 @@ module Google
1841
1841
  # @return [::String,nil]
1842
1842
  # @!attribute [rw] credentials
1843
1843
  # Credentials to send with calls. You may provide any of the following types:
1844
- # * (`String`) The path to a service account key file in JSON format
1845
- # * (`Hash`) A service account key as a Hash
1846
1844
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1847
1845
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1848
1846
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1851,7 +1849,26 @@ module Google
1851
1849
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1852
1850
  # * (`nil`) indicating no credentials
1853
1851
  #
1854
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1852
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1853
+ # is deprecated. Providing an unvalidated credential configuration to
1854
+ # Google APIs can compromise the security of your systems and data.
1855
+ #
1856
+ # @example
1857
+ #
1858
+ # # The recommended way to provide credentials is to use the `make_creds` method
1859
+ # # on the appropriate credentials class for your environment.
1860
+ #
1861
+ # require "googleauth"
1862
+ #
1863
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1864
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1865
+ # )
1866
+ #
1867
+ # client = ::Google::Cloud::NetworkServices::V1::DepService::Client.new do |config|
1868
+ # config.credentials = credentials
1869
+ # end
1870
+ #
1871
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1855
1872
  # external source for authentication to Google Cloud, you must validate it before
1856
1873
  # providing it to a Google API client library. Providing an unvalidated credential
1857
1874
  # 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.
@@ -5851,8 +5851,6 @@ module Google
5851
5851
  # @return [::String,nil]
5852
5852
  # @!attribute [rw] credentials
5853
5853
  # Credentials to send with calls. You may provide any of the following types:
5854
- # * (`String`) The path to a service account key file in JSON format
5855
- # * (`Hash`) A service account key as a Hash
5856
5854
  # * (`Google::Auth::Credentials`) A googleauth credentials object
5857
5855
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
5858
5856
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -5861,7 +5859,26 @@ module Google
5861
5859
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
5862
5860
  # * (`nil`) indicating no credentials
5863
5861
  #
5864
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
5862
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
5863
+ # is deprecated. Providing an unvalidated credential configuration to
5864
+ # Google APIs can compromise the security of your systems and data.
5865
+ #
5866
+ # @example
5867
+ #
5868
+ # # The recommended way to provide credentials is to use the `make_creds` method
5869
+ # # on the appropriate credentials class for your environment.
5870
+ #
5871
+ # require "googleauth"
5872
+ #
5873
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
5874
+ # json_key_io: ::File.open("/path/to/keyfile.json")
5875
+ # )
5876
+ #
5877
+ # client = ::Google::Cloud::NetworkServices::V1::NetworkServices::Client.new do |config|
5878
+ # config.credentials = credentials
5879
+ # end
5880
+ #
5881
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
5865
5882
  # external source for authentication to Google Cloud, you must validate it before
5866
5883
  # providing it to a Google API client library. Providing an unvalidated credential
5867
5884
  # 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 NetworkServices
23
23
  module V1
24
- VERSION = "2.6.0"
24
+ VERSION = "2.6.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_services-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC