google-cloud-network_management-v1 2.5.0 → 2.5.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: 0e7489e2e179560b628fd8f9fa35ce55dd198dec7df2945a468547d570c9d63f
4
- data.tar.gz: c63cfd8e1984ddb4ac598ccab7b1a470c9fadf00a4430ba13e292db7d7249410
3
+ metadata.gz: df5efcf501334814c11dafa5b393ecedd0a69201858b94cd6987318bfd9e44b5
4
+ data.tar.gz: c32d8e13afd001286bc367f19019d994fc858cac42b61331a598015e06f4b0d0
5
5
  SHA512:
6
- metadata.gz: d73c74307971b9a4e5324feb005244f96b71e2bbfbdaeaa0b9aa83c598e1ded4ad068166a4f9f2200fa84d9fe8f6f33e3a271feb9c79f3c236b48a79385ba360
7
- data.tar.gz: c801ea0384ccd535e9b8d334ad452ed6db337bb5f084f8f1bc5f459cdc3919106f02df5d63f200fd63ec616507e9b3cca4363b4049bbfda498b3e8553d1f2df6
6
+ metadata.gz: 02b3580ffbe73dfa5b532b152349193656595fecb08caeba029f9f3263ef68b57ce0093a22a9d5ebba6f574e05885ca1cde3a69efe02f24df292b87b472f648f
7
+ data.tar.gz: 9071af9a391fa38906edcbbed77a522a1bd279c763bf352a71cc156ddeec2d03b2c5ff360f6acbd7dc66631a75c23641569bfdc86c9934f8449be1696260512b
@@ -905,8 +905,6 @@ module Google
905
905
  # @return [::String,nil]
906
906
  # @!attribute [rw] credentials
907
907
  # Credentials to send with calls. You may provide any of the following types:
908
- # * (`String`) The path to a service account key file in JSON format
909
- # * (`Hash`) A service account key as a Hash
910
908
  # * (`Google::Auth::Credentials`) A googleauth credentials object
911
909
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
912
910
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -915,7 +913,26 @@ module Google
915
913
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
916
914
  # * (`nil`) indicating no credentials
917
915
  #
918
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
916
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
917
+ # is deprecated. Providing an unvalidated credential configuration to
918
+ # Google APIs can compromise the security of your systems and data.
919
+ #
920
+ # @example
921
+ #
922
+ # # The recommended way to provide credentials is to use the `make_creds` method
923
+ # # on the appropriate credentials class for your environment.
924
+ #
925
+ # require "googleauth"
926
+ #
927
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
928
+ # json_key_io: ::File.open("/path/to/keyfile.json")
929
+ # )
930
+ #
931
+ # client = ::Google::Cloud::NetworkManagement::V1::ReachabilityService::Client.new do |config|
932
+ # config.credentials = credentials
933
+ # end
934
+ #
935
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
919
936
  # external source for authentication to Google Cloud, you must validate it before
920
937
  # providing it to a Google API client library. Providing an unvalidated credential
921
938
  # 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 NetworkManagement
23
23
  module V1
24
- VERSION = "2.5.0"
24
+ VERSION = "2.5.1"
25
25
  end
26
26
  end
27
27
  end
@@ -774,8 +774,6 @@ module Google
774
774
  # @return [::String,nil]
775
775
  # @!attribute [rw] credentials
776
776
  # Credentials to send with calls. You may provide any of the following types:
777
- # * (`String`) The path to a service account key file in JSON format
778
- # * (`Hash`) A service account key as a Hash
779
777
  # * (`Google::Auth::Credentials`) A googleauth credentials object
780
778
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
781
779
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -784,7 +782,26 @@ module Google
784
782
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
785
783
  # * (`nil`) indicating no credentials
786
784
  #
787
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
785
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
786
+ # is deprecated. Providing an unvalidated credential configuration to
787
+ # Google APIs can compromise the security of your systems and data.
788
+ #
789
+ # @example
790
+ #
791
+ # # The recommended way to provide credentials is to use the `make_creds` method
792
+ # # on the appropriate credentials class for your environment.
793
+ #
794
+ # require "googleauth"
795
+ #
796
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
797
+ # json_key_io: ::File.open("/path/to/keyfile.json")
798
+ # )
799
+ #
800
+ # client = ::Google::Cloud::NetworkManagement::V1::VpcFlowLogsService::Client.new do |config|
801
+ # config.credentials = credentials
802
+ # end
803
+ #
804
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
788
805
  # external source for authentication to Google Cloud, you must validate it before
789
806
  # providing it to a Google API client library. Providing an unvalidated credential
790
807
  # 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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-network_management-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC