mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +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-file1-cli"
|
||||
version = "1.0.8+20190312"
|
||||
version = "1.0.9+20190627"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with Cloud Filestore (protocol v1)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/file1-cli"
|
||||
@@ -39,4 +39,4 @@ clap = "^2.0"
|
||||
|
||||
[dependencies.google-file1]
|
||||
path = "../file1"
|
||||
version = "1.0.8+20190312"
|
||||
version = "1.0.9+20190627"
|
||||
|
||||
@@ -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 Filestore* API at revision *20190312*. The CLI is at version *1.0.8*.
|
||||
This documentation was generated from the *Cloud Filestore* API at revision *20190627*. The CLI is at version *1.0.9*.
|
||||
|
||||
```bash
|
||||
file1 [options]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
site_name: Cloud Filestore v1.0.8+20190312
|
||||
site_name: Cloud Filestore v1.0.9+20190627
|
||||
site_url: http://byron.github.io/google-apis-rs/google-file1-cli
|
||||
site_description: A complete library to interact with Cloud Filestore (protocol v1)
|
||||
|
||||
@@ -23,5 +23,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1034,8 +1034,7 @@ fn main() {
|
||||
vec![
|
||||
(Some(r##"name"##),
|
||||
None,
|
||||
Some(r##"Output only.
|
||||
The resource name of the instance, in the format
|
||||
Some(r##"Output only. The resource name of the instance, in the format
|
||||
projects/{project_id}/locations/{location_id}/instances/{instance_id}."##),
|
||||
Some(true),
|
||||
Some(false)),
|
||||
@@ -1203,7 +1202,7 @@ fn main() {
|
||||
|
||||
let mut app = App::new("file1")
|
||||
.author("Sebastian Thiel <byronimo@gmail.com>")
|
||||
.version("1.0.8+20190312")
|
||||
.version("1.0.9+20190627")
|
||||
.about("The Cloud Filestore API is used for creating and managing cloud file servers.")
|
||||
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_file1_cli")
|
||||
.arg(Arg::with_name("url")
|
||||
|
||||
Reference in New Issue
Block a user