3.25.0 (latest) 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.0.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class Document.Types.Revision : IMessage<Document.Types.Revision>, IEquatable<Document.Types.Revision>, IDeepCloneable<Document.Types.Revision>, IBufferMessage, IMessage

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

Contains past or forward revisions of this document.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Document.Types.Revision

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Document](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.md.txt)[Revision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.Revision.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Document](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.md.txt)[Revision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.Revision.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Document](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.md.txt)[Revision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.Revision.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DocumentAI.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.md.txt)

## Assembly

Google.Cloud.DocumentAI.V1.dll

## Constructors

### Revision()

    public Revision()

### Revision(Revision)

    public Revision(Document.Types.Revision other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DocumentTypesRevision` |

## Properties

### Agent

    public string Agent { get; set; }

If the change was made by a person specify the name or id of that
person.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

The time that the revision was created, internally generated by
doc proto storage at the time of create.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### HasAgent

    public bool HasAgent { get; }

Gets whether the "agent" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasProcessor

    public bool HasProcessor { get; }

Gets whether the "processor" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HumanReview

    public Document.Types.Revision.Types.HumanReview HumanReview { get; set; }

Human Review information of this revision.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DocumentTypesRevisionTypesHumanReview` |   |

### Id

    public string Id { get; set; }

Id of the revision, internally generated by doc proto storage.
Unique within the context of the document.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Parent

    [Obsolete]
    public RepeatedField<int> Parent { get; }

The revisions that this revision is based on. This can include one or
more parent (when documents are merged.) This field represents the
index into the `revisions` field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldint` |   |

### ParentIds

    public RepeatedField<string> ParentIds { get; }

The revisions that this revision is based on. Must include all the ids
that have anything to do with this revision - eg. there are
`provenance.parent.revision` fields that index into this field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### Processor

    public string Processor { get; set; }

If the annotation was made by processor identify the processor by its
resource name.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SourceCase

    public Document.Types.Revision.SourceOneofCase SourceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DocumentTypesRevisionSourceOneofCase` |   |