Class ProcessRequest (2.0.1)

ProcessRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for the process document method.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
inline_document google.cloud.documentai_v1.types.Document
An inline document proto. This field is a member of `oneof`_ ``source``.
raw_document google.cloud.documentai_v1.types.RawDocument
A raw document content (bytes). This field is a member of `oneof`_ ``source``.
name str
Required. The resource name of the Processor or ProcessorVersion to use for processing. If a Processor is specified, the server will use its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format: ``projects/{project}/locations/{location}/processors/{processor}``, or ``projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}``
skip_human_review bool
Whether Human Review feature should be skipped for this request. Default to false.
field_mask google.protobuf.field_mask_pb2.FieldMask
Specifies which fields to include in ProcessResponse's document.

Inheritance

builtins.object > proto.message.Message > ProcessRequest