Class ProcessRequest (3.0.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class ProcessRequest : IMessage<ProcessRequest>, IEquatable<ProcessRequest>, IDeepCloneable<ProcessRequest>, IBufferMessage, IMessage

Request message for the process document method.

Inheritance

Object > ProcessRequest

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

ProcessRequest()

public ProcessRequest()

ProcessRequest(ProcessRequest)

public ProcessRequest(ProcessRequest other)
Parameter
NameDescription
otherProcessRequest

Properties

FieldMask

public FieldMask FieldMask { get; set; }

Specifies which fields to include in ProcessResponse's document.

Property Value
TypeDescription
FieldMask

InlineDocument

public Document InlineDocument { get; set; }

An inline document proto.

Property Value
TypeDescription
Document

Name

public string Name { get; set; }

Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use for processing. If a [Processor][google.cloud.documentai.v1.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}

Property Value
TypeDescription
String

RawDocument

public RawDocument RawDocument { get; set; }

A raw document content (bytes).

Property Value
TypeDescription
RawDocument

ResourceName

public IResourceName ResourceName { get; set; }

IResourceName-typed view over the Name resource name property.

Property Value
TypeDescription
IResourceName

SkipHumanReview

public bool SkipHumanReview { get; set; }

Whether Human Review feature should be skipped for this request. Default to false.

Property Value
TypeDescription
Boolean

SourceCase

public ProcessRequest.SourceOneofCase SourceCase { get; }
Property Value
TypeDescription
ProcessRequest.SourceOneofCase