google-cloud-backupdr-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: d4c757718470fc1fa1447db896074520748fbed59171b22363c76a848174aec2
|
|
4
|
+
data.tar.gz: 0e99dcb4c51b6dfa11a147caf6dcc7d619e8d02c3a5a07c8563f890bfcce607c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4fb944c90a4616ea652b673323b58938af7ba259d4fec5044151100073d1e1f56e9ce75c8893e7ac03297a974f338dd205d5797e6388d49a29d39387aa95f9b
|
|
7
|
+
data.tar.gz: '0553468264f7dfb3d1fddfef5ba56d9c9997a4802413fba0d22ceeb2783449fe375fc26ec8f253ebbf27090a5583e2efcd57a92dadb6361da417b2b86f12db8b'
|
|
@@ -4109,8 +4109,6 @@ module Google
|
|
|
4109
4109
|
# @return [::String,nil]
|
|
4110
4110
|
# @!attribute [rw] credentials
|
|
4111
4111
|
# Credentials to send with calls. You may provide any of the following types:
|
|
4112
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
4113
|
-
# * (`Hash`) A service account key as a Hash
|
|
4114
4112
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
4115
4113
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
4116
4114
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -4119,7 +4117,26 @@ module Google
|
|
|
4119
4117
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
4120
4118
|
# * (`nil`) indicating no credentials
|
|
4121
4119
|
#
|
|
4122
|
-
# Warning:
|
|
4120
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
4121
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
4122
|
+
# Google APIs can compromise the security of your systems and data.
|
|
4123
|
+
#
|
|
4124
|
+
# @example
|
|
4125
|
+
#
|
|
4126
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
4127
|
+
# # on the appropriate credentials class for your environment.
|
|
4128
|
+
#
|
|
4129
|
+
# require "googleauth"
|
|
4130
|
+
#
|
|
4131
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
4132
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
4133
|
+
# )
|
|
4134
|
+
#
|
|
4135
|
+
# client = ::Google::Cloud::BackupDR::V1::BackupDR::Client.new do |config|
|
|
4136
|
+
# config.credentials = credentials
|
|
4137
|
+
# end
|
|
4138
|
+
#
|
|
4139
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
4123
4140
|
# external source for authentication to Google Cloud, you must validate it before
|
|
4124
4141
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
4125
4142
|
# 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.
|