google-cloud-text_to_speech 0.1.2 → 0.1.3

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: a04657495884a194b1665a5b52c770883d48906bcfadb0d8e086b8be88bd09a7
4
- data.tar.gz: a4cbd30ccef263e4f00e92953e5994ede298a9d1db52dd746245f600d32ac284
3
+ metadata.gz: b73d9b245296a84a14510dc0b61da3f816284e771863c5aaa9d4501f7151d128
4
+ data.tar.gz: 0f6d86732a748db0d8ecfc920b7cb0a1a2bf0c81e2c9075911e743ef24416348
5
5
  SHA512:
6
- metadata.gz: 46806b08034e693ded1246023a7761a8a09913ea6762abe94a9089476373f97ddae32b93de050d0daa429b1b907dbaa822026ad8a90a4b6e9be451757049aae8
7
- data.tar.gz: 4beada78a2fdd6aa0fe8a55c4a8f3c25c594c2a7f987f33f9aa1f1c3e75caccda3cf6c8c1299fc41c85d3c2995bff8fbbb8656401dc93b2960f2df6bae792afb
6
+ metadata.gz: a5710ec445f2e7860a4e425be4177ce85ff15e589641cf4f03ddd04431522cbec733b946fad5eea1ae649124d84ce569672f3332008486f48f494cb71b9729b4
7
+ data.tar.gz: 551f38deae10c556a1498760b232c90e7959ebee648adb7ccec0b9e354ad7fe0895d838e0ed101c67cf59e6317f837ab11fdcd47fc331bb7711a194c3d84408f
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ruby Client for Cloud Text-to-Speech API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-ruby#versioning))
1
+ # Ruby Client for Cloud Text-to-Speech API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
2
2
 
3
3
  [Cloud Text-to-Speech API][Product Documentation]:
4
4
  Synthesizes natural-sounding speech by applying powerful neural network
@@ -13,7 +13,7 @@ steps:
13
13
  1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
14
14
  2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
15
15
  3. [Enable the Cloud Text-to-Speech API.](https://console.cloud.google.com/apis/library/texttospeech.googleapis.com)
16
- 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
16
+ 4. [Setup Authentication.](https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
17
17
 
18
18
  ### Installation
19
19
  ```
@@ -25,17 +25,17 @@ $ gem install google-cloud-text_to_speech
25
25
  to see other available methods on the client.
26
26
  - Read the [Cloud Text-to-Speech API Product documentation][Product Documentation]
27
27
  to learn more about the product and see How-to Guides.
28
- - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
28
+ - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
29
29
  to see the full list of Cloud APIs that we cover.
30
30
 
31
- [Client Library Documentation]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-text_to_speech/latest/google/cloud/texttospeech/v1
31
+ [Client Library Documentation]: https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud-text_to_speech/latest/google/cloud/texttospeech/v1
32
32
  [Product Documentation]: https://cloud.google.com/texttospeech
33
33
 
34
34
  ## Enabling Logging
35
35
 
36
36
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
37
37
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
38
- or a [`Google::Cloud::Logging::Logger`](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
38
+ or a [`Google::Cloud::Logging::Logger`](https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
39
39
  that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
40
40
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
41
41
 
@@ -21,7 +21,7 @@ module Google
21
21
  # rubocop:disable LineLength
22
22
 
23
23
  ##
24
- # # Ruby Client for Cloud Text-to-Speech API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-ruby#versioning))
24
+ # # Ruby Client for Cloud Text-to-Speech API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
25
25
  #
26
26
  # [Cloud Text-to-Speech API][Product Documentation]:
27
27
  # Synthesizes natural-sounding speech by applying powerful neural network
@@ -35,7 +35,7 @@ module Google
35
35
  # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
36
36
  # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
37
37
  # 3. [Enable the Cloud Text-to-Speech API.](https://console.cloud.google.com/apis/library/texttospeech.googleapis.com)
38
- # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
38
+ # 4. [Setup Authentication.](https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
39
39
  #
40
40
  # ### Installation
41
41
  # ```
@@ -45,7 +45,7 @@ module Google
45
45
  # ### Next Steps
46
46
  # - Read the [Cloud Text-to-Speech API Product documentation][Product Documentation]
47
47
  # to learn more about the product and see How-to Guides.
48
- # - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
48
+ # - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
49
49
  # to see the full list of Cloud APIs that we cover.
50
50
  #
51
51
  # [Product Documentation]: https://cloud.google.com/texttospeech
@@ -54,7 +54,7 @@ module Google
54
54
  #
55
55
  # To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
56
56
  # The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
57
- # or a [`Google::Cloud::Logging::Logger`](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
57
+ # or a [`Google::Cloud::Logging::Logger`](https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
58
58
  # that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
59
59
  # and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
60
60
  #
@@ -21,7 +21,7 @@ module Google
21
21
  # rubocop:disable LineLength
22
22
 
23
23
  ##
24
- # # Ruby Client for Cloud Text-to-Speech API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-ruby#versioning))
24
+ # # Ruby Client for Cloud Text-to-Speech API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
25
25
  #
26
26
  # [Cloud Text-to-Speech API][Product Documentation]:
27
27
  # Synthesizes natural-sounding speech by applying powerful neural network
@@ -35,7 +35,7 @@ module Google
35
35
  # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
36
36
  # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
37
37
  # 3. [Enable the Cloud Text-to-Speech API.](https://console.cloud.google.com/apis/library/texttospeech.googleapis.com)
38
- # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
38
+ # 4. [Setup Authentication.](https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
39
39
  #
40
40
  # ### Installation
41
41
  # ```
@@ -45,7 +45,7 @@ module Google
45
45
  # ### Next Steps
46
46
  # - Read the [Cloud Text-to-Speech API Product documentation][Product Documentation]
47
47
  # to learn more about the product and see How-to Guides.
48
- # - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
48
+ # - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
49
49
  # to see the full list of Cloud APIs that we cover.
50
50
  #
51
51
  # [Product Documentation]: https://cloud.google.com/texttospeech
@@ -54,7 +54,7 @@ module Google
54
54
  #
55
55
  # To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
56
56
  # The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
57
- # or a [`Google::Cloud::Logging::Logger`](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
57
+ # or a [`Google::Cloud::Logging::Logger`](https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
58
58
  # that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
59
59
  # and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
60
60
  #
@@ -17,7 +17,7 @@ module Google
17
17
  module Cloud
18
18
  module Texttospeech
19
19
  module V1
20
- # The top-level message sent by the client for the +ListVoices+ method.
20
+ # The top-level message sent by the client for the `ListVoices` method.
21
21
  # @!attribute [rw] language_code
22
22
  # @return [String]
23
23
  # Optional (but recommended)
@@ -30,7 +30,7 @@ module Google
30
30
  # supported "yue-*" voices.
31
31
  class ListVoicesRequest; end
32
32
 
33
- # The message returned to the client by the +ListVoices+ method.
33
+ # The message returned to the client by the `ListVoices` method.
34
34
  # @!attribute [rw] voices
35
35
  # @return [Array<Google::Cloud::Texttospeech::V1::Voice>]
36
36
  # The list of voices.
@@ -53,7 +53,7 @@ module Google
53
53
  # The natural sample rate (in hertz) for this voice.
54
54
  class Voice; end
55
55
 
56
- # The top-level message sent by the client for the +SynthesizeSpeech+ method.
56
+ # The top-level message sent by the client for the `SynthesizeSpeech` method.
57
57
  # @!attribute [rw] input
58
58
  # @return [Google::Cloud::Texttospeech::V1::SynthesisInput]
59
59
  # Required. The Synthesizer requires either plain text or SSML as input.
@@ -65,7 +65,7 @@ module Google
65
65
  # Required. The configuration of the synthesized audio.
66
66
  class SynthesizeSpeechRequest; end
67
67
 
68
- # Contains text input to be synthesized. Either +text+ or +ssml+ must be
68
+ # Contains text input to be synthesized. Either `text` or `ssml` must be
69
69
  # supplied. Supplying both or neither returns
70
70
  # {Google::Rpc::Code::INVALID_ARGUMENT}. The input size is limited to 5000
71
71
  # characters.
@@ -142,7 +142,7 @@ module Google
142
142
  # and return {Google::Rpc::Code::INVALID_ARGUMENT}.
143
143
  class AudioConfig; end
144
144
 
145
- # The message returned to the client by the +SynthesizeSpeech+ method.
145
+ # The message returned to the client by the `SynthesizeSpeech` method.
146
146
  # @!attribute [rw] audio_content
147
147
  # @return [String]
148
148
  # The audio data bytes encoded as specified in the request, including the
@@ -239,13 +239,13 @@ module Google
239
239
  #
240
240
  # text_to_speech_client = Google::Cloud::TextToSpeech.new(version: :v1)
241
241
  #
242
- # # TODO: Initialize +input+:
242
+ # # TODO: Initialize `input`:
243
243
  # input = {}
244
244
  #
245
- # # TODO: Initialize +voice+:
245
+ # # TODO: Initialize `voice`:
246
246
  # voice = {}
247
247
  #
248
- # # TODO: Initialize +audio_config+:
248
+ # # TODO: Initialize `audio_config`:
249
249
  # audio_config = {}
250
250
  # response = text_to_speech_client.synthesize_speech(input, voice, audio_config)
251
251
 
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: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-10 00:00:00.000000000 Z
11
+ date: 2018-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -108,7 +108,6 @@ files:
108
108
  - lib/google/cloud/text_to_speech/v1.rb
109
109
  - lib/google/cloud/text_to_speech/v1/credentials.rb
110
110
  - lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb
111
- - lib/google/cloud/text_to_speech/v1/doc/overview.rb
112
111
  - lib/google/cloud/text_to_speech/v1/text_to_speech_client.rb
113
112
  - lib/google/cloud/text_to_speech/v1/text_to_speech_client_config.json
114
113
  - lib/google/cloud/texttospeech/v1/cloud_tts_pb.rb
@@ -1,81 +0,0 @@
1
- # Copyright 2018 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
-
16
- module Google
17
- module Cloud
18
- # rubocop:disable LineLength
19
-
20
- ##
21
- # # Ruby Client for Cloud Text-to-Speech API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-ruby#versioning))
22
- #
23
- # [Cloud Text-to-Speech API][Product Documentation]:
24
- # Synthesizes natural-sounding speech by applying powerful neural network
25
- # models.
26
- # - [Product Documentation][]
27
- #
28
- # ## Quick Start
29
- # In order to use this library, you first need to go through the following
30
- # steps:
31
- #
32
- # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
33
- # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
34
- # 3. [Enable the Cloud Text-to-Speech API.](https://console.cloud.google.com/apis/library/texttospeech.googleapis.com)
35
- # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
36
- #
37
- # ### Installation
38
- # ```
39
- # $ gem install google-cloud-text_to_speech
40
- # ```
41
- #
42
- # ### Next Steps
43
- # - Read the [Cloud Text-to-Speech API Product documentation][Product Documentation]
44
- # to learn more about the product and see How-to Guides.
45
- # - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
46
- # to see the full list of Cloud APIs that we cover.
47
- #
48
- # [Product Documentation]: https://cloud.google.com/texttospeech
49
- #
50
- # ## Enabling Logging
51
- #
52
- # To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
53
- # The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
54
- # or a [`Google::Cloud::Logging::Logger`](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
55
- # that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
56
- # and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
57
- #
58
- # Configuring a Ruby stdlib logger:
59
- #
60
- # ```ruby
61
- # require "logger"
62
- #
63
- # module MyLogger
64
- # LOGGER = Logger.new $stderr, level: Logger::WARN
65
- # def logger
66
- # LOGGER
67
- # end
68
- # end
69
- #
70
- # # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
71
- # module GRPC
72
- # extend MyLogger
73
- # end
74
- # ```
75
- #
76
- module TextToSpeech
77
- module V1
78
- end
79
- end
80
- end
81
- end