# Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::Document::Revision (v0.49.0)

0.49.0 (latest) 0.48.1 0.47.0 0.46.2 0.45.0 0.44.0 0.43.1 0.42.0 0.41.0 0.40.0 0.39.1 0.38.0 0.37.0 0.36.1 0.35.0 0.34.0 0.33.1 0.32.0 0.31.0 0.30.2 0.29.0 0.28.0 0.27.0 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.4 Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::Document::Revision.

Contains past or forward revisions of this document.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #agent

    def agent() -> ::String

**Returns**

- (::String) --- If the change was made by a person specify the name or id of that person.

  Note: The following fields are mutually exclusive: `agent`, `processor`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #agent=

    def agent=(value) -> ::String

**Parameter**

- **value** (::String) --- If the change was made by a person specify the name or id of that person.


  Note: The following fields are mutually exclusive: `agent`, `processor`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- If the change was made by a person specify the name or id of that person.

  Note: The following fields are mutually exclusive: `agent`, `processor`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-document_ai-v1beta3/latest/Google-Protobuf-Timestamp)) --- The time that the revision was created, internally generated by doc proto storage at the time of create.

### #create_time=

    def create_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-document_ai-v1beta3/latest/Google-Protobuf-Timestamp)) --- The time that the revision was created, internally generated by doc proto storage at the time of create.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-document_ai-v1beta3/latest/Google-Protobuf-Timestamp)) --- The time that the revision was created, internally generated by doc proto storage at the time of create.

### #human_review

    def human_review() -> ::Google::Cloud::DocumentAI::V1beta3::Document::Revision::HumanReview

**Returns**

- ([::Google::Cloud::DocumentAI::V1beta3::Document::Revision::HumanReview](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-document_ai-v1beta3/latest/Google-Cloud-DocumentAI-V1beta3-Document-Revision-HumanReview)) --- Human Review information of this revision.

### #human_review=

    def human_review=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::Revision::HumanReview

**Parameter**

- **value** ([::Google::Cloud::DocumentAI::V1beta3::Document::Revision::HumanReview](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-document_ai-v1beta3/latest/Google-Cloud-DocumentAI-V1beta3-Document-Revision-HumanReview)) --- Human Review information of this revision.
**Returns**

- ([::Google::Cloud::DocumentAI::V1beta3::Document::Revision::HumanReview](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-document_ai-v1beta3/latest/Google-Cloud-DocumentAI-V1beta3-Document-Revision-HumanReview)) --- Human Review information of this revision.

### #id

    def id() -> ::String

**Returns**

- (::String) --- Id of the revision, internally generated by doc proto storage. Unique within the context of the document.

### #id=

    def id=(value) -> ::String

**Parameter**

- **value** (::String) --- Id of the revision, internally generated by doc proto storage. Unique within the context of the document.
**Returns**

- (::String) --- Id of the revision, internally generated by doc proto storage. Unique within the context of the document.

### #parent

    def parent() -> ::Array<::Integer>

**Returns**

- (::Array\<::Integer\>) --- 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.

### #parent=

    def parent=(value) -> ::Array<::Integer>

**Parameter**

- **value** (::Array\<::Integer\>) --- 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.
**Returns**

- (::Array\<::Integer\>) --- 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.

### #parent_ids

    def parent_ids() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- 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.

### #parent_ids=

    def parent_ids=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- 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.
**Returns**

- (::Array\<::String\>) --- 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.

### #processor

    def processor() -> ::String

**Returns**

- (::String) --- If the annotation was made by processor identify the processor by its resource name.

  Note: The following fields are mutually exclusive: `processor`, `agent`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #processor=

    def processor=(value) -> ::String

**Parameter**

- **value** (::String) --- If the annotation was made by processor identify the processor by its resource name.


  Note: The following fields are mutually exclusive: `processor`, `agent`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- If the annotation was made by processor identify the processor by its resource name.

  Note: The following fields are mutually exclusive: `processor`, `agent`. If a field in that set is populated, all other fields in the set will automatically be cleared.