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

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

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

The revision reference specifies which revision on the document to read.

Inheritance

object > RevisionRef

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

RevisionRef()

public RevisionRef()

RevisionRef(RevisionRef)

public RevisionRef(RevisionRef other)
Parameter
NameDescription
otherRevisionRef

Properties

HasLatestProcessorVersion

public bool HasLatestProcessorVersion { get; }

Gets whether the "latest_processor_version" field is set

Property Value
TypeDescription
bool

HasRevisionCase

public bool HasRevisionCase { get; }

Gets whether the "revision_case" field is set

Property Value
TypeDescription
bool

HasRevisionId

public bool HasRevisionId { get; }

Gets whether the "revision_id" field is set

Property Value
TypeDescription
bool

LatestProcessorVersion

public string LatestProcessorVersion { get; set; }

Reads the revision generated by the processor version. The format takes the full resource name of processor version. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

Property Value
TypeDescription
string

RevisionCase

public RevisionRef.Types.RevisionCase RevisionCase { get; set; }

Reads the revision by the predefined case.

Property Value
TypeDescription
RevisionRefTypesRevisionCase

RevisionId

public string RevisionId { get; set; }

Reads the revision given by the id.

Property Value
TypeDescription
string

SourceCase

public RevisionRef.SourceOneofCase SourceCase { get; }
Property Value
TypeDescription
RevisionRefSourceOneofCase