Skip to content

Commit 40eceac

Browse files
feat(discoveryengine): update the api
#### discoveryengine:v1 The following keys were deleted: - schemas.GoogleCloudDiscoveryengineV1UserLicense.properties.user.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaUserLicense.properties.user.type (Total Keys: 1) The following keys were added: - schemas.GoogleCloudDiscoveryengineV1Chunk.properties.annotationMetadata (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata (Total Keys: 6) - schemas.GoogleCloudDiscoveryengineV1ChunkStructuredContent (Total Keys: 6) - schemas.GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.structuredContentTypes (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1Engine.properties.features (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun.properties.scheduledRecordCount (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.structuredContentTypes (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaEngine.properties.features (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata.properties.lastTrainTime (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.structuredContentTypes (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaEngine.properties.features (Total Keys: 2) #### discoveryengine:v1alpha The following keys were deleted: - schemas.GoogleCloudDiscoveryengineV1alphaUserLicense.properties.user.type (Total Keys: 1) The following keys were added: - schemas.GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.structuredContentTypes (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1Engine.properties.features (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaChunk.properties.annotationMetadata (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata (Total Keys: 6) - schemas.GoogleCloudDiscoveryengineV1alphaChunkStructuredContent (Total Keys: 6) - schemas.GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun.properties.scheduledRecordCount (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.structuredContentTypes (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaEngine.properties.features (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata.properties.lastTrainTime (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.properties.features (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.structuredContentTypes (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaEngine.properties.features (Total Keys: 2) #### discoveryengine:v1beta The following keys were deleted: - schemas.GoogleCloudDiscoveryengineV1alphaUserLicense.properties.user.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaUserLicense.properties.user.type (Total Keys: 1) The following keys were added: - schemas.GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.structuredContentTypes (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1Engine.properties.features (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun.properties.scheduledRecordCount (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.structuredContentTypes (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaEngine.properties.features (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata.properties.lastTrainTime (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaChunk.properties.annotationMetadata (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaChunkAnnotationMetadata (Total Keys: 6) - schemas.GoogleCloudDiscoveryengineV1betaChunkStructuredContent (Total Keys: 6) - schemas.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.structuredContentTypes (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaEngine.properties.features (Total Keys: 2)
1 parent 0f63b72 commit 40eceac

File tree

43 files changed

+1115
-34
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1115
-34
lines changed

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.conversations.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,15 @@ <h3>Method Details</h3>
358358
&quot;annotationContents&quot;: [ # Output only. Annotation contents if the current chunk contains annotations.
359359
&quot;A String&quot;,
360360
],
361+
&quot;annotationMetadata&quot;: [ # Output only. The annotation metadata includes structured content in the current chunk.
362+
{ # The annotation metadata includes structured content in the current chunk.
363+
&quot;imageId&quot;: &quot;A String&quot;, # Output only. Image id is provided if the structured content is based on an image.
364+
&quot;structuredContent&quot;: { # The structured content information. # Output only. The structured content information.
365+
&quot;content&quot;: &quot;A String&quot;, # Output only. The content of the structured content.
366+
&quot;structureType&quot;: &quot;A String&quot;, # Output only. The structure type of the structured content.
367+
},
368+
},
369+
],
361370
&quot;chunkMetadata&quot;: { # Metadata of the current chunk. This field is only populated on SearchService.Search API. # Output only. Metadata of the current chunk.
362371
&quot;nextChunks&quot;: [ # The next chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only populated on SearchService.Search API.
363372
# Object with schema name: GoogleCloudDiscoveryengineV1Chunk

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ <h3>Method Details</h3>
269269
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
270270
&quot;A String&quot;,
271271
],
272+
&quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
273+
&quot;A String&quot;,
274+
],
272275
},
273276
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
274277
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -294,6 +297,9 @@ <h3>Method Details</h3>
294297
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
295298
&quot;A String&quot;,
296299
],
300+
&quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
301+
&quot;A String&quot;,
302+
],
297303
},
298304
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
299305
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -471,6 +477,9 @@ <h3>Method Details</h3>
471477
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
472478
&quot;A String&quot;,
473479
],
480+
&quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
481+
&quot;A String&quot;,
482+
],
474483
},
475484
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
476485
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -496,6 +505,9 @@ <h3>Method Details</h3>
496505
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
497506
&quot;A String&quot;,
498507
],
508+
&quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
509+
&quot;A String&quot;,
510+
],
499511
},
500512
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
501513
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -629,6 +641,9 @@ <h3>Method Details</h3>
629641
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
630642
&quot;A String&quot;,
631643
],
644+
&quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
645+
&quot;A String&quot;,
646+
],
632647
},
633648
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
634649
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -654,6 +669,9 @@ <h3>Method Details</h3>
654669
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
655670
&quot;A String&quot;,
656671
],
672+
&quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
673+
&quot;A String&quot;,
674+
],
657675
},
658676
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
659677
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -775,6 +793,9 @@ <h3>Method Details</h3>
775793
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
776794
&quot;A String&quot;,
777795
],
796+
&quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
797+
&quot;A String&quot;,
798+
],
778799
},
779800
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
780801
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -800,6 +821,9 @@ <h3>Method Details</h3>
800821
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
801822
&quot;A String&quot;,
802823
],
824+
&quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
825+
&quot;A String&quot;,
826+
],
803827
},
804828
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
805829
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -903,6 +927,9 @@ <h3>Method Details</h3>
903927
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
904928
&quot;A String&quot;,
905929
],
930+
&quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
931+
&quot;A String&quot;,
932+
],
906933
},
907934
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
908935
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -928,6 +955,9 @@ <h3>Method Details</h3>
928955
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
929956
&quot;A String&quot;,
930957
],
958+
&quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
959+
&quot;A String&quot;,
960+
],
931961
},
932962
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
933963
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,6 +1204,15 @@ <h3>Method Details</h3>
12041204
&quot;annotationContents&quot;: [ # Output only. Annotation contents if the current chunk contains annotations.
12051205
&quot;A String&quot;,
12061206
],
1207+
&quot;annotationMetadata&quot;: [ # Output only. The annotation metadata includes structured content in the current chunk.
1208+
{ # The annotation metadata includes structured content in the current chunk.
1209+
&quot;imageId&quot;: &quot;A String&quot;, # Output only. Image id is provided if the structured content is based on an image.
1210+
&quot;structuredContent&quot;: { # The structured content information. # Output only. The structured content information.
1211+
&quot;content&quot;: &quot;A String&quot;, # Output only. The content of the structured content.
1212+
&quot;structureType&quot;: &quot;A String&quot;, # Output only. The structure type of the structured content.
1213+
},
1214+
},
1215+
],
12071216
&quot;chunkMetadata&quot;: { # Metadata of the current chunk. This field is only populated on SearchService.Search API. # Output only. Metadata of the current chunk.
12081217
&quot;nextChunks&quot;: [ # The next chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only populated on SearchService.Search API.
12091218
# Object with schema name: GoogleCloudDiscoveryengineV1Chunk
@@ -1564,6 +1573,15 @@ <h3>Method Details</h3>
15641573
&quot;annotationContents&quot;: [ # Output only. Annotation contents if the current chunk contains annotations.
15651574
&quot;A String&quot;,
15661575
],
1576+
&quot;annotationMetadata&quot;: [ # Output only. The annotation metadata includes structured content in the current chunk.
1577+
{ # The annotation metadata includes structured content in the current chunk.
1578+
&quot;imageId&quot;: &quot;A String&quot;, # Output only. Image id is provided if the structured content is based on an image.
1579+
&quot;structuredContent&quot;: { # The structured content information. # Output only. The structured content information.
1580+
&quot;content&quot;: &quot;A String&quot;, # Output only. The content of the structured content.
1581+
&quot;structureType&quot;: &quot;A String&quot;, # Output only. The structure type of the structured content.
1582+
},
1583+
},
1584+
],
15671585
&quot;chunkMetadata&quot;: { # Metadata of the current chunk. This field is only populated on SearchService.Search API. # Output only. Metadata of the current chunk.
15681586
&quot;nextChunks&quot;: [ # The next chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only populated on SearchService.Search API.
15691587
# Object with schema name: GoogleCloudDiscoveryengineV1Chunk

docs/dyn/discoveryengine_v1.projects.locations.collections.engines.conversations.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,15 @@ <h3>Method Details</h3>
358358
&quot;annotationContents&quot;: [ # Output only. Annotation contents if the current chunk contains annotations.
359359
&quot;A String&quot;,
360360
],
361+
&quot;annotationMetadata&quot;: [ # Output only. The annotation metadata includes structured content in the current chunk.
362+
{ # The annotation metadata includes structured content in the current chunk.
363+
&quot;imageId&quot;: &quot;A String&quot;, # Output only. Image id is provided if the structured content is based on an image.
364+
&quot;structuredContent&quot;: { # The structured content information. # Output only. The structured content information.
365+
&quot;content&quot;: &quot;A String&quot;, # Output only. The content of the structured content.
366+
&quot;structureType&quot;: &quot;A String&quot;, # Output only. The structure type of the structured content.
367+
},
368+
},
369+
],
361370
&quot;chunkMetadata&quot;: { # Metadata of the current chunk. This field is only populated on SearchService.Search API. # Output only. Metadata of the current chunk.
362371
&quot;nextChunks&quot;: [ # The next chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only populated on SearchService.Search API.
363372
# Object with schema name: GoogleCloudDiscoveryengineV1Chunk

0 commit comments

Comments
 (0)