Cloud Document AI v1 API - Class CreateProcessorRequest (3.11.0)

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

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

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

Inheritance

object > CreateProcessorRequest

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.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.v1.Processor.type] and [Processor.display_name]][] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name] field must be set if the processor is under CMEK.

Property Value
TypeDescription
Processor