Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2386)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jan 30, 2024
1 parent dcb7e96 commit 03042ec
Show file tree
Hide file tree
Showing 14 changed files with 633 additions and 67 deletions.
73 changes: 67 additions & 6 deletions discoveryengine/v1alpha/discoveryengine-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@
],
"parameters": {
"name": {
"description": "Output only. The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
"description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/documentProcessingConfig$",
"required": true,
Expand Down Expand Up @@ -3134,7 +3134,7 @@
],
"parameters": {
"name": {
"description": "Output only. The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
"description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/documentProcessingConfig$",
"required": true,
Expand Down Expand Up @@ -4596,7 +4596,7 @@
}
}
},
"revision": "20240123",
"revision": "20240129",
"rootUrl": "https://discoveryengine.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -6203,6 +6203,12 @@
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig": {
"description": "The digital parsing configurations for documents.",
"id": "GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig",
"properties": {},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata": {
"description": "Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.",
"id": "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata",
Expand Down Expand Up @@ -6335,14 +6341,44 @@
"description": "A singleton resource of DataStore. It's empty when DataStore is created, which defaults to digital parser. The first call to DataStoreService.UpdateDocumentProcessingConfig method will initialize the config.",
"id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig",
"properties": {
"defaultParsingConfig": {
"$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig",
"description": "Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing."
},
"name": {
"description": "Output only. The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
"readOnly": true,
"description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
"type": "string"
},
"ocrConfig": {
"$ref": "GoogleCloudDiscoveryengineV1alphaOcrConfig",
"description": "The OCR config. Currently it only applies to PDFs."
"deprecated": true,
"description": "[DEPRECATED] This field is deprecated. To specify OCR parsing config, please specify `ocr_parsing_config` in `default_parsing_config` field The OCR config. Currently it only applies to PDFs."
},
"parsingConfigOverrides": {
"additionalProperties": {
"$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig"
},
"description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported.",
"type": "object"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig": {
"description": "Related configurations applied to a specific type of document parser.",
"id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig",
"properties": {
"digitalParsingConfig": {
"$ref": "GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig",
"description": "Configurations applied to digital parser."
},
"layoutParsingConfig": {
"$ref": "GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig",
"description": "Configurations applied to layout parser."
},
"ocrParsingConfig": {
"$ref": "GoogleCloudDiscoveryengineV1alphaOcrParsingConfig",
"description": "Configurations applied to OCR parser. Currently it only applies to PDFs."
}
},
"type": "object"
Expand Down Expand Up @@ -7248,6 +7284,12 @@
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig": {
"description": "The layout parsing configurations for documents.",
"id": "GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig",
"properties": {},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaListConversationsResponse": {
"description": "Response for ListConversations method.",
"id": "GoogleCloudDiscoveryengineV1alphaListConversationsResponse",
Expand Down Expand Up @@ -7401,6 +7443,7 @@
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaOcrConfig": {
"deprecated": true,
"description": "The OCR options for parsing documents.",
"id": "GoogleCloudDiscoveryengineV1alphaOcrConfig",
"properties": {
Expand All @@ -7422,6 +7465,24 @@
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaOcrParsingConfig": {
"description": "The OCR parsing configurations for documents.",
"id": "GoogleCloudDiscoveryengineV1alphaOcrParsingConfig",
"properties": {
"enhancedDocumentElements": {
"description": "Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.",
"items": {
"type": "string"
},
"type": "array"
},
"useNativeText": {
"description": "If true, will use native text instead of OCR text on pages containing native text.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaPageInfo": {
"description": "Detailed page information.",
"id": "GoogleCloudDiscoveryengineV1alphaPageInfo",
Expand Down
147 changes: 126 additions & 21 deletions discoveryengine/v1alpha/discoveryengine-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 03042ec

Please sign in to comment.