google-cloud-text_to_speech-v1beta1 0.19.0 → 0.20.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: 7cbc73a747c88a26bfe9e61b241f1c33ca83a1a3f9cd7c0baad87a6b37d634bb
4
- data.tar.gz: 52ff5cc525dd26cec022e70ab7848b6bd5ef2295af1e5166d9ed0c61f37cb781
3
+ metadata.gz: c50a36276223573df56b65abd52d302f32f15d587c198aa7346b10331991825c
4
+ data.tar.gz: 41d39540ba852d90978d9afe64be8a12a53ba1663a8af3c14518460cb43f72e1
5
5
  SHA512:
6
- metadata.gz: 474da4c34c9ba9dd6b0e1c4f1fefe178314baec2a503a3cdaff84b4187246df87ea4afc1f2d95b227f0115d6a3efdc3abe0f2c5113e6cd4843d1d68dfb500d1a
7
- data.tar.gz: 7d3d52f0bb57bb2a2531242f9d712553cf6167550dd6c290f38fececa4af0d8d8d935d43a7b32756bf2cf58f0fc04b915468e482014e62f88847b58ef8fe785e
6
+ metadata.gz: 28d8ef7b5f55186b32900114992ecc7a5c1bcb13ffbd318805933fa5bd7c0f1c023fa41dbb139aa36dc671a7b0e863359a3911312fffc224586fd11adc51aca2
7
+ data.tar.gz: 9e62d5d82e6172ea5b53042a3d0d878581b46d0454bdb6714772ef7ee9b775c1c510cb5f5876be16fbba160b0081bcd89004a78af464dd9d9fded2fbf435b085
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -481,6 +481,13 @@ module Google
481
481
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
482
482
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
483
483
  # * (`nil`) indicating no credentials
484
+ #
485
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
486
+ # external source for authentication to Google Cloud, you must validate it before
487
+ # providing it to a Google API client library. Providing an unvalidated credential
488
+ # configuration to Google APIs can compromise the security of your systems and data.
489
+ # For more information, refer to [Validate credential configurations from external
490
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
484
491
  # @return [::Object]
485
492
  # @!attribute [rw] scope
486
493
  # The OAuth scopes
@@ -535,8 +542,8 @@ module Google
535
542
 
536
543
  config_attr :endpoint, nil, ::String, nil
537
544
  config_attr :credentials, nil do |value|
538
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
539
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
545
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
546
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
540
547
  allowed.any? { |klass| klass === value }
541
548
  end
542
549
  config_attr :scope, nil, ::String, ::Array, nil
@@ -395,6 +395,13 @@ module Google
395
395
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
396
396
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
397
397
  # * (`nil`) indicating no credentials
398
+ #
399
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
400
+ # external source for authentication to Google Cloud, you must validate it before
401
+ # providing it to a Google API client library. Providing an unvalidated credential
402
+ # configuration to Google APIs can compromise the security of your systems and data.
403
+ # For more information, refer to [Validate credential configurations from external
404
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
398
405
  # @return [::Object]
399
406
  # @!attribute [rw] scope
400
407
  # The OAuth scopes
@@ -442,7 +449,7 @@ module Google
442
449
 
443
450
  config_attr :endpoint, nil, ::String, nil
444
451
  config_attr :credentials, nil do |value|
445
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
446
453
  allowed.any? { |klass| klass === value }
447
454
  end
448
455
  config_attr :scope, nil, ::String, ::Array, nil
@@ -348,6 +348,13 @@ module Google
348
348
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
349
349
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
350
350
  # * (`nil`) indicating no credentials
351
+ #
352
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
353
+ # external source for authentication to Google Cloud, you must validate it before
354
+ # providing it to a Google API client library. Providing an unvalidated credential
355
+ # configuration to Google APIs can compromise the security of your systems and data.
356
+ # For more information, refer to [Validate credential configurations from external
357
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
351
358
  # @return [::Object]
352
359
  # @!attribute [rw] scope
353
360
  # The OAuth scopes
@@ -402,8 +409,8 @@ module Google
402
409
 
403
410
  config_attr :endpoint, nil, ::String, nil
404
411
  config_attr :credentials, nil do |value|
405
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
406
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
412
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
413
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
407
414
  allowed.any? { |klass| klass === value }
408
415
  end
409
416
  config_attr :scope, nil, ::String, ::Array, nil
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -694,8 +701,8 @@ module Google
694
701
 
695
702
  config_attr :endpoint, nil, ::String, nil
696
703
  config_attr :credentials, nil do |value|
697
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
698
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
699
706
  allowed.any? { |klass| klass === value }
700
707
  end
701
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -332,6 +332,13 @@ module Google
332
332
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
333
333
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
334
334
  # * (`nil`) indicating no credentials
335
+ #
336
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
337
+ # external source for authentication to Google Cloud, you must validate it before
338
+ # providing it to a Google API client library. Providing an unvalidated credential
339
+ # configuration to Google APIs can compromise the security of your systems and data.
340
+ # For more information, refer to [Validate credential configurations from external
341
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
335
342
  # @return [::Object]
336
343
  # @!attribute [rw] scope
337
344
  # The OAuth scopes
@@ -379,7 +386,7 @@ module Google
379
386
 
380
387
  config_attr :endpoint, nil, ::String, nil
381
388
  config_attr :credentials, nil do |value|
382
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
389
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
383
390
  allowed.any? { |klass| klass === value }
384
391
  end
385
392
  config_attr :scope, nil, ::String, ::Array, nil
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -549,7 +556,7 @@ module Google
549
556
 
550
557
  config_attr :endpoint, nil, ::String, nil
551
558
  config_attr :credentials, nil do |value|
552
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
553
560
  allowed.any? { |klass| klass === value }
554
561
  end
555
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module TextToSpeech
23
23
  module V1beta1
24
- VERSION = "0.19.0"
24
+ VERSION = "0.20.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -176,6 +176,8 @@ module Google
176
176
  # @!attribute [rw] text
177
177
  # @return [::String]
178
178
  # The raw text to be synthesized.
179
+ #
180
+ # Note: The following fields are mutually exclusive: `text`, `ssml`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
179
181
  # @!attribute [rw] ssml
180
182
  # @return [::String]
181
183
  # The SSML document to be synthesized. The SSML document must be valid
@@ -183,10 +185,14 @@ module Google
183
185
  # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. For
184
186
  # more information, see
185
187
  # [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
188
+ #
189
+ # Note: The following fields are mutually exclusive: `ssml`, `text`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
186
190
  # @!attribute [rw] multi_speaker_markup
187
191
  # @return [::Google::Cloud::TextToSpeech::V1beta1::MultiSpeakerMarkup]
188
192
  # The multi-speaker input to be synthesized. Only applicable for
189
193
  # multi-speaker synthesis.
194
+ #
195
+ # Note: The following fields are mutually exclusive: `multi_speaker_markup`, `text`, `ssml`. If a field in that set is populated, all other fields in the set will automatically be cleared.
190
196
  # @!attribute [rw] custom_pronunciations
191
197
  # @return [::Google::Cloud::TextToSpeech::V1beta1::CustomPronunciations]
192
198
  # Optional. The pronunciation customizations to be applied to the input. If
@@ -412,10 +418,14 @@ module Google
412
418
  # @return [::Google::Cloud::TextToSpeech::V1beta1::StreamingSynthesizeConfig]
413
419
  # StreamingSynthesizeConfig to be used in this streaming attempt. Only
414
420
  # specified in the first message sent in a `StreamingSynthesize` call.
421
+ #
422
+ # Note: The following fields are mutually exclusive: `streaming_config`, `input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
415
423
  # @!attribute [rw] input
416
424
  # @return [::Google::Cloud::TextToSpeech::V1beta1::StreamingSynthesisInput]
417
425
  # Input to synthesize. Specified in all messages but the first in a
418
426
  # `StreamingSynthesize` call.
427
+ #
428
+ # Note: The following fields are mutually exclusive: `input`, `streaming_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
419
429
  class StreamingSynthesizeRequest
420
430
  include ::Google::Protobuf::MessageExts
421
431
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-text_to_speech-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-08 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -99,7 +98,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
99
98
  licenses:
100
99
  - Apache-2.0
101
100
  metadata: {}
102
- post_install_message:
103
101
  rdoc_options: []
104
102
  require_paths:
105
103
  - lib
@@ -107,15 +105,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
107
105
  requirements:
108
106
  - - ">="
109
107
  - !ruby/object:Gem::Version
110
- version: '2.7'
108
+ version: '3.0'
111
109
  required_rubygems_version: !ruby/object:Gem::Requirement
112
110
  requirements:
113
111
  - - ">="
114
112
  - !ruby/object:Gem::Version
115
113
  version: '0'
116
114
  requirements: []
117
- rubygems_version: 3.5.23
118
- signing_key:
115
+ rubygems_version: 3.6.8
119
116
  specification_version: 4
120
117
  summary: Synthesizes natural-sounding speech by applying powerful neural network models.
121
118
  test_files: []