google-cloud-video-transcoder-v1 2.4.0 → 2.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: ad3218fec427301198ce35771989fa02de727d65e1754d56084300f26bf15d00
|
|
4
|
+
data.tar.gz: 131ea7c82529bc20f2cea8986b93d4ff2b1668e76f8dd74f055437101e8c1251
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 691a54708b2e270d01690227f8b676fa3ae77eac0beba224cc1003272a3bfcf1014aad190d94dba5a207cd92b0dad1a79ddc6ff6a2a4f11f3e1956e5be0499e6
|
|
7
|
+
data.tar.gz: ecb8c27e7a74927f71d78484d8d32b74c508d208bb819de6acc377f04eb4411ec001a87fcb6ae2b744e16a9dfaf4a3edda0409a7e56af04d40b14b8e2bd99101
|
|
@@ -990,8 +990,6 @@ module Google
|
|
|
990
990
|
# @return [::String,nil]
|
|
991
991
|
# @!attribute [rw] credentials
|
|
992
992
|
# Credentials to send with calls. You may provide any of the following types:
|
|
993
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
994
|
-
# * (`Hash`) A service account key as a Hash
|
|
995
993
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
996
994
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
997
995
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1000,7 +998,26 @@ module Google
|
|
|
1000
998
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1001
999
|
# * (`nil`) indicating no credentials
|
|
1002
1000
|
#
|
|
1003
|
-
# Warning:
|
|
1001
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1002
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1003
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1004
|
+
#
|
|
1005
|
+
# @example
|
|
1006
|
+
#
|
|
1007
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1008
|
+
# # on the appropriate credentials class for your environment.
|
|
1009
|
+
#
|
|
1010
|
+
# require "googleauth"
|
|
1011
|
+
#
|
|
1012
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1013
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1014
|
+
# )
|
|
1015
|
+
#
|
|
1016
|
+
# client = ::Google::Cloud::Video::Transcoder::V1::TranscoderService::Client.new do |config|
|
|
1017
|
+
# config.credentials = credentials
|
|
1018
|
+
# end
|
|
1019
|
+
#
|
|
1020
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1004
1021
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1005
1022
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1006
1023
|
# configuration to Google APIs can compromise the security of your systems and data.
|