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-documentai1-cli"
version = "5.0.4+20240223"
version = "5.0.5+20240417"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Document (protocol v1)"
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/documentai1-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-documentai1]
path = "../documentai1"
version = "5.0.4+20240223"
version = "5.0.5+20240417"

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 *Document* API at revision *20240223*. The CLI is at version *5.0.4*.
This documentation was generated from the *Document* API at revision *20240417*. The CLI is at version *5.0.5*.
```bash
documentai1 [options]

View File

@@ -1,4 +1,4 @@
site_name: Document v5.0.4+20240223
site_name: Document v5.0.5+20240417
site_url: http://byron.github.io/google-apis-rs/google-documentai1-cli
site_description: A complete library to interact with Document (protocol v1)
@@ -45,5 +45,5 @@ nav:
theme: readthedocs
copyright: Copyright &copy; 2015-2020, `Sebastian Thiel`
copyright: Copyright &copy; 20152024, `Sebastian Thiel`

View File

@@ -2003,6 +2003,8 @@ where
"document-schema.metadata.document-splitter" => Some(("documentSchema.metadata.documentSplitter", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })),
"document-schema.metadata.prefixed-naming-on-properties" => Some(("documentSchema.metadata.prefixedNamingOnProperties", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })),
"document-schema.metadata.skip-naming-validation" => Some(("documentSchema.metadata.skipNamingValidation", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })),
"foundation-model-tuning-options.learning-rate-multiplier" => Some(("foundationModelTuningOptions.learningRateMultiplier", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })),
"foundation-model-tuning-options.train-steps" => Some(("foundationModelTuningOptions.trainSteps", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })),
"input-data.test-documents.gcs-prefix.gcs-uri-prefix" => Some(("inputData.testDocuments.gcsPrefix.gcsUriPrefix", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"input-data.training-documents.gcs-prefix.gcs-uri-prefix" => Some(("inputData.trainingDocuments.gcsPrefix.gcsUriPrefix", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"processor-version.create-time" => Some(("processorVersion.createTime", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
@@ -2046,7 +2048,7 @@ where
"processor-version.name" => Some(("processorVersion.name", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"processor-version.state" => Some(("processorVersion.state", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
_ => {
let suggestion = FieldCursor::did_you_mean(key, &vec!["aggregate-metrics", "aggregate-metrics-exact", "base-processor-version", "create-time", "custom-document-extraction-options", "deprecation-info", "deprecation-time", "description", "display-name", "document-allow-multiple-labels", "document-schema", "document-splitter", "evaluation", "f1-score", "false-negatives-count", "false-positives-count", "gcs-prefix", "gcs-uri-prefix", "google-managed", "ground-truth-document-count", "ground-truth-occurrences-count", "input-data", "kms-key-name", "kms-key-version-name", "latest-evaluation", "metadata", "model-type", "name", "operation", "precision", "predicted-document-count", "predicted-occurrences-count", "prefixed-naming-on-properties", "processor-version", "recall", "replacement-processor-version", "skip-naming-validation", "state", "test-documents", "total-documents-count", "training-documents", "training-method", "true-positives-count"]);
let suggestion = FieldCursor::did_you_mean(key, &vec!["aggregate-metrics", "aggregate-metrics-exact", "base-processor-version", "create-time", "custom-document-extraction-options", "deprecation-info", "deprecation-time", "description", "display-name", "document-allow-multiple-labels", "document-schema", "document-splitter", "evaluation", "f1-score", "false-negatives-count", "false-positives-count", "foundation-model-tuning-options", "gcs-prefix", "gcs-uri-prefix", "google-managed", "ground-truth-document-count", "ground-truth-occurrences-count", "input-data", "kms-key-name", "kms-key-version-name", "latest-evaluation", "learning-rate-multiplier", "metadata", "model-type", "name", "operation", "precision", "predicted-document-count", "predicted-occurrences-count", "prefixed-naming-on-properties", "processor-version", "recall", "replacement-processor-version", "skip-naming-validation", "state", "test-documents", "total-documents-count", "train-steps", "training-documents", "training-method", "true-positives-count"]);
err.issues.push(CLIError::Field(FieldError::Unknown(temp_cursor.to_string(), suggestion, value.map(|v| v.to_string()))));
None
}
@@ -3284,7 +3286,7 @@ async fn main() {
let mut app = App::new("documentai1")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("5.0.4+20240223")
.version("5.0.5+20240417")
.about("Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_documentai1_cli")
.arg(Arg::with_name("url")
@@ -3348,6 +3350,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();