google-cloud-monitoring-dashboard-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: 2b70d8d1796ea3d7cd4f4c2953e03e9039eb89f5756b36fa309012fb91e49b08
4
- data.tar.gz: cfb85f4f6bd3051d5813ae868a5e73824723111519b7f030f50f205043ced0bf
3
+ metadata.gz: 5d9a369067a5a94484fcde54ebb5079f9e16f7c891872fee4eb10f6c663b6a09
4
+ data.tar.gz: a12f214647ca97d7aa65dad8940b6c2db4d07fa2e2cf1360547d706dc9f5a00b
5
5
  SHA512:
6
- metadata.gz: d2cc31d226253f395aa43354f7f4d50d2885a7891059daeccd0369de0325f14b92eeba31c2f73c34bcd099d1da5732721b0379a7cdcb23e2377a177f96a15ab8
7
- data.tar.gz: 4ef7d4a7814498dcd2a843d0f50fbc9f15d5569548c0f208fc4a9f8ac5441f431c935a38e9945b196859911d7ed4a165f351f17b108a4a2b12561545561cbd9e
6
+ metadata.gz: ccf9873bf077d0a5a65441ceb2524db88968bcda346b4149ea7ffcfd0a84aec76024906beef22de50101e59be4d523963effedee6c054dbb8e7aaadf3ec4a1dc
7
+ data.tar.gz: 4e83c1cd8d2875fc869cf5ae7db6183cde84cae8344a5577eadc2220dc936f6b0f2d61e9d113c726a8a0fd01d06092ce7756a1c2f939fdbbeae2a77f66f431e3
@@ -711,8 +711,6 @@ module Google
711
711
  # @return [::String,nil]
712
712
  # @!attribute [rw] credentials
713
713
  # Credentials to send with calls. You may provide any of the following types:
714
- # * (`String`) The path to a service account key file in JSON format
715
- # * (`Hash`) A service account key as a Hash
716
714
  # * (`Google::Auth::Credentials`) A googleauth credentials object
717
715
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
718
716
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -721,7 +719,26 @@ module Google
721
719
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
722
720
  # * (`nil`) indicating no credentials
723
721
  #
724
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
722
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
723
+ # is deprecated. Providing an unvalidated credential configuration to
724
+ # Google APIs can compromise the security of your systems and data.
725
+ #
726
+ # @example
727
+ #
728
+ # # The recommended way to provide credentials is to use the `make_creds` method
729
+ # # on the appropriate credentials class for your environment.
730
+ #
731
+ # require "googleauth"
732
+ #
733
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
734
+ # json_key_io: ::File.open("/path/to/keyfile.json")
735
+ # )
736
+ #
737
+ # client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new do |config|
738
+ # config.credentials = credentials
739
+ # end
740
+ #
741
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
725
742
  # external source for authentication to Google Cloud, you must validate it before
726
743
  # providing it to a Google API client library. Providing an unvalidated credential
727
744
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Monitoring
23
23
  module Dashboard
24
24
  module V1
25
- VERSION = "1.4.0"
25
+ VERSION = "1.4.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-cloud-monitoring-dashboard-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