Related to #238: publish google-storage1

It allows to control tls more easily.
I want to avoid to spam Crates.io by publishing only
the APIs that are specifically requested.
This commit is contained in:
Sebastian Thiel
2019-08-31 11:52:28 +02:00
parent d3b047c880
commit 114b9be7e1
4 changed files with 48 additions and 45 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 *storage* crate version *1.0.10+20190624*, where *20190624* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*.
//! This documentation was generated from *storage* crate version *1.0.11+20190624*, where *20190624* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*.
//!
//! Everything else about the *storage* *v1* API can be found at the
//! [official documentation site](https://developers.google.com/storage/docs/json_api/).
@@ -416,7 +416,7 @@ impl<'a, C, A> Storage<C, A>
Storage {
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/storage/v1/".to_string(),
_root_url: "https://www.googleapis.com/".to_string(),
}
@@ -448,7 +448,7 @@ impl<'a, C, A> Storage<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 {