google-cloud-billing-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: 8c2ada48ed03842589906e17587dfd30c95a87c4cdc7aba4ce62af2c2912a4ca
|
|
4
|
+
data.tar.gz: f9e50015cd53e037d982802318e36d2560cfaefdc32bc5a13fc333774b0b9c5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c387dcd5a170be48195e97351fc950336ef6fe7871ebc49c6ababd8aaf58bdcb95cd71498fa12f60f446853ef497eb6c5f27bd08345ad3ea7e6b0c489e3e68f0
|
|
7
|
+
data.tar.gz: e605c59c978a8489cc9708f4395a4dc86be802265836a95859f8333a8e526bb044ac74480f3104153c48cf41d7ab64e30bde8c4ae1bc41576991cf67704af319
|
|
@@ -1347,8 +1347,6 @@ module Google
|
|
|
1347
1347
|
# @return [::String,nil]
|
|
1348
1348
|
# @!attribute [rw] credentials
|
|
1349
1349
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1350
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1351
|
-
# * (`Hash`) A service account key as a Hash
|
|
1352
1350
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1353
1351
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1354
1352
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1357,7 +1355,26 @@ module Google
|
|
|
1357
1355
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1358
1356
|
# * (`nil`) indicating no credentials
|
|
1359
1357
|
#
|
|
1360
|
-
# Warning:
|
|
1358
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1359
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1360
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1361
|
+
#
|
|
1362
|
+
# @example
|
|
1363
|
+
#
|
|
1364
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1365
|
+
# # on the appropriate credentials class for your environment.
|
|
1366
|
+
#
|
|
1367
|
+
# require "googleauth"
|
|
1368
|
+
#
|
|
1369
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1370
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1371
|
+
# )
|
|
1372
|
+
#
|
|
1373
|
+
# client = ::Google::Cloud::Billing::V1::CloudBilling::Client.new do |config|
|
|
1374
|
+
# config.credentials = credentials
|
|
1375
|
+
# end
|
|
1376
|
+
#
|
|
1377
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1361
1378
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1362
1379
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1363
1380
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -427,8 +427,6 @@ module Google
|
|
|
427
427
|
# @return [::String,nil]
|
|
428
428
|
# @!attribute [rw] credentials
|
|
429
429
|
# Credentials to send with calls. You may provide any of the following types:
|
|
430
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
431
|
-
# * (`Hash`) A service account key as a Hash
|
|
432
430
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
433
431
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
434
432
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -437,7 +435,26 @@ module Google
|
|
|
437
435
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
438
436
|
# * (`nil`) indicating no credentials
|
|
439
437
|
#
|
|
440
|
-
# Warning:
|
|
438
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
439
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
440
|
+
# Google APIs can compromise the security of your systems and data.
|
|
441
|
+
#
|
|
442
|
+
# @example
|
|
443
|
+
#
|
|
444
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
445
|
+
# # on the appropriate credentials class for your environment.
|
|
446
|
+
#
|
|
447
|
+
# require "googleauth"
|
|
448
|
+
#
|
|
449
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
450
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
451
|
+
# )
|
|
452
|
+
#
|
|
453
|
+
# client = ::Google::Cloud::Billing::V1::CloudCatalog::Client.new do |config|
|
|
454
|
+
# config.credentials = credentials
|
|
455
|
+
# end
|
|
456
|
+
#
|
|
457
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
441
458
|
# external source for authentication to Google Cloud, you must validate it before
|
|
442
459
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
443
460
|
# configuration to Google APIs can compromise the security of your systems and data.
|