google-cloud-gke_backup-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: cfb2d241c9bc5f85b4dfe3f729267fd09bd749f8953922dc7d86c6c917697ca4
|
|
4
|
+
data.tar.gz: 61814f99a1d000d3384c9b54e52a9f9b7a9080b764840d525da7b43d975c59cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7692e3cc5934ff2f92eb486754f2a2e670db2661805b3b2922e790adf2adbd4c2e4fffa7d171c84b441e9809ce95f9e4576d6315a32a58df51af304f1a1e12d0
|
|
7
|
+
data.tar.gz: 3594d586d24baf7d01bc91ee8662fa7a8a1ee67c94269c3b0cc5f58e72a8454dbb8743abb8347ed9ec1edf4ead8a1c2f2929424bb647d6eff40fbbb0ec2afb11
|
|
@@ -4339,8 +4339,6 @@ module Google
|
|
|
4339
4339
|
# @return [::String,nil]
|
|
4340
4340
|
# @!attribute [rw] credentials
|
|
4341
4341
|
# Credentials to send with calls. You may provide any of the following types:
|
|
4342
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
4343
|
-
# * (`Hash`) A service account key as a Hash
|
|
4344
4342
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
4345
4343
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
4346
4344
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -4349,7 +4347,26 @@ module Google
|
|
|
4349
4347
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
4350
4348
|
# * (`nil`) indicating no credentials
|
|
4351
4349
|
#
|
|
4352
|
-
# Warning:
|
|
4350
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
4351
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
4352
|
+
# Google APIs can compromise the security of your systems and data.
|
|
4353
|
+
#
|
|
4354
|
+
# @example
|
|
4355
|
+
#
|
|
4356
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
4357
|
+
# # on the appropriate credentials class for your environment.
|
|
4358
|
+
#
|
|
4359
|
+
# require "googleauth"
|
|
4360
|
+
#
|
|
4361
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
4362
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
4363
|
+
# )
|
|
4364
|
+
#
|
|
4365
|
+
# client = ::Google::Cloud::GkeBackup::V1::BackupForGKE::Client.new do |config|
|
|
4366
|
+
# config.credentials = credentials
|
|
4367
|
+
# end
|
|
4368
|
+
#
|
|
4369
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
4353
4370
|
# external source for authentication to Google Cloud, you must validate it before
|
|
4354
4371
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
4355
4372
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|