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

@@ -120,7 +120,7 @@ impl<'a, > Pubsub<> {
Pubsub {
client,
auth: authenticator,
_user_agent: "google-api-rust-client/2.0.7".to_string(),
_user_agent: "google-api-rust-client/2.0.8".to_string(),
_base_url: "https://pubsub.googleapis.com/".to_string(),
_root_url: "https://pubsub.googleapis.com/".to_string(),
}
@@ -131,7 +131,7 @@ impl<'a, > Pubsub<> {
}
/// Set the user-agent header field to use in all requests to the server.
/// It defaults to `google-api-rust-client/2.0.7`.
/// 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 {

View File

@@ -362,8 +362,8 @@ const BOUNDARY: &str = "MDuXWGyeE33QFXGchb2VFWc4Z7945d";
/// to google APIs, and might not be a fully-featured implementation.
#[derive(Default)]
pub struct MultiPartReader<'a> {
raw_parts: Vec<(HeaderMap, &'a mut dyn Read)>,
current_part: Option<(Cursor<Vec<u8>>, &'a mut dyn Read)>,
raw_parts: Vec<(HeaderMap, &'a mut (dyn Read + Send))>,
current_part: Option<(Cursor<Vec<u8>>, &'a mut (dyn Read + Send))>,
last_part_boundary: Option<Cursor<Vec<u8>>>,
}
@@ -386,7 +386,7 @@ impl<'a> MultiPartReader<'a> {
/// `mime` - It will be put onto the content type
pub fn add_part(
&mut self,
reader: &'a mut dyn Read,
reader: &'a mut (dyn Read + Send),
size: u64,
mime_type: Mime,
) -> &mut MultiPartReader<'a> {

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 *Pubsub* crate version *2.0.7+20210322*, where *20210322* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.7*.
//! This documentation was generated from *Pubsub* crate version *2.0.8+20210322*, where *20210322* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.8*.
//!
//! Everything else about the *Pubsub* *v1* API can be found at the
//! [official documentation site](https://cloud.google.com/pubsub/docs).