Class CreateDocumentRequest (0.7.12)

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

Request message for DocumentService.CreateDocument.

Attributes

Name Description
parent str
Required. The parent name. Format: projects/{project_number}/locations/{location}.
document google.cloud.contentwarehouse_v1.types.Document
Required. The document to create.
request_metadata google.cloud.contentwarehouse_v1.types.RequestMetadata
The meta information collected about the end user, used to enforce access control for the service.
policy google.iam.v1.policy_pb2.Policy
Default document policy during creation. This refers to an Identity and Access (IAM) policy, which specifies access controls for the Document. Conditions defined in the policy will be ignored.
cloud_ai_document_option google.cloud.contentwarehouse_v1.types.CloudAIDocumentOption
Request Option for processing Cloud AI Document in Document Warehouse. This field offers limited support for mapping entities from Cloud AI Document to Warehouse Document. Please consult with product team before using this field and other available options.
create_mask google.protobuf.field_mask_pb2.FieldMask
Field mask for creating Document fields. If mask path is empty, it means all fields are masked. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.