|
789 | 789 | "type": "string"
|
790 | 790 | },
|
791 | 791 | "parent": {
|
792 |
| - "description": "Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}`", |
| 792 | + "description": "Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`.", |
793 | 793 | "location": "path",
|
794 | 794 | "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
|
795 | 795 | "required": true,
|
|
883 | 883 | "type": "string"
|
884 | 884 | },
|
885 | 885 | "parent": {
|
886 |
| - "description": "Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}`", |
| 886 | + "description": "Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`.", |
887 | 887 | "location": "path",
|
888 | 888 | "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$",
|
889 | 889 | "required": true,
|
|
2594 | 2594 | "type": "string"
|
2595 | 2595 | },
|
2596 | 2596 | "parent": {
|
2597 |
| - "description": "Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}`", |
| 2597 | + "description": "Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`.", |
2598 | 2598 | "location": "path",
|
2599 | 2599 | "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
|
2600 | 2600 | "required": true,
|
|
2688 | 2688 | "type": "string"
|
2689 | 2689 | },
|
2690 | 2690 | "parent": {
|
2691 |
| - "description": "Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}`", |
| 2691 | + "description": "Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`.", |
2692 | 2692 | "location": "path",
|
2693 | 2693 | "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
|
2694 | 2694 | "required": true,
|
|
3928 | 3928 | "type": "string"
|
3929 | 3929 | },
|
3930 | 3930 | "parent": {
|
3931 |
| - "description": "Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}`", |
| 3931 | + "description": "Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`.", |
3932 | 3932 | "location": "path",
|
3933 | 3933 | "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
|
3934 | 3934 | "required": true,
|
|
4022 | 4022 | "type": "string"
|
4023 | 4023 | },
|
4024 | 4024 | "parent": {
|
4025 |
| - "description": "Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}`", |
| 4025 | + "description": "Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`.", |
4026 | 4026 | "location": "path",
|
4027 | 4027 | "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$",
|
4028 | 4028 | "required": true,
|
|
5550 | 5550 | }
|
5551 | 5551 | }
|
5552 | 5552 | },
|
5553 |
| - "revision": "20240526", |
| 5553 | + "revision": "20240530", |
5554 | 5554 | "rootUrl": "https://discoveryengine.googleapis.com/",
|
5555 | 5555 | "schemas": {
|
5556 | 5556 | "GoogleApiHttpBody": {
|
|
5699 | 5699 | },
|
5700 | 5700 | "type": "object"
|
5701 | 5701 | },
|
| 5702 | + "GoogleCloudDiscoveryengineV1AlloyDbSource": { |
| 5703 | + "description": "AlloyDB source import data from.", |
| 5704 | + "id": "GoogleCloudDiscoveryengineV1AlloyDbSource", |
| 5705 | + "properties": { |
| 5706 | + "clusterId": { |
| 5707 | + "description": "Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.", |
| 5708 | + "type": "string" |
| 5709 | + }, |
| 5710 | + "databaseId": { |
| 5711 | + "description": "Required. The AlloyDB database to copy the data from with a length limit of 256 characters.", |
| 5712 | + "type": "string" |
| 5713 | + }, |
| 5714 | + "gcsStagingDir": { |
| 5715 | + "description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the AlloyDB export to a specific Cloud Storage directory. Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.", |
| 5716 | + "type": "string" |
| 5717 | + }, |
| 5718 | + "locationId": { |
| 5719 | + "description": "Required. The AlloyDB location to copy the data from with a length limit of 256 characters.", |
| 5720 | + "type": "string" |
| 5721 | + }, |
| 5722 | + "projectId": { |
| 5723 | + "description": "The project ID that the AlloyDB source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.", |
| 5724 | + "type": "string" |
| 5725 | + }, |
| 5726 | + "tableId": { |
| 5727 | + "description": "Required. The AlloyDB table to copy the data from with a length limit of 256 characters.", |
| 5728 | + "type": "string" |
| 5729 | + } |
| 5730 | + }, |
| 5731 | + "type": "object" |
| 5732 | + }, |
5702 | 5733 | "GoogleCloudDiscoveryengineV1Answer": {
|
5703 | 5734 | "description": "Defines an answer.",
|
5704 | 5735 | "id": "GoogleCloudDiscoveryengineV1Answer",
|
|
5866 | 5897 | "description": "The session resource name. Not required. When session field is not set, the API is in sessionless mode. We support auto session mode: users can use the wildcard symbol `-` as session ID. A new ID will be automatically generated and assigned.",
|
5867 | 5898 | "type": "string"
|
5868 | 5899 | },
|
| 5900 | + "userLabels": { |
| 5901 | + "additionalProperties": { |
| 5902 | + "type": "string" |
| 5903 | + }, |
| 5904 | + "description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", |
| 5905 | + "type": "object" |
| 5906 | + }, |
5869 | 5907 | "userPseudoId": {
|
5870 | 5908 | "description": "A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
|
5871 | 5909 | "type": "string"
|
|
7658 | 7696 | "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.",
|
7659 | 7697 | "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfig",
|
7660 | 7698 | "properties": {
|
| 7699 | + "chunkingConfig": { |
| 7700 | + "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig", |
| 7701 | + "description": "Whether chunking mode is enabled." |
| 7702 | + }, |
7661 | 7703 | "defaultParsingConfig": {
|
7662 | 7704 | "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig",
|
7663 | 7705 | "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."
|
|
7676 | 7718 | },
|
7677 | 7719 | "type": "object"
|
7678 | 7720 | },
|
| 7721 | + "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig": { |
| 7722 | + "description": "Configuration for chunking config.", |
| 7723 | + "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig", |
| 7724 | + "properties": { |
| 7725 | + "layoutBasedChunkingConfig": { |
| 7726 | + "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig", |
| 7727 | + "description": "Configuration for the layout based chunking." |
| 7728 | + } |
| 7729 | + }, |
| 7730 | + "type": "object" |
| 7731 | + }, |
| 7732 | + "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig": { |
| 7733 | + "description": "Configuration for the layout based chunking.", |
| 7734 | + "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig", |
| 7735 | + "properties": { |
| 7736 | + "chunkSize": { |
| 7737 | + "description": "The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.", |
| 7738 | + "format": "int32", |
| 7739 | + "type": "integer" |
| 7740 | + }, |
| 7741 | + "includeAncestorHeadings": { |
| 7742 | + "description": "Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.", |
| 7743 | + "type": "boolean" |
| 7744 | + } |
| 7745 | + }, |
| 7746 | + "type": "object" |
| 7747 | + }, |
7679 | 7748 | "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig": {
|
7680 | 7749 | "description": "Related configurations applied to a specific type of document parser.",
|
7681 | 7750 | "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig",
|
|
7684 | 7753 | "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig",
|
7685 | 7754 | "description": "Configurations applied to digital parser."
|
7686 | 7755 | },
|
| 7756 | + "layoutParsingConfig": { |
| 7757 | + "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig", |
| 7758 | + "description": "Configurations applied to layout parser." |
| 7759 | + }, |
7687 | 7760 | "ocrParsingConfig": {
|
7688 | 7761 | "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig",
|
7689 | 7762 | "description": "Configurations applied to OCR parser. Currently it only applies to PDFs."
|
|
7697 | 7770 | "properties": {},
|
7698 | 7771 | "type": "object"
|
7699 | 7772 | },
|
| 7773 | + "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig": { |
| 7774 | + "description": "The layout parsing configurations for documents.", |
| 7775 | + "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig", |
| 7776 | + "properties": {}, |
| 7777 | + "type": "object" |
| 7778 | + }, |
7700 | 7779 | "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig": {
|
7701 | 7780 | "description": "The OCR parsing configurations for documents.",
|
7702 | 7781 | "id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig",
|
|
8086 | 8165 | "description": "Request message for Import methods.",
|
8087 | 8166 | "id": "GoogleCloudDiscoveryengineV1ImportDocumentsRequest",
|
8088 | 8167 | "properties": {
|
| 8168 | + "alloyDbSource": { |
| 8169 | + "$ref": "GoogleCloudDiscoveryengineV1AlloyDbSource", |
| 8170 | + "description": "AlloyDB input source." |
| 8171 | + }, |
8089 | 8172 | "autoGenerateIds": {
|
8090 | 8173 | "description": "Whether to automatically generate IDs for the documents if absent. If set to `true`, Document.ids are automatically generated based on the hash of the payload, where IDs may not be consistent during multiple imports. In which case ReconciliationMode.FULL is highly recommended to avoid duplicate contents. If unset or set to `false`, Document.ids have to be specified using id_field, otherwise, documents without IDs fail to be imported. Supported data sources: * GcsSource. GcsSource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. BigQuerySource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. * FirestoreSource. * BigtableSource.",
|
8091 | 8174 | "type": "boolean"
|
|
13176 | 13259 | "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.",
|
13177 | 13260 | "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig",
|
13178 | 13261 | "properties": {
|
| 13262 | + "chunkingConfig": { |
| 13263 | + "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig", |
| 13264 | + "description": "Whether chunking mode is enabled." |
| 13265 | + }, |
13179 | 13266 | "defaultParsingConfig": {
|
13180 | 13267 | "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig",
|
13181 | 13268 | "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."
|
|
13194 | 13281 | },
|
13195 | 13282 | "type": "object"
|
13196 | 13283 | },
|
| 13284 | + "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig": { |
| 13285 | + "description": "Configuration for chunking config.", |
| 13286 | + "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig", |
| 13287 | + "properties": { |
| 13288 | + "layoutBasedChunkingConfig": { |
| 13289 | + "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig", |
| 13290 | + "description": "Configuration for the layout based chunking." |
| 13291 | + } |
| 13292 | + }, |
| 13293 | + "type": "object" |
| 13294 | + }, |
| 13295 | + "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig": { |
| 13296 | + "description": "Configuration for the layout based chunking.", |
| 13297 | + "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig", |
| 13298 | + "properties": { |
| 13299 | + "chunkSize": { |
| 13300 | + "description": "The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.", |
| 13301 | + "format": "int32", |
| 13302 | + "type": "integer" |
| 13303 | + }, |
| 13304 | + "includeAncestorHeadings": { |
| 13305 | + "description": "Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.", |
| 13306 | + "type": "boolean" |
| 13307 | + } |
| 13308 | + }, |
| 13309 | + "type": "object" |
| 13310 | + }, |
13197 | 13311 | "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig": {
|
13198 | 13312 | "description": "Related configurations applied to a specific type of document parser.",
|
13199 | 13313 | "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig",
|
|
13202 | 13316 | "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig",
|
13203 | 13317 | "description": "Configurations applied to digital parser."
|
13204 | 13318 | },
|
| 13319 | + "layoutParsingConfig": { |
| 13320 | + "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig", |
| 13321 | + "description": "Configurations applied to layout parser." |
| 13322 | + }, |
13205 | 13323 | "ocrParsingConfig": {
|
13206 | 13324 | "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig",
|
13207 | 13325 | "description": "Configurations applied to OCR parser. Currently it only applies to PDFs."
|
|
13215 | 13333 | "properties": {},
|
13216 | 13334 | "type": "object"
|
13217 | 13335 | },
|
| 13336 | + "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig": { |
| 13337 | + "description": "The layout parsing configurations for documents.", |
| 13338 | + "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig", |
| 13339 | + "properties": {}, |
| 13340 | + "type": "object" |
| 13341 | + }, |
13218 | 13342 | "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig": {
|
13219 | 13343 | "description": "The OCR parsing configurations for documents.",
|
13220 | 13344 | "id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig",
|
|
0 commit comments