The Cloud Function resource name. The Cloud Function needs to live inside
consumer project and is accessible to Document AI Warehouse P4SA.
Only Cloud Functions V2 is supported. Cloud function execution should
complete within 5 minutes or this file ingestion may fail due to timeout.
Format: https://{region}-{project_id}.cloudfunctions.net/{cloud_function}
The following keys are available the request json payload.
display_name
properties
plain_text
reference_id
document_schema_name
raw_document_path
raw_document_file_type
The following keys from the cloud function json response payload will be
ingested to the Document AI Warehouse as part of Document proto content
and/or related information. The original values will be overridden if any
key is present in the response.
The Cloud Function resource name. The Cloud Function needs to live inside
consumer project and is accessible to Document AI Warehouse P4SA.
Only Cloud Functions V2 is supported. Cloud function execution should
complete within 5 minutes or this file ingestion may fail due to timeout.
Format: https://{region}-{project_id}.cloudfunctions.net/{cloud_function}
The following keys are available the request json payload.
display_name
properties
plain_text
reference_id
document_schema_name
raw_document_path
raw_document_file_type
The following keys from the cloud function json response payload will be
ingested to the Document AI Warehouse as part of Document proto content
and/or related information. The original values will be overridden if any
key is present in the response.
The document level acl policy config.
This refers to an Identity and Access (IAM) policy, which specifies access
controls for all documents ingested by the pipeline. The
role and
members under the policy needs to be
specified.
The following roles are supported for document level acl control:
roles/contentwarehouse.documentAdmin
roles/contentwarehouse.documentEditor
roles/contentwarehouse.documentViewer
The following members are supported for document level acl control:
user:user-email@example.com
group:group-email@example.com
Note that for documents searched with LLM, only single level user or group
acl check is supported.
The document level acl policy config.
This refers to an Identity and Access (IAM) policy, which specifies access
controls for all documents ingested by the pipeline. The
role and
members under the policy needs to be
specified.
The following roles are supported for document level acl control:
roles/contentwarehouse.documentAdmin
roles/contentwarehouse.documentEditor
roles/contentwarehouse.documentViewer
The following members are supported for document level acl control:
user:user-email@example.com
group:group-email@example.com
Note that for documents searched with LLM, only single level user or group
acl check is supported.
.google.iam.v1.Policy document_acl_policy = 1;
Returns
Type
Description
com.google.iam.v1.PolicyOrBuilder
getEnableDocumentTextExtraction()
publicbooleangetEnableDocumentTextExtraction()
The document text extraction enabled flag.
If the flag is set to true, DWH will perform text extraction on the raw
document.
Optional. The name of the folder to which all ingested documents will be
linked during ingestion process. Format is
projects/{project}/locations/{location}/documents/{folder_id}
Optional. The name of the folder to which all ingested documents will be
linked during ingestion process. Format is
projects/{project}/locations/{location}/documents/{folder_id}
The document level acl policy config.
This refers to an Identity and Access (IAM) policy, which specifies access
controls for all documents ingested by the pipeline. The
role and
members under the policy needs to be
specified.
The following roles are supported for document level acl control:
roles/contentwarehouse.documentAdmin
roles/contentwarehouse.documentEditor
roles/contentwarehouse.documentViewer
The following members are supported for document level acl control:
user:user-email@example.com
group:group-email@example.com
Note that for documents searched with LLM, only single level user or group
acl check is supported.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]