google-apps-events-subscriptions-v1 0.6.0 → 0.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: a7a6f4778109fa55b1a01e7a8916f480b60512905482a3ba832f09c11be7ea8f
4
- data.tar.gz: 8c55ef84cf495e94dae56a996978e1acf0a04aace74fcb8214ade59c14df22ec
3
+ metadata.gz: e746047332755f08ffbfd9bc85503d669be9c241630f59cf19b037b68c92010a
4
+ data.tar.gz: 4da31f17617a11d4c9fd6358400d2b19bbe847b140e57e7bb471a0b3457bd39d
5
5
  SHA512:
6
- metadata.gz: 40dfaf71b98a17f3fc01a380012cd93aaaf14fc15cc88ab4203fdbfeb793133b703a074008b7cea1e57fe7304a274984b29f2dec38958c4fcd261d0a3c43c090
7
- data.tar.gz: 29d7cae04e361ce66b66bf2dbba2f8da3bb40c9688d9c9c01fabca65fbd5ec313a6941a0e6d46c8c65dfc20da8953e5b5fa1ab1a015488dff5dc9a2944794a70
6
+ metadata.gz: 845923194c32fd4e83dfd48d26442bf87ad4737ee6f102a82a50b833111ce5d079617f14c4bc1f3317eebce06ca1b3654a3ac6a657025881c2a45a60843f8ab7
7
+ data.tar.gz: 1ceea9604f50adc5c46f6023c68eea98bcaf07de9ceaa9530a43d93a4162a37bc2405773b1fde14dc6a6f8f4397c545eb4d1a9907dbec178e1b25d61515dfa01
@@ -880,8 +880,6 @@ module Google
880
880
  # @return [::String,nil]
881
881
  # @!attribute [rw] credentials
882
882
  # Credentials to send with calls. You may provide any of the following types:
883
- # * (`String`) The path to a service account key file in JSON format
884
- # * (`Hash`) A service account key as a Hash
885
883
  # * (`Google::Auth::Credentials`) A googleauth credentials object
886
884
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
887
885
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -890,7 +888,26 @@ module Google
890
888
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
891
889
  # * (`nil`) indicating no credentials
892
890
  #
893
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
891
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
892
+ # is deprecated. Providing an unvalidated credential configuration to
893
+ # Google APIs can compromise the security of your systems and data.
894
+ #
895
+ # @example
896
+ #
897
+ # # The recommended way to provide credentials is to use the `make_creds` method
898
+ # # on the appropriate credentials class for your environment.
899
+ #
900
+ # require "googleauth"
901
+ #
902
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
903
+ # json_key_io: ::File.open("/path/to/keyfile.json")
904
+ # )
905
+ #
906
+ # client = ::Google::Apps::Events::Subscriptions::V1::SubscriptionsService::Client.new do |config|
907
+ # config.credentials = credentials
908
+ # end
909
+ #
910
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
894
911
  # external source for authentication to Google Cloud, you must validate it before
895
912
  # providing it to a Google API client library. Providing an unvalidated credential
896
913
  # 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 Events
23
23
  module Subscriptions
24
24
  module V1
25
- VERSION = "0.6.0"
25
+ VERSION = "0.6.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-apps-events-subscriptions-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC