Skip to content

Commit

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

The following keys were deleted:
- schemas.GoogleCloudDocumentaiV1beta3ProcessorType.properties.schema.$ref (Total Keys: 1)
- schemas.GoogleCloudDocumentaiV1beta3Schema (Total Keys: 13)
  • Loading branch information
yoshi-automation committed Jun 29, 2021
1 parent 7e7fb8f commit e8aaabb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 113 deletions.
19 changes: 0 additions & 19 deletions docs/dyn/documentai_v1beta3.projects.locations.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,25 +130,6 @@ <h3>Method Details</h3>
],
&quot;category&quot;: &quot;A String&quot;, # The processor category, used by UI to group processor types.
&quot;name&quot;: &quot;A String&quot;, # The resource name of the processor type. Format: projects/{project}/processorTypes/{processor_type}
&quot;schema&quot;: { # The schema defines the output of the processed document by a processor. # The schema of the default version of this processor type.
&quot;description&quot;: &quot;A String&quot;, # Description of the schema.
&quot;displayName&quot;: &quot;A String&quot;, # Display name to show to users.
&quot;entityTypes&quot;: [ # 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.
&quot;baseType&quot;: &quot;A String&quot;, # 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.
&quot;description&quot;: &quot;A String&quot;, # Description of the entity type.
&quot;enumValues&quot;: [ # If specified, lists all the possible values for this entity.
&quot;A String&quot;,
],
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of times an entity type appears in the document.
&quot;properties&quot;: [ # 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 &#x27;ID&#x27;, which consists of EntityType &#x27;name&#x27; and &#x27;address&#x27;, with corresponding attributes, such as TEXT for both types and ONCE for occurrence types.
# Object with schema name: GoogleCloudDocumentaiV1beta3SchemaEntityType
],
&quot;source&quot;: &quot;A String&quot;, # Source of this entity type.
&quot;type&quot;: &quot;A String&quot;, # Name of the type. It must be unique within the set of same level types.
},
],
},
&quot;type&quot;: &quot;A String&quot;, # The type of the processor, e.g, &quot;invoice_parsing&quot;.
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@
}
}
},
"revision": "20210607",
"revision": "20210617",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
}
}
},
"revision": "20210607",
"revision": "20210617",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@
}
}
},
"revision": "20210607",
"revision": "20210617",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit e8aaabb

Please sign in to comment.