Class CreateDocumentRequest (0.3.0)

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

Request message for DocumentService.CreateDocument.

Attributes

NameDescription
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. 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 CW Document.
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