google-cloud-text_to_speech-v1beta1 0.27.0 → 0.27.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 +4 -4
- data/lib/google/cloud/text_to_speech/v1beta1/text_to_speech/client.rb +20 -3
- data/lib/google/cloud/text_to_speech/v1beta1/text_to_speech_long_audio_synthesize/client.rb +20 -3
- data/lib/google/cloud/text_to_speech/v1beta1/text_to_speech_long_audio_synthesize/operations.rb +20 -3
- data/lib/google/cloud/text_to_speech/v1beta1/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8cef5aca2c074d02a2135de4040b15fe12bf90958ff47fad050f80b65c8a228e
|
|
4
|
+
data.tar.gz: 3602592e5a7a37505c65bec7301b4793ae1f3b426a1c50228dc01f15c8e4006a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4fdc5beacd7bbee3b4e30b221d03d17e17619831952cd2dfe481d06f990591476e5c75baf3abf5568a6cfda63da7a822f3e5ab0cc2ea68cf9668dbec9d0856a1
|
|
7
|
+
data.tar.gz: 6309685fd4a98c39d14d22b68444a1768a5ef3163d63468e0b601a1bf621202eb9488eab89e18b601e0edff6bb69c05ab52148a5a46e402e31ae6af48e72e282
|
|
@@ -472,8 +472,6 @@ module Google
|
|
|
472
472
|
# @return [::String,nil]
|
|
473
473
|
# @!attribute [rw] credentials
|
|
474
474
|
# Credentials to send with calls. You may provide any of the following types:
|
|
475
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
476
|
-
# * (`Hash`) A service account key as a Hash
|
|
477
475
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
478
476
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
479
477
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -482,7 +480,26 @@ module Google
|
|
|
482
480
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
483
481
|
# * (`nil`) indicating no credentials
|
|
484
482
|
#
|
|
485
|
-
# Warning:
|
|
483
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
484
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
485
|
+
# Google APIs can compromise the security of your systems and data.
|
|
486
|
+
#
|
|
487
|
+
# @example
|
|
488
|
+
#
|
|
489
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
490
|
+
# # on the appropriate credentials class for your environment.
|
|
491
|
+
#
|
|
492
|
+
# require "googleauth"
|
|
493
|
+
#
|
|
494
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
495
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
496
|
+
# )
|
|
497
|
+
#
|
|
498
|
+
# client = ::Google::Cloud::TextToSpeech::V1beta1::TextToSpeech::Client.new do |config|
|
|
499
|
+
# config.credentials = credentials
|
|
500
|
+
# end
|
|
501
|
+
#
|
|
502
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
486
503
|
# external source for authentication to Google Cloud, you must validate it before
|
|
487
504
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
488
505
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -339,8 +339,6 @@ module Google
|
|
|
339
339
|
# @return [::String,nil]
|
|
340
340
|
# @!attribute [rw] credentials
|
|
341
341
|
# Credentials to send with calls. You may provide any of the following types:
|
|
342
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
343
|
-
# * (`Hash`) A service account key as a Hash
|
|
344
342
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
345
343
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
346
344
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -349,7 +347,26 @@ module Google
|
|
|
349
347
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
350
348
|
# * (`nil`) indicating no credentials
|
|
351
349
|
#
|
|
352
|
-
# Warning:
|
|
350
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
351
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
352
|
+
# Google APIs can compromise the security of your systems and data.
|
|
353
|
+
#
|
|
354
|
+
# @example
|
|
355
|
+
#
|
|
356
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
357
|
+
# # on the appropriate credentials class for your environment.
|
|
358
|
+
#
|
|
359
|
+
# require "googleauth"
|
|
360
|
+
#
|
|
361
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
362
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
363
|
+
# )
|
|
364
|
+
#
|
|
365
|
+
# client = ::Google::Cloud::TextToSpeech::V1beta1::TextToSpeechLongAudioSynthesize::Client.new do |config|
|
|
366
|
+
# config.credentials = credentials
|
|
367
|
+
# end
|
|
368
|
+
#
|
|
369
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
353
370
|
# external source for authentication to Google Cloud, you must validate it before
|
|
354
371
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
355
372
|
# configuration to Google APIs can compromise the security of your systems and data.
|
data/lib/google/cloud/text_to_speech/v1beta1/text_to_speech_long_audio_synthesize/operations.rb
CHANGED
|
@@ -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.
|