Struct google_api_proto::google::cloud::documentai::v1::BatchProcessRequest
source · pub struct BatchProcessRequest {
pub name: String,
pub input_documents: Option<BatchDocumentsInputConfig>,
pub document_output_config: Option<DocumentOutputConfig>,
pub skip_human_review: bool,
pub process_options: Option<ProcessOptions>,
pub labels: BTreeMap<String, String>,
}
Expand description
Request message for [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
Fields§
§name: String
Required. The resource name of
[Processor][google.cloud.documentai.v1.Processor] or
[ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
Format: projects/{project}/locations/{location}/processors/{processor}
,
or
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
input_documents: Option<BatchDocumentsInputConfig>
The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
document_output_config: Option<DocumentOutputConfig>
The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
skip_human_review: bool
Whether human review should be skipped for this request. Default to
false
.
process_options: Option<ProcessOptions>
Inference-time options for the process API
labels: BTreeMap<String, String>
Optional. The labels with user-defined metadata for the request.
Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
Trait Implementations§
source§impl Clone for BatchProcessRequest
impl Clone for BatchProcessRequest
source§fn clone(&self) -> BatchProcessRequest
fn clone(&self) -> BatchProcessRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchProcessRequest
impl Debug for BatchProcessRequest
source§impl Default for BatchProcessRequest
impl Default for BatchProcessRequest
source§impl Message for BatchProcessRequest
impl Message for BatchProcessRequest
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 BatchProcessRequest
impl PartialEq for BatchProcessRequest
source§fn eq(&self, other: &BatchProcessRequest) -> bool
fn eq(&self, other: &BatchProcessRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchProcessRequest
Auto Trait Implementations§
impl Freeze for BatchProcessRequest
impl RefUnwindSafe for BatchProcessRequest
impl Send for BatchProcessRequest
impl Sync for BatchProcessRequest
impl Unpin for BatchProcessRequest
impl UnwindSafe for BatchProcessRequest
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