chore(code): update code to latest version

This commit is contained in:
Sebastian Thiel
2016-07-17 13:05:43 +02:00
parent 091d3f7e81
commit ae276438ae
927 changed files with 2369 additions and 2884 deletions

View File

@@ -4,7 +4,7 @@
[package]
name = "google-cloudresourcemanager1_beta1"
version = "0.1.13+20160316"
version = "0.1.14+20160316"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Cloud Resource Manager (protocol v1beta1)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudresourcemanager1_beta1"
@@ -21,15 +21,14 @@ mime = "^ 0.2.0"
serde = "^ 0.7.5"
serde_json = "^ 0.7.0"
yup-oauth2 = { version = "^ 0.6.0", optional = true, default-features = false }
serde_macros = { version = "0.7.5", optional = true }
serde_macros = { version = "^ 0.7.5", optional = true }
url = "= 0.5"
[features]
default = ["with-syntex"]
default = ["with-serde-codegen"]
nightly = ["serde_macros","yup-oauth2/nightly"]
with-syntex = ["serde_codegen","syntex","yup-oauth2/with-syntex"]
with-serde-codegen = ["serde_codegen","yup-oauth2/with-serde-codegen"]
[build-dependencies]
syntex = { version = "= 0.32", optional = true }
serde_codegen = { version = "= 0.7.5", optional = true }
serde_codegen = { version = "^ 0.7.14", optional = true }

View File

@@ -5,7 +5,7 @@ DO NOT EDIT !
-->
The `google-cloudresourcemanager1_beta1` library allows access to all features of the *Google Cloud Resource Manager* service.
This documentation was generated from *Cloud Resource Manager* crate version *0.1.13+20160316*, where *20160316* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.13*.
This documentation was generated from *Cloud Resource Manager* crate version *0.1.14+20160316*, where *20160316* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.14*.
Everything else about the *Cloud Resource Manager* *v1_beta1* API can be found at the
[official documentation site](https://cloud.google.com/resource-manager).

View File

@@ -1,6 +1,5 @@
#[cfg(feature = "with-syntex")]
#[cfg(feature = "with-serde-codegen")]
mod inner {
extern crate syntex;
extern crate serde_codegen;
use std::env;
@@ -12,13 +11,11 @@ mod inner {
let src = Path::new("src/lib.rs.in");
let dst = Path::new(&out_dir).join("lib.rs");
let mut registry = syntex::Registry::new();
serde_codegen::register(&mut registry);
registry.expand("google-cloudresourcemanager1_beta1", &src, &dst).unwrap();
serde_codegen::expand(&src, &dst).unwrap();
}
}
#[cfg(not(feature = "with-syntex"))]
#[cfg(not(feature = "with-serde-codegen"))]
mod inner {
pub fn main() {}
}

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 Resource Manager* crate version *0.1.13+20160316*, where *20160316* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.13*.
//! This documentation was generated from *Cloud Resource Manager* crate version *0.1.14+20160316*, where *20160316* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.14*.
//!
//! Everything else about the *Cloud Resource Manager* *v1_beta1* API can be found at the
//! [official documentation site](https://cloud.google.com/resource-manager).
@@ -192,5 +192,5 @@
#[cfg(feature = "nightly")]
include!("lib.rs.in");
#[cfg(feature = "with-syntex")]
#[cfg(feature = "with-serde-codegen")]
include!(concat!(env!("OUT_DIR"), "/lib.rs"));

View File

@@ -134,7 +134,7 @@ impl<'a, C, A> CloudResourceManager<C, A>
CloudResourceManager {
client: RefCell::new(client),
auth: RefCell::new(authenticator),
_user_agent: "google-api-rust-client/0.1.13".to_string(),
_user_agent: "google-api-rust-client/0.1.14".to_string(),
}
}
@@ -146,7 +146,7 @@ impl<'a, C, A> CloudResourceManager<C, A>
}
/// Set the user-agent header field to use in all requests to the server.
/// It defaults to `google-api-rust-client/0.1.13`.
/// It defaults to `google-api-rust-client/0.1.14`.
///
/// Returns the previously set user-agent.
pub fn user_agent(&mut self, agent_name: String) -> String {