Class RevisionRef (2.32.0)

RevisionRef(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
revision_case google.cloud.documentai_v1beta3.types.RevisionRef.RevisionCase
Reads the revision by the predefined case. This field is a member of oneof_ source.
revision_id str
Reads the revision given by the id. This field is a member of oneof_ source.
latest_processor_version str
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} This field is a member of oneof_ source.

Classes

RevisionCase

RevisionCase(value)

Some predefined revision cases.