Class DocumentId (2.18.0)

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

Document Identifier.

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

NameDescription
gcs_managed_doc_id google.cloud.documentai_v1beta3.types.DocumentId.GCSManagedDocumentId
A document id within user-managed Cloud Storage. This field is a member of oneof_ type.
unmanaged_doc_id google.cloud.documentai_v1beta3.types.DocumentId.UnmanagedDocumentId
A document id within unmanaged dataset. This field is a member of oneof_ type.
revision_ref google.cloud.documentai_v1beta3.types.RevisionRef
Points to a specific revision of the document if set.

Classes

GCSManagedDocumentId

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

Identifies a document uniquely within the scope of a dataset in the user-managed Cloud Storage option.

UnmanagedDocumentId

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

Identifies a document uniquely within the scope of a dataset in unmanaged option.