mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-18 09:14:19 +01:00
Regen storage 1
This commit is contained in:
@@ -136,6 +136,7 @@ impl Default for Scope {
|
||||
/// }
|
||||
/// # }
|
||||
/// ```
|
||||
#[derive(Clone)]
|
||||
pub struct Storage<> {
|
||||
client: hyper::Client<hyper_rustls::HttpsConnector<hyper::client::connect::HttpConnector>, hyper::body::Body>,
|
||||
auth: oauth2::authenticator::Authenticator<hyper_rustls::HttpsConnector<hyper::client::connect::HttpConnector>>,
|
||||
@@ -152,7 +153,7 @@ impl<'a, > Storage<> {
|
||||
Storage {
|
||||
client,
|
||||
auth: authenticator,
|
||||
_user_agent: "google-api-rust-client/2.0.5".to_string(),
|
||||
_user_agent: "google-api-rust-client/2.0.7".to_string(),
|
||||
_base_url: "https://storage.googleapis.com/storage/v1/".to_string(),
|
||||
_root_url: "https://storage.googleapis.com/".to_string(),
|
||||
}
|
||||
@@ -184,7 +185,7 @@ impl<'a, > Storage<> {
|
||||
}
|
||||
|
||||
/// Set the user-agent header field to use in all requests to the server.
|
||||
/// It defaults to `google-api-rust-client/2.0.5`.
|
||||
/// It defaults to `google-api-rust-client/2.0.7`.
|
||||
///
|
||||
/// Returns the previously set user-agent.
|
||||
pub fn user_agent(&mut self, agent_name: String) -> String {
|
||||
|
||||
Reference in New Issue
Block a user