google-cloud-text_to_speech 1.2.3 → 1.4.0

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: be5b39d12a50ee2cc80846f4b11eb248c3f8c73a90a12ea00bc3fbaabdb83c9b
4
- data.tar.gz: '08035b20f7b97f4e17f73f97b5055aac46e6fb91c5117d97480c4e05503a7e23'
3
+ metadata.gz: 79a20efb33ca575ac1f4d2c45f355d6db1e617c0dea20aea7999bf80076d42b3
4
+ data.tar.gz: 60bde975ef0b3cef0b3bcc5b50fc563863e05ea45175fca6fadeb8c52e961648
5
5
  SHA512:
6
- metadata.gz: a704372c36f6bc4230db1e1ce5e1de8d127564457790cdb33e3b82e2f1b4d5673ee1b5b7420a0cb598852175f6d2a446eb583ad0dddb240a2cd98bb36b969d2c
7
- data.tar.gz: d6f9f57778242daaaa77c65b832bbb493d6904efbc58b7c9e1d480c1cd73c7c3fa1958862a1a7d1df041302340e4616e3ec7fdf00a4ca65e1017c49acae8a53b
6
+ metadata.gz: c3a07483359fa76cde2fb7fb774d4ec22c307cf16d5c38ac72076b72a144ba4d0125476e559660f630b032c49eb8c02eca9484fdd54de76da59fe8cf824c082d
7
+ data.tar.gz: 7dce4aaaa029eae904bcfd179fa19cc82dabed4e505170bc867cc46b8acd4a039ef2aa71f452ca02179a0e6e7e9fa0e743af69b0683e9aea66d9f9138720a9de
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -11,7 +11,7 @@ verisoned gems in as dependencies, and provides high-level methods for
11
11
  constructing clients. More information on versioned clients can be found below
12
12
  in the section titled *Which client should I use?*.
13
13
 
14
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-text_to_speech/latest)
14
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-text_to_speech/latest)
15
15
  for this library, google-cloud-text_to_speech, to see the convenience methods for
16
16
  constructing client objects. Reference documentation for the client objects
17
17
  themselves can be found in the client library documentation for the versioned
@@ -46,7 +46,7 @@ See the {file:MIGRATING.md MIGRATING.md} document for more information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -71,14 +71,14 @@ end
71
71
 
72
72
  ## Supported Ruby Versions
73
73
 
74
- This library is supported on Ruby 2.5+.
74
+ This library is supported on Ruby 2.6+.
75
75
 
76
76
  Google provides official support for Ruby versions that are actively supported
77
77
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
78
+ in security maintenance, and not end of life. Older versions of Ruby _may_
79
+ still work, but are unsupported and not recommended. See
80
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
81
+ support schedule.
82
82
 
83
83
  ## Which client should I use?
84
84
 
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module TextToSpeech
23
- VERSION = "1.2.3"
23
+ VERSION = "1.4.0"
24
24
  end
25
25
  end
26
26
  end
@@ -74,6 +74,36 @@ module Google
74
74
  package_module.const_get(:TextToSpeech).const_get(:Client).new(&block)
75
75
  end
76
76
 
77
+ ##
78
+ # Create a new client object for TextToSpeechLongAudioSynthesize.
79
+ #
80
+ # By default, this returns an instance of
81
+ # [Google::Cloud::TextToSpeech::V1::TextToSpeechLongAudioSynthesize::Client](https://googleapis.dev/ruby/google-cloud-text_to_speech-v1/latest/Google/Cloud/TextToSpeech/V1/TextToSpeechLongAudioSynthesize/Client.html)
82
+ # for version V1 of the API.
83
+ # However, you can specify specify a different API version by passing it in the
84
+ # `version` parameter. If the TextToSpeechLongAudioSynthesize service is
85
+ # supported by that API version, and the corresponding gem is available, the
86
+ # appropriate versioned client will be returned.
87
+ #
88
+ # ## About TextToSpeechLongAudioSynthesize
89
+ #
90
+ # Service that implements Google Cloud Text-to-Speech API.
91
+ #
92
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
93
+ # Defaults to `:v1`.
94
+ # @return [TextToSpeechLongAudioSynthesize::Client] A client object for the specified version.
95
+ #
96
+ def self.text_to_speech_long_audio_synthesize version: :v1, &block
97
+ require "google/cloud/text_to_speech/#{version.to_s.downcase}"
98
+
99
+ package_name = Google::Cloud::TextToSpeech
100
+ .constants
101
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
102
+ .first
103
+ package_module = Google::Cloud::TextToSpeech.const_get package_name
104
+ package_module.const_get(:TextToSpeechLongAudioSynthesize).const_get(:Client).new(&block)
105
+ end
106
+
77
107
  ##
78
108
  # Configure the google-cloud-text_to_speech library.
79
109
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-text_to_speech
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0.0'
33
+ version: '0.8'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
36
  version: 2.a
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: '0.0'
43
+ version: '0.8'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: 2.a
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '0.0'
53
+ version: '0.9'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.a
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '0.0'
63
+ version: '0.9'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
@@ -70,28 +70,28 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: 1.25.1
73
+ version: 1.26.1
74
74
  type: :development
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: 1.25.1
80
+ version: 1.26.1
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: minitest
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - "~>"
86
86
  - !ruby/object:Gem::Version
87
- version: '5.14'
87
+ version: '5.16'
88
88
  type: :development
89
89
  prerelease: false
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: '5.14'
94
+ version: '5.16'
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: minitest-focus
97
97
  requirement: !ruby/object:Gem::Requirement
@@ -126,14 +126,14 @@ dependencies:
126
126
  requirements:
127
127
  - - ">="
128
128
  - !ruby/object:Gem::Version
129
- version: '12.0'
129
+ version: '13.0'
130
130
  type: :development
131
131
  prerelease: false
132
132
  version_requirements: !ruby/object:Gem::Requirement
133
133
  requirements:
134
134
  - - ">="
135
135
  - !ruby/object:Gem::Version
136
- version: '12.0'
136
+ version: '13.0'
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: redcarpet
139
139
  requirement: !ruby/object:Gem::Requirement
@@ -203,14 +203,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
203
  requirements:
204
204
  - - ">="
205
205
  - !ruby/object:Gem::Version
206
- version: '2.5'
206
+ version: '2.6'
207
207
  required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  requirements:
209
209
  - - ">="
210
210
  - !ruby/object:Gem::Version
211
211
  version: '0'
212
212
  requirements: []
213
- rubygems_version: 3.3.4
213
+ rubygems_version: 3.3.14
214
214
  signing_key:
215
215
  specification_version: 4
216
216
  summary: API Client library for the Cloud Text-to-Speech API