Skip to content

Commit

Permalink
feat(documentai): update the API
Browse files Browse the repository at this point in the history
#### documentai:v1beta2

The following keys were added:
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.description
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.format
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.type
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.description
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.format
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.type

#### documentai:v1beta3

The following keys were added:
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.description
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.format
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.type
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.description
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.format
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.type

The following keys were changed:
- resources.projects.resources.locations.methods.list.parameters.pageSize.description

#### documentai:v1

The following keys were added:
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.description
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.format
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.type
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.description
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.format
- schemas.GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.type

The following keys were changed:
- resources.projects.resources.locations.methods.list.parameters.pageSize.description
- resources.uiv1beta3.resources.projects.resources.locations.methods.list.parameters.pageSize.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 20, 2021
1 parent 8f980cd commit 5b0d5ca
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 12 deletions.
16 changes: 13 additions & 3 deletions discovery/documentai-v1.json
Expand Up @@ -254,7 +254,7 @@
"type": "string"
},
"pageSize": {
"description": "The maximum number of results to return. If not set, the service will select a default.",
"description": "The maximum number of results to return. If not set, the service selects a default.",
"format": "int32",
"location": "query",
"type": "integer"
Expand Down Expand Up @@ -544,7 +544,7 @@
"type": "string"
},
"pageSize": {
"description": "The maximum number of results to return. If not set, the service will select a default.",
"description": "The maximum number of results to return. If not set, the service selects a default.",
"format": "int32",
"location": "query",
"type": "integer"
Expand Down Expand Up @@ -601,7 +601,7 @@
}
}
},
"revision": "20210329",
"revision": "20210415",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
Expand Down Expand Up @@ -802,13 +802,23 @@
"description": "The dataset validation information. This includes any and all errors with documents and the dataset.",
"id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation",
"properties": {
"datasetErrorCount": {
"description": "The total number of dataset errors.",
"format": "int32",
"type": "integer"
},
"datasetErrors": {
"description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"documentErrorCount": {
"description": "The total number of document errors.",
"format": "int32",
"type": "integer"
},
"documentErrors": {
"description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.",
"items": {
Expand Down
12 changes: 11 additions & 1 deletion discovery/documentai-v1beta2.json
Expand Up @@ -292,7 +292,7 @@
}
}
},
"revision": "20210329",
"revision": "20210415",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
Expand Down Expand Up @@ -493,13 +493,23 @@
"description": "The dataset validation information. This includes any and all errors with documents and the dataset.",
"id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation",
"properties": {
"datasetErrorCount": {
"description": "The total number of dataset errors.",
"format": "int32",
"type": "integer"
},
"datasetErrors": {
"description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"documentErrorCount": {
"description": "The total number of document errors.",
"format": "int32",
"type": "integer"
},
"documentErrors": {
"description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.",
"items": {
Expand Down
14 changes: 12 additions & 2 deletions discovery/documentai-v1beta3.json
Expand Up @@ -156,7 +156,7 @@
"type": "string"
},
"pageSize": {
"description": "The maximum number of results to return. If not set, the service will select a default.",
"description": "The maximum number of results to return. If not set, the service selects a default.",
"format": "int32",
"location": "query",
"type": "integer"
Expand Down Expand Up @@ -365,7 +365,7 @@
}
}
},
"revision": "20210329",
"revision": "20210415",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
Expand Down Expand Up @@ -566,13 +566,23 @@
"description": "The dataset validation information. This includes any and all errors with documents and the dataset.",
"id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation",
"properties": {
"datasetErrorCount": {
"description": "The total number of dataset errors.",
"format": "int32",
"type": "integer"
},
"datasetErrors": {
"description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"documentErrorCount": {
"description": "The total number of document errors.",
"format": "int32",
"type": "integer"
},
"documentErrors": {
"description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.",
"items": {
Expand Down
16 changes: 12 additions & 4 deletions src/apis/documentai/v1.ts
Expand Up @@ -277,10 +277,18 @@ export namespace documentai_v1 {
* The dataset validation information. This includes any and all errors with documents and the dataset.
*/
export interface Schema$GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation {
/**
* The total number of dataset errors.
*/
datasetErrorCount?: number | null;
/**
* Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.
*/
datasetErrors?: Schema$GoogleRpcStatus[];
/**
* The total number of document errors.
*/
documentErrorCount?: number | null;
/**
* Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.
*/
Expand Down Expand Up @@ -3944,7 +3952,7 @@ export namespace documentai_v1 {
* filter: 'placeholder-value',
* // The resource that owns the locations collection, if applicable.
* name: 'projects/my-project',
* // The maximum number of results to return. If not set, the service will select a default.
* // The maximum number of results to return. If not set, the service selects a default.
* pageSize: 'placeholder-value',
* // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
* pageToken: 'placeholder-value',
Expand Down Expand Up @@ -4077,7 +4085,7 @@ export namespace documentai_v1 {
*/
name?: string;
/**
* The maximum number of results to return. If not set, the service will select a default.
* The maximum number of results to return. If not set, the service selects a default.
*/
pageSize?: number;
/**
Expand Down Expand Up @@ -5433,7 +5441,7 @@ export namespace documentai_v1 {
* filter: 'placeholder-value',
* // The resource that owns the locations collection, if applicable.
* name: 'projects/my-project',
* // The maximum number of results to return. If not set, the service will select a default.
* // The maximum number of results to return. If not set, the service selects a default.
* pageSize: 'placeholder-value',
* // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
* pageToken: 'placeholder-value',
Expand Down Expand Up @@ -5566,7 +5574,7 @@ export namespace documentai_v1 {
*/
name?: string;
/**
* The maximum number of results to return. If not set, the service will select a default.
* The maximum number of results to return. If not set, the service selects a default.
*/
pageSize?: number;
/**
Expand Down
8 changes: 8 additions & 0 deletions src/apis/documentai/v1beta2.ts
Expand Up @@ -273,10 +273,18 @@ export namespace documentai_v1beta2 {
* The dataset validation information. This includes any and all errors with documents and the dataset.
*/
export interface Schema$GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation {
/**
* The total number of dataset errors.
*/
datasetErrorCount?: number | null;
/**
* Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.
*/
datasetErrors?: Schema$GoogleRpcStatus[];
/**
* The total number of document errors.
*/
documentErrorCount?: number | null;
/**
* Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.
*/
Expand Down
12 changes: 10 additions & 2 deletions src/apis/documentai/v1beta3.ts
Expand Up @@ -273,10 +273,18 @@ export namespace documentai_v1beta3 {
* The dataset validation information. This includes any and all errors with documents and the dataset.
*/
export interface Schema$GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation {
/**
* The total number of dataset errors.
*/
datasetErrorCount?: number | null;
/**
* Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.
*/
datasetErrors?: Schema$GoogleRpcStatus[];
/**
* The total number of document errors.
*/
documentErrorCount?: number | null;
/**
* Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.
*/
Expand Down Expand Up @@ -3517,7 +3525,7 @@ export namespace documentai_v1beta3 {
* filter: 'placeholder-value',
* // The resource that owns the locations collection, if applicable.
* name: 'projects/my-project',
* // The maximum number of results to return. If not set, the service will select a default.
* // The maximum number of results to return. If not set, the service selects a default.
* pageSize: 'placeholder-value',
* // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
* pageToken: 'placeholder-value',
Expand Down Expand Up @@ -3650,7 +3658,7 @@ export namespace documentai_v1beta3 {
*/
name?: string;
/**
* The maximum number of results to return. If not set, the service will select a default.
* The maximum number of results to return. If not set, the service selects a default.
*/
pageSize?: number;
/**
Expand Down

0 comments on commit 5b0d5ca

Please sign in to comment.