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: 4a702fa4c5e0666e9f4ce1f1fd29933b6fbb96503293fd1cf43154baeaa31df1
4
- data.tar.gz: 9db4339c83a65756cc9f79af76f85da7d8f5b417fe50ee7035a3d4f1e24cf226
3
+ metadata.gz: ad3218fec427301198ce35771989fa02de727d65e1754d56084300f26bf15d00
4
+ data.tar.gz: 131ea7c82529bc20f2cea8986b93d4ff2b1668e76f8dd74f055437101e8c1251
5
5
  SHA512:
6
- metadata.gz: 2671a979517ab54f6ae2242914c1e3ff4a14554e5b7ce0843aa5f0c077906bf283b8f386a63770661ec8ef9d651808ae48444ab80d95557382bf9dc97a8d3685
7
- data.tar.gz: d86c8b6d5d23fecad224b7fd680c513cf78571ae400ceb83bcf2215ee128853704365266f29541f95ce2179bde189780d31b29c6da7c57bb885f16186f09c530
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module Transcoder
24
24
  module V1
25
- VERSION = "2.4.0"
25
+ VERSION = "2.4.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-video-transcoder-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC