Cloud Document AI v1beta3 API - Class ImportProcessorVersionRequest (2.0.0-beta15)

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

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

The request message for the [ImportProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.ImportProcessorVersion] method.

The Document AI Service Agent of the destination project must have Document AI Editor role on the source project.

The destination project is specified as part of the [parent][google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.parent] field. The source project is specified as part of the [source][google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.processor_version_source] or [external_processor_version_source][google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.external_processor_version_source] field.

Inheritance

object > ImportProcessorVersionRequest

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

ImportProcessorVersionRequest()

public ImportProcessorVersionRequest()

ImportProcessorVersionRequest(ImportProcessorVersionRequest)

public ImportProcessorVersionRequest(ImportProcessorVersionRequest other)
Parameter
NameDescription
otherImportProcessorVersionRequest

Properties

ExternalProcessorVersionSource

public ImportProcessorVersionRequest.Types.ExternalProcessorVersionSource ExternalProcessorVersionSource { get; set; }

The source processor version to import from. It can be from a different environment and region than the destination processor.

Property Value
TypeDescription
ImportProcessorVersionRequestTypesExternalProcessorVersionSource

HasProcessorVersionSource

public bool HasProcessorVersionSource { get; }

Gets whether the "processor_version_source" field is set

Property Value
TypeDescription
bool

Parent

public string Parent { get; set; }

Required. The destination processor name to create the processor version in. Format: projects/{project}/locations/{location}/processors/{processor}

Property Value
TypeDescription
string

ParentAsProcessorName

public ProcessorName ParentAsProcessorName { get; set; }

ProcessorName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProcessorName

ProcessorVersionSource

public string ProcessorVersionSource { get; set; }

The source processor version to import from. The source processor version and destination processor need to be in the same environment and region.

Property Value
TypeDescription
string

ProcessorVersionSourceAsProcessorVersionName

public ProcessorVersionName ProcessorVersionSourceAsProcessorVersionName { get; set; }

ProcessorVersionName-typed view over the ProcessorVersionSource resource name property.

Property Value
TypeDescription
ProcessorVersionName

SourceCase

public ImportProcessorVersionRequest.SourceOneofCase SourceCase { get; }
Property Value
TypeDescription
ImportProcessorVersionRequestSourceOneofCase