diff --git a/texttospeech/google/cloud/texttospeech_v1/proto/cloud_tts.proto b/texttospeech/google/cloud/texttospeech_v1/proto/cloud_tts.proto index 2afe1a8b7dee..07ac4ebebeef 100644 --- a/texttospeech/google/cloud/texttospeech_v1/proto/cloud_tts.proto +++ b/texttospeech/google/cloud/texttospeech_v1/proto/cloud_tts.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google Inc. +// Copyright 2018 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,27 +11,29 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// syntax = "proto3"; -package google.cloud.texttospeech.v1beta1; +package google.cloud.texttospeech.v1; import "google/api/annotations.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1;texttospeech"; +option csharp_namespace = "Google.Cloud.TextToSpeech.V1"; +option go_package = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1;texttospeech"; option java_multiple_files = true; option java_outer_classname = "TextToSpeechProto"; -option java_package = "com.google.cloud.texttospeech.v1beta1"; +option java_package = "com.google.cloud.texttospeech.v1"; +option php_namespace = "Google\\Cloud\\TextToSpeech\\V1"; // Service that implements Google Cloud Text-to-Speech API. service TextToSpeech { - // Returns a list of [Voice][google.cloud.texttospeech.v1beta1.Voice] - // supported for synthesis. + // Returns a list of Voice supported for synthesis. rpc ListVoices(ListVoicesRequest) returns (ListVoicesResponse) { option (google.api.http) = { - get: "/v1beta1/voices" + get: "/v1/voices" }; } @@ -39,7 +41,7 @@ service TextToSpeech { // has been processed. rpc SynthesizeSpeech(SynthesizeSpeechRequest) returns (SynthesizeSpeechResponse) { option (google.api.http) = { - post: "/v1beta1/text:synthesize" + post: "/v1/text:synthesize" body: "*" }; } @@ -175,6 +177,11 @@ message AudioConfig { // An identifier which selects 'audio effects' profiles that are applied on // (post synthesized) text to speech. // Effects are applied on top of each other in the order they are given. + // See + // + // [audio-profiles](https: + // //cloud.google.com/text-to-speech/docs/audio-profiles) + // for current supported profile ids. repeated string effects_profile_id = 6; } diff --git a/texttospeech/synth.metadata b/texttospeech/synth.metadata index e9f21b74b8c1..c12c262a4b00 100644 --- a/texttospeech/synth.metadata +++ b/texttospeech/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-01-24T17:39:41.039359Z", + "updateTime": "2019-02-01T19:05:35.269409Z", "sources": [ { "generator": { @@ -12,8 +12,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "9aac88a22468b1e291937f55fa1ef237adfdc63e", - "internalRef": "230568136" + "sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a", + "internalRef": "231974277" } }, {