mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-19 09:50:46 +01:00
Bump version to 1.0.9; update JSON schemas; add new APIs
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[package]
|
||||
|
||||
name = "google-cloudtasks2-cli"
|
||||
version = "1.0.8+20190326"
|
||||
version = "1.0.9+20190618"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with Cloud Tasks (protocol v2)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudtasks2-cli"
|
||||
@@ -39,4 +39,4 @@ clap = "^2.0"
|
||||
|
||||
[dependencies.google-cloudtasks2]
|
||||
path = "../cloudtasks2"
|
||||
version = "1.0.8+20190326"
|
||||
version = "1.0.9+20190618"
|
||||
|
||||
@@ -6,7 +6,7 @@ DO NOT EDIT !
|
||||
The MIT License (MIT)
|
||||
=====================
|
||||
|
||||
Copyright © `2015-2016` `Sebastian Thiel`
|
||||
Copyright © `2015-2019` `Sebastian Thiel`
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
|
||||
@@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma
|
||||
|
||||
# Usage
|
||||
|
||||
This documentation was generated from the *Cloud Tasks* API at revision *20190326*. The CLI is at version *1.0.8*.
|
||||
This documentation was generated from the *Cloud Tasks* API at revision *20190618*. The CLI is at version *1.0.9*.
|
||||
|
||||
```bash
|
||||
cloudtasks2 [options]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
site_name: Cloud Tasks v1.0.8+20190326
|
||||
site_name: Cloud Tasks v1.0.9+20190618
|
||||
site_url: http://byron.github.io/google-apis-rs/google-cloudtasks2-cli
|
||||
site_description: A complete library to interact with Cloud Tasks (protocol v2)
|
||||
|
||||
@@ -30,5 +30,5 @@ pages:
|
||||
|
||||
theme: readthedocs
|
||||
|
||||
copyright: Copyright © 2015-2016, `Sebastian Thiel`
|
||||
copyright: Copyright © 2015-2019, `Sebastian Thiel`
|
||||
|
||||
|
||||
@@ -67,6 +67,17 @@ pub fn remove_json_null_values(value: &mut Value) {
|
||||
map.remove(key);
|
||||
}
|
||||
}
|
||||
json::value::Value::Array(ref mut arr) => {
|
||||
let mut i = 0;
|
||||
while i < arr.len() {
|
||||
if arr[i].is_null() {
|
||||
arr.remove(i);
|
||||
} else {
|
||||
remove_json_null_values(&mut arr[i]);
|
||||
i += 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1607,8 +1607,9 @@ fn main() {
|
||||
WARNING: Using this method may have unintended side effects if you are
|
||||
using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
|
||||
Read
|
||||
[Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml)
|
||||
before using this method."##),
|
||||
[Overview of Queue Management and
|
||||
queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
|
||||
this method."##),
|
||||
"Details at http://byron.github.io/google-apis-rs/google_cloudtasks2_cli/projects_locations-queues-create",
|
||||
vec
|
||||
before using this method."##),
|
||||
[Overview of Queue Management and
|
||||
queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
|
||||
this method."##),
|
||||
"Details at http://byron.github.io/google-apis-rs/google_cloudtasks2_cli/projects_locations-queues-delete",
|
||||
vec
|
||||
before using this method."##),
|
||||
[Overview of Queue Management and
|
||||
queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
|
||||
this method."##),
|
||||
"Details at http://byron.github.io/google-apis-rs/google_cloudtasks2_cli/projects_locations-queues-patch",
|
||||
vec."##),
|
||||
[Managing Cloud Tasks Scaling
|
||||
Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling)."##),
|
||||
"Details at http://byron.github.io/google-apis-rs/google_cloudtasks2_cli/projects_locations-queues-resume",
|
||||
vec![
|
||||
(Some(r##"name"##),
|
||||
@@ -1985,8 +1989,7 @@ fn main() {
|
||||
|
||||
Tasks cannot be updated after creation; there is no UpdateTask command.
|
||||
|
||||
* For App Engine queues, the maximum task size is
|
||||
100KB."##),
|
||||
* The maximum task size is 100KB."##),
|
||||
"Details at http://byron.github.io/google-apis-rs/google_cloudtasks2_cli/projects_locations-queues-tasks-create",
|
||||
vec![
|
||||
(Some(r##"parent"##),
|
||||
@@ -2200,7 +2203,7 @@ fn main() {
|
||||
|
||||
let mut app = App::new("cloudtasks2")
|
||||
.author("Sebastian Thiel <byronimo@gmail.com>")
|
||||
.version("1.0.8+20190326")
|
||||
.version("1.0.9+20190618")
|
||||
.about("Manages the execution of large numbers of distributed requests.")
|
||||
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtasks2_cli")
|
||||
.arg(Arg::with_name("url")
|
||||
|
||||
Reference in New Issue
Block a user