public DocumentSchema SchemaOverride { get; set; }
Optional. Override the schema of the
[ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]. Will
return an Invalid Argument error if this field is set when the underlying
[ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]
doesn't support schema override.
[[["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-03 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eProcessOptions\u003c/code\u003e class in the Google Cloud Document AI v1beta3 API provides options for controlling how documents are processed, including specifying which pages to analyze.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for processing specific pages either from the start or end of a document, or by choosing individual pages with \u003ccode\u003eIndividualPageSelector\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProcessOptions\u003c/code\u003e class has properties like \u003ccode\u003eLayoutConfig\u003c/code\u003e and \u003ccode\u003eOcrConfig\u003c/code\u003e that are specific to the \u003ccode\u003eLAYOUT_PARSER_PROCESSOR\u003c/code\u003e, \u003ccode\u003eOCR_PROCESSOR\u003c/code\u003e, and \u003ccode\u003eFORM_PARSER_PROCESSOR\u003c/code\u003e, and setting these on other processor types will return an error.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSchemaOverride\u003c/code\u003e property allows overriding the processor version's schema, but this will result in an error if the underlying processor version doesn't support this feature.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eProcessOptions\u003c/code\u003e available: 2.0.0-beta23, 2.0.0-beta22, and 1.0.0-beta04, with 2.0.0-beta23 being the latest.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI v1beta3 API - Class ProcessOptions (2.0.0-beta26)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta26 (latest)](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions)\n- [2.0.0-beta25](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/2.0.0-beta25/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/1.0.0-beta04/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions) \n\n public sealed class ProcessOptions : IMessage\u003cProcessOptions\u003e, IEquatable\u003cProcessOptions\u003e, IDeepCloneable\u003cProcessOptions\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Document AI v1beta3 API class ProcessOptions.\n\nOptions for Process API \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ProcessOptions \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ProcessOptions](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ProcessOptions](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ProcessOptions](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DocumentAI.V1Beta3](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.DocumentAI.V1Beta3.dll\n\nConstructors\n------------\n\n### ProcessOptions()\n\n public ProcessOptions()\n\n### ProcessOptions(ProcessOptions)\n\n public ProcessOptions(ProcessOptions other)\n\nProperties\n----------\n\n### FromEnd\n\n public int FromEnd { get; set; }\n\nOnly process certain pages from the end, same as above.\n\n### FromStart\n\n public int FromStart { get; set; }\n\nOnly process certain pages from the start. Process all if the document\nhas fewer pages.\n\n### HasFromEnd\n\n public bool HasFromEnd { get; }\n\nGets whether the \"from_end\" field is set\n\n### HasFromStart\n\n public bool HasFromStart { get; }\n\nGets whether the \"from_start\" field is set\n\n### IndividualPageSelector\n\n public ProcessOptions.Types.IndividualPageSelector IndividualPageSelector { get; set; }\n\nWhich pages to process (1-indexed).\n\n### LayoutConfig\n\n public ProcessOptions.Types.LayoutConfig LayoutConfig { get; set; }\n\nOptional. Only applicable to `LAYOUT_PARSER_PROCESSOR`.\nReturns error if set on other processor types.\n\n### OcrConfig\n\n public OcrConfig OcrConfig { get; set; }\n\nOnly applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`.\nReturns error if set on other processor types.\n\n### PageRangeCase\n\n public ProcessOptions.PageRangeOneofCase PageRangeCase { get; }\n\n### SchemaOverride\n\n public DocumentSchema SchemaOverride { get; set; }\n\nOptional. Override the schema of the\n\\[ProcessorVersion\\]\\[google.cloud.documentai.v1beta3.ProcessorVersion\\]. Will\nreturn an Invalid Argument error if this field is set when the underlying\n\\[ProcessorVersion\\]\\[google.cloud.documentai.v1beta3.ProcessorVersion\\]\ndoesn't support schema override."]]