mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-18 09:14:19 +01:00
regen all APIs
This commit is contained in:
@@ -110,6 +110,7 @@ impl Default for Scope {
|
||||
/// }
|
||||
/// # }
|
||||
/// ```
|
||||
#[derive(Clone)]
|
||||
pub struct SQLAdmin<> {
|
||||
client: hyper::Client<hyper_rustls::HttpsConnector<hyper::client::connect::HttpConnector>, hyper::body::Body>,
|
||||
auth: oauth2::authenticator::Authenticator<hyper_rustls::HttpsConnector<hyper::client::connect::HttpConnector>>,
|
||||
@@ -126,7 +127,7 @@ impl<'a, > SQLAdmin<> {
|
||||
SQLAdmin {
|
||||
client,
|
||||
auth: authenticator,
|
||||
_user_agent: "google-api-rust-client/2.0.5".to_string(),
|
||||
_user_agent: "google-api-rust-client/2.0.8".to_string(),
|
||||
_base_url: "https://sqladmin.googleapis.com/".to_string(),
|
||||
_root_url: "https://sqladmin.googleapis.com/".to_string(),
|
||||
}
|
||||
@@ -161,7 +162,7 @@ impl<'a, > SQLAdmin<> {
|
||||
}
|
||||
|
||||
/// 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.8`.
|
||||
///
|
||||
/// Returns the previously set user-agent.
|
||||
pub fn user_agent(&mut self, agent_name: String) -> String {
|
||||
|
||||
Reference in New Issue
Block a user