google-cloud-migration_center-v1 2.3.0 → 2.3.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: a5c4be99cf336647bf7c22856f1bae8a7092073b1a1de72ea19d0e78e0759c2b
|
|
4
|
+
data.tar.gz: e602caf73f215f373770d403ca60b8b4ab6eedaec49632d37749a80df339143b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 16ff3ee3b58872ec8ab0e14acfa5f1e6f65b94fcb1bc8199a30990cc887bdb0980584d1753be55417e679eac9ac2b49d22965512ca0a8e77dbbd9e287b9939c0
|
|
7
|
+
data.tar.gz: d346271641c69a2e73a7927d8e0dc8841d32f041e9b41127cde84f0de661066f47d0fc72b88964f3e8471d33a582617aceb7992f542fa84ba030147ad8f3eec8
|
|
@@ -5186,8 +5186,6 @@ module Google
|
|
|
5186
5186
|
# @return [::String,nil]
|
|
5187
5187
|
# @!attribute [rw] credentials
|
|
5188
5188
|
# Credentials to send with calls. You may provide any of the following types:
|
|
5189
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
5190
|
-
# * (`Hash`) A service account key as a Hash
|
|
5191
5189
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
5192
5190
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
5193
5191
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -5196,7 +5194,26 @@ module Google
|
|
|
5196
5194
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
5197
5195
|
# * (`nil`) indicating no credentials
|
|
5198
5196
|
#
|
|
5199
|
-
# Warning:
|
|
5197
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
5198
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
5199
|
+
# Google APIs can compromise the security of your systems and data.
|
|
5200
|
+
#
|
|
5201
|
+
# @example
|
|
5202
|
+
#
|
|
5203
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
5204
|
+
# # on the appropriate credentials class for your environment.
|
|
5205
|
+
#
|
|
5206
|
+
# require "googleauth"
|
|
5207
|
+
#
|
|
5208
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
5209
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
5210
|
+
# )
|
|
5211
|
+
#
|
|
5212
|
+
# client = ::Google::Cloud::MigrationCenter::V1::MigrationCenter::Client.new do |config|
|
|
5213
|
+
# config.credentials = credentials
|
|
5214
|
+
# end
|
|
5215
|
+
#
|
|
5216
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
5200
5217
|
# external source for authentication to Google Cloud, you must validate it before
|
|
5201
5218
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
5202
5219
|
# 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.
|