Struct google_api_proto::google::cloud::contentwarehouse::v1::ExportToCdwPipeline
source · pub struct ExportToCdwPipeline {
pub documents: Vec<String>,
pub export_folder_path: String,
pub doc_ai_dataset: String,
pub training_split_ratio: f32,
}
Expand description
The configuration of exporting documents from the Document Warehouse to CDW pipeline.
Fields§
§documents: Vec<String>
The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.
export_folder_path: String
The Cloud Storage folder path used to store the exported documents before
being sent to CDW.
Format: gs://<bucket-name>/<folder-name>
.
doc_ai_dataset: 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
training_split_ratio: f32
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.
Trait Implementations§
source§impl Clone for ExportToCdwPipeline
impl Clone for ExportToCdwPipeline
source§fn clone(&self) -> ExportToCdwPipeline
fn clone(&self) -> ExportToCdwPipeline
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportToCdwPipeline
impl Debug for ExportToCdwPipeline
source§impl Default for ExportToCdwPipeline
impl Default for ExportToCdwPipeline
source§impl Message for ExportToCdwPipeline
impl Message for ExportToCdwPipeline
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 ExportToCdwPipeline
impl PartialEq for ExportToCdwPipeline
source§fn eq(&self, other: &ExportToCdwPipeline) -> bool
fn eq(&self, other: &ExportToCdwPipeline) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportToCdwPipeline
Auto Trait Implementations§
impl Freeze for ExportToCdwPipeline
impl RefUnwindSafe for ExportToCdwPipeline
impl Send for ExportToCdwPipeline
impl Sync for ExportToCdwPipeline
impl Unpin for ExportToCdwPipeline
impl UnwindSafe for ExportToCdwPipeline
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