regen all APIs and CLIs

This commit is contained in:
Sebastian Thiel
2022-04-26 11:12:08 +08:00
parent cc296a57b6
commit f393030e84
2544 changed files with 26840 additions and 24926 deletions

View File

@@ -4,7 +4,7 @@
[package]
name = "google-cloudprivatecatalog1_beta1-cli"
version = "3.0.0+20200405"
version = "3.1.0+20200405"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Cloud Private Catalog (protocol v1beta1)"
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprivatecatalog1_beta1-cli"
@@ -20,12 +20,12 @@ name = "cloudprivatecatalog1-beta1"
path = "src/main.rs"
[dependencies]
hyper-rustls = "^0.22"
hyper-rustls = "0.23.0"
mime = "^ 0.2.0"
serde = "^ 1.0"
serde_json = "^ 1.0"
serde_derive = "^ 1.0"
yup-oauth2 = "^ 6.0"
yup-oauth2 = "^ 6.6"
itertools = "^ 0.10"
strsim = "^0.5"
clap = "^2.0"
@@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] }
[dependencies.google-cloudprivatecatalog1_beta1]
path = "../cloudprivatecatalog1_beta1"
version = "3.0.0+20200405"
version = "3.1.0+20200405"

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 Private Catalog* API at revision *20200405*. The CLI is at version *3.0.0*.
This documentation was generated from the *Cloud Private Catalog* API at revision *20200405*. The CLI is at version *3.1.0*.
```bash
cloudprivatecatalog1-beta1 [options]

View File

@@ -1,4 +1,4 @@
site_name: Cloud Private Catalog v3.0.0+20200405
site_name: Cloud Private Catalog v3.1.0+20200405
site_url: http://byron.github.io/google-apis-rs/google-cloudprivatecatalog1_beta1-cli
site_description: A complete library to interact with Cloud Private Catalog (protocol v1beta1)

View File

@@ -690,7 +690,13 @@ impl<'n> Engine<'n> {
oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).persist_tokens_to_disk(format!("{}/cloudprivatecatalog1-beta1", config_dir)).build().await.unwrap();
let client = hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots());
let client = hyper::Client::builder().build(
hyper_rustls::HttpsConnectorBuilder::new().with_native_roots()
.https_or_http()
.enable_http1()
.enable_http2()
.build()
);
let engine = Engine {
opt: opt,
hub: api::CloudPrivateCatalog::new(client, auth),
@@ -963,7 +969,7 @@ async fn main() {
let mut app = App::new("cloudprivatecatalog1-beta1")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("3.0.0+20200405")
.version("3.1.0+20200405")
.about("Enable cloud users to discover enterprise catalogs and products in their organizations.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudprivatecatalog1_beta1_cli")
.arg(Arg::with_name("url")