# Cloud Document AI v1beta3 API - Class CreateProcessorRequest (2.0.0-beta30)

2.0.0-beta30 (latest) 2.0.0-beta29 1.0.0-beta04

    public sealed class CreateProcessorRequest : IMessage<CreateProcessorRequest>, IEquatable<CreateProcessorRequest>, IDeepCloneable<CreateProcessorRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Document AI v1beta3 API class CreateProcessorRequest.

Request message for the
\[CreateProcessor\]\[google.cloud.documentai.v1beta3.DocumentProcessorService.CreateProcessor\]
method. Notice this request is sent to a regionalized backend service. If the
\[ProcessorType\]\[google.cloud.documentai.v1beta3.ProcessorType\] isn't
available in that region, the creation fails.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CreateProcessorRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateProcessorRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.CreateProcessorRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateProcessorRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.CreateProcessorRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateProcessorRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.CreateProcessorRequest), [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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DocumentAI.V1Beta3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3)

## Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

## Constructors

### CreateProcessorRequest()

    public CreateProcessorRequest()

### CreateProcessorRequest(CreateProcessorRequest)

    public CreateProcessorRequest(CreateProcessorRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.CreateProcessorRequest` |

## Properties

### Parent

    public string Parent { get; set; }

Required. The parent (project and location) under which to create the
processor. Format: `projects/{project}/locations/{location}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.CreateProcessorRequest#Google_Cloud_DocumentAI_V1Beta3_CreateProcessorRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` |   |

### Processor

    public Processor Processor { get; set; }

Required. The processor to be created, requires
\[Processor.type\]\[google.cloud.documentai.v1beta3.Processor.type\] and
\[Processor.display_name\]\[google.cloud.documentai.v1beta3.Processor.display_name\]
to be set. Also, the
\[Processor.kms_key_name\]\[google.cloud.documentai.v1beta3.Processor.kms_key_name\]
field must be set if the processor is under CMEK.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Processor` |   |