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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1125,7 +1125,8 @@ fn main() {
|
||||
]),
|
||||
("list",
|
||||
Some(r##"Lists the billing accounts that the current authenticated user has
|
||||
permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access)."##),
|
||||
permission to
|
||||
[view](https://cloud.google.com/billing/docs/how-to/billing-access)."##),
|
||||
"Details at http://byron.github.io/google-apis-rs/google_cloudbilling1_cli/billing-accounts_list",
|
||||
vec![
|
||||
(Some(r##"v"##),
|
||||
@@ -1399,7 +1400,7 @@ fn main() {
|
||||
|
||||
let mut app = App::new("cloudbilling1")
|
||||
.author("Sebastian Thiel <byronimo@gmail.com>")
|
||||
.version("1.0.8+20190314")
|
||||
.version("1.0.9+20190617")
|
||||
.about("Allows developers to manage billing for their Google Cloud Platform projects
|
||||
programmatically.")
|
||||
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudbilling1_cli")
|
||||
|
||||
Reference in New Issue
Block a user