make regen-apis

This commit is contained in:
OMGeeky
2024-05-16 21:23:40 +02:00
parent 52d2e89e51
commit ad85cafeef
5108 changed files with 1615625 additions and 992044 deletions

View File

@@ -4,7 +4,7 @@
[package]
name = "google-monitoring3-cli"
version = "5.0.4+20240225"
version = "5.0.5+20240414"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Monitoring (protocol v3)"
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/monitoring3-cli"
@@ -21,7 +21,7 @@ path = "src/main.rs"
[dependencies]
anyhow = "^ 1.0"
hyper-rustls = "0.24.0"
hyper-rustls = "0.25.0"
mime = "^ 0.3.0"
serde = { version = "^ 1.0", features = ["derive"] }
serde_json = "^ 1.0"
@@ -38,5 +38,5 @@ tower-service = "^0.3.1"
[dependencies.google-monitoring3]
path = "../monitoring3"
version = "5.0.4+20240225"
version = "5.0.5+20240414"

View File

@@ -6,7 +6,7 @@ DO NOT EDIT !
The MIT License (MIT)
=====================
Copyright © `2015-2020` `Sebastian Thiel`
Copyright 20152024 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 *Monitoring* API at revision *20240225*. The CLI is at version *5.0.4*.
This documentation was generated from the *Monitoring* API at revision *20240414*. The CLI is at version *5.0.5*.
```bash
monitoring3 [options]

View File

@@ -1,4 +1,4 @@
site_name: Monitoring v5.0.4+20240225
site_name: Monitoring v5.0.5+20240414
site_url: http://byron.github.io/google-apis-rs/google-monitoring3-cli
site_description: A complete library to interact with Monitoring (protocol v3)
@@ -71,5 +71,5 @@ nav:
theme: readthedocs
copyright: Copyright &copy; 2015-2020, `Sebastian Thiel`
copyright: Copyright &copy; 20152024, `Sebastian Thiel`

View File

@@ -2931,6 +2931,7 @@ where
"http-check.ping-config.pings-count" => Some(("httpCheck.pingConfig.pingsCount", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
"http-check.port" => Some(("httpCheck.port", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
"http-check.request-method" => Some(("httpCheck.requestMethod", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"http-check.service-agent-authentication.type" => Some(("httpCheck.serviceAgentAuthentication.type", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"http-check.use-ssl" => Some(("httpCheck.useSsl", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })),
"http-check.validate-ssl" => Some(("httpCheck.validateSsl", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })),
"is-internal" => Some(("isInternal", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })),
@@ -2949,7 +2950,7 @@ where
"timeout" => Some(("timeout", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"user-labels" => Some(("userLabels", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Map })),
_ => {
let suggestion = FieldCursor::did_you_mean(key, &vec!["auth-info", "body", "checker-type", "cloud-function-v2", "cloud-run-revision", "content-type", "custom-content-type", "display-name", "group-id", "headers", "http-check", "is-internal", "labels", "mask-headers", "monitored-resource", "name", "password", "path", "period", "ping-config", "pings-count", "port", "request-method", "resource-group", "resource-type", "selected-regions", "synthetic-monitor", "tcp-check", "timeout", "type", "use-ssl", "user-labels", "username", "validate-ssl"]);
let suggestion = FieldCursor::did_you_mean(key, &vec!["auth-info", "body", "checker-type", "cloud-function-v2", "cloud-run-revision", "content-type", "custom-content-type", "display-name", "group-id", "headers", "http-check", "is-internal", "labels", "mask-headers", "monitored-resource", "name", "password", "path", "period", "ping-config", "pings-count", "port", "request-method", "resource-group", "resource-type", "selected-regions", "service-agent-authentication", "synthetic-monitor", "tcp-check", "timeout", "type", "use-ssl", "user-labels", "username", "validate-ssl"]);
err.issues.push(CLIError::Field(FieldError::Unknown(temp_cursor.to_string(), suggestion, value.map(|v| v.to_string()))));
None
}
@@ -3211,6 +3212,7 @@ where
"http-check.ping-config.pings-count" => Some(("httpCheck.pingConfig.pingsCount", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
"http-check.port" => Some(("httpCheck.port", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
"http-check.request-method" => Some(("httpCheck.requestMethod", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"http-check.service-agent-authentication.type" => Some(("httpCheck.serviceAgentAuthentication.type", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"http-check.use-ssl" => Some(("httpCheck.useSsl", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })),
"http-check.validate-ssl" => Some(("httpCheck.validateSsl", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })),
"is-internal" => Some(("isInternal", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })),
@@ -3229,7 +3231,7 @@ where
"timeout" => Some(("timeout", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"user-labels" => Some(("userLabels", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Map })),
_ => {
let suggestion = FieldCursor::did_you_mean(key, &vec!["auth-info", "body", "checker-type", "cloud-function-v2", "cloud-run-revision", "content-type", "custom-content-type", "display-name", "group-id", "headers", "http-check", "is-internal", "labels", "mask-headers", "monitored-resource", "name", "password", "path", "period", "ping-config", "pings-count", "port", "request-method", "resource-group", "resource-type", "selected-regions", "synthetic-monitor", "tcp-check", "timeout", "type", "use-ssl", "user-labels", "username", "validate-ssl"]);
let suggestion = FieldCursor::did_you_mean(key, &vec!["auth-info", "body", "checker-type", "cloud-function-v2", "cloud-run-revision", "content-type", "custom-content-type", "display-name", "group-id", "headers", "http-check", "is-internal", "labels", "mask-headers", "monitored-resource", "name", "password", "path", "period", "ping-config", "pings-count", "port", "request-method", "resource-group", "resource-type", "selected-regions", "service-agent-authentication", "synthetic-monitor", "tcp-check", "timeout", "type", "use-ssl", "user-labels", "username", "validate-ssl"]);
err.issues.push(CLIError::Field(FieldError::Unknown(temp_cursor.to_string(), suggestion, value.map(|v| v.to_string()))));
None
}
@@ -5627,7 +5629,7 @@ async fn main() {
vec![
(Some(r##"name"##),
None,
Some(r##"Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID] "##),
Some(r##"Identifier. Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID] "##),
Some(true),
Some(false)),
@@ -5749,7 +5751,7 @@ async fn main() {
vec![
(Some(r##"name"##),
None,
Some(r##"Resource name for this ServiceLevelObjective. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME] "##),
Some(r##"Identifier. Resource name for this ServiceLevelObjective. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME] "##),
Some(true),
Some(false)),
@@ -5796,7 +5798,7 @@ async fn main() {
let mut app = App::new("monitoring3")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("5.0.4+20240225")
.version("5.0.5+20240414")
.about("Manages your Cloud Monitoring data and configurations.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_monitoring3_cli")
.arg(Arg::with_name("url")
@@ -5860,6 +5862,7 @@ async fn main() {
let debug = matches.is_present("adebug");
let connector = hyper_rustls::HttpsConnectorBuilder::new().with_native_roots()
.unwrap()
.https_or_http()
.enable_http1()
.build();