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 *Cloud Natural Language* crate version *1.0.13+20200406*, where *20200406* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.13*.
//! This documentation was generated from *Cloud Natural Language* crate version *1.0.14+20200619*, where *20200619* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.14*.
//!
//! Everything else about the *Cloud Natural Language* *v1* API can be found at the
//! [official documentation site](https://cloud.google.com/natural-language/).
@@ -338,7 +338,7 @@ impl<'a, C, A> CloudNaturalLanguage<C, A>
CloudNaturalLanguage {
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://language.googleapis.com/".to_string(),
_root_url: "https://language.googleapis.com/".to_string(),
}
@@ -349,7 +349,7 @@ impl<'a, C, A> CloudNaturalLanguage<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 {