mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Update generated code with latest version
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
//! This documentation was generated from *translate* crate version *1.0.5+20160627*, where *20160627* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.5*.
|
||||
//! This documentation was generated from *translate* crate version *1.0.6+20160627*, where *20160627* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.6*.
|
||||
//!
|
||||
//! Everything else about the *translate* *v2* API can be found at the
|
||||
//! [official documentation site](https://developers.google.com/translate/v2/using_rest).
|
||||
@@ -293,7 +293,7 @@ impl<'a, C, A> Translate<C, A>
|
||||
Translate {
|
||||
client: RefCell::new(client),
|
||||
auth: RefCell::new(authenticator),
|
||||
_user_agent: "google-api-rust-client/1.0.5".to_string(),
|
||||
_user_agent: "google-api-rust-client/1.0.6".to_string(),
|
||||
_base_url: "https://www.googleapis.com/language/translate/".to_string(),
|
||||
_root_url: "https://www.googleapis.com/".to_string(),
|
||||
}
|
||||
@@ -310,7 +310,7 @@ impl<'a, C, A> Translate<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.5`.
|
||||
/// It defaults to `google-api-rust-client/1.0.6`.
|
||||
///
|
||||
/// Returns the previously set user-agent.
|
||||
pub fn user_agent(&mut self, agent_name: String) -> String {
|
||||
|
||||
Reference in New Issue
Block a user