Skip to content

Commit

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

The following keys were added:
- schemas.GoogleCloudDocumentaiV1DocumentPage.properties.imageQualityScores.$ref (Total Keys: 1)
- schemas.GoogleCloudDocumentaiV1DocumentPageImageQualityScores (Total Keys: 11)
- schemas.GoogleCloudDocumentaiV1beta1DocumentPage.properties.imageQualityScores.$ref (Total Keys: 1)
- schemas.GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores (Total Keys: 11)
- schemas.GoogleCloudDocumentaiV1beta2DocumentPage.properties.imageQualityScores.$ref (Total Keys: 1)
- schemas.GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores (Total Keys: 11)

#### documentai:v1beta2

The following keys were added:
- schemas.GoogleCloudDocumentaiV1beta1DocumentPage.properties.imageQualityScores.$ref (Total Keys: 1)
- schemas.GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores (Total Keys: 11)
- schemas.GoogleCloudDocumentaiV1beta2DocumentPage.properties.imageQualityScores.$ref (Total Keys: 1)
- schemas.GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores (Total Keys: 11)

#### documentai:v1beta3

The following keys were added:
- schemas.GoogleCloudDocumentaiV1beta1DocumentPage.properties.imageQualityScores.$ref (Total Keys: 1)
- schemas.GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores (Total Keys: 11)
- schemas.GoogleCloudDocumentaiV1beta2DocumentPage.properties.imageQualityScores.$ref (Total Keys: 1)
- schemas.GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores (Total Keys: 11)
- schemas.GoogleCloudDocumentaiV1beta3DocumentPage.properties.imageQualityScores.$ref (Total Keys: 1)
- schemas.GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores (Total Keys: 11)
  • Loading branch information
yoshi-automation committed Oct 4, 2022
1 parent ff764b4 commit 3c5cb82
Show file tree
Hide file tree
Showing 11 changed files with 450 additions and 3 deletions.
18 changes: 18 additions & 0 deletions docs/dyn/documentai_v1.projects.locations.processors.html
Expand Up @@ -738,6 +738,15 @@ <h3>Method Details</h3>
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
&quot;width&quot;: 42, # Width of the image in pixels.
},
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
&quot;detectedDefects&quot;: [ # A list of detected defects.
{ # Image Quality Defects
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
&quot;type&quot;: &quot;A String&quot;, # Name of the defect type. Supported values are &quot;quality/defect_blurry&quot;, &quot;quality/defect_noisy&quot;, &quot;quality/defect_dark&quot;, &quot;quality/defect_faint&quot;, &quot;quality/defect_text_too_small&quot;, &quot;quality/defect_document_cutoff&quot;, &quot;quality/defect_text_cutoff&quot;, &quot;quality/defect_glare&quot;
},
],
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
},
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
Expand Down Expand Up @@ -1552,6 +1561,15 @@ <h3>Method Details</h3>
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
&quot;width&quot;: 42, # Width of the image in pixels.
},
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
&quot;detectedDefects&quot;: [ # A list of detected defects.
{ # Image Quality Defects
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
&quot;type&quot;: &quot;A String&quot;, # Name of the defect type. Supported values are &quot;quality/defect_blurry&quot;, &quot;quality/defect_noisy&quot;, &quot;quality/defect_dark&quot;, &quot;quality/defect_faint&quot;, &quot;quality/defect_text_too_small&quot;, &quot;quality/defect_document_cutoff&quot;, &quot;quality/defect_text_cutoff&quot;, &quot;quality/defect_glare&quot;
},
],
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
},
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
Expand Down
Expand Up @@ -461,6 +461,15 @@ <h3>Method Details</h3>
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
&quot;width&quot;: 42, # Width of the image in pixels.
},
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
&quot;detectedDefects&quot;: [ # A list of detected defects.
{ # Image Quality Defects
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
&quot;type&quot;: &quot;A String&quot;, # Name of the defect type. Supported values are &quot;quality/defect_blurry&quot;, &quot;quality/defect_noisy&quot;, &quot;quality/defect_dark&quot;, &quot;quality/defect_faint&quot;, &quot;quality/defect_text_too_small&quot;, &quot;quality/defect_document_cutoff&quot;, &quot;quality/defect_text_cutoff&quot;, &quot;quality/defect_glare&quot;
},
],
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
},
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
Expand Down
Expand Up @@ -647,6 +647,15 @@ <h3>Method Details</h3>
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
&quot;width&quot;: 42, # Width of the image in pixels.
},
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
&quot;detectedDefects&quot;: [ # A list of detected defects.
{ # Image Quality Defects
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
&quot;type&quot;: &quot;A String&quot;, # Name of the defect type. Supported values are &quot;quality/defect_blurry&quot;, &quot;quality/defect_noisy&quot;, &quot;quality/defect_dark&quot;, &quot;quality/defect_faint&quot;, &quot;quality/defect_text_too_small&quot;, &quot;quality/defect_document_cutoff&quot;, &quot;quality/defect_text_cutoff&quot;, &quot;quality/defect_glare&quot;
},
],
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
},
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
Expand Down Expand Up @@ -1461,6 +1470,15 @@ <h3>Method Details</h3>
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
&quot;width&quot;: 42, # Width of the image in pixels.
},
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
&quot;detectedDefects&quot;: [ # A list of detected defects.
{ # Image Quality Defects
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
&quot;type&quot;: &quot;A String&quot;, # Name of the defect type. Supported values are &quot;quality/defect_blurry&quot;, &quot;quality/defect_noisy&quot;, &quot;quality/defect_dark&quot;, &quot;quality/defect_faint&quot;, &quot;quality/defect_text_too_small&quot;, &quot;quality/defect_document_cutoff&quot;, &quot;quality/defect_text_cutoff&quot;, &quot;quality/defect_glare&quot;
},
],
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
},
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
Expand Down
9 changes: 9 additions & 0 deletions docs/dyn/documentai_v1beta2.projects.documents.html
Expand Up @@ -604,6 +604,15 @@ <h3>Method Details</h3>
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
&quot;width&quot;: 42, # Width of the image in pixels.
},
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
&quot;detectedDefects&quot;: [ # A list of detected defects.
{ # Image Quality Defects
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
&quot;type&quot;: &quot;A String&quot;, # Name of the defect type. Supported values are &quot;quality/defect_blurry&quot;, &quot;quality/defect_noisy&quot;, &quot;quality/defect_dark&quot;, &quot;quality/defect_faint&quot;, &quot;quality/defect_text_too_small&quot;, &quot;quality/defect_document_cutoff&quot;, &quot;quality/defect_text_cutoff&quot;, &quot;quality/defect_glare&quot;
},
],
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
},
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
Expand Down
9 changes: 9 additions & 0 deletions docs/dyn/documentai_v1beta2.projects.locations.documents.html
Expand Up @@ -604,6 +604,15 @@ <h3>Method Details</h3>
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
&quot;width&quot;: 42, # Width of the image in pixels.
},
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
&quot;detectedDefects&quot;: [ # A list of detected defects.
{ # Image Quality Defects
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
&quot;type&quot;: &quot;A String&quot;, # Name of the defect type. Supported values are &quot;quality/defect_blurry&quot;, &quot;quality/defect_noisy&quot;, &quot;quality/defect_dark&quot;, &quot;quality/defect_faint&quot;, &quot;quality/defect_text_too_small&quot;, &quot;quality/defect_document_cutoff&quot;, &quot;quality/defect_text_cutoff&quot;, &quot;quality/defect_glare&quot;
},
],
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
},
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
Expand Down
27 changes: 27 additions & 0 deletions docs/dyn/documentai_v1beta3.projects.locations.processors.html
Expand Up @@ -746,6 +746,15 @@ <h3>Method Details</h3>
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
&quot;width&quot;: 42, # Width of the image in pixels.
},
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
&quot;detectedDefects&quot;: [ # A list of detected defects.
{ # Image Quality Defects
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
&quot;type&quot;: &quot;A String&quot;, # Name of the defect type. Supported values are &quot;quality/defect_blurry&quot;, &quot;quality/defect_noisy&quot;, &quot;quality/defect_dark&quot;, &quot;quality/defect_faint&quot;, &quot;quality/defect_text_too_small&quot;, &quot;quality/defect_document_cutoff&quot;, &quot;quality/defect_text_cutoff&quot;, &quot;quality/defect_glare&quot;
},
],
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
},
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
Expand Down Expand Up @@ -1545,6 +1554,15 @@ <h3>Method Details</h3>
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
&quot;width&quot;: 42, # Width of the image in pixels.
},
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
&quot;detectedDefects&quot;: [ # A list of detected defects.
{ # Image Quality Defects
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
&quot;type&quot;: &quot;A String&quot;, # Name of the defect type. Supported values are &quot;quality/defect_blurry&quot;, &quot;quality/defect_noisy&quot;, &quot;quality/defect_dark&quot;, &quot;quality/defect_faint&quot;, &quot;quality/defect_text_too_small&quot;, &quot;quality/defect_document_cutoff&quot;, &quot;quality/defect_text_cutoff&quot;, &quot;quality/defect_glare&quot;
},
],
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
},
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
Expand Down Expand Up @@ -2359,6 +2377,15 @@ <h3>Method Details</h3>
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
&quot;width&quot;: 42, # Width of the image in pixels.
},
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
&quot;detectedDefects&quot;: [ # A list of detected defects.
{ # Image Quality Defects
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
&quot;type&quot;: &quot;A String&quot;, # Name of the defect type. Supported values are &quot;quality/defect_blurry&quot;, &quot;quality/defect_noisy&quot;, &quot;quality/defect_dark&quot;, &quot;quality/defect_faint&quot;, &quot;quality/defect_text_too_small&quot;, &quot;quality/defect_document_cutoff&quot;, &quot;quality/defect_text_cutoff&quot;, &quot;quality/defect_glare&quot;
},
],
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
},
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
Expand Down
Expand Up @@ -409,6 +409,15 @@ <h3>Method Details</h3>
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
&quot;width&quot;: 42, # Width of the image in pixels.
},
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
&quot;detectedDefects&quot;: [ # A list of detected defects.
{ # Image Quality Defects
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
&quot;type&quot;: &quot;A String&quot;, # Name of the defect type. Supported values are &quot;quality/defect_blurry&quot;, &quot;quality/defect_noisy&quot;, &quot;quality/defect_dark&quot;, &quot;quality/defect_faint&quot;, &quot;quality/defect_text_too_small&quot;, &quot;quality/defect_document_cutoff&quot;, &quot;quality/defect_text_cutoff&quot;, &quot;quality/defect_glare&quot;
},
],
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
},
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
Expand Down Expand Up @@ -1259,6 +1268,15 @@ <h3>Method Details</h3>
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
&quot;width&quot;: 42, # Width of the image in pixels.
},
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
&quot;detectedDefects&quot;: [ # A list of detected defects.
{ # Image Quality Defects
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
&quot;type&quot;: &quot;A String&quot;, # Name of the defect type. Supported values are &quot;quality/defect_blurry&quot;, &quot;quality/defect_noisy&quot;, &quot;quality/defect_dark&quot;, &quot;quality/defect_faint&quot;, &quot;quality/defect_text_too_small&quot;, &quot;quality/defect_document_cutoff&quot;, &quot;quality/defect_text_cutoff&quot;, &quot;quality/defect_glare&quot;
},
],
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
},
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
Expand Down

0 comments on commit 3c5cb82

Please sign in to comment.