From e8aaabbc7670aefc4a745916fccb31424745f748 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 29 Jun 2021 07:07:52 +0000 Subject: [PATCH] feat(documentai): update the api #### documentai:v1beta3 The following keys were deleted: - schemas.GoogleCloudDocumentaiV1beta3ProcessorType.properties.schema.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3Schema (Total Keys: 13) --- ...documentai_v1beta3.projects.locations.html | 19 ---- .../documents/documentai.v1.json | 2 +- .../documents/documentai.v1beta2.json | 2 +- .../documents/documentai.v1beta3.json | 93 +------------------ 4 files changed, 3 insertions(+), 113 deletions(-) diff --git a/docs/dyn/documentai_v1beta3.projects.locations.html b/docs/dyn/documentai_v1beta3.projects.locations.html index 5f249d8ffc6..dcf94178a4f 100644 --- a/docs/dyn/documentai_v1beta3.projects.locations.html +++ b/docs/dyn/documentai_v1beta3.projects.locations.html @@ -130,25 +130,6 @@

Method Details

], "category": "A String", # The processor category, used by UI to group processor types. "name": "A String", # The resource name of the processor type. Format: projects/{project}/processorTypes/{processor_type} - "schema": { # The schema defines the output of the processed document by a processor. # The schema of the default version of this processor type. - "description": "A String", # Description of the schema. - "displayName": "A String", # Display name to show to users. - "entityTypes": [ # Entity types of the schema. - { # EntityType is the wrapper of a label of the corresponding model with detailed attributes and limitations for entity-based processors. Multiple types can also compose a dependency tree to represent nested types. - "baseType": "A String", # Type of the entity. It must be one of the following: `document` - the entity represents a classification of a logical document. `object` - if the entity has properties it is likely an object (or or a document.) `datetime` - the entity is a date or time value. `money` - the entity represents a money value amount. `number` - the entity is a number - integer or floating point. `string` - the entity is a string value. `boolean` - the entity is a boolean value. `address` - the entity is a location address. - "description": "A String", # Description of the entity type. - "enumValues": [ # If specified, lists all the possible values for this entity. - "A String", - ], - "occurrenceType": "A String", # Occurrence type limits the number of times an entity type appears in the document. - "properties": [ # Describing the nested structure of an entity. An EntityType may consist of several other EntityTypes. For example, in a document there can be an EntityType 'ID', which consists of EntityType 'name' and 'address', with corresponding attributes, such as TEXT for both types and ONCE for occurrence types. - # Object with schema name: GoogleCloudDocumentaiV1beta3SchemaEntityType - ], - "source": "A String", # Source of this entity type. - "type": "A String", # Name of the type. It must be unique within the set of same level types. - }, - ], - }, "type": "A String", # The type of the processor, e.g, "invoice_parsing". }, ], diff --git a/googleapiclient/discovery_cache/documents/documentai.v1.json b/googleapiclient/discovery_cache/documents/documentai.v1.json index 5bf18978317..58394454d94 100644 --- a/googleapiclient/discovery_cache/documents/documentai.v1.json +++ b/googleapiclient/discovery_cache/documents/documentai.v1.json @@ -664,7 +664,7 @@ } } }, - "revision": "20210607", + "revision": "20210617", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": { diff --git a/googleapiclient/discovery_cache/documents/documentai.v1beta2.json b/googleapiclient/discovery_cache/documents/documentai.v1beta2.json index 87178c0e289..4346329bed4 100644 --- a/googleapiclient/discovery_cache/documents/documentai.v1beta2.json +++ b/googleapiclient/discovery_cache/documents/documentai.v1beta2.json @@ -292,7 +292,7 @@ } } }, - "revision": "20210607", + "revision": "20210617", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": { diff --git a/googleapiclient/discovery_cache/documents/documentai.v1beta3.json b/googleapiclient/discovery_cache/documents/documentai.v1beta3.json index 6f006c5bb67..a070e1580e2 100644 --- a/googleapiclient/discovery_cache/documents/documentai.v1beta3.json +++ b/googleapiclient/discovery_cache/documents/documentai.v1beta3.json @@ -601,7 +601,7 @@ } } }, - "revision": "20210607", + "revision": "20210617", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": { @@ -4861,10 +4861,6 @@ "description": "The resource name of the processor type. Format: projects/{project}/processorTypes/{processor_type}", "type": "string" }, - "schema": { - "$ref": "GoogleCloudDocumentaiV1beta3Schema", - "description": "The schema of the default version of this processor type." - }, "type": { "description": "The type of the processor, e.g, \"invoice_parsing\".", "type": "string" @@ -4986,93 +4982,6 @@ }, "type": "object" }, - "GoogleCloudDocumentaiV1beta3Schema": { - "description": "The schema defines the output of the processed document by a processor.", - "id": "GoogleCloudDocumentaiV1beta3Schema", - "properties": { - "description": { - "description": "Description of the schema.", - "type": "string" - }, - "displayName": { - "description": "Display name to show to users.", - "type": "string" - }, - "entityTypes": { - "description": "Entity types of the schema.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta3SchemaEntityType" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1beta3SchemaEntityType": { - "description": "EntityType is the wrapper of a label of the corresponding model with detailed attributes and limitations for entity-based processors. Multiple types can also compose a dependency tree to represent nested types.", - "id": "GoogleCloudDocumentaiV1beta3SchemaEntityType", - "properties": { - "baseType": { - "description": "Type of the entity. It must be one of the following: `document` - the entity represents a classification of a logical document. `object` - if the entity has properties it is likely an object (or or a document.) `datetime` - the entity is a date or time value. `money` - the entity represents a money value amount. `number` - the entity is a number - integer or floating point. `string` - the entity is a string value. `boolean` - the entity is a boolean value. `address` - the entity is a location address.", - "type": "string" - }, - "description": { - "description": "Description of the entity type.", - "type": "string" - }, - "enumValues": { - "description": "If specified, lists all the possible values for this entity.", - "items": { - "type": "string" - }, - "type": "array" - }, - "occurrenceType": { - "description": "Occurrence type limits the number of times an entity type appears in the document.", - "enum": [ - "OCCURRENCE_TYPE_UNSPECIFIED", - "OPTIONAL_ONCE", - "OPTIONAL_MULTIPLE", - "REQUIRED_ONCE", - "REQUIRED_MULTIPLE" - ], - "enumDescriptions": [ - "Unspecified occurrence type.", - "The entity type will appear zero times or once.", - "The entity type will appear zero or multiple times.", - "The entity type will only appear exactly once.", - "The entity type will appear once or more times." - ], - "type": "string" - }, - "properties": { - "description": "Describing the nested structure of an entity. An EntityType may consist of several other EntityTypes. For example, in a document there can be an EntityType 'ID', which consists of EntityType 'name' and 'address', with corresponding attributes, such as TEXT for both types and ONCE for occurrence types.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta3SchemaEntityType" - }, - "type": "array" - }, - "source": { - "description": "Source of this entity type.", - "enum": [ - "SOURCE_UNSPECIFIED", - "PREDEFINED", - "USER_INPUT" - ], - "enumDescriptions": [ - "Unspecified source.", - "The entity type is in the predefined schema of a pretrained version of a processor.", - "The entity type is added by the users either: - during an uptraining of an existing processor, or - during the process of creating a customized processor." - ], - "type": "string" - }, - "type": { - "description": "Name of the type. It must be unique within the set of same level types.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDocumentaiV1beta3Vertex": { "description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", "id": "GoogleCloudDocumentaiV1beta3Vertex",