google-cloud-trace-v1 1.5.0 → 1.5.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: 722eb1a567ec4c67146524f61226f27dff5c7ec81e695ca3e88d4ac2970bcdba
4
- data.tar.gz: '09499fea9645803760a672992599e2bca8ffbc27f3bb5106ad91f5fc1322a8dd'
3
+ metadata.gz: bdc5175eef78c3ba61f64bd8856382e264a7b51d3fba18400d01e703786a17ad
4
+ data.tar.gz: 165081836fb7e269425682943a031b845cd707504138ae1bb9427d3b094efb4c
5
5
  SHA512:
6
- metadata.gz: 77cd2d32adf247d1834bc52b309f45f783ef2d78645e3e730cc7dbd95412443c4f683bcb8cbe3d21640e4db7b56b4143a13ff7991b95abbff37bb4fa04d6b10d
7
- data.tar.gz: 35fa7a6a4f69773c32925b31fa37bf4702af0bd8991ac0b8b2a445f82382a118d051ede96d62e8222b12b9c96bdd733e11657f3a23fa4fbf8511b6db8116e92d
6
+ metadata.gz: 4f21f39e2eeba780462d4b3b750f11f4118751e41d642d96f6a3a8bb8e058a5e5eb66f601ad957b4f3f40bdc0992bce283a0ed7b775e2d9bcbc6960f6249762b
7
+ data.tar.gz: 86688eb3cbfa4963af32bd1937e95a071f29af68dedb048b22697fa25cc3784fba4c9a6e8fe12e851b3e0500b6de0f72780e70bb74863da6b1d49a4ce1302b06
@@ -568,8 +568,6 @@ module Google
568
568
  # @return [::String,nil]
569
569
  # @!attribute [rw] credentials
570
570
  # Credentials to send with calls. You may provide any of the following types:
571
- # * (`String`) The path to a service account key file in JSON format
572
- # * (`Hash`) A service account key as a Hash
573
571
  # * (`Google::Auth::Credentials`) A googleauth credentials object
574
572
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
575
573
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -578,7 +576,26 @@ module Google
578
576
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
579
577
  # * (`nil`) indicating no credentials
580
578
  #
581
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
579
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
580
+ # is deprecated. Providing an unvalidated credential configuration to
581
+ # Google APIs can compromise the security of your systems and data.
582
+ #
583
+ # @example
584
+ #
585
+ # # The recommended way to provide credentials is to use the `make_creds` method
586
+ # # on the appropriate credentials class for your environment.
587
+ #
588
+ # require "googleauth"
589
+ #
590
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
591
+ # json_key_io: ::File.open("/path/to/keyfile.json")
592
+ # )
593
+ #
594
+ # client = ::Google::Cloud::Trace::V1::TraceService::Client.new do |config|
595
+ # config.credentials = credentials
596
+ # end
597
+ #
598
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
582
599
  # external source for authentication to Google Cloud, you must validate it before
583
600
  # providing it to a Google API client library. Providing an unvalidated credential
584
601
  # 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 Trace
23
23
  module V1
24
- VERSION = "1.5.0"
24
+ VERSION = "1.5.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-trace-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC