google-cloud-video-live_stream-v1 2.5.0 → 2.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: a2fc72449429728eaaf3a8b473b93b34093e7709f5d82b0dc2c5f01b3d171adf
4
- data.tar.gz: 1c438a90ea4e7b904de2c80ff7d23b33e108bcfc18c86b52110a0ba9fbfd975b
3
+ metadata.gz: 465e5584e36c035360a4819e927544220b5da025e705e06d0b4f815f20619018
4
+ data.tar.gz: 8e9fc56b2d0d2353294782368aa99dc35fff25648283a6dec92263e76f981713
5
5
  SHA512:
6
- metadata.gz: 657678da28bf90b71b0226005d91d0a41565152a51a94eb4c4db1ff5a0c8ded3f5f52d5416cec821a5196b84ff2473daddf323574ce6c97cc17db5c375a24538
7
- data.tar.gz: 225503ed03fd1c13ad485fab95b4f9c0064eb5b423e75de02d0c99a07546ba67de724aa8375f6b1ac3b2e8c8f11a2f77259ee903ea2c31bc1d227e7d3fd167ae
6
+ metadata.gz: b8fa67cc019202874811dd094b254ffa5d9abcf54e337600d1478780371a5251ae05b023938db96539efe03f56183aaeb58abfdacdf886b4333284ffc9e07c16
7
+ data.tar.gz: 63f845c4403cd8ea123296eec9af3300a69494ab8bd3354c3b12d7ef831b9b151787290d604e7bcf82a0c37fcb859946bb42b2c381ac5b208120e53e0205d07b
@@ -3947,8 +3947,6 @@ module Google
3947
3947
  # @return [::String,nil]
3948
3948
  # @!attribute [rw] credentials
3949
3949
  # Credentials to send with calls. You may provide any of the following types:
3950
- # * (`String`) The path to a service account key file in JSON format
3951
- # * (`Hash`) A service account key as a Hash
3952
3950
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3953
3951
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3954
3952
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3957,7 +3955,26 @@ module Google
3957
3955
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3958
3956
  # * (`nil`) indicating no credentials
3959
3957
  #
3960
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3958
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3959
+ # is deprecated. Providing an unvalidated credential configuration to
3960
+ # Google APIs can compromise the security of your systems and data.
3961
+ #
3962
+ # @example
3963
+ #
3964
+ # # The recommended way to provide credentials is to use the `make_creds` method
3965
+ # # on the appropriate credentials class for your environment.
3966
+ #
3967
+ # require "googleauth"
3968
+ #
3969
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3970
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3971
+ # )
3972
+ #
3973
+ # client = ::Google::Cloud::Video::LiveStream::V1::LivestreamService::Client.new do |config|
3974
+ # config.credentials = credentials
3975
+ # end
3976
+ #
3977
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3961
3978
  # external source for authentication to Google Cloud, you must validate it before
3962
3979
  # providing it to a Google API client library. Providing an unvalidated credential
3963
3980
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # 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 LiveStream
24
24
  module V1
25
- VERSION = "2.5.0"
25
+ VERSION = "2.5.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-live_stream-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC