NAME

Google::Cloud::Contentwarehouse::V1::Pipelines - Compiled Protocol Buffers messages for google/cloud/contentwarehouse/v1/pipelines.proto

SYNOPSIS

use Google::Cloud::Contentwarehouse::V1::Pipelines;

my $msg = Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineResponse->new({
});

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineResponse->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/contentwarehouse/v1/pipelines.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineResponse

Response message of RunPipeline method.

Inherits from Protobuf::Message.

Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata

Metadata message of RunPipeline method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Contentwarehouse::V1::Pipelines::ProcessorInfo

The DocAI processor information.

Inherits from Protobuf::Message.

Accessors

  • $msg->processor_name() / $msg->processor_name($value)

    Type: String

    The processor resource name. Format is `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`

  • $msg->document_type() / $msg->document_type($value)

    Type: String

    The processor will process the documents with this document type.

  • $msg->schema_name() / $msg->schema_name($value)

    Type: String

    The Document schema resource name. All documents processed by this processor will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.

Google::Cloud::Contentwarehouse::V1::Pipelines::IngestPipelineConfig

The ingestion pipeline config.

Inherits from Protobuf::Message.

Accessors

  • $msg->document_acl_policy() / $msg->document_acl_policy($value)

    Type: Message (Google::Iam::V1::Policy::Policy)

    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][google.iam.v1.Binding.role] and [members][google.iam.v1.Binding.role] 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.

  • $msg->enable_document_text_extraction() / $msg->enable_document_text_extraction($value)

    Type: Bool

    The document text extraction enabled flag. If the flag is set to true, DWH will perform text extraction on the raw document.

  • $msg->folder() / $msg->folder($value)

    Type: String

    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}`

  • $msg->cloud_function() / $msg->cloud_function($value)

    Type: String

    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. * display_name * properties * plain_text * document_acl_policy * folder

Google::Cloud::Contentwarehouse::V1::Pipelines::GcsIngestPipeline

The configuration of the Cloud Storage Ingestion pipeline.

Inherits from Protobuf::Message.

Accessors

  • $msg->input_path() / $msg->input_path($value)

    Type: String

    The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: `gs://<bucket-name>/<folder-name>`.

  • $msg->schema_name() / $msg->schema_name($value)

    Type: String

    The Document Warehouse schema resource name. All documents processed by this pipeline will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.

  • $msg->processor_type() / $msg->processor_type($value)

    Type: String

    The Doc AI processor type name. Only used when the format of ingested files is Doc AI Document proto format.

  • $msg->skip_ingested_documents() / $msg->skip_ingested_documents($value)

    Type: Bool

    The flag whether to skip ingested documents. If it is set to true, documents in Cloud Storage contains key "status" with value "status=ingested" in custom metadata will be skipped to ingest.

  • $msg->pipeline_config() / $msg->pipeline_config($value)

    Type: Message (Google::Cloud::Contentwarehouse::V1::Pipelines::IngestPipelineConfig)

    Optional. The config for the Cloud Storage Ingestion pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

Google::Cloud::Contentwarehouse::V1::Pipelines::GcsIngestWithDocAiProcessorsPipeline

The configuration of the Cloud Storage Ingestion with DocAI Processors pipeline.

Inherits from Protobuf::Message.

Accessors

  • $msg->input_path() / $msg->input_path($value)

    Type: String

    The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: `gs://<bucket-name>/<folder-name>`.

  • $msg->split_classify_processor_info() / $msg->split_classify_processor_info($value)

    Type: Message (Google::Cloud::Contentwarehouse::V1::Pipelines::ProcessorInfo)

    The split and classify processor information. The split and classify result will be used to find a matched extract processor.

  • $msg->extract_processor_infos() / $msg->extract_processor_infos($value)

    Type: Message (Google::Cloud::Contentwarehouse::V1::Pipelines::ProcessorInfo)

    The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

  • $msg->processor_results_folder_path() / $msg->processor_results_folder_path($value)

    Type: String

    The Cloud Storage folder path used to store the raw results from processors. Format: `gs://<bucket-name>/<folder-name>`.

  • $msg->skip_ingested_documents() / $msg->skip_ingested_documents($value)

    Type: Bool

    The flag whether to skip ingested documents. If it is set to true, documents in Cloud Storage contains key "status" with value "status=ingested" in custom metadata will be skipped to ingest.

  • $msg->pipeline_config() / $msg->pipeline_config($value)

    Type: Message (Google::Cloud::Contentwarehouse::V1::Pipelines::IngestPipelineConfig)

    Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

Google::Cloud::Contentwarehouse::V1::Pipelines::ExportToCdwPipeline

The configuration of exporting documents from the Document Warehouse to CDW pipeline.

Inherits from Protobuf::Message.

Accessors

  • $msg->documents() / $msg->documents($value)

    Type: String

    The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.

  • $msg->export_folder_path() / $msg->export_folder_path($value)

    Type: String

    The Cloud Storage folder path used to store the exported documents before being sent to CDW. Format: `gs://<bucket-name>/<folder-name>`.

  • $msg->doc_ai_dataset() / $msg->doc_ai_dataset($value)

    Type: String

    Optional. The CDW dataset resource name. This field is optional. If not set, the documents will be exported to Cloud Storage only. Format: projects/{project}/locations/{location}/processors/{processor}/dataset

  • $msg->training_split_ratio() / $msg->training_split_ratio($value)

    Type: Float

    Ratio of training dataset split. When importing into Document AI Workbench, documents will be automatically split into training and test split category with the specified ratio. This field is required if doc_ai_dataset is set.

Google::Cloud::Contentwarehouse::V1::Pipelines::ProcessWithDocAiPipeline

The configuration of processing documents in Document Warehouse with DocAi processors pipeline.

Inherits from Protobuf::Message.

Accessors

  • $msg->documents() / $msg->documents($value)

    Type: String

    The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.

  • $msg->export_folder_path() / $msg->export_folder_path($value)

    Type: String

    The Cloud Storage folder path used to store the exported documents before being sent to CDW. Format: `gs://<bucket-name>/<folder-name>`.

  • $msg->processor_info() / $msg->processor_info($value)

    Type: Message (Google::Cloud::Contentwarehouse::V1::Pipelines::ProcessorInfo)

    The CDW processor information.

  • $msg->processor_results_folder_path() / $msg->processor_results_folder_path($value)

    Type: String

    The Cloud Storage folder path used to store the raw results from processors. Format: `gs://<bucket-name>/<folder-name>`.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Contentwarehouse::V1::Pipelines::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.