Cloud Document AI v1beta3 API - Class CreateProcessorRequest (2.0.0-beta18)

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 > CreateProcessorRequest

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

CreateProcessorRequest()

public CreateProcessorRequest()

CreateProcessorRequest(CreateProcessorRequest)

public CreateProcessorRequest(CreateProcessorRequest other)
Parameter
NameDescription
otherCreateProcessorRequest

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
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

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
TypeDescription
Processor