Struct google_api_proto::google::cloud::contentwarehouse::v1::GcsIngestWithDocAiProcessorsPipeline
source · pub struct GcsIngestWithDocAiProcessorsPipeline {
pub input_path: String,
pub split_classify_processor_info: Option<ProcessorInfo>,
pub extract_processor_infos: Vec<ProcessorInfo>,
pub processor_results_folder_path: String,
pub skip_ingested_documents: bool,
pub pipeline_config: Option<IngestPipelineConfig>,
}
Expand description
The configuration of the Cloud Storage Ingestion with DocAI Processors pipeline.
Fields§
§input_path: String
The input Cloud Storage folder. All files under this folder will be
imported to Document Warehouse.
Format: gs://<bucket-name>/<folder-name>
.
split_classify_processor_info: Option<ProcessorInfo>
The split and classify processor information. The split and classify result will be used to find a matched extract processor.
extract_processor_infos: Vec<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.
processor_results_folder_path: String
The Cloud Storage folder path used to store the raw results from
processors.
Format: gs://<bucket-name>/<folder-name>
.
skip_ingested_documents: 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.
pipeline_config: Option<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.
Trait Implementations§
source§impl Clone for GcsIngestWithDocAiProcessorsPipeline
impl Clone for GcsIngestWithDocAiProcessorsPipeline
source§fn clone(&self) -> GcsIngestWithDocAiProcessorsPipeline
fn clone(&self) -> GcsIngestWithDocAiProcessorsPipeline
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for GcsIngestWithDocAiProcessorsPipeline
impl Message for GcsIngestWithDocAiProcessorsPipeline
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for GcsIngestWithDocAiProcessorsPipeline
impl PartialEq for GcsIngestWithDocAiProcessorsPipeline
source§fn eq(&self, other: &GcsIngestWithDocAiProcessorsPipeline) -> bool
fn eq(&self, other: &GcsIngestWithDocAiProcessorsPipeline) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GcsIngestWithDocAiProcessorsPipeline
Auto Trait Implementations§
impl !Freeze for GcsIngestWithDocAiProcessorsPipeline
impl RefUnwindSafe for GcsIngestWithDocAiProcessorsPipeline
impl Send for GcsIngestWithDocAiProcessorsPipeline
impl Sync for GcsIngestWithDocAiProcessorsPipeline
impl Unpin for GcsIngestWithDocAiProcessorsPipeline
impl UnwindSafe for GcsIngestWithDocAiProcessorsPipeline
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request