regenerate all crates

This commit is contained in:
Sebastian Thiel
2019-12-09 11:50:00 +08:00
parent f80ef206bc
commit f125912384
1960 changed files with 8607 additions and 8411 deletions

View File

@@ -4,7 +4,7 @@
[package]
name = "google-cloudasset1-cli"
version = "1.0.11+20190625"
version = "1.0.12+20190625"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Cloud Asset (protocol v1)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudasset1-cli"
@@ -42,4 +42,4 @@ rustls = ["yup-oauth2/no-openssl"]
[dependencies.google-cloudasset1]
path = "../cloudasset1"
version = "1.0.11+20190625"
version = "1.0.12+20190625"

View File

@@ -6,7 +6,7 @@ DO NOT EDIT !
The MIT License (MIT)
=====================
Copyright © `2015-2019` `Sebastian Thiel`
Copyright © `2015-2020` `Sebastian Thiel`
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation

View File

@@ -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 Asset* API at revision *20190625*. The CLI is at version *1.0.11*.
This documentation was generated from the *Cloud Asset* API at revision *20190625*. The CLI is at version *1.0.12*.
```bash
cloudasset1 [options]

View File

@@ -1,4 +1,4 @@
site_name: Cloud Asset v1.0.11+20190625
site_name: Cloud Asset v1.0.12+20190625
site_url: http://byron.github.io/google-apis-rs/google-cloudasset1-cli
site_description: A complete library to interact with Cloud Asset (protocol v1)
@@ -15,5 +15,5 @@ pages:
theme: readthedocs
copyright: Copyright &copy; 2015-2019, `Sebastian Thiel`
copyright: Copyright &copy; 2015-2020, `Sebastian Thiel`

View File

@@ -406,7 +406,7 @@ pub fn writer_from_opts(arg: Option<&str>) -> Result<Box<Write>, io::Error> {
let f = arg.unwrap_or("-");
match f {
"-" => Ok(Box::new(stdout())),
_ => match fs::OpenOptions::new().create(true).write(true).open(f) {
_ => match fs::OpenOptions::new().create(true).truncate(true).write(true).open(f) {
Ok(f) => Ok(Box::new(f)),
Err(io_err) => Err(io_err),
},
@@ -488,7 +488,7 @@ impl TokenStorage for JsonTokenStorage {
}
}
Some(token) => {
match fs::OpenOptions::new().create(true).write(true).open(&self.path(scope_hash)) {
match fs::OpenOptions::new().create(true).write(true).truncate(true).open(&self.path(scope_hash)) {
Ok(mut f) => {
match json::to_writer_pretty(&mut f, &token) {
Ok(_) => Ok(()),
@@ -769,6 +769,7 @@ pub fn application_secret_from_directory(dir: &str,
err = match fs::OpenOptions::new()
.create(true)
.write(true)
.truncate(true)
.open(&secret_path) {
Err(cfe) => cfe,
Ok(mut f) => {

View File

@@ -465,7 +465,7 @@ fn main() {
let mut app = App::new("cloudasset1")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("1.0.11+20190625")
.version("1.0.12+20190625")
.about("The cloud asset API manages the history and inventory of cloud resources.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudasset1_cli")
.arg(Arg::with_name("url")