update all code after version update

This commit is contained in:
Sebastian Thiel
2020-07-10 09:41:44 +08:00
parent c949124df5
commit d1ffa68287
1798 changed files with 692798 additions and 59942 deletions

View File

@@ -2,7 +2,7 @@
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
// DO NOT EDIT !
//! This documentation was generated from *Texttospeech* crate version *1.0.13+20200406*, where *20200406* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.13*.
//! This documentation was generated from *Texttospeech* crate version *1.0.14+20200703*, where *20200703* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.14*.
//!
//! Everything else about the *Texttospeech* *v1* API can be found at the
//! [official documentation site](https://cloud.google.com/text-to-speech/).
@@ -321,7 +321,7 @@ impl<'a, C, A> Texttospeech<C, A>
Texttospeech {
client: RefCell::new(client),
auth: RefCell::new(authenticator),
_user_agent: "google-api-rust-client/1.0.13".to_string(),
_user_agent: "google-api-rust-client/1.0.14".to_string(),
_base_url: "https://texttospeech.googleapis.com/".to_string(),
_root_url: "https://texttospeech.googleapis.com/".to_string(),
}
@@ -335,7 +335,7 @@ impl<'a, C, A> Texttospeech<C, A>
}
/// Set the user-agent header field to use in all requests to the server.
/// It defaults to `google-api-rust-client/1.0.13`.
/// It defaults to `google-api-rust-client/1.0.14`.
///
/// Returns the previously set user-agent.
pub fn user_agent(&mut self, agent_name: String) -> String {
@@ -553,7 +553,7 @@ pub struct SynthesisInput {
/// The SSML document to be synthesized. The SSML document must be valid
/// and well-formed. Otherwise the RPC will fail and return
/// google.rpc.Code.INVALID_ARGUMENT. For more information, see
/// [SSML](/speech/text-to-speech/docs/ssml).
/// [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
pub ssml: Option<String>,
/// The raw text to be synthesized.
pub text: Option<String>,