mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-13 21:19:05 +01:00
chore(gen): regen all cli for new version
This commit is contained in:
@@ -303,7 +303,7 @@ impl Display for Error {
|
||||
writeln!(f, "It is used as there are no Scopes defined for this method.")
|
||||
},
|
||||
Error::BadRequest(ref err) => {
|
||||
try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message));
|
||||
try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message));
|
||||
for err in err.error.errors.iter() {
|
||||
try!(writeln!(f, " {}: {}, {}{}",
|
||||
err.domain,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
//! This documentation was generated from *Deployment Manager* crate version *1.0.2+20161209*, where *20161209* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*.
|
||||
//! This documentation was generated from *Deployment Manager* crate version *1.0.3+20161209*, where *20161209* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*.
|
||||
//!
|
||||
//! Everything else about the *Deployment Manager* *v2* API can be found at the
|
||||
//! [official documentation site](https://cloud.google.com/deployment-manager/).
|
||||
|
||||
@@ -152,7 +152,7 @@ impl<'a, C, A> DeploymentManager<C, A>
|
||||
DeploymentManager {
|
||||
client: RefCell::new(client),
|
||||
auth: RefCell::new(authenticator),
|
||||
_user_agent: "google-api-rust-client/1.0.2".to_string(),
|
||||
_user_agent: "google-api-rust-client/1.0.3".to_string(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -173,7 +173,7 @@ impl<'a, C, A> DeploymentManager<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.2`.
|
||||
/// It defaults to `google-api-rust-client/1.0.3`.
|
||||
///
|
||||
/// Returns the previously set user-agent.
|
||||
pub fn user_agent(&mut self, agent_name: String) -> String {
|
||||
|
||||
Reference in New Issue
Block a user