Regenerate all code

Related to #239
This commit is contained in:
Sebastian Thiel
2019-09-09 08:31:59 +02:00
parent bcc72e4fc1
commit 11db47ca2a
1565 changed files with 10716 additions and 9543 deletions

View File

@@ -4,12 +4,12 @@
[package]
name = "google-analytics3"
version = "1.0.10+20190604"
version = "1.0.11+20190604"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with analytics (protocol v3)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/analytics3"
homepage = "https://developers.google.com/analytics/"
documentation = "https://docs.rs/google-analytics3/1.0.10+20190604"
documentation = "https://docs.rs/google-analytics3/1.0.11+20190604"
license = "MIT"
keywords = ["analytics", "google", "protocol", "web", "api"]
autobins = false
@@ -24,9 +24,12 @@ mime = "^ 0.2.0"
serde = "^ 1.0"
serde_json = "^ 1.0"
serde_derive = "^ 1.0"
yup-oauth2 = "^ 1.0"
yup-oauth2 = { version = "^ 1.0", default-features = false }
url = "= 1.7"
[features]
default = ["openssl"]
openssl = ["yup-oauth2/default"]
rustls = ["yup-oauth2/no-openssl"]

File diff suppressed because one or more lines are too long

View File

@@ -72,24 +72,24 @@ pub struct JsonServerError {
/// The latter happen if the sent parameters or request structures are unsound
#[derive(Deserialize, Serialize, Debug)]
pub struct ErrorResponse {
error: ServerError,
pub error: ServerError,
}
#[derive(Deserialize, Serialize, Debug)]
pub struct ServerError {
errors: Vec<ServerMessage>,
code: u16,
message: String,
pub errors: Vec<ServerMessage>,
pub code: u16,
pub message: String,
}
#[derive(Deserialize, Serialize, Debug)]
pub struct ServerMessage {
domain: String,
reason: String,
message: String,
pub domain: String,
pub reason: String,
pub message: String,
#[serde(rename="locationType")]
location_type: Option<String>,
location: Option<String>
pub location_type: Option<String>,
pub location: Option<String>
}
#[derive(Copy, Clone)]

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 *analytics* crate version *1.0.10+20190604*, where *20190604* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*.
//! This documentation was generated from *analytics* crate version *1.0.11+20190604*, where *20190604* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*.
//!
//! Everything else about the *analytics* *v3* API can be found at the
//! [official documentation site](https://developers.google.com/analytics/).
@@ -370,7 +370,7 @@ impl<'a, C, A> Analytics<C, A>
Analytics {
client: RefCell::new(client),
auth: RefCell::new(authenticator),
_user_agent: "google-api-rust-client/1.0.10".to_string(),
_user_agent: "google-api-rust-client/1.0.11".to_string(),
_base_url: "https://www.googleapis.com/analytics/v3/".to_string(),
_root_url: "https://www.googleapis.com/".to_string(),
}
@@ -393,7 +393,7 @@ impl<'a, C, A> Analytics<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.10`.
/// It defaults to `google-api-rust-client/1.0.11`.
///
/// Returns the previously set user-agent.
pub fn user_agent(&mut self, agent_name: String) -> String {