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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdc5175eef78c3ba61f64bd8856382e264a7b51d3fba18400d01e703786a17ad
|
|
4
|
+
data.tar.gz: 165081836fb7e269425682943a031b845cd707504138ae1bb9427d3b094efb4c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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.
|