Required. The resource name of theProcessororProcessorVersionto use for processing. If aProcessoris specified, the server will use itsdefault version. Format:projects/{project}/locations/{location}/processors/{processor}, orprojects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
↳ skip_human_review
bool
Whether human review should be skipped for this request. Default tofalse.
Specifies which fields to include in theProcessResponse.documentoutput. Only supports top-level document and pages field, so it must be in the form of{document_field_name}orpages.{page_field_name}.
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.
↳ imageless_mode
bool
Optional. Option to remove images from the document.
Whether human review should be skipped for this request. Default tofalse.
Returns
Type
Description
bool
setSkipHumanReview
Whether human review should be skipped for this request. Default tofalse.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getFieldMask
Specifies which fields to include in theProcessResponse.documentoutput. Only supports top-level document and pages field, so it must be in
the form of{document_field_name}orpages.{page_field_name}.
Specifies which fields to include in theProcessResponse.documentoutput. Only supports top-level document and pages field, so it must be in
the form of{document_field_name}orpages.{page_field_name}.
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.
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.
Optional. Option to remove images from the document.
Returns
Type
Description
bool
setImagelessMode
Optional. Option to remove images from the document.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getSource
Returns
Type
Description
string
static::build
Parameter
Name
Description
name
string
Required. The resource name of theProcessororProcessorVersionto use for processing. If aProcessoris specified, the server
will use itsdefault
version.
Format:projects/{project}/locations/{location}/processors/{processor},
orprojects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Document Ai V1 Client - Class ProcessRequest (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-document-ai/latest/V1.ProcessRequest)\n- [2.2.2](/php/docs/reference/cloud-document-ai/2.2.2/V1.ProcessRequest)\n- [2.1.3](/php/docs/reference/cloud-document-ai/2.1.3/V1.ProcessRequest)\n- [2.0.0](/php/docs/reference/cloud-document-ai/2.0.0/V1.ProcessRequest)\n- [1.14.0](/php/docs/reference/cloud-document-ai/1.14.0/V1.ProcessRequest)\n- [1.13.1](/php/docs/reference/cloud-document-ai/1.13.1/V1.ProcessRequest)\n- [1.12.2](/php/docs/reference/cloud-document-ai/1.12.2/V1.ProcessRequest)\n- [1.9.0](/php/docs/reference/cloud-document-ai/1.9.0/V1.ProcessRequest)\n- [1.8.2](/php/docs/reference/cloud-document-ai/1.8.2/V1.ProcessRequest)\n- [1.7.0](/php/docs/reference/cloud-document-ai/1.7.0/V1.ProcessRequest)\n- [1.6.0](/php/docs/reference/cloud-document-ai/1.6.0/V1.ProcessRequest)\n- [1.5.0](/php/docs/reference/cloud-document-ai/1.5.0/V1.ProcessRequest)\n- [1.4.0](/php/docs/reference/cloud-document-ai/1.4.0/V1.ProcessRequest)\n- [1.3.0](/php/docs/reference/cloud-document-ai/1.3.0/V1.ProcessRequest)\n- [1.2.2](/php/docs/reference/cloud-document-ai/1.2.2/V1.ProcessRequest)\n- [1.1.1](/php/docs/reference/cloud-document-ai/1.1.1/V1.ProcessRequest)\n- [1.0.1](/php/docs/reference/cloud-document-ai/1.0.1/V1.ProcessRequest) \nReference documentation and code samples for the Google Cloud Document Ai V1 Client class ProcessRequest.\n\nRequest message for the\n[ProcessDocument](/php/docs/reference/cloud-document-ai/latest/V1.Client.DocumentProcessorServiceClient#_Google_Cloud_DocumentAI_V1_Client_DocumentProcessorServiceClient__processDocument__)\nmethod.\n\nGenerated from protobuf message `google.cloud.documentai.v1.ProcessRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DocumentAI \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getInlineDocument\n\nAn inline document proto.\n\n### hasInlineDocument\n\n### setInlineDocument\n\nAn inline document proto.\n\n### getRawDocument\n\nA raw document content (bytes).\n\n### hasRawDocument\n\n### setRawDocument\n\nA raw document content (bytes).\n\n### getGcsDocument\n\nA raw document on Google Cloud Storage.\n\n### hasGcsDocument\n\n### setGcsDocument\n\nA raw document on Google Cloud Storage.\n\n### getName\n\nRequired. The resource name of the\n[Processor](/php/docs/reference/cloud-document-ai/latest/V1.Processor) or\n[ProcessorVersion](/php/docs/reference/cloud-document-ai/latest/V1.ProcessorVersion)\nto use for processing. If a\n[Processor](/php/docs/reference/cloud-document-ai/latest/V1.Processor) is specified, the server\nwill use its [default\nversion](/php/docs/reference/cloud-document-ai/latest/V1.Processor#_Google_Cloud_DocumentAI_V1_Processor__getDefaultProcessorVersion__).\n\nFormat: `projects/{project}/locations/{location}/processors/{processor}`,\nor\n`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`\n\n### setName\n\nRequired. The resource name of the\n[Processor](/php/docs/reference/cloud-document-ai/latest/V1.Processor) or\n[ProcessorVersion](/php/docs/reference/cloud-document-ai/latest/V1.ProcessorVersion)\nto use for processing. If a\n[Processor](/php/docs/reference/cloud-document-ai/latest/V1.Processor) is specified, the server\nwill use its [default\nversion](/php/docs/reference/cloud-document-ai/latest/V1.Processor#_Google_Cloud_DocumentAI_V1_Processor__getDefaultProcessorVersion__).\n\nFormat: `projects/{project}/locations/{location}/processors/{processor}`,\nor\n`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`\n\n### getSkipHumanReview\n\nWhether human review should be skipped for this request. Default to\n`false`.\n\n### setSkipHumanReview\n\nWhether human review should be skipped for this request. Default to\n`false`.\n\n### getFieldMask\n\nSpecifies which fields to include in the\n[ProcessResponse.document](/php/docs/reference/cloud-document-ai/latest/V1.ProcessResponse#_Google_Cloud_DocumentAI_V1_ProcessResponse__getDocument__)\noutput. Only supports top-level document and pages field, so it must be in\nthe form of `{document_field_name}` or `pages.{page_field_name}`.\n\n### hasFieldMask\n\n### clearFieldMask\n\n### setFieldMask\n\nSpecifies which fields to include in the\n[ProcessResponse.document](/php/docs/reference/cloud-document-ai/latest/V1.ProcessResponse#_Google_Cloud_DocumentAI_V1_ProcessResponse__getDocument__)\noutput. Only supports top-level document and pages field, so it must be in\nthe form of `{document_field_name}` or `pages.{page_field_name}`.\n\n### getProcessOptions\n\nInference-time options for the process API\n\n### hasProcessOptions\n\n### clearProcessOptions\n\n### setProcessOptions\n\nInference-time options for the process API\n\n### getLabels\n\nOptional. The labels with user-defined metadata for the request.\n\nLabel keys and values can be no longer than 63 characters\n(Unicode codepoints) and can only contain lowercase letters, numeric\ncharacters, underscores, and dashes. International characters are allowed.\nLabel values are optional. Label keys must start with a letter.\n\n### setLabels\n\nOptional. The labels with user-defined metadata for the request.\n\nLabel keys and values can be no longer than 63 characters\n(Unicode codepoints) and can only contain lowercase letters, numeric\ncharacters, underscores, and dashes. International characters are allowed.\nLabel values are optional. Label keys must start with a letter.\n\n### getImagelessMode\n\nOptional. Option to remove images from the document.\n\n### setImagelessMode\n\nOptional. Option to remove images from the document.\n\n### getSource\n\n### static::build"]]