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.
Implements
IMessageImportProcessorVersionRequest, IEquatableImportProcessorVersionRequest, IDeepCloneableImportProcessorVersionRequest, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Beta3Assembly
Google.Cloud.DocumentAI.V1Beta3.dll
Constructors
ImportProcessorVersionRequest()
public ImportProcessorVersionRequest()
ImportProcessorVersionRequest(ImportProcessorVersionRequest)
public ImportProcessorVersionRequest(ImportProcessorVersionRequest other)
Parameter | |
---|---|
Name | Description |
other |
ImportProcessorVersionRequest |
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 | |
---|---|
Type | Description |
ImportProcessorVersionRequestTypesExternalProcessorVersionSource |
HasProcessorVersionSource
public bool HasProcessorVersionSource { get; }
Gets whether the "processor_version_source" field is set
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
ParentAsProcessorName
public ProcessorName ParentAsProcessorName { get; set; }
ProcessorName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
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.
Note that ProcessorVersions with model_type
MODEL_TYPE_LLM
are not
supported.
Property Value | |
---|---|
Type | Description |
string |
ProcessorVersionSourceAsProcessorVersionName
public ProcessorVersionName ProcessorVersionSourceAsProcessorVersionName { get; set; }
ProcessorVersionName-typed view over the ProcessorVersionSource resource name property.
Property Value | |
---|---|
Type | Description |
ProcessorVersionName |
SourceCase
public ImportProcessorVersionRequest.SourceOneofCase SourceCase { get; }
Property Value | |
---|---|
Type | Description |
ImportProcessorVersionRequestSourceOneofCase |