Bump version to 1.0.9; update JSON schemas; add new APIs

This commit is contained in:
Sebastian Thiel
2019-07-05 11:32:35 +08:00
parent 99e97ceece
commit e42ebc0c2b
2442 changed files with 190984 additions and 71186 deletions

View File

@@ -4,11 +4,11 @@
[package]
name = "google-cloudprivatecatalogproducer1_beta1-cli"
version = "1.0.8+20190330"
version = "1.0.9+20190622"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Cloud PrivateCatalog Producer (protocol v1beta1)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudprivatecatalogproducer1_beta1-cli"
homepage = "https://sites.google.com/corp/google.com/cloudprivatecatalog"
homepage = "https://cloud.google.com/private-catalog/"
documentation = "http://byron.github.io/google-apis-rs/google_cloudprivatecatalogproducer1_beta1_cli"
license = "MIT"
keywords = ["cloudprivatecatalogp", "google", "cli"]
@@ -39,4 +39,4 @@ clap = "^2.0"
[dependencies.google-cloudprivatecatalogproducer1_beta1]
path = "../cloudprivatecatalogproducer1_beta1"
version = "1.0.8+20190330"
version = "1.0.9+20190622"

View File

@@ -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

View File

@@ -11,7 +11,7 @@ capabilities. Errors will be printed to standard error, and cause the program's
If data-structures are requested, these will be returned as pretty-printed JSON, to be useful as input to other tools.
Everything else about the *Cloud PrivateCatalog Producer* API can be found at the
[official documentation site](https://sites.google.com/corp/google.com/cloudprivatecatalog).
[official documentation site](https://cloud.google.com/private-catalog/).
# Installation and Source Code
@@ -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 PrivateCatalog Producer* API at revision *20190330*. The CLI is at version *1.0.8*.
This documentation was generated from the *Cloud PrivateCatalog Producer* API at revision *20190622*. The CLI is at version *1.0.9*.
```bash
cloudprivatecatalogproducer1-beta1 [options]

View File

@@ -1,4 +1,4 @@
site_name: Cloud PrivateCatalog Producer v1.0.8+20190330
site_name: Cloud PrivateCatalog Producer v1.0.9+20190622
site_url: http://byron.github.io/google-apis-rs/google-cloudprivatecatalogproducer1_beta1-cli
site_description: A complete library to interact with Cloud PrivateCatalog Producer (protocol v1beta1)
@@ -41,5 +41,5 @@ pages:
theme: readthedocs
copyright: Copyright &copy; 2015-2016, `Sebastian Thiel`
copyright: Copyright &copy; 2015-2019, `Sebastian Thiel`

View File

@@ -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;
}
}
}
_ => {}
}
}

View File

@@ -3026,7 +3026,7 @@ fn main() {
let mut app = App::new("cloudprivatecatalogproducer1-beta1")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("1.0.8+20190330")
.version("1.0.9+20190622")
.about("Enables cloud users to manage and share enterprise catalogs intheir organizations.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudprivatecatalogproducer1_beta1_cli")
.arg(Arg::with_name("url")