Skip to content

Commit e8aaabb

Browse files
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)
1 parent 7e7fb8f commit e8aaabb

File tree

4 files changed

+3
-113
lines changed

4 files changed

+3
-113
lines changed

docs/dyn/documentai_v1beta3.projects.locations.html

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -130,25 +130,6 @@ <h3>Method Details</h3>
130130
],
131131
&quot;category&quot;: &quot;A String&quot;, # The processor category, used by UI to group processor types.
132132
&quot;name&quot;: &quot;A String&quot;, # The resource name of the processor type. Format: projects/{project}/processorTypes/{processor_type}
133-
&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.
134-
&quot;description&quot;: &quot;A String&quot;, # Description of the schema.
135-
&quot;displayName&quot;: &quot;A String&quot;, # Display name to show to users.
136-
&quot;entityTypes&quot;: [ # Entity types of the schema.
137-
{ # 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.
138-
&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.
139-
&quot;description&quot;: &quot;A String&quot;, # Description of the entity type.
140-
&quot;enumValues&quot;: [ # If specified, lists all the possible values for this entity.
141-
&quot;A String&quot;,
142-
],
143-
&quot;occurrenceType&quot;: &quot;A String&quot;, # Occurrence type limits the number of times an entity type appears in the document.
144-
&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.
145-
# Object with schema name: GoogleCloudDocumentaiV1beta3SchemaEntityType
146-
],
147-
&quot;source&quot;: &quot;A String&quot;, # Source of this entity type.
148-
&quot;type&quot;: &quot;A String&quot;, # Name of the type. It must be unique within the set of same level types.
149-
},
150-
],
151-
},
152133
&quot;type&quot;: &quot;A String&quot;, # The type of the processor, e.g, &quot;invoice_parsing&quot;.
153134
},
154135
],

googleapiclient/discovery_cache/documents/documentai.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@
664664
}
665665
}
666666
},
667-
"revision": "20210607",
667+
"revision": "20210617",
668668
"rootUrl": "https://documentai.googleapis.com/",
669669
"schemas": {
670670
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {

googleapiclient/discovery_cache/documents/documentai.v1beta2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
}
293293
}
294294
},
295-
"revision": "20210607",
295+
"revision": "20210617",
296296
"rootUrl": "https://documentai.googleapis.com/",
297297
"schemas": {
298298
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {

googleapiclient/discovery_cache/documents/documentai.v1beta3.json

Lines changed: 1 addition & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@
601601
}
602602
}
603603
},
604-
"revision": "20210607",
604+
"revision": "20210617",
605605
"rootUrl": "https://documentai.googleapis.com/",
606606
"schemas": {
607607
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
@@ -4861,10 +4861,6 @@
48614861
"description": "The resource name of the processor type. Format: projects/{project}/processorTypes/{processor_type}",
48624862
"type": "string"
48634863
},
4864-
"schema": {
4865-
"$ref": "GoogleCloudDocumentaiV1beta3Schema",
4866-
"description": "The schema of the default version of this processor type."
4867-
},
48684864
"type": {
48694865
"description": "The type of the processor, e.g, \"invoice_parsing\".",
48704866
"type": "string"
@@ -4986,93 +4982,6 @@
49864982
},
49874983
"type": "object"
49884984
},
4989-
"GoogleCloudDocumentaiV1beta3Schema": {
4990-
"description": "The schema defines the output of the processed document by a processor.",
4991-
"id": "GoogleCloudDocumentaiV1beta3Schema",
4992-
"properties": {
4993-
"description": {
4994-
"description": "Description of the schema.",
4995-
"type": "string"
4996-
},
4997-
"displayName": {
4998-
"description": "Display name to show to users.",
4999-
"type": "string"
5000-
},
5001-
"entityTypes": {
5002-
"description": "Entity types of the schema.",
5003-
"items": {
5004-
"$ref": "GoogleCloudDocumentaiV1beta3SchemaEntityType"
5005-
},
5006-
"type": "array"
5007-
}
5008-
},
5009-
"type": "object"
5010-
},
5011-
"GoogleCloudDocumentaiV1beta3SchemaEntityType": {
5012-
"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.",
5013-
"id": "GoogleCloudDocumentaiV1beta3SchemaEntityType",
5014-
"properties": {
5015-
"baseType": {
5016-
"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.",
5017-
"type": "string"
5018-
},
5019-
"description": {
5020-
"description": "Description of the entity type.",
5021-
"type": "string"
5022-
},
5023-
"enumValues": {
5024-
"description": "If specified, lists all the possible values for this entity.",
5025-
"items": {
5026-
"type": "string"
5027-
},
5028-
"type": "array"
5029-
},
5030-
"occurrenceType": {
5031-
"description": "Occurrence type limits the number of times an entity type appears in the document.",
5032-
"enum": [
5033-
"OCCURRENCE_TYPE_UNSPECIFIED",
5034-
"OPTIONAL_ONCE",
5035-
"OPTIONAL_MULTIPLE",
5036-
"REQUIRED_ONCE",
5037-
"REQUIRED_MULTIPLE"
5038-
],
5039-
"enumDescriptions": [
5040-
"Unspecified occurrence type.",
5041-
"The entity type will appear zero times or once.",
5042-
"The entity type will appear zero or multiple times.",
5043-
"The entity type will only appear exactly once.",
5044-
"The entity type will appear once or more times."
5045-
],
5046-
"type": "string"
5047-
},
5048-
"properties": {
5049-
"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.",
5050-
"items": {
5051-
"$ref": "GoogleCloudDocumentaiV1beta3SchemaEntityType"
5052-
},
5053-
"type": "array"
5054-
},
5055-
"source": {
5056-
"description": "Source of this entity type.",
5057-
"enum": [
5058-
"SOURCE_UNSPECIFIED",
5059-
"PREDEFINED",
5060-
"USER_INPUT"
5061-
],
5062-
"enumDescriptions": [
5063-
"Unspecified source.",
5064-
"The entity type is in the predefined schema of a pretrained version of a processor.",
5065-
"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."
5066-
],
5067-
"type": "string"
5068-
},
5069-
"type": {
5070-
"description": "Name of the type. It must be unique within the set of same level types.",
5071-
"type": "string"
5072-
}
5073-
},
5074-
"type": "object"
5075-
},
50764985
"GoogleCloudDocumentaiV1beta3Vertex": {
50774986
"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.",
50784987
"id": "GoogleCloudDocumentaiV1beta3Vertex",

0 commit comments

Comments
 (0)