google-apps-events-subscriptions-v1beta 0.3.0 → 0.3.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: 688ea895ed085bfd2e34ec8b27eda9b30dbef6e4fa20fdb55df6a2582472fb62
4
- data.tar.gz: 57bcc85fef7817b516644b7e7fea2c085ff1a9c6b715e5231b63256cea2c7009
3
+ metadata.gz: fcc7a4b415d382772b8774457b57406bd58d66d125c7b5796148737337a37e58
4
+ data.tar.gz: 940078d46d3ce3c95edd7db2f0ce63aa4d386dacb76c13c9d526235aa0b7c8a8
5
5
  SHA512:
6
- metadata.gz: e07ceedda984536990926e586b4f1e84fb00afba412e9b29b1dac54b9d23ed54ed5bbb32cd5f85a06d8f80ee096f3c7f14d577547c810a1f3821cdad29f121ae
7
- data.tar.gz: 5ff8a970acfdc9875047f0cb7b29002cc47ce9322707528caab17e8b8c40fc0920e6b44bfe406cd63acb66258ddb8e4620e5c019967edcf8f48927387d01e10f
6
+ metadata.gz: 70d7706730dfc4e7622be9e3372e275e26f89df2f77478ee6481e3fd5e2496baef32ecdc6a075bafa6207f7a10aac85a631d00e460f88a276d11c359f1f8c779
7
+ data.tar.gz: cd258ff1cff7a08ae984c8d70ed4303c6b897cb1bcabfc05c20eab6f2a69ec4117fee5432e642e9af5a7b2150dba443f583828e402858e51f7e58912a689fc16
@@ -887,8 +887,6 @@ module Google
887
887
  # @return [::String,nil]
888
888
  # @!attribute [rw] credentials
889
889
  # Credentials to send with calls. You may provide any of the following types:
890
- # * (`String`) The path to a service account key file in JSON format
891
- # * (`Hash`) A service account key as a Hash
892
890
  # * (`Google::Auth::Credentials`) A googleauth credentials object
893
891
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
894
892
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -897,7 +895,26 @@ module Google
897
895
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
898
896
  # * (`nil`) indicating no credentials
899
897
  #
900
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
898
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
899
+ # is deprecated. Providing an unvalidated credential configuration to
900
+ # Google APIs can compromise the security of your systems and data.
901
+ #
902
+ # @example
903
+ #
904
+ # # The recommended way to provide credentials is to use the `make_creds` method
905
+ # # on the appropriate credentials class for your environment.
906
+ #
907
+ # require "googleauth"
908
+ #
909
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
910
+ # json_key_io: ::File.open("/path/to/keyfile.json")
911
+ # )
912
+ #
913
+ # client = ::Google::Apps::Events::Subscriptions::V1beta::SubscriptionsService::Client.new do |config|
914
+ # config.credentials = credentials
915
+ # end
916
+ #
917
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
901
918
  # external source for authentication to Google Cloud, you must validate it before
902
919
  # providing it to a Google API client library. Providing an unvalidated credential
903
920
  # 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 V1beta
25
- VERSION = "0.3.0"
25
+ VERSION = "0.3.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-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC