Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 412a524

Browse files
committedOct 25, 2022
feat(contentwarehouse): update the api
#### contentwarehouse:v1 The following keys were deleted: - schemas.AppsPeopleOzExternalMergedpeopleapiLocation.properties.extendedData.$ref (Total Keys: 1) - schemas.AppsPeopleOzExternalMergedpeopleapiLocationExtendedData (Total Keys: 3) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.calibratedParsingScoreFloat (Total Keys: 2) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.numConstraintsFloat (Total Keys: 2) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.numConstraintsSatisfiedFloat (Total Keys: 2) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.numGroundableArgsFloat (Total Keys: 2) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.numGroundedArgsFloat (Total Keys: 2) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.numVariablesFloat (Total Keys: 2) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.numVariablesGroundedFloat (Total Keys: 2) - schemas.CompositeDoc.properties.manyboxData.$ref (Total Keys: 1) - schemas.ImageSafesearchContentOCRAnnotation.properties.offensiveScore (Total Keys: 2) - schemas.ManyboxData (Total Keys: 6) - schemas.PornFlagData.properties.imageEntitiesViolenceScore (Total Keys: 2) - schemas.PornFlagData.properties.starburstPornScore (Total Keys: 2) - schemas.PornFlagData.properties.starburstViolenceScore (Total Keys: 2) - schemas.QualityShoppingShoppingAttachmentOffer.properties.nonDisplayableOrganicMscore (Total Keys: 2) - schemas.QualityShoppingShoppingAttachmentProduct.properties.encodedProductSalientTerms (Total Keys: 2) - schemas.RepositoryWebrefAbsoluteLegacyId (Total Keys: 5) - schemas.RepositoryWebrefCategoryInfo.properties.fatcatCategory (Total Keys: 2) - schemas.RepositoryWebrefCategoryInfo.properties.fatcatContext (Total Keys: 2) - schemas.RepositoryWebrefEntityDebugInfo.properties.containsRestrictedData.type (Total Keys: 1) - schemas.RepositoryWebrefEntityJoin.properties.preprocessingId.$ref (Total Keys: 1) - schemas.RepositoryWebrefFatcatCategory.properties.debugId.type (Total Keys: 1) - schemas.SnippetExtraInfoSnippetCandidateInfo.properties.snippetSource.type (Total Keys: 1) - schemas.SocialGraphWireProtoPeopleapiExtensionCorpDeskbookingLocationExtendedData (Total Keys: 3) The following keys were added: - schemas.AppsPeopleOzExternalMergedpeopleapiConnectionReminder (Total Keys: 5) - schemas.AppsPeopleOzExternalMergedpeopleapiPerson.properties.connectionReminder (Total Keys: 2) - schemas.AssistantApiDeviceCapabilities.properties.carUxRestrictions (Total Keys: 2) - schemas.AssistantApiDeviceCapabilities.properties.popOnLockscreenCapability.type (Total Keys: 1) - schemas.AssistantDevicesPlatformProtoDeviceTakePhotoCapability (Total Keys: 2) - schemas.AssistantDevicesPlatformProtoSupportedDeviceOps.properties.deviceTakePhoto.$ref (Total Keys: 1) - schemas.AssistantGroundingRankerContactGroundingProviderFeatures (Total Keys: 18) - schemas.AssistantGroundingRankerGroundingProviderFeatures (Total Keys: 4) - schemas.AssistantGroundingRankerMediaGroundingProviderFeatures (Total Keys: 4) - schemas.AssistantLogsDeviceInfoLog.properties.deviceIdLog.$ref (Total Keys: 1) - schemas.AssistantLogsSettingsDeviceIdLog (Total Keys: 8) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.bindingSetAuis (Total Keys: 2) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.groundingProviderFeatures.$ref (Total Keys: 1) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.numAlternativeHypothesis (Total Keys: 2) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.topHypothesisConfidence (Total Keys: 2) - schemas.AssistantPrefulfillmentRankerPrefulfillmentSignals.properties.verticalConfidenceScore (Total Keys: 2) - schemas.CompositeDoc.properties.indexingIntermediate (Total Keys: 2) - schemas.GeostoreFeatureMetadataProto.properties.featureReplacementInfo.$ref (Total Keys: 1) - schemas.GeostoreFeaturePropertyIdProto.properties.nameLanguage.type (Total Keys: 1) - schemas.GeostoreFeatureReplacementInfoProto (Total Keys: 6) - schemas.GoogleCloudDocumentaiV1DocumentPage.properties.imageQualityScores.$ref (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1DocumentPageImageQualityScores (Total Keys: 11) - schemas.GoogleCloudDocumentaiV1DocumentPageTable.properties.provenance.$ref (Total Keys: 1) - schemas.GoogleInternalAppsWaldoV1alphaDoNotDisturb.properties.committedUntil (Total Keys: 3) - schemas.GoogleInternalAppsWaldoV1alphaInMeeting.properties.committedUntil (Total Keys: 3) - schemas.GoogleInternalAppsWaldoV1alphaInactive.properties.nextCommitmentStatus.$ref (Total Keys: 1) - schemas.GoogleInternalAppsWaldoV1alphaInactive.properties.nextCommitmentTime (Total Keys: 2) - schemas.IndexingDocjoinerDataVersion.properties.chromeCounts.$ref (Total Keys: 1) - schemas.NewsReconServiceLrsQ2lrs2EntryPayload.properties.lrsTypes (Total Keys: 3) - schemas.NlpSemanticParsingDatetimeAbsoluteDateTime.properties.meridiem.type (Total Keys: 1) - schemas.NlpSemanticParsingDatetimeEvent.properties.holiday.type (Total Keys: 1) - schemas.NlpSemanticParsingLocalHealthInsuranceConstraint (Total Keys: 3) - schemas.NlpSemanticParsingLocalLocationConstraint.properties.healthInsurance.$ref (Total Keys: 1) - schemas.PornFlagData.properties.internalSignals.$ref (Total Keys: 1) - schemas.QualityNsrNsrData.properties.chard (Total Keys: 4) - schemas.QualityNsrNsrData.properties.clutterScores (Total Keys: 2) - schemas.QualityNsrNsrData.properties.directFrac (Total Keys: 2) - schemas.QualityNsrNsrData.properties.healthScore (Total Keys: 2) - schemas.QualityNsrNsrData.properties.i18nBucket (Total Keys: 2) - schemas.QualityNsrNsrData.properties.impressions (Total Keys: 2) - schemas.QualityNsrNsrData.properties.language (Total Keys: 2) - schemas.QualityNsrNsrData.properties.largeOrgId (Total Keys: 2) - schemas.QualityNsrNsrData.properties.pnav (Total Keys: 2) - schemas.QualityNsrNsrData.properties.shoppingScore (Total Keys: 2) - schemas.QualityNsrNsrData.properties.spambrainLavcScores (Total Keys: 2) - schemas.QualityNsrNsrData.properties.tofu (Total Keys: 2) - schemas.QualityNsrNsrData.properties.ugcScore (Total Keys: 2) - schemas.QualityNsrNsrData.properties.videoScore (Total Keys: 2) - schemas.QualityNsrNsrData.properties.vlq (Total Keys: 2) - schemas.QualityNsrNsrData.properties.ymylNewsV2Score (Total Keys: 2) - schemas.QualityNsrPQData.properties.chard (Total Keys: 2) - schemas.QualityNsrPQData.properties.deltaPageQuality (Total Keys: 2) - schemas.QualityNsrPQData.properties.numOffdomainAnchors (Total Keys: 2) - schemas.QualityNsrPQData.properties.tofu (Total Keys: 2) - schemas.QualityNsrPQData.properties.vlq (Total Keys: 2) - schemas.QualityNsrVersionedFloatSignal (Total Keys: 6) - schemas.QualityShoppingShoppingAttachmentOffer.properties.nonDisplayableOrganicScoreMillis (Total Keys: 2) - schemas.SafesearchInternalImageSignals (Total Keys: 8) - schemas.ScienceCitationFunding.properties.DebugExtractionInfo (Total Keys: 2) - schemas.ScienceCitationFundingExtractionInfo (Total Keys: 6) - schemas.SnippetExtraInfo.properties.snippetsbrainModelInfo.$ref (Total Keys: 1) - schemas.SnippetExtraInfoSnippetsBrainModelInfo (Total Keys: 5) - schemas.SocialGraphApiProtoDailyRecurrence (Total Keys: 2) - schemas.SocialGraphApiProtoMonthlyDayRecurrence (Total Keys: 6) - schemas.SocialGraphApiProtoMonthlyRecurrence (Total Keys: 4) - schemas.SocialGraphApiProtoMonthlyWeekdayRecurrence (Total Keys: 5) - schemas.SocialGraphApiProtoNotificationTrigger (Total Keys: 5) - schemas.SocialGraphApiProtoPrompt (Total Keys: 11) - schemas.SocialGraphApiProtoRecurrence (Total Keys: 16) - schemas.SocialGraphApiProtoSingleRecurrence (Total Keys: 3) - schemas.SocialGraphApiProtoWeeklyRecurrence (Total Keys: 4) - schemas.SocialGraphApiProtoYearlyRecurrence (Total Keys: 5) - schemas.VideoContentSearchOnScreenTextFeature.properties.nTextsInSameFrame (Total Keys: 2) - schemas.VideoContentSearchVideoAnchor.properties.contextText.type (Total Keys: 1) - schemas.YoutubeDiscoveryLegosLegosAnnotation.properties.present.$ref (Total Keys: 1) - schemas.YoutubeDiscoveryLegosLegosPresentRelationship (Total Keys: 6)
1 parent d37d7c4 commit 412a524

5 files changed

+1920
-256
lines changed
 

‎docs/dyn/contentwarehouse_v1.projects.locations.documentSchemas.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h2>Instance Methods</h2>
8282
<p class="firstline">Creates a document schema.</p>
8383
<p class="toc_element">
8484
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85-
<p class="firstline">Deletes a document schema. Returns NOT_FOUND if the document schema does not exist.</p>
85+
<p class="firstline">Deletes a document schema. Returns NOT_FOUND if the document schema does not exist. Returns BAD_REQUEST if the document schema has documents depending on it.</p>
8686
<p class="toc_element">
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Gets a document schema. Returns NOT_FOUND if the document schema does not exist.</p>
@@ -94,7 +94,7 @@ <h2>Instance Methods</h2>
9494
<p class="firstline">Retrieves the next page of results.</p>
9595
<p class="toc_element">
9696
<code><a href="#patch">patch(name, body=None, x__xgafv=None)</a></code></p>
97-
<p class="firstline">Updates a Document Schema. Returns INVALID_ARGUMENT if the name of the Document Schema is non-empty and does not equal the existing name. Supports only appending new properties and updating existing properties will result into INVALID_ARGUMENT.</p>
97+
<p class="firstline">Updates a Document Schema. Returns INVALID_ARGUMENT if the name of the Document Schema is non-empty and does not equal the existing name. Supports only appending new properties, adding new ENUM possible values, and updating the EnumTypeOptions.validation_check_disabled flag for ENUM possible values. Updating existing properties will result into INVALID_ARGUMENT.</p>
9898
<h3>Method Details</h3>
9999
<div class="method">
100100
<code class="details" id="close">close()</code>
@@ -117,7 +117,7 @@ <h3>Method Details</h3>
117117
&quot;documentIsFolder&quot;: True or False, # Document Type, true refers the document is a folder, otherwise it is a typical document.
118118
&quot;name&quot;: &quot;A String&quot;, # The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.
119119
&quot;propertyDefinitions&quot;: [ # Document details.
120-
{ # Defines the metadata for a schema property. Next ID: 18
120+
{ # Defines the metadata for a schema property.
121121
&quot;dateTimeTypeOptions&quot;: { # Configurations for a date time property. # Date time property. It is not supported by CMEK compliant deployment.
122122
},
123123
&quot;displayName&quot;: &quot;A String&quot;, # The display-name for the property, used for front-end.
@@ -168,7 +168,7 @@ <h3>Method Details</h3>
168168
&quot;documentIsFolder&quot;: True or False, # Document Type, true refers the document is a folder, otherwise it is a typical document.
169169
&quot;name&quot;: &quot;A String&quot;, # The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.
170170
&quot;propertyDefinitions&quot;: [ # Document details.
171-
{ # Defines the metadata for a schema property. Next ID: 18
171+
{ # Defines the metadata for a schema property.
172172
&quot;dateTimeTypeOptions&quot;: { # Configurations for a date time property. # Date time property. It is not supported by CMEK compliant deployment.
173173
},
174174
&quot;displayName&quot;: &quot;A String&quot;, # The display-name for the property, used for front-end.
@@ -207,7 +207,7 @@ <h3>Method Details</h3>
207207

208208
<div class="method">
209209
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
210-
<pre>Deletes a document schema. Returns NOT_FOUND if the document schema does not exist.
210+
<pre>Deletes a document schema. Returns NOT_FOUND if the document schema does not exist. Returns BAD_REQUEST if the document schema has documents depending on it.
211211

212212
Args:
213213
name: string, Required. The name of the document schema to delete. (required)
@@ -244,7 +244,7 @@ <h3>Method Details</h3>
244244
&quot;documentIsFolder&quot;: True or False, # Document Type, true refers the document is a folder, otherwise it is a typical document.
245245
&quot;name&quot;: &quot;A String&quot;, # The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.
246246
&quot;propertyDefinitions&quot;: [ # Document details.
247-
{ # Defines the metadata for a schema property. Next ID: 18
247+
{ # Defines the metadata for a schema property.
248248
&quot;dateTimeTypeOptions&quot;: { # Configurations for a date time property. # Date time property. It is not supported by CMEK compliant deployment.
249249
},
250250
&quot;displayName&quot;: &quot;A String&quot;, # The display-name for the property, used for front-end.
@@ -306,7 +306,7 @@ <h3>Method Details</h3>
306306
&quot;documentIsFolder&quot;: True or False, # Document Type, true refers the document is a folder, otherwise it is a typical document.
307307
&quot;name&quot;: &quot;A String&quot;, # The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.
308308
&quot;propertyDefinitions&quot;: [ # Document details.
309-
{ # Defines the metadata for a schema property. Next ID: 18
309+
{ # Defines the metadata for a schema property.
310310
&quot;dateTimeTypeOptions&quot;: { # Configurations for a date time property. # Date time property. It is not supported by CMEK compliant deployment.
311311
},
312312
&quot;displayName&quot;: &quot;A String&quot;, # The display-name for the property, used for front-end.
@@ -362,7 +362,7 @@ <h3>Method Details</h3>
362362

363363
<div class="method">
364364
<code class="details" id="patch">patch(name, body=None, x__xgafv=None)</code>
365-
<pre>Updates a Document Schema. Returns INVALID_ARGUMENT if the name of the Document Schema is non-empty and does not equal the existing name. Supports only appending new properties and updating existing properties will result into INVALID_ARGUMENT.
365+
<pre>Updates a Document Schema. Returns INVALID_ARGUMENT if the name of the Document Schema is non-empty and does not equal the existing name. Supports only appending new properties, adding new ENUM possible values, and updating the EnumTypeOptions.validation_check_disabled flag for ENUM possible values. Updating existing properties will result into INVALID_ARGUMENT.
366366

367367
Args:
368368
name: string, Required. The name of the document schema to update. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. (required)
@@ -377,7 +377,7 @@ <h3>Method Details</h3>
377377
&quot;documentIsFolder&quot;: True or False, # Document Type, true refers the document is a folder, otherwise it is a typical document.
378378
&quot;name&quot;: &quot;A String&quot;, # The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.
379379
&quot;propertyDefinitions&quot;: [ # Document details.
380-
{ # Defines the metadata for a schema property. Next ID: 18
380+
{ # Defines the metadata for a schema property.
381381
&quot;dateTimeTypeOptions&quot;: { # Configurations for a date time property. # Date time property. It is not supported by CMEK compliant deployment.
382382
},
383383
&quot;displayName&quot;: &quot;A String&quot;, # The display-name for the property, used for front-end.
@@ -429,7 +429,7 @@ <h3>Method Details</h3>
429429
&quot;documentIsFolder&quot;: True or False, # Document Type, true refers the document is a folder, otherwise it is a typical document.
430430
&quot;name&quot;: &quot;A String&quot;, # The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.
431431
&quot;propertyDefinitions&quot;: [ # Document details.
432-
{ # Defines the metadata for a schema property. Next ID: 18
432+
{ # Defines the metadata for a schema property.
433433
&quot;dateTimeTypeOptions&quot;: { # Configurations for a date time property. # Date time property. It is not supported by CMEK compliant deployment.
434434
},
435435
&quot;displayName&quot;: &quot;A String&quot;, # The display-name for the property, used for front-end.

‎docs/dyn/contentwarehouse_v1.projects.locations.documents.html

+137-11
Large diffs are not rendered by default.

‎docs/dyn/contentwarehouse_v1.projects.locations.documents.referenceId.html

+67-4
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ <h3>Method Details</h3>
133133
body: object, The request body.
134134
The object takes the form of:
135135

136-
{ # Request message for DocumentService.GetDocument. Next ID: 4
136+
{ # Request message for DocumentService.GetDocument.
137137
&quot;requestMetadata&quot;: { # Meta information is used to improve the performance of the service. # The meta information collected about the end user, used to enforce access control for the service.
138138
&quot;userInfo&quot;: { # Provides user unique identification and groups information.
139139
&quot;groupIds&quot;: [ # The unique group identifications which the user is belong to. The format is &quot;group:yyyy@example.com&quot;;
@@ -152,7 +152,7 @@ <h3>Method Details</h3>
152152
Returns:
153153
An object of the form:
154154

155-
{ # Defines the structure for content warehouse document proto. Next ID: 20
155+
{ # Defines the structure for content warehouse document proto.
156156
&quot;asyncEnabled&quot;: True or False, # If true, makes the document visible to asynchronous policies and rules.
157157
&quot;cloudAiDocument&quot;: { # Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality. # Document AI format to save the structured content, including OCR.
158158
&quot;content&quot;: &quot;A String&quot;, # Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.
@@ -467,6 +467,15 @@ <h3>Method Details</h3>
467467
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
468468
&quot;width&quot;: 42, # Width of the image in pixels.
469469
},
470+
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
471+
&quot;detectedDefects&quot;: [ # A list of detected defects.
472+
{ # Image Quality Defects
473+
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
474+
&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;
475+
},
476+
],
477+
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
478+
},
470479
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
471480
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
472481
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
@@ -763,6 +772,18 @@ <h3>Method Details</h3>
763772
],
764773
},
765774
},
775+
&quot;provenance&quot;: { # Structure to identify provenance relationships between annotations in different revisions. # The history of this table.
776+
&quot;id&quot;: 42, # The Id of this operation. Needs to be unique within the scope of the revision.
777+
&quot;parents&quot;: [ # References to the original elements that are replaced.
778+
{ # The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations.
779+
&quot;id&quot;: 42, # The id of the parent provenance.
780+
&quot;index&quot;: 42, # The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.
781+
&quot;revision&quot;: 42, # The index of the index into current revision&#x27;s parent_ids list.
782+
},
783+
],
784+
&quot;revision&quot;: 42, # The index of the revision that produced this element.
785+
&quot;type&quot;: &quot;A String&quot;, # The type of provenance operation.
786+
},
766787
},
767788
],
768789
&quot;tokens&quot;: [ # A list of visually detected tokens on the page.
@@ -1074,7 +1095,7 @@ <h3>Method Details</h3>
10741095
},
10751096
&quot;enableEntitiesConversions&quot;: True or False, # Whether to convert all the entities to properties.
10761097
},
1077-
&quot;document&quot;: { # Defines the structure for content warehouse document proto. Next ID: 20 # Required. The document to update.
1098+
&quot;document&quot;: { # Defines the structure for content warehouse document proto. # Required. The document to update.
10781099
&quot;asyncEnabled&quot;: True or False, # If true, makes the document visible to asynchronous policies and rules.
10791100
&quot;cloudAiDocument&quot;: { # Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality. # Document AI format to save the structured content, including OCR.
10801101
&quot;content&quot;: &quot;A String&quot;, # Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.
@@ -1389,6 +1410,15 @@ <h3>Method Details</h3>
13891410
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
13901411
&quot;width&quot;: 42, # Width of the image in pixels.
13911412
},
1413+
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
1414+
&quot;detectedDefects&quot;: [ # A list of detected defects.
1415+
{ # Image Quality Defects
1416+
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
1417+
&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;
1418+
},
1419+
],
1420+
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
1421+
},
13921422
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
13931423
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
13941424
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
@@ -1685,6 +1715,18 @@ <h3>Method Details</h3>
16851715
],
16861716
},
16871717
},
1718+
&quot;provenance&quot;: { # Structure to identify provenance relationships between annotations in different revisions. # The history of this table.
1719+
&quot;id&quot;: 42, # The Id of this operation. Needs to be unique within the scope of the revision.
1720+
&quot;parents&quot;: [ # References to the original elements that are replaced.
1721+
{ # The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations.
1722+
&quot;id&quot;: 42, # The id of the parent provenance.
1723+
&quot;index&quot;: 42, # The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.
1724+
&quot;revision&quot;: 42, # The index of the index into current revision&#x27;s parent_ids list.
1725+
},
1726+
],
1727+
&quot;revision&quot;: 42, # The index of the revision that produced this element.
1728+
&quot;type&quot;: &quot;A String&quot;, # The type of provenance operation.
1729+
},
16881730
},
16891731
],
16901732
&quot;tokens&quot;: [ # A list of visually detected tokens on the page.
@@ -2005,7 +2047,7 @@ <h3>Method Details</h3>
20052047
An object of the form:
20062048

20072049
{ # Response message for DocumentService.UpdateDocument.
2008-
&quot;document&quot;: { # Defines the structure for content warehouse document proto. Next ID: 20 # Updated document after executing update request.
2050+
&quot;document&quot;: { # Defines the structure for content warehouse document proto. # Updated document after executing update request.
20092051
&quot;asyncEnabled&quot;: True or False, # If true, makes the document visible to asynchronous policies and rules.
20102052
&quot;cloudAiDocument&quot;: { # Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality. # Document AI format to save the structured content, including OCR.
20112053
&quot;content&quot;: &quot;A String&quot;, # Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.
@@ -2320,6 +2362,15 @@ <h3>Method Details</h3>
23202362
&quot;mimeType&quot;: &quot;A String&quot;, # Encoding mime type for the image.
23212363
&quot;width&quot;: 42, # Width of the image in pixels.
23222364
},
2365+
&quot;imageQualityScores&quot;: { # Image Quality Scores for the page image # Image Quality Scores.
2366+
&quot;detectedDefects&quot;: [ # A list of detected defects.
2367+
{ # Image Quality Defects
2368+
&quot;confidence&quot;: 3.14, # Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence of that the defect exists.
2369+
&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;
2370+
},
2371+
],
2372+
&quot;qualityScore&quot;: 3.14, # The overall quality score. Range [0, 1] where 1 is perfect quality.
2373+
},
23232374
&quot;layout&quot;: { # Visual element describing a layout unit on a page. # Layout for the page.
23242375
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
23252376
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
@@ -2616,6 +2667,18 @@ <h3>Method Details</h3>
26162667
],
26172668
},
26182669
},
2670+
&quot;provenance&quot;: { # Structure to identify provenance relationships between annotations in different revisions. # The history of this table.
2671+
&quot;id&quot;: 42, # The Id of this operation. Needs to be unique within the scope of the revision.
2672+
&quot;parents&quot;: [ # References to the original elements that are replaced.
2673+
{ # The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations.
2674+
&quot;id&quot;: 42, # The id of the parent provenance.
2675+
&quot;index&quot;: 42, # The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.
2676+
&quot;revision&quot;: 42, # The index of the index into current revision&#x27;s parent_ids list.
2677+
},
2678+
],
2679+
&quot;revision&quot;: 42, # The index of the revision that produced this element.
2680+
&quot;type&quot;: &quot;A String&quot;, # The type of provenance operation.
2681+
},
26192682
},
26202683
],
26212684
&quot;tokens&quot;: [ # A list of visually detected tokens on the page.

‎docs/dyn/contentwarehouse_v1.projects.locations.ruleSets.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h3>Method Details</h3>
110110
body: object, The request body.
111111
The object takes the form of:
112112

113-
{ # Represents a set of rules from a single customer. Next id: 9
113+
{ # Represents a set of rules from a single customer.
114114
&quot;description&quot;: &quot;A String&quot;, # Short description of the rule-set.
115115
&quot;name&quot;: &quot;A String&quot;, # The resource name of the rule set. Managed internally. Format: projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}. The name is ignored when creating a rule set.
116116
&quot;rules&quot;: [ # List of rules given by the customer.
@@ -199,7 +199,7 @@ <h3>Method Details</h3>
199199
Returns:
200200
An object of the form:
201201

202-
{ # Represents a set of rules from a single customer. Next id: 9
202+
{ # Represents a set of rules from a single customer.
203203
&quot;description&quot;: &quot;A String&quot;, # Short description of the rule-set.
204204
&quot;name&quot;: &quot;A String&quot;, # The resource name of the rule set. Managed internally. Format: projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}. The name is ignored when creating a rule set.
205205
&quot;rules&quot;: [ # List of rules given by the customer.
@@ -313,7 +313,7 @@ <h3>Method Details</h3>
313313
Returns:
314314
An object of the form:
315315

316-
{ # Represents a set of rules from a single customer. Next id: 9
316+
{ # Represents a set of rules from a single customer.
317317
&quot;description&quot;: &quot;A String&quot;, # Short description of the rule-set.
318318
&quot;name&quot;: &quot;A String&quot;, # The resource name of the rule set. Managed internally. Format: projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}. The name is ignored when creating a rule set.
319319
&quot;rules&quot;: [ # List of rules given by the customer.
@@ -414,7 +414,7 @@ <h3>Method Details</h3>
414414
{ # Response message for RuleSetService.ListRuleSets.
415415
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
416416
&quot;ruleSets&quot;: [ # The rule sets from the specified parent.
417-
{ # Represents a set of rules from a single customer. Next id: 9
417+
{ # Represents a set of rules from a single customer.
418418
&quot;description&quot;: &quot;A String&quot;, # Short description of the rule-set.
419419
&quot;name&quot;: &quot;A String&quot;, # The resource name of the rule set. Managed internally. Format: projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}. The name is ignored when creating a rule set.
420420
&quot;rules&quot;: [ # List of rules given by the customer.
@@ -522,7 +522,7 @@ <h3>Method Details</h3>
522522
The object takes the form of:
523523

524524
{ # Request message for RuleSetService.UpdateRuleSet.
525-
&quot;ruleSet&quot;: { # Represents a set of rules from a single customer. Next id: 9 # Required. The rule set to update.
525+
&quot;ruleSet&quot;: { # Represents a set of rules from a single customer. # Required. The rule set to update.
526526
&quot;description&quot;: &quot;A String&quot;, # Short description of the rule-set.
527527
&quot;name&quot;: &quot;A String&quot;, # The resource name of the rule set. Managed internally. Format: projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}. The name is ignored when creating a rule set.
528528
&quot;rules&quot;: [ # List of rules given by the customer.
@@ -612,7 +612,7 @@ <h3>Method Details</h3>
612612
Returns:
613613
An object of the form:
614614

615-
{ # Represents a set of rules from a single customer. Next id: 9
615+
{ # Represents a set of rules from a single customer.
616616
&quot;description&quot;: &quot;A String&quot;, # Short description of the rule-set.
617617
&quot;name&quot;: &quot;A String&quot;, # The resource name of the rule set. Managed internally. Format: projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}. The name is ignored when creating a rule set.
618618
&quot;rules&quot;: [ # List of rules given by the customer.

‎googleapiclient/discovery_cache/documents/contentwarehouse.v1.json

+1,700-225
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.