regen all APIs

This commit is contained in:
Sebastian Thiel
2021-08-31 08:03:52 +08:00
parent 21914b2c4d
commit d032b0c961
2479 changed files with 14830 additions and 13186 deletions

View File

@@ -99,6 +99,7 @@ impl Default for Scope {
/// }
/// # }
/// ```
#[derive(Clone)]
pub struct BinaryAuthorization<> {
client: hyper::Client<hyper_rustls::HttpsConnector<hyper::client::connect::HttpConnector>, hyper::body::Body>,
auth: oauth2::authenticator::Authenticator<hyper_rustls::HttpsConnector<hyper::client::connect::HttpConnector>>,
@@ -115,7 +116,7 @@ impl<'a, > BinaryAuthorization<> {
BinaryAuthorization {
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://binaryauthorization.googleapis.com/".to_string(),
_root_url: "https://binaryauthorization.googleapis.com/".to_string(),
}
@@ -129,7 +130,7 @@ impl<'a, > BinaryAuthorization<> {
}
/// 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 {