mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-02 09:31:13 +01:00
Update to latest versions of API declarations
This commit is contained in:
@@ -72,6 +72,14 @@
|
||||
//! ```toml
|
||||
//! [dependencies]
|
||||
//! google-taskqueue1_beta2 = "*"
|
||||
//! # This project intentionally uses an old version of Hyper. See
|
||||
//! # https://github.com/Byron/google-apis-rs/issues/173 for more
|
||||
//! # information.
|
||||
//! hyper = "^0.10"
|
||||
//! hyper-rustls = "^0.6"
|
||||
//! serde = "^1.0"
|
||||
//! serde_json = "^1.0"
|
||||
//! yup-oauth2 = "^1.0"
|
||||
//! ```
|
||||
//!
|
||||
//! ## A complete example
|
||||
@@ -858,7 +866,7 @@ impl<'a, C, A> TaskqueueGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "taskqueue.taskqueues.get",
|
||||
http_method: hyper::method::Method::Get });
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity((5 + self._additional_params.len()));
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity(5 + self._additional_params.len());
|
||||
params.push(("project", self._project.to_string()));
|
||||
params.push(("taskqueue", self._taskqueue.to_string()));
|
||||
if let Some(value) = self._get_stats {
|
||||
@@ -1129,7 +1137,7 @@ impl<'a, C, A> TaskLeaseCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oau
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "taskqueue.tasks.lease",
|
||||
http_method: hyper::method::Method::Post });
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity((8 + self._additional_params.len()));
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity(8 + self._additional_params.len());
|
||||
params.push(("project", self._project.to_string()));
|
||||
params.push(("taskqueue", self._taskqueue.to_string()));
|
||||
params.push(("numTasks", self._num_tasks.to_string()));
|
||||
@@ -1433,7 +1441,7 @@ impl<'a, C, A> TaskInsertCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oa
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "taskqueue.tasks.insert",
|
||||
http_method: hyper::method::Method::Post });
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity((5 + self._additional_params.len()));
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity(5 + self._additional_params.len());
|
||||
params.push(("project", self._project.to_string()));
|
||||
params.push(("taskqueue", self._taskqueue.to_string()));
|
||||
for &field in ["alt", "project", "taskqueue"].iter() {
|
||||
@@ -1713,7 +1721,7 @@ impl<'a, C, A> TaskDeleteCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oa
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "taskqueue.tasks.delete",
|
||||
http_method: hyper::method::Method::Delete });
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len()));
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len());
|
||||
params.push(("project", self._project.to_string()));
|
||||
params.push(("taskqueue", self._taskqueue.to_string()));
|
||||
params.push(("task", self._task.to_string()));
|
||||
@@ -1977,7 +1985,7 @@ impl<'a, C, A> TaskPatchCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oau
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "taskqueue.tasks.patch",
|
||||
http_method: hyper::method::Method::Patch });
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity((7 + self._additional_params.len()));
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity(7 + self._additional_params.len());
|
||||
params.push(("project", self._project.to_string()));
|
||||
params.push(("taskqueue", self._taskqueue.to_string()));
|
||||
params.push(("task", self._task.to_string()));
|
||||
@@ -2276,7 +2284,7 @@ impl<'a, C, A> TaskListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oaut
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "taskqueue.tasks.list",
|
||||
http_method: hyper::method::Method::Get });
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len()));
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len());
|
||||
params.push(("project", self._project.to_string()));
|
||||
params.push(("taskqueue", self._taskqueue.to_string()));
|
||||
for &field in ["alt", "project", "taskqueue"].iter() {
|
||||
@@ -2532,7 +2540,7 @@ impl<'a, C, A> TaskGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oauth
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "taskqueue.tasks.get",
|
||||
http_method: hyper::method::Method::Get });
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity((5 + self._additional_params.len()));
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity(5 + self._additional_params.len());
|
||||
params.push(("project", self._project.to_string()));
|
||||
params.push(("taskqueue", self._taskqueue.to_string()));
|
||||
params.push(("task", self._task.to_string()));
|
||||
@@ -2807,7 +2815,7 @@ impl<'a, C, A> TaskUpdateCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oa
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "taskqueue.tasks.update",
|
||||
http_method: hyper::method::Method::Post });
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity((7 + self._additional_params.len()));
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity(7 + self._additional_params.len());
|
||||
params.push(("project", self._project.to_string()));
|
||||
params.push(("taskqueue", self._taskqueue.to_string()));
|
||||
params.push(("task", self._task.to_string()));
|
||||
|
||||
Reference in New Issue
Block a user