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.
Implements
IMessageRevisionRef, IEquatableRevisionRef, IDeepCloneableRevisionRef, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Beta3Assembly
Google.Cloud.DocumentAI.V1Beta3.dll
Constructors
RevisionRef()
public RevisionRef()
RevisionRef(RevisionRef)
public RevisionRef(RevisionRef other)
Parameter | |
---|---|
Name | Description |
other | RevisionRef |
Properties
HasLatestProcessorVersion
public bool HasLatestProcessorVersion { get; }
Gets whether the "latest_processor_version" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasRevisionCase
public bool HasRevisionCase { get; }
Gets whether the "revision_case" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasRevisionId
public bool HasRevisionId { get; }
Gets whether the "revision_id" field is set
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
RevisionCase
public RevisionRef.Types.RevisionCase RevisionCase { get; set; }
Reads the revision by the predefined case.
Property Value | |
---|---|
Type | Description |
RevisionRefTypesRevisionCase |
RevisionId
public string RevisionId { get; set; }
Reads the revision given by the id.
Property Value | |
---|---|
Type | Description |
string |
SourceCase
public RevisionRef.SourceOneofCase SourceCase { get; }
Property Value | |
---|---|
Type | Description |
RevisionRefSourceOneofCase |