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