google-cloud-advisory_notifications-v1 0.14.0 → 0.14.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: 8880f6e3012d0dd485d29b35e8f7bfa629c44abfd10e26b15df4ecfffded68a4
4
- data.tar.gz: b48cfa94e2acd4ad61fbc6d65f32781b01bb2dc49aa67b2601a4a8493cbc6570
3
+ metadata.gz: dad464950e62138b38fcbbd5620e325837851d41b9d6a6e1275a0633ae2dd5f1
4
+ data.tar.gz: bb1e728e82672dc14101f07cd54c2e1e07e40680a9c1dbb704da90c00d2cefba
5
5
  SHA512:
6
- metadata.gz: 123f862a5cc669c55261995f6e629f2bae12089f5a1313442d8c630c8eb88b146184bbe5655d02b8073204c4b5f8bc47a838c99a82f561097ee444c093bd75e5
7
- data.tar.gz: 1e3b55afde65eadeec4e1cb850a7ecf48bb4ca06c7fa837251ca94d508f39f6d2887b55d0a617a85e1a5bb47dc61ef1ace7884e234272baf1f726ca4f76bb74f
6
+ metadata.gz: 1eda014014c2628cfd1cd4ca68de34c8e60ff27d40a467ae7f2d23d5f64788532fd0bb4937437b3dc50614fef2876efb0048dd988af64645782f9f264581571a
7
+ data.tar.gz: 7069aea887e74cc404dcb00609067638587955a9513c718e7131426beb8c16e2727d96b4db3b711b047b28a499b6af771d14cb85a2a198e65daa6f1439189139
@@ -606,8 +606,6 @@ module Google
606
606
  # @return [::String,nil]
607
607
  # @!attribute [rw] credentials
608
608
  # Credentials to send with calls. You may provide any of the following types:
609
- # * (`String`) The path to a service account key file in JSON format
610
- # * (`Hash`) A service account key as a Hash
611
609
  # * (`Google::Auth::Credentials`) A googleauth credentials object
612
610
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
613
611
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -616,7 +614,26 @@ module Google
616
614
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
617
615
  # * (`nil`) indicating no credentials
618
616
  #
619
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
617
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
618
+ # is deprecated. Providing an unvalidated credential configuration to
619
+ # Google APIs can compromise the security of your systems and data.
620
+ #
621
+ # @example
622
+ #
623
+ # # The recommended way to provide credentials is to use the `make_creds` method
624
+ # # on the appropriate credentials class for your environment.
625
+ #
626
+ # require "googleauth"
627
+ #
628
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
629
+ # json_key_io: ::File.open("/path/to/keyfile.json")
630
+ # )
631
+ #
632
+ # client = ::Google::Cloud::AdvisoryNotifications::V1::AdvisoryNotificationsService::Client.new do |config|
633
+ # config.credentials = credentials
634
+ # end
635
+ #
636
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
620
637
  # external source for authentication to Google Cloud, you must validate it before
621
638
  # providing it to a Google API client library. Providing an unvalidated credential
622
639
  # 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 AdvisoryNotifications
23
23
  module V1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.14.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-advisory_notifications-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC