google-cloud-developer_connect-v1 1.4.0 → 1.4.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: 5f55ae14025dc12e4b4d6a630ff61ce92474993aa534a0cbd64d7cc5c7abe19e
4
- data.tar.gz: 2a60915cba9be128cfd874adfb631ffce1410f34f9e44c08e9c452986218cd5f
3
+ metadata.gz: 79f8e71884391a746d7da638312aba3ba9fbeab14d062e4116b56c18e778adb0
4
+ data.tar.gz: 0d5aaaf2f35b49a4558e81bdcc34f717e1fe1df406c996488aa041af523c9d05
5
5
  SHA512:
6
- metadata.gz: e0c0a1e7a0c27b266664ad9d7f48f980064671c3894ae95ecddfc8bb4b80fcd032c328c4bd58b720cf262d245b4586bb61fa0cb158ad9b3386df8d281ffef758
7
- data.tar.gz: 2926941dc14ec12ef4217c7cbd6642ff98056674f06f294187f8eb5773ce9e738587a7f6cc774c83be421fc11564e86e3949c5014043637990d545cb1c7610d3
6
+ metadata.gz: 9b9c998387722824ab3265c075d79deae1248f08eab34513e79506166106fd1bd6bda73a4b351d9763b887b03d6c06da9594dd6aa9d4a55cc441ea22459ddcbd
7
+ data.tar.gz: 190a00591fef1cd0b872d97ed6814c0b85d32240c5d7a03b7bd8cc525a1cb06156a753205494966b3e84b0e6b32b0ec93db19f97b635bf966de22cbb35dbc132
@@ -2732,8 +2732,6 @@ module Google
2732
2732
  # @return [::String,nil]
2733
2733
  # @!attribute [rw] credentials
2734
2734
  # Credentials to send with calls. You may provide any of the following types:
2735
- # * (`String`) The path to a service account key file in JSON format
2736
- # * (`Hash`) A service account key as a Hash
2737
2735
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2738
2736
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2739
2737
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2742,7 +2740,26 @@ module Google
2742
2740
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2743
2741
  # * (`nil`) indicating no credentials
2744
2742
  #
2745
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2743
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2744
+ # is deprecated. Providing an unvalidated credential configuration to
2745
+ # Google APIs can compromise the security of your systems and data.
2746
+ #
2747
+ # @example
2748
+ #
2749
+ # # The recommended way to provide credentials is to use the `make_creds` method
2750
+ # # on the appropriate credentials class for your environment.
2751
+ #
2752
+ # require "googleauth"
2753
+ #
2754
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2755
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2756
+ # )
2757
+ #
2758
+ # client = ::Google::Cloud::DeveloperConnect::V1::DeveloperConnect::Client.new do |config|
2759
+ # config.credentials = credentials
2760
+ # end
2761
+ #
2762
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2746
2763
  # external source for authentication to Google Cloud, you must validate it before
2747
2764
  # providing it to a Google API client library. Providing an unvalidated credential
2748
2765
  # 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 DeveloperConnect
23
23
  module V1
24
- VERSION = "1.4.0"
24
+ VERSION = "1.4.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::Developerconnect::V1::InsightsConfigService::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-developer_connect-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC