Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.contentwarehouse/v1.Document
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a document.
Create Document Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Document(name: string, args: DocumentArgs, opts?: CustomResourceOptions);
@overload
def Document(resource_name: str,
args: DocumentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Document(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
name: Optional[str] = None,
create_mask: Optional[str] = None,
policy: Optional[GoogleIamV1PolicyArgs] = None,
creator: Optional[str] = None,
cloud_ai_document_option: Optional[GoogleCloudContentwarehouseV1CloudAIDocumentOptionArgs] = None,
display_uri: Optional[str] = None,
document_schema_name: Optional[str] = None,
inline_raw_document: Optional[str] = None,
project: Optional[str] = None,
cloud_ai_document: Optional[GoogleCloudDocumentaiV1DocumentArgs] = None,
updater: Optional[str] = None,
content_category: Optional[DocumentContentCategory] = None,
location: Optional[str] = None,
properties: Optional[Sequence[GoogleCloudContentwarehouseV1PropertyArgs]] = None,
raw_document_file_type: Optional[DocumentRawDocumentFileType] = None,
raw_document_path: Optional[str] = None,
reference_id: Optional[str] = None,
request_metadata: Optional[GoogleCloudContentwarehouseV1RequestMetadataArgs] = None,
text_extraction_disabled: Optional[bool] = None,
text_extraction_enabled: Optional[bool] = None,
title: Optional[str] = None,
plain_text: Optional[str] = None)
func NewDocument(ctx *Context, name string, args DocumentArgs, opts ...ResourceOption) (*Document, error)
public Document(string name, DocumentArgs args, CustomResourceOptions? opts = null)
public Document(String name, DocumentArgs args)
public Document(String name, DocumentArgs args, CustomResourceOptions options)
type: google-native:contentwarehouse/v1:Document
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DocumentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DocumentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DocumentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DocumentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DocumentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var documentResource = new GoogleNative.Contentwarehouse.V1.Document("documentResource", new()
{
DisplayName = "string",
Name = "string",
CreateMask = "string",
Policy = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleIamV1PolicyArgs
{
AuditConfigs = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleIamV1AuditConfigArgs
{
AuditLogConfigs = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleIamV1AuditLogConfigArgs
{
ExemptedMembers = new[]
{
"string",
},
LogType = GoogleNative.Contentwarehouse.V1.GoogleIamV1AuditLogConfigLogType.LogTypeUnspecified,
},
},
Service = "string",
},
},
Bindings = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleIamV1BindingArgs
{
Condition = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleTypeExprArgs
{
Description = "string",
Expression = "string",
Location = "string",
Title = "string",
},
Members = new[]
{
"string",
},
Role = "string",
},
},
Etag = "string",
Version = 0,
},
Creator = "string",
CloudAiDocumentOption = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1CloudAIDocumentOptionArgs
{
CustomizedEntitiesPropertiesConversions =
{
{ "string", "string" },
},
EnableEntitiesConversions = false,
},
DisplayUri = "string",
DocumentSchemaName = "string",
InlineRawDocument = "string",
Project = "string",
CloudAiDocument = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentArgs
{
Content = "string",
Entities = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentEntityArgs
{
Type = "string",
Confidence = 0,
Id = "string",
MentionText = "string",
NormalizedValue = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentEntityNormalizedValueArgs
{
AddressValue = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleTypePostalAddressArgs
{
RegionCode = "string",
AddressLines = new[]
{
"string",
},
AdministrativeArea = "string",
LanguageCode = "string",
Locality = "string",
Organization = "string",
PostalCode = "string",
Recipients = new[]
{
"string",
},
Revision = 0,
SortingCode = "string",
Sublocality = "string",
},
BooleanValue = false,
DateValue = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DatetimeValue = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleTypeDateTimeArgs
{
Day = 0,
Hours = 0,
Minutes = 0,
Month = 0,
Nanos = 0,
Seconds = 0,
TimeZone = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleTypeTimeZoneArgs
{
Id = "string",
Version = "string",
},
UtcOffset = "string",
Year = 0,
},
FloatValue = 0,
IntegerValue = 0,
MoneyValue = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleTypeMoneyArgs
{
CurrencyCode = "string",
Nanos = 0,
Units = "string",
},
Text = "string",
},
PageAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageAnchorArgs
{
PageRefs = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArgs
{
Page = "string",
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
LayoutType = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType.LayoutTypeUnspecified,
},
},
},
Properties = new[]
{
googleCloudDocumentaiV1DocumentEntity,
},
Provenance = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceArgs
{
Id = 0,
Parents = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs
{
Id = 0,
Index = 0,
Revision = 0,
},
},
Revision = 0,
Type = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
Redacted = false,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
},
EntityRelations = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentEntityRelationArgs
{
ObjectId = "string",
Relation = "string",
SubjectId = "string",
},
},
Error = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleRpcStatusArgs
{
Code = 0,
Details = new[]
{
{
{ "string", "string" },
},
},
Message = "string",
},
MimeType = "string",
Pages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageArgs
{
Blocks = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageBlockArgs
{
DetectedLanguages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs
{
Confidence = 0,
LanguageCode = "string",
},
},
Layout = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
Provenance = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceArgs
{
Id = 0,
Parents = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs
{
Id = 0,
Index = 0,
Revision = 0,
},
},
Revision = 0,
Type = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
},
},
DetectedBarcodes = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArgs
{
Barcode = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BarcodeArgs
{
Format = "string",
RawValue = "string",
ValueFormat = "string",
},
Layout = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
},
},
DetectedLanguages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs
{
Confidence = 0,
LanguageCode = "string",
},
},
Dimension = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDimensionArgs
{
Height = 0,
Unit = "string",
Width = 0,
},
FormFields = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageFormFieldArgs
{
CorrectedKeyText = "string",
CorrectedValueText = "string",
FieldName = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
FieldValue = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
NameDetectedLanguages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs
{
Confidence = 0,
LanguageCode = "string",
},
},
Provenance = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceArgs
{
Id = 0,
Parents = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs
{
Id = 0,
Index = 0,
Revision = 0,
},
},
Revision = 0,
Type = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
ValueDetectedLanguages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs
{
Confidence = 0,
LanguageCode = "string",
},
},
ValueType = "string",
},
},
Image = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageImageArgs
{
Content = "string",
Height = 0,
MimeType = "string",
Width = 0,
},
ImageQualityScores = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageImageQualityScoresArgs
{
DetectedDefects = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArgs
{
Confidence = 0,
Type = "string",
},
},
QualityScore = 0,
},
Layout = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
Lines = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLineArgs
{
DetectedLanguages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs
{
Confidence = 0,
LanguageCode = "string",
},
},
Layout = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
Provenance = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceArgs
{
Id = 0,
Parents = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs
{
Id = 0,
Index = 0,
Revision = 0,
},
},
Revision = 0,
Type = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
},
},
PageNumber = 0,
Paragraphs = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageParagraphArgs
{
DetectedLanguages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs
{
Confidence = 0,
LanguageCode = "string",
},
},
Layout = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
Provenance = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceArgs
{
Id = 0,
Parents = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs
{
Id = 0,
Index = 0,
Revision = 0,
},
},
Revision = 0,
Type = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
},
},
Provenance = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceArgs
{
Id = 0,
Parents = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs
{
Id = 0,
Index = 0,
Revision = 0,
},
},
Revision = 0,
Type = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
Symbols = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageSymbolArgs
{
DetectedLanguages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs
{
Confidence = 0,
LanguageCode = "string",
},
},
Layout = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
},
},
Tables = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageTableArgs
{
BodyRows = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageTableTableRowArgs
{
Cells = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageTableTableCellArgs
{
ColSpan = 0,
DetectedLanguages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs
{
Confidence = 0,
LanguageCode = "string",
},
},
Layout = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
RowSpan = 0,
},
},
},
},
DetectedLanguages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs
{
Confidence = 0,
LanguageCode = "string",
},
},
HeaderRows = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageTableTableRowArgs
{
Cells = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageTableTableCellArgs
{
ColSpan = 0,
DetectedLanguages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs
{
Confidence = 0,
LanguageCode = "string",
},
},
Layout = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
RowSpan = 0,
},
},
},
},
Layout = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
Provenance = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceArgs
{
Id = 0,
Parents = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs
{
Id = 0,
Index = 0,
Revision = 0,
},
},
Revision = 0,
Type = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
},
},
Tokens = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageTokenArgs
{
DetectedBreak = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakArgs
{
Type = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType.TypeUnspecified,
},
DetectedLanguages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs
{
Confidence = 0,
LanguageCode = "string",
},
},
Layout = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
Provenance = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceArgs
{
Id = 0,
Parents = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs
{
Id = 0,
Index = 0,
Revision = 0,
},
},
Revision = 0,
Type = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
StyleInfo = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoArgs
{
BackgroundColor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleTypeColorArgs
{
Alpha = 0,
Blue = 0,
Green = 0,
Red = 0,
},
Bold = false,
FontSize = 0,
FontType = "string",
FontWeight = 0,
Handwritten = false,
Italic = false,
LetterSpacing = 0,
PixelFontSize = 0,
Smallcaps = false,
Strikeout = false,
Subscript = false,
Superscript = false,
TextColor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleTypeColorArgs
{
Alpha = 0,
Blue = 0,
Green = 0,
Red = 0,
},
Underlined = false,
},
},
},
Transforms = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageMatrixArgs
{
Cols = 0,
Data = "string",
Rows = 0,
Type = 0,
},
},
VisualElements = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageVisualElementArgs
{
DetectedLanguages = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs
{
Confidence = 0,
LanguageCode = "string",
},
},
Layout = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentPageLayoutArgs
{
BoundingPoly = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1BoundingPolyArgs
{
NormalizedVertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1NormalizedVertexArgs
{
X = 0,
Y = 0,
},
},
Vertices = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1VertexArgs
{
X = 0,
Y = 0,
},
},
},
Confidence = 0,
Orientation = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
Type = "string",
},
},
},
},
Revisions = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentRevisionArgs
{
Agent = "string",
CreateTime = "string",
HumanReview = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentRevisionHumanReviewArgs
{
State = "string",
StateMessage = "string",
},
Id = "string",
Parent = new[]
{
0,
},
ParentIds = new[]
{
"string",
},
Processor = "string",
},
},
ShardInfo = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentShardInfoArgs
{
ShardCount = "string",
ShardIndex = "string",
TextOffset = "string",
},
Text = "string",
TextChanges = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextChangeArgs
{
ChangedText = "string",
Provenance = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceArgs
{
Id = 0,
Parents = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs
{
Id = 0,
Index = 0,
Revision = 0,
},
},
Revision = 0,
Type = GoogleNative.Contentwarehouse.V1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
},
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
},
},
TextStyles = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentStyleArgs
{
BackgroundColor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleTypeColorArgs
{
Alpha = 0,
Blue = 0,
Green = 0,
Red = 0,
},
Color = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleTypeColorArgs
{
Alpha = 0,
Blue = 0,
Green = 0,
Red = 0,
},
FontFamily = "string",
FontSize = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentStyleFontSizeArgs
{
Size = 0,
Unit = "string",
},
FontWeight = "string",
TextAnchor = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorArgs
{
Content = "string",
TextSegments = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs
{
EndIndex = "string",
StartIndex = "string",
},
},
},
TextDecoration = "string",
TextStyle = "string",
},
},
Uri = "string",
},
Updater = "string",
ContentCategory = GoogleNative.Contentwarehouse.V1.DocumentContentCategory.ContentCategoryUnspecified,
Location = "string",
Properties = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1PropertyArgs
{
Name = "string",
DateTimeValues = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1DateTimeArrayArgs
{
Values = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleTypeDateTimeArgs
{
Day = 0,
Hours = 0,
Minutes = 0,
Month = 0,
Nanos = 0,
Seconds = 0,
TimeZone = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleTypeTimeZoneArgs
{
Id = "string",
Version = "string",
},
UtcOffset = "string",
Year = 0,
},
},
},
EnumValues = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1EnumArrayArgs
{
Values = new[]
{
"string",
},
},
FloatValues = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1FloatArrayArgs
{
Values = new[]
{
0,
},
},
IntegerValues = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1IntegerArrayArgs
{
Values = new[]
{
0,
},
},
MapProperty = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1MapPropertyArgs
{
Fields =
{
{ "string", "string" },
},
},
PropertyValues = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1PropertyArrayArgs
{
Properties = new[]
{
googleCloudContentwarehouseV1Property,
},
},
TextValues = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1TextArrayArgs
{
Values = new[]
{
"string",
},
},
TimestampValues = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1TimestampArrayArgs
{
Values = new[]
{
new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1TimestampValueArgs
{
TextValue = "string",
TimestampValue = "string",
},
},
},
},
},
RawDocumentFileType = GoogleNative.Contentwarehouse.V1.DocumentRawDocumentFileType.RawDocumentFileTypeUnspecified,
RawDocumentPath = "string",
ReferenceId = "string",
RequestMetadata = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1RequestMetadataArgs
{
UserInfo = new GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1UserInfoArgs
{
GroupIds = new[]
{
"string",
},
Id = "string",
},
},
TextExtractionDisabled = false,
TextExtractionEnabled = false,
Title = "string",
PlainText = "string",
});
example, err := contentwarehouse.NewDocument(ctx, "documentResource", &contentwarehouse.DocumentArgs{
DisplayName: pulumi.String("string"),
Name: pulumi.String("string"),
CreateMask: pulumi.String("string"),
Policy: &contentwarehouse.GoogleIamV1PolicyArgs{
AuditConfigs: contentwarehouse.GoogleIamV1AuditConfigArray{
&contentwarehouse.GoogleIamV1AuditConfigArgs{
AuditLogConfigs: contentwarehouse.GoogleIamV1AuditLogConfigArray{
&contentwarehouse.GoogleIamV1AuditLogConfigArgs{
ExemptedMembers: pulumi.StringArray{
pulumi.String("string"),
},
LogType: contentwarehouse.GoogleIamV1AuditLogConfigLogTypeLogTypeUnspecified,
},
},
Service: pulumi.String("string"),
},
},
Bindings: contentwarehouse.GoogleIamV1BindingArray{
&contentwarehouse.GoogleIamV1BindingArgs{
Condition: &contentwarehouse.GoogleTypeExprArgs{
Description: pulumi.String("string"),
Expression: pulumi.String("string"),
Location: pulumi.String("string"),
Title: pulumi.String("string"),
},
Members: pulumi.StringArray{
pulumi.String("string"),
},
Role: pulumi.String("string"),
},
},
Etag: pulumi.String("string"),
Version: pulumi.Int(0),
},
Creator: pulumi.String("string"),
CloudAiDocumentOption: &contentwarehouse.GoogleCloudContentwarehouseV1CloudAIDocumentOptionArgs{
CustomizedEntitiesPropertiesConversions: pulumi.StringMap{
"string": pulumi.String("string"),
},
EnableEntitiesConversions: pulumi.Bool(false),
},
DisplayUri: pulumi.String("string"),
DocumentSchemaName: pulumi.String("string"),
InlineRawDocument: pulumi.String("string"),
Project: pulumi.String("string"),
CloudAiDocument: &contentwarehouse.GoogleCloudDocumentaiV1DocumentArgs{
Content: pulumi.String("string"),
Entities: contentwarehouse.GoogleCloudDocumentaiV1DocumentEntityArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentEntityArgs{
Type: pulumi.String("string"),
Confidence: pulumi.Float64(0),
Id: pulumi.String("string"),
MentionText: pulumi.String("string"),
NormalizedValue: &contentwarehouse.GoogleCloudDocumentaiV1DocumentEntityNormalizedValueArgs{
AddressValue: &contentwarehouse.GoogleTypePostalAddressArgs{
RegionCode: pulumi.String("string"),
AddressLines: pulumi.StringArray{
pulumi.String("string"),
},
AdministrativeArea: pulumi.String("string"),
LanguageCode: pulumi.String("string"),
Locality: pulumi.String("string"),
Organization: pulumi.String("string"),
PostalCode: pulumi.String("string"),
Recipients: pulumi.StringArray{
pulumi.String("string"),
},
Revision: pulumi.Int(0),
SortingCode: pulumi.String("string"),
Sublocality: pulumi.String("string"),
},
BooleanValue: pulumi.Bool(false),
DateValue: &contentwarehouse.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DatetimeValue: &contentwarehouse.GoogleTypeDateTimeArgs{
Day: pulumi.Int(0),
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Month: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
TimeZone: &contentwarehouse.GoogleTypeTimeZoneArgs{
Id: pulumi.String("string"),
Version: pulumi.String("string"),
},
UtcOffset: pulumi.String("string"),
Year: pulumi.Int(0),
},
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.Int(0),
MoneyValue: &contentwarehouse.GoogleTypeMoneyArgs{
CurrencyCode: pulumi.String("string"),
Nanos: pulumi.Int(0),
Units: pulumi.String("string"),
},
Text: pulumi.String("string"),
},
PageAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageAnchorArgs{
PageRefs: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArgs{
Page: pulumi.String("string"),
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
LayoutType: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypeLayoutTypeUnspecified,
},
},
},
Properties: contentwarehouse.GoogleCloudDocumentaiV1DocumentEntityArray{
googleCloudDocumentaiV1DocumentEntity,
},
Provenance: &contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceArgs{
Id: pulumi.Int(0),
Parents: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs{
Id: pulumi.Int(0),
Index: pulumi.Int(0),
Revision: pulumi.Int(0),
},
},
Revision: pulumi.Int(0),
Type: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceTypeOperationTypeUnspecified,
},
Redacted: pulumi.Bool(false),
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
},
EntityRelations: contentwarehouse.GoogleCloudDocumentaiV1DocumentEntityRelationArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentEntityRelationArgs{
ObjectId: pulumi.String("string"),
Relation: pulumi.String("string"),
SubjectId: pulumi.String("string"),
},
},
Error: &contentwarehouse.GoogleRpcStatusArgs{
Code: pulumi.Int(0),
Details: pulumi.StringMapArray{
pulumi.StringMap{
"string": pulumi.String("string"),
},
},
Message: pulumi.String("string"),
},
MimeType: pulumi.String("string"),
Pages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageArgs{
Blocks: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageBlockArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageBlockArgs{
DetectedLanguages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs{
Confidence: pulumi.Float64(0),
LanguageCode: pulumi.String("string"),
},
},
Layout: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
Provenance: &contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceArgs{
Id: pulumi.Int(0),
Parents: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs{
Id: pulumi.Int(0),
Index: pulumi.Int(0),
Revision: pulumi.Int(0),
},
},
Revision: pulumi.Int(0),
Type: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceTypeOperationTypeUnspecified,
},
},
},
DetectedBarcodes: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArgs{
Barcode: &contentwarehouse.GoogleCloudDocumentaiV1BarcodeArgs{
Format: pulumi.String("string"),
RawValue: pulumi.String("string"),
ValueFormat: pulumi.String("string"),
},
Layout: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
},
},
DetectedLanguages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs{
Confidence: pulumi.Float64(0),
LanguageCode: pulumi.String("string"),
},
},
Dimension: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDimensionArgs{
Height: pulumi.Float64(0),
Unit: pulumi.String("string"),
Width: pulumi.Float64(0),
},
FormFields: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageFormFieldArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageFormFieldArgs{
CorrectedKeyText: pulumi.String("string"),
CorrectedValueText: pulumi.String("string"),
FieldName: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
FieldValue: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
NameDetectedLanguages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs{
Confidence: pulumi.Float64(0),
LanguageCode: pulumi.String("string"),
},
},
Provenance: &contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceArgs{
Id: pulumi.Int(0),
Parents: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs{
Id: pulumi.Int(0),
Index: pulumi.Int(0),
Revision: pulumi.Int(0),
},
},
Revision: pulumi.Int(0),
Type: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceTypeOperationTypeUnspecified,
},
ValueDetectedLanguages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs{
Confidence: pulumi.Float64(0),
LanguageCode: pulumi.String("string"),
},
},
ValueType: pulumi.String("string"),
},
},
Image: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageImageArgs{
Content: pulumi.String("string"),
Height: pulumi.Int(0),
MimeType: pulumi.String("string"),
Width: pulumi.Int(0),
},
ImageQualityScores: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageImageQualityScoresArgs{
DetectedDefects: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArgs{
Confidence: pulumi.Float64(0),
Type: pulumi.String("string"),
},
},
QualityScore: pulumi.Float64(0),
},
Layout: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
Lines: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLineArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLineArgs{
DetectedLanguages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs{
Confidence: pulumi.Float64(0),
LanguageCode: pulumi.String("string"),
},
},
Layout: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
Provenance: &contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceArgs{
Id: pulumi.Int(0),
Parents: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs{
Id: pulumi.Int(0),
Index: pulumi.Int(0),
Revision: pulumi.Int(0),
},
},
Revision: pulumi.Int(0),
Type: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceTypeOperationTypeUnspecified,
},
},
},
PageNumber: pulumi.Int(0),
Paragraphs: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageParagraphArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageParagraphArgs{
DetectedLanguages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs{
Confidence: pulumi.Float64(0),
LanguageCode: pulumi.String("string"),
},
},
Layout: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
Provenance: &contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceArgs{
Id: pulumi.Int(0),
Parents: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs{
Id: pulumi.Int(0),
Index: pulumi.Int(0),
Revision: pulumi.Int(0),
},
},
Revision: pulumi.Int(0),
Type: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceTypeOperationTypeUnspecified,
},
},
},
Provenance: &contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceArgs{
Id: pulumi.Int(0),
Parents: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs{
Id: pulumi.Int(0),
Index: pulumi.Int(0),
Revision: pulumi.Int(0),
},
},
Revision: pulumi.Int(0),
Type: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceTypeOperationTypeUnspecified,
},
Symbols: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageSymbolArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageSymbolArgs{
DetectedLanguages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs{
Confidence: pulumi.Float64(0),
LanguageCode: pulumi.String("string"),
},
},
Layout: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
},
},
Tables: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTableArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTableArgs{
BodyRows: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTableTableRowArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTableTableRowArgs{
Cells: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTableTableCellArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTableTableCellArgs{
ColSpan: pulumi.Int(0),
DetectedLanguages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs{
Confidence: pulumi.Float64(0),
LanguageCode: pulumi.String("string"),
},
},
Layout: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
RowSpan: pulumi.Int(0),
},
},
},
},
DetectedLanguages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs{
Confidence: pulumi.Float64(0),
LanguageCode: pulumi.String("string"),
},
},
HeaderRows: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTableTableRowArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTableTableRowArgs{
Cells: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTableTableCellArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTableTableCellArgs{
ColSpan: pulumi.Int(0),
DetectedLanguages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs{
Confidence: pulumi.Float64(0),
LanguageCode: pulumi.String("string"),
},
},
Layout: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
RowSpan: pulumi.Int(0),
},
},
},
},
Layout: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
Provenance: &contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceArgs{
Id: pulumi.Int(0),
Parents: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs{
Id: pulumi.Int(0),
Index: pulumi.Int(0),
Revision: pulumi.Int(0),
},
},
Revision: pulumi.Int(0),
Type: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceTypeOperationTypeUnspecified,
},
},
},
Tokens: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTokenArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTokenArgs{
DetectedBreak: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakArgs{
Type: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypeTypeUnspecified,
},
DetectedLanguages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs{
Confidence: pulumi.Float64(0),
LanguageCode: pulumi.String("string"),
},
},
Layout: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
Provenance: &contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceArgs{
Id: pulumi.Int(0),
Parents: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs{
Id: pulumi.Int(0),
Index: pulumi.Int(0),
Revision: pulumi.Int(0),
},
},
Revision: pulumi.Int(0),
Type: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceTypeOperationTypeUnspecified,
},
StyleInfo: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoArgs{
BackgroundColor: &contentwarehouse.GoogleTypeColorArgs{
Alpha: pulumi.Float64(0),
Blue: pulumi.Float64(0),
Green: pulumi.Float64(0),
Red: pulumi.Float64(0),
},
Bold: pulumi.Bool(false),
FontSize: pulumi.Int(0),
FontType: pulumi.String("string"),
FontWeight: pulumi.Int(0),
Handwritten: pulumi.Bool(false),
Italic: pulumi.Bool(false),
LetterSpacing: pulumi.Float64(0),
PixelFontSize: pulumi.Float64(0),
Smallcaps: pulumi.Bool(false),
Strikeout: pulumi.Bool(false),
Subscript: pulumi.Bool(false),
Superscript: pulumi.Bool(false),
TextColor: &contentwarehouse.GoogleTypeColorArgs{
Alpha: pulumi.Float64(0),
Blue: pulumi.Float64(0),
Green: pulumi.Float64(0),
Red: pulumi.Float64(0),
},
Underlined: pulumi.Bool(false),
},
},
},
Transforms: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageMatrixArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageMatrixArgs{
Cols: pulumi.Int(0),
Data: pulumi.String("string"),
Rows: pulumi.Int(0),
Type: pulumi.Int(0),
},
},
VisualElements: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageVisualElementArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageVisualElementArgs{
DetectedLanguages: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs{
Confidence: pulumi.Float64(0),
LanguageCode: pulumi.String("string"),
},
},
Layout: &contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutArgs{
BoundingPoly: &contentwarehouse.GoogleCloudDocumentaiV1BoundingPolyArgs{
NormalizedVertices: contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1NormalizedVertexArgs{
X: pulumi.Float64(0),
Y: pulumi.Float64(0),
},
},
Vertices: contentwarehouse.GoogleCloudDocumentaiV1VertexArray{
&contentwarehouse.GoogleCloudDocumentaiV1VertexArgs{
X: pulumi.Int(0),
Y: pulumi.Int(0),
},
},
},
Confidence: pulumi.Float64(0),
Orientation: contentwarehouse.GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOrientationUnspecified,
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
Type: pulumi.String("string"),
},
},
},
},
Revisions: contentwarehouse.GoogleCloudDocumentaiV1DocumentRevisionArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentRevisionArgs{
Agent: pulumi.String("string"),
CreateTime: pulumi.String("string"),
HumanReview: &contentwarehouse.GoogleCloudDocumentaiV1DocumentRevisionHumanReviewArgs{
State: pulumi.String("string"),
StateMessage: pulumi.String("string"),
},
Id: pulumi.String("string"),
Parent: pulumi.IntArray{
pulumi.Int(0),
},
ParentIds: pulumi.StringArray{
pulumi.String("string"),
},
Processor: pulumi.String("string"),
},
},
ShardInfo: &contentwarehouse.GoogleCloudDocumentaiV1DocumentShardInfoArgs{
ShardCount: pulumi.String("string"),
ShardIndex: pulumi.String("string"),
TextOffset: pulumi.String("string"),
},
Text: pulumi.String("string"),
TextChanges: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextChangeArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextChangeArgs{
ChangedText: pulumi.String("string"),
Provenance: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceArgs{
Id: pulumi.Int(0),
Parents: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceParentArgs{
Id: pulumi.Int(0),
Index: pulumi.Int(0),
Revision: pulumi.Int(0),
},
},
Revision: pulumi.Int(0),
Type: contentwarehouse.GoogleCloudDocumentaiV1DocumentProvenanceTypeOperationTypeUnspecified,
},
},
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
},
},
TextStyles: contentwarehouse.GoogleCloudDocumentaiV1DocumentStyleArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentStyleArgs{
BackgroundColor: &contentwarehouse.GoogleTypeColorArgs{
Alpha: pulumi.Float64(0),
Blue: pulumi.Float64(0),
Green: pulumi.Float64(0),
Red: pulumi.Float64(0),
},
Color: &contentwarehouse.GoogleTypeColorArgs{
Alpha: pulumi.Float64(0),
Blue: pulumi.Float64(0),
Green: pulumi.Float64(0),
Red: pulumi.Float64(0),
},
FontFamily: pulumi.String("string"),
FontSize: &contentwarehouse.GoogleCloudDocumentaiV1DocumentStyleFontSizeArgs{
Size: pulumi.Float64(0),
Unit: pulumi.String("string"),
},
FontWeight: pulumi.String("string"),
TextAnchor: &contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorArgs{
Content: pulumi.String("string"),
TextSegments: contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray{
&contentwarehouse.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs{
EndIndex: pulumi.String("string"),
StartIndex: pulumi.String("string"),
},
},
},
TextDecoration: pulumi.String("string"),
TextStyle: pulumi.String("string"),
},
},
Uri: pulumi.String("string"),
},
Updater: pulumi.String("string"),
ContentCategory: contentwarehouse.DocumentContentCategoryContentCategoryUnspecified,
Location: pulumi.String("string"),
Properties: contentwarehouse.GoogleCloudContentwarehouseV1PropertyArray{
&contentwarehouse.GoogleCloudContentwarehouseV1PropertyArgs{
Name: pulumi.String("string"),
DateTimeValues: &contentwarehouse.GoogleCloudContentwarehouseV1DateTimeArrayArgs{
Values: contentwarehouse.GoogleTypeDateTimeArray{
&contentwarehouse.GoogleTypeDateTimeArgs{
Day: pulumi.Int(0),
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Month: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
TimeZone: &contentwarehouse.GoogleTypeTimeZoneArgs{
Id: pulumi.String("string"),
Version: pulumi.String("string"),
},
UtcOffset: pulumi.String("string"),
Year: pulumi.Int(0),
},
},
},
EnumValues: &contentwarehouse.GoogleCloudContentwarehouseV1EnumArrayArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
FloatValues: &contentwarehouse.GoogleCloudContentwarehouseV1FloatArrayArgs{
Values: pulumi.Float64Array{
pulumi.Float64(0),
},
},
IntegerValues: &contentwarehouse.GoogleCloudContentwarehouseV1IntegerArrayArgs{
Values: pulumi.IntArray{
pulumi.Int(0),
},
},
MapProperty: &contentwarehouse.GoogleCloudContentwarehouseV1MapPropertyArgs{
Fields: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
PropertyValues: &contentwarehouse.GoogleCloudContentwarehouseV1PropertyArrayArgs{
Properties: contentwarehouse.GoogleCloudContentwarehouseV1PropertyArray{
googleCloudContentwarehouseV1Property,
},
},
TextValues: &contentwarehouse.GoogleCloudContentwarehouseV1TextArrayArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
TimestampValues: &contentwarehouse.GoogleCloudContentwarehouseV1TimestampArrayArgs{
Values: contentwarehouse.GoogleCloudContentwarehouseV1TimestampValueArray{
&contentwarehouse.GoogleCloudContentwarehouseV1TimestampValueArgs{
TextValue: pulumi.String("string"),
TimestampValue: pulumi.String("string"),
},
},
},
},
},
RawDocumentFileType: contentwarehouse.DocumentRawDocumentFileTypeRawDocumentFileTypeUnspecified,
RawDocumentPath: pulumi.String("string"),
ReferenceId: pulumi.String("string"),
RequestMetadata: &contentwarehouse.GoogleCloudContentwarehouseV1RequestMetadataArgs{
UserInfo: &contentwarehouse.GoogleCloudContentwarehouseV1UserInfoArgs{
GroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Id: pulumi.String("string"),
},
},
TextExtractionDisabled: pulumi.Bool(false),
TextExtractionEnabled: pulumi.Bool(false),
Title: pulumi.String("string"),
PlainText: pulumi.String("string"),
})
var documentResource = new Document("documentResource", DocumentArgs.builder()
.displayName("string")
.name("string")
.createMask("string")
.policy(GoogleIamV1PolicyArgs.builder()
.auditConfigs(GoogleIamV1AuditConfigArgs.builder()
.auditLogConfigs(GoogleIamV1AuditLogConfigArgs.builder()
.exemptedMembers("string")
.logType("LOG_TYPE_UNSPECIFIED")
.build())
.service("string")
.build())
.bindings(GoogleIamV1BindingArgs.builder()
.condition(GoogleTypeExprArgs.builder()
.description("string")
.expression("string")
.location("string")
.title("string")
.build())
.members("string")
.role("string")
.build())
.etag("string")
.version(0)
.build())
.creator("string")
.cloudAiDocumentOption(GoogleCloudContentwarehouseV1CloudAIDocumentOptionArgs.builder()
.customizedEntitiesPropertiesConversions(Map.of("string", "string"))
.enableEntitiesConversions(false)
.build())
.displayUri("string")
.documentSchemaName("string")
.inlineRawDocument("string")
.project("string")
.cloudAiDocument(GoogleCloudDocumentaiV1DocumentArgs.builder()
.content("string")
.entities(GoogleCloudDocumentaiV1DocumentEntityArgs.builder()
.type("string")
.confidence(0)
.id("string")
.mentionText("string")
.normalizedValue(GoogleCloudDocumentaiV1DocumentEntityNormalizedValueArgs.builder()
.addressValue(GoogleTypePostalAddressArgs.builder()
.regionCode("string")
.addressLines("string")
.administrativeArea("string")
.languageCode("string")
.locality("string")
.organization("string")
.postalCode("string")
.recipients("string")
.revision(0)
.sortingCode("string")
.sublocality("string")
.build())
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.datetimeValue(GoogleTypeDateTimeArgs.builder()
.day(0)
.hours(0)
.minutes(0)
.month(0)
.nanos(0)
.seconds(0)
.timeZone(GoogleTypeTimeZoneArgs.builder()
.id("string")
.version("string")
.build())
.utcOffset("string")
.year(0)
.build())
.floatValue(0)
.integerValue(0)
.moneyValue(GoogleTypeMoneyArgs.builder()
.currencyCode("string")
.nanos(0)
.units("string")
.build())
.text("string")
.build())
.pageAnchor(GoogleCloudDocumentaiV1DocumentPageAnchorArgs.builder()
.pageRefs(GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArgs.builder()
.page("string")
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.layoutType("LAYOUT_TYPE_UNSPECIFIED")
.build())
.build())
.properties(googleCloudDocumentaiV1DocumentEntity)
.provenance(GoogleCloudDocumentaiV1DocumentProvenanceArgs.builder()
.id(0)
.parents(GoogleCloudDocumentaiV1DocumentProvenanceParentArgs.builder()
.id(0)
.index(0)
.revision(0)
.build())
.revision(0)
.type("OPERATION_TYPE_UNSPECIFIED")
.build())
.redacted(false)
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.entityRelations(GoogleCloudDocumentaiV1DocumentEntityRelationArgs.builder()
.objectId("string")
.relation("string")
.subjectId("string")
.build())
.error(GoogleRpcStatusArgs.builder()
.code(0)
.details(Map.of("string", "string"))
.message("string")
.build())
.mimeType("string")
.pages(GoogleCloudDocumentaiV1DocumentPageArgs.builder()
.blocks(GoogleCloudDocumentaiV1DocumentPageBlockArgs.builder()
.detectedLanguages(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs.builder()
.confidence(0)
.languageCode("string")
.build())
.layout(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.provenance(GoogleCloudDocumentaiV1DocumentProvenanceArgs.builder()
.id(0)
.parents(GoogleCloudDocumentaiV1DocumentProvenanceParentArgs.builder()
.id(0)
.index(0)
.revision(0)
.build())
.revision(0)
.type("OPERATION_TYPE_UNSPECIFIED")
.build())
.build())
.detectedBarcodes(GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArgs.builder()
.barcode(GoogleCloudDocumentaiV1BarcodeArgs.builder()
.format("string")
.rawValue("string")
.valueFormat("string")
.build())
.layout(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.build())
.detectedLanguages(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs.builder()
.confidence(0)
.languageCode("string")
.build())
.dimension(GoogleCloudDocumentaiV1DocumentPageDimensionArgs.builder()
.height(0)
.unit("string")
.width(0)
.build())
.formFields(GoogleCloudDocumentaiV1DocumentPageFormFieldArgs.builder()
.correctedKeyText("string")
.correctedValueText("string")
.fieldName(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.fieldValue(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.nameDetectedLanguages(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs.builder()
.confidence(0)
.languageCode("string")
.build())
.provenance(GoogleCloudDocumentaiV1DocumentProvenanceArgs.builder()
.id(0)
.parents(GoogleCloudDocumentaiV1DocumentProvenanceParentArgs.builder()
.id(0)
.index(0)
.revision(0)
.build())
.revision(0)
.type("OPERATION_TYPE_UNSPECIFIED")
.build())
.valueDetectedLanguages(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs.builder()
.confidence(0)
.languageCode("string")
.build())
.valueType("string")
.build())
.image(GoogleCloudDocumentaiV1DocumentPageImageArgs.builder()
.content("string")
.height(0)
.mimeType("string")
.width(0)
.build())
.imageQualityScores(GoogleCloudDocumentaiV1DocumentPageImageQualityScoresArgs.builder()
.detectedDefects(GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArgs.builder()
.confidence(0)
.type("string")
.build())
.qualityScore(0)
.build())
.layout(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.lines(GoogleCloudDocumentaiV1DocumentPageLineArgs.builder()
.detectedLanguages(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs.builder()
.confidence(0)
.languageCode("string")
.build())
.layout(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.provenance(GoogleCloudDocumentaiV1DocumentProvenanceArgs.builder()
.id(0)
.parents(GoogleCloudDocumentaiV1DocumentProvenanceParentArgs.builder()
.id(0)
.index(0)
.revision(0)
.build())
.revision(0)
.type("OPERATION_TYPE_UNSPECIFIED")
.build())
.build())
.pageNumber(0)
.paragraphs(GoogleCloudDocumentaiV1DocumentPageParagraphArgs.builder()
.detectedLanguages(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs.builder()
.confidence(0)
.languageCode("string")
.build())
.layout(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.provenance(GoogleCloudDocumentaiV1DocumentProvenanceArgs.builder()
.id(0)
.parents(GoogleCloudDocumentaiV1DocumentProvenanceParentArgs.builder()
.id(0)
.index(0)
.revision(0)
.build())
.revision(0)
.type("OPERATION_TYPE_UNSPECIFIED")
.build())
.build())
.provenance(GoogleCloudDocumentaiV1DocumentProvenanceArgs.builder()
.id(0)
.parents(GoogleCloudDocumentaiV1DocumentProvenanceParentArgs.builder()
.id(0)
.index(0)
.revision(0)
.build())
.revision(0)
.type("OPERATION_TYPE_UNSPECIFIED")
.build())
.symbols(GoogleCloudDocumentaiV1DocumentPageSymbolArgs.builder()
.detectedLanguages(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs.builder()
.confidence(0)
.languageCode("string")
.build())
.layout(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.build())
.tables(GoogleCloudDocumentaiV1DocumentPageTableArgs.builder()
.bodyRows(GoogleCloudDocumentaiV1DocumentPageTableTableRowArgs.builder()
.cells(GoogleCloudDocumentaiV1DocumentPageTableTableCellArgs.builder()
.colSpan(0)
.detectedLanguages(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs.builder()
.confidence(0)
.languageCode("string")
.build())
.layout(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.rowSpan(0)
.build())
.build())
.detectedLanguages(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs.builder()
.confidence(0)
.languageCode("string")
.build())
.headerRows(GoogleCloudDocumentaiV1DocumentPageTableTableRowArgs.builder()
.cells(GoogleCloudDocumentaiV1DocumentPageTableTableCellArgs.builder()
.colSpan(0)
.detectedLanguages(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs.builder()
.confidence(0)
.languageCode("string")
.build())
.layout(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.rowSpan(0)
.build())
.build())
.layout(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.provenance(GoogleCloudDocumentaiV1DocumentProvenanceArgs.builder()
.id(0)
.parents(GoogleCloudDocumentaiV1DocumentProvenanceParentArgs.builder()
.id(0)
.index(0)
.revision(0)
.build())
.revision(0)
.type("OPERATION_TYPE_UNSPECIFIED")
.build())
.build())
.tokens(GoogleCloudDocumentaiV1DocumentPageTokenArgs.builder()
.detectedBreak(GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakArgs.builder()
.type("TYPE_UNSPECIFIED")
.build())
.detectedLanguages(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs.builder()
.confidence(0)
.languageCode("string")
.build())
.layout(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.provenance(GoogleCloudDocumentaiV1DocumentProvenanceArgs.builder()
.id(0)
.parents(GoogleCloudDocumentaiV1DocumentProvenanceParentArgs.builder()
.id(0)
.index(0)
.revision(0)
.build())
.revision(0)
.type("OPERATION_TYPE_UNSPECIFIED")
.build())
.styleInfo(GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoArgs.builder()
.backgroundColor(GoogleTypeColorArgs.builder()
.alpha(0)
.blue(0)
.green(0)
.red(0)
.build())
.bold(false)
.fontSize(0)
.fontType("string")
.fontWeight(0)
.handwritten(false)
.italic(false)
.letterSpacing(0)
.pixelFontSize(0)
.smallcaps(false)
.strikeout(false)
.subscript(false)
.superscript(false)
.textColor(GoogleTypeColorArgs.builder()
.alpha(0)
.blue(0)
.green(0)
.red(0)
.build())
.underlined(false)
.build())
.build())
.transforms(GoogleCloudDocumentaiV1DocumentPageMatrixArgs.builder()
.cols(0)
.data("string")
.rows(0)
.type(0)
.build())
.visualElements(GoogleCloudDocumentaiV1DocumentPageVisualElementArgs.builder()
.detectedLanguages(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs.builder()
.confidence(0)
.languageCode("string")
.build())
.layout(GoogleCloudDocumentaiV1DocumentPageLayoutArgs.builder()
.boundingPoly(GoogleCloudDocumentaiV1BoundingPolyArgs.builder()
.normalizedVertices(GoogleCloudDocumentaiV1NormalizedVertexArgs.builder()
.x(0)
.y(0)
.build())
.vertices(GoogleCloudDocumentaiV1VertexArgs.builder()
.x(0)
.y(0)
.build())
.build())
.confidence(0)
.orientation("ORIENTATION_UNSPECIFIED")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.type("string")
.build())
.build())
.revisions(GoogleCloudDocumentaiV1DocumentRevisionArgs.builder()
.agent("string")
.createTime("string")
.humanReview(GoogleCloudDocumentaiV1DocumentRevisionHumanReviewArgs.builder()
.state("string")
.stateMessage("string")
.build())
.id("string")
.parent(0)
.parentIds("string")
.processor("string")
.build())
.shardInfo(GoogleCloudDocumentaiV1DocumentShardInfoArgs.builder()
.shardCount("string")
.shardIndex("string")
.textOffset("string")
.build())
.text("string")
.textChanges(GoogleCloudDocumentaiV1DocumentTextChangeArgs.builder()
.changedText("string")
.provenance(GoogleCloudDocumentaiV1DocumentProvenanceArgs.builder()
.id(0)
.parents(GoogleCloudDocumentaiV1DocumentProvenanceParentArgs.builder()
.id(0)
.index(0)
.revision(0)
.build())
.revision(0)
.type("OPERATION_TYPE_UNSPECIFIED")
.build())
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.build())
.textStyles(GoogleCloudDocumentaiV1DocumentStyleArgs.builder()
.backgroundColor(GoogleTypeColorArgs.builder()
.alpha(0)
.blue(0)
.green(0)
.red(0)
.build())
.color(GoogleTypeColorArgs.builder()
.alpha(0)
.blue(0)
.green(0)
.red(0)
.build())
.fontFamily("string")
.fontSize(GoogleCloudDocumentaiV1DocumentStyleFontSizeArgs.builder()
.size(0)
.unit("string")
.build())
.fontWeight("string")
.textAnchor(GoogleCloudDocumentaiV1DocumentTextAnchorArgs.builder()
.content("string")
.textSegments(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs.builder()
.endIndex("string")
.startIndex("string")
.build())
.build())
.textDecoration("string")
.textStyle("string")
.build())
.uri("string")
.build())
.updater("string")
.contentCategory("CONTENT_CATEGORY_UNSPECIFIED")
.location("string")
.properties(GoogleCloudContentwarehouseV1PropertyArgs.builder()
.name("string")
.dateTimeValues(GoogleCloudContentwarehouseV1DateTimeArrayArgs.builder()
.values(GoogleTypeDateTimeArgs.builder()
.day(0)
.hours(0)
.minutes(0)
.month(0)
.nanos(0)
.seconds(0)
.timeZone(GoogleTypeTimeZoneArgs.builder()
.id("string")
.version("string")
.build())
.utcOffset("string")
.year(0)
.build())
.build())
.enumValues(GoogleCloudContentwarehouseV1EnumArrayArgs.builder()
.values("string")
.build())
.floatValues(GoogleCloudContentwarehouseV1FloatArrayArgs.builder()
.values(0)
.build())
.integerValues(GoogleCloudContentwarehouseV1IntegerArrayArgs.builder()
.values(0)
.build())
.mapProperty(GoogleCloudContentwarehouseV1MapPropertyArgs.builder()
.fields(Map.of("string", "string"))
.build())
.propertyValues(GoogleCloudContentwarehouseV1PropertyArrayArgs.builder()
.properties(googleCloudContentwarehouseV1Property)
.build())
.textValues(GoogleCloudContentwarehouseV1TextArrayArgs.builder()
.values("string")
.build())
.timestampValues(GoogleCloudContentwarehouseV1TimestampArrayArgs.builder()
.values(GoogleCloudContentwarehouseV1TimestampValueArgs.builder()
.textValue("string")
.timestampValue("string")
.build())
.build())
.build())
.rawDocumentFileType("RAW_DOCUMENT_FILE_TYPE_UNSPECIFIED")
.rawDocumentPath("string")
.referenceId("string")
.requestMetadata(GoogleCloudContentwarehouseV1RequestMetadataArgs.builder()
.userInfo(GoogleCloudContentwarehouseV1UserInfoArgs.builder()
.groupIds("string")
.id("string")
.build())
.build())
.textExtractionDisabled(false)
.textExtractionEnabled(false)
.title("string")
.plainText("string")
.build());
document_resource = google_native.contentwarehouse.v1.Document("documentResource",
display_name="string",
name="string",
create_mask="string",
policy={
"audit_configs": [{
"audit_log_configs": [{
"exempted_members": ["string"],
"log_type": google_native.contentwarehouse.v1.GoogleIamV1AuditLogConfigLogType.LOG_TYPE_UNSPECIFIED,
}],
"service": "string",
}],
"bindings": [{
"condition": {
"description": "string",
"expression": "string",
"location": "string",
"title": "string",
},
"members": ["string"],
"role": "string",
}],
"etag": "string",
"version": 0,
},
creator="string",
cloud_ai_document_option={
"customized_entities_properties_conversions": {
"string": "string",
},
"enable_entities_conversions": False,
},
display_uri="string",
document_schema_name="string",
inline_raw_document="string",
project="string",
cloud_ai_document={
"content": "string",
"entities": [{
"type": "string",
"confidence": 0,
"id": "string",
"mention_text": "string",
"normalized_value": {
"address_value": {
"region_code": "string",
"address_lines": ["string"],
"administrative_area": "string",
"language_code": "string",
"locality": "string",
"organization": "string",
"postal_code": "string",
"recipients": ["string"],
"revision": 0,
"sorting_code": "string",
"sublocality": "string",
},
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"datetime_value": {
"day": 0,
"hours": 0,
"minutes": 0,
"month": 0,
"nanos": 0,
"seconds": 0,
"time_zone": {
"id": "string",
"version": "string",
},
"utc_offset": "string",
"year": 0,
},
"float_value": 0,
"integer_value": 0,
"money_value": {
"currency_code": "string",
"nanos": 0,
"units": "string",
},
"text": "string",
},
"page_anchor": {
"page_refs": [{
"page": "string",
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"layout_type": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType.LAYOUT_TYPE_UNSPECIFIED,
}],
},
"properties": [google_cloud_documentai_v1_document_entity],
"provenance": {
"id": 0,
"parents": [{
"id": 0,
"index": 0,
"revision": 0,
}],
"revision": 0,
"type": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OPERATION_TYPE_UNSPECIFIED,
},
"redacted": False,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
}],
"entity_relations": [{
"object_id": "string",
"relation": "string",
"subject_id": "string",
}],
"error": {
"code": 0,
"details": [{
"string": "string",
}],
"message": "string",
},
"mime_type": "string",
"pages": [{
"blocks": [{
"detected_languages": [{
"confidence": 0,
"language_code": "string",
}],
"layout": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
"provenance": {
"id": 0,
"parents": [{
"id": 0,
"index": 0,
"revision": 0,
}],
"revision": 0,
"type": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OPERATION_TYPE_UNSPECIFIED,
},
}],
"detected_barcodes": [{
"barcode": {
"format": "string",
"raw_value": "string",
"value_format": "string",
},
"layout": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
}],
"detected_languages": [{
"confidence": 0,
"language_code": "string",
}],
"dimension": {
"height": 0,
"unit": "string",
"width": 0,
},
"form_fields": [{
"corrected_key_text": "string",
"corrected_value_text": "string",
"field_name": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
"field_value": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
"name_detected_languages": [{
"confidence": 0,
"language_code": "string",
}],
"provenance": {
"id": 0,
"parents": [{
"id": 0,
"index": 0,
"revision": 0,
}],
"revision": 0,
"type": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OPERATION_TYPE_UNSPECIFIED,
},
"value_detected_languages": [{
"confidence": 0,
"language_code": "string",
}],
"value_type": "string",
}],
"image": {
"content": "string",
"height": 0,
"mime_type": "string",
"width": 0,
},
"image_quality_scores": {
"detected_defects": [{
"confidence": 0,
"type": "string",
}],
"quality_score": 0,
},
"layout": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
"lines": [{
"detected_languages": [{
"confidence": 0,
"language_code": "string",
}],
"layout": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
"provenance": {
"id": 0,
"parents": [{
"id": 0,
"index": 0,
"revision": 0,
}],
"revision": 0,
"type": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OPERATION_TYPE_UNSPECIFIED,
},
}],
"page_number": 0,
"paragraphs": [{
"detected_languages": [{
"confidence": 0,
"language_code": "string",
}],
"layout": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
"provenance": {
"id": 0,
"parents": [{
"id": 0,
"index": 0,
"revision": 0,
}],
"revision": 0,
"type": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OPERATION_TYPE_UNSPECIFIED,
},
}],
"provenance": {
"id": 0,
"parents": [{
"id": 0,
"index": 0,
"revision": 0,
}],
"revision": 0,
"type": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OPERATION_TYPE_UNSPECIFIED,
},
"symbols": [{
"detected_languages": [{
"confidence": 0,
"language_code": "string",
}],
"layout": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
}],
"tables": [{
"body_rows": [{
"cells": [{
"col_span": 0,
"detected_languages": [{
"confidence": 0,
"language_code": "string",
}],
"layout": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
"row_span": 0,
}],
}],
"detected_languages": [{
"confidence": 0,
"language_code": "string",
}],
"header_rows": [{
"cells": [{
"col_span": 0,
"detected_languages": [{
"confidence": 0,
"language_code": "string",
}],
"layout": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
"row_span": 0,
}],
}],
"layout": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
"provenance": {
"id": 0,
"parents": [{
"id": 0,
"index": 0,
"revision": 0,
}],
"revision": 0,
"type": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OPERATION_TYPE_UNSPECIFIED,
},
}],
"tokens": [{
"detected_break": {
"type": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType.TYPE_UNSPECIFIED,
},
"detected_languages": [{
"confidence": 0,
"language_code": "string",
}],
"layout": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
"provenance": {
"id": 0,
"parents": [{
"id": 0,
"index": 0,
"revision": 0,
}],
"revision": 0,
"type": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OPERATION_TYPE_UNSPECIFIED,
},
"style_info": {
"background_color": {
"alpha": 0,
"blue": 0,
"green": 0,
"red": 0,
},
"bold": False,
"font_size": 0,
"font_type": "string",
"font_weight": 0,
"handwritten": False,
"italic": False,
"letter_spacing": 0,
"pixel_font_size": 0,
"smallcaps": False,
"strikeout": False,
"subscript": False,
"superscript": False,
"text_color": {
"alpha": 0,
"blue": 0,
"green": 0,
"red": 0,
},
"underlined": False,
},
}],
"transforms": [{
"cols": 0,
"data": "string",
"rows": 0,
"type": 0,
}],
"visual_elements": [{
"detected_languages": [{
"confidence": 0,
"language_code": "string",
}],
"layout": {
"bounding_poly": {
"normalized_vertices": [{
"x": 0,
"y": 0,
}],
"vertices": [{
"x": 0,
"y": 0,
}],
},
"confidence": 0,
"orientation": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.ORIENTATION_UNSPECIFIED,
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
},
"type": "string",
}],
}],
"revisions": [{
"agent": "string",
"create_time": "string",
"human_review": {
"state": "string",
"state_message": "string",
},
"id": "string",
"parent": [0],
"parent_ids": ["string"],
"processor": "string",
}],
"shard_info": {
"shard_count": "string",
"shard_index": "string",
"text_offset": "string",
},
"text": "string",
"text_changes": [{
"changed_text": "string",
"provenance": [{
"id": 0,
"parents": [{
"id": 0,
"index": 0,
"revision": 0,
}],
"revision": 0,
"type": google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OPERATION_TYPE_UNSPECIFIED,
}],
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
}],
"text_styles": [{
"background_color": {
"alpha": 0,
"blue": 0,
"green": 0,
"red": 0,
},
"color": {
"alpha": 0,
"blue": 0,
"green": 0,
"red": 0,
},
"font_family": "string",
"font_size": {
"size": 0,
"unit": "string",
},
"font_weight": "string",
"text_anchor": {
"content": "string",
"text_segments": [{
"end_index": "string",
"start_index": "string",
}],
},
"text_decoration": "string",
"text_style": "string",
}],
"uri": "string",
},
updater="string",
content_category=google_native.contentwarehouse.v1.DocumentContentCategory.CONTENT_CATEGORY_UNSPECIFIED,
location="string",
properties=[{
"name": "string",
"date_time_values": {
"values": [{
"day": 0,
"hours": 0,
"minutes": 0,
"month": 0,
"nanos": 0,
"seconds": 0,
"time_zone": {
"id": "string",
"version": "string",
},
"utc_offset": "string",
"year": 0,
}],
},
"enum_values": {
"values": ["string"],
},
"float_values": {
"values": [0],
},
"integer_values": {
"values": [0],
},
"map_property": {
"fields": {
"string": "string",
},
},
"property_values": {
"properties": [google_cloud_contentwarehouse_v1_property],
},
"text_values": {
"values": ["string"],
},
"timestamp_values": {
"values": [{
"text_value": "string",
"timestamp_value": "string",
}],
},
}],
raw_document_file_type=google_native.contentwarehouse.v1.DocumentRawDocumentFileType.RAW_DOCUMENT_FILE_TYPE_UNSPECIFIED,
raw_document_path="string",
reference_id="string",
request_metadata={
"user_info": {
"group_ids": ["string"],
"id": "string",
},
},
text_extraction_disabled=False,
text_extraction_enabled=False,
title="string",
plain_text="string")
const documentResource = new google_native.contentwarehouse.v1.Document("documentResource", {
displayName: "string",
name: "string",
createMask: "string",
policy: {
auditConfigs: [{
auditLogConfigs: [{
exemptedMembers: ["string"],
logType: google_native.contentwarehouse.v1.GoogleIamV1AuditLogConfigLogType.LogTypeUnspecified,
}],
service: "string",
}],
bindings: [{
condition: {
description: "string",
expression: "string",
location: "string",
title: "string",
},
members: ["string"],
role: "string",
}],
etag: "string",
version: 0,
},
creator: "string",
cloudAiDocumentOption: {
customizedEntitiesPropertiesConversions: {
string: "string",
},
enableEntitiesConversions: false,
},
displayUri: "string",
documentSchemaName: "string",
inlineRawDocument: "string",
project: "string",
cloudAiDocument: {
content: "string",
entities: [{
type: "string",
confidence: 0,
id: "string",
mentionText: "string",
normalizedValue: {
addressValue: {
regionCode: "string",
addressLines: ["string"],
administrativeArea: "string",
languageCode: "string",
locality: "string",
organization: "string",
postalCode: "string",
recipients: ["string"],
revision: 0,
sortingCode: "string",
sublocality: "string",
},
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
datetimeValue: {
day: 0,
hours: 0,
minutes: 0,
month: 0,
nanos: 0,
seconds: 0,
timeZone: {
id: "string",
version: "string",
},
utcOffset: "string",
year: 0,
},
floatValue: 0,
integerValue: 0,
moneyValue: {
currencyCode: "string",
nanos: 0,
units: "string",
},
text: "string",
},
pageAnchor: {
pageRefs: [{
page: "string",
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
layoutType: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType.LayoutTypeUnspecified,
}],
},
properties: [googleCloudDocumentaiV1DocumentEntity],
provenance: {
id: 0,
parents: [{
id: 0,
index: 0,
revision: 0,
}],
revision: 0,
type: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
redacted: false,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
}],
entityRelations: [{
objectId: "string",
relation: "string",
subjectId: "string",
}],
error: {
code: 0,
details: [{
string: "string",
}],
message: "string",
},
mimeType: "string",
pages: [{
blocks: [{
detectedLanguages: [{
confidence: 0,
languageCode: "string",
}],
layout: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
provenance: {
id: 0,
parents: [{
id: 0,
index: 0,
revision: 0,
}],
revision: 0,
type: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
}],
detectedBarcodes: [{
barcode: {
format: "string",
rawValue: "string",
valueFormat: "string",
},
layout: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
}],
detectedLanguages: [{
confidence: 0,
languageCode: "string",
}],
dimension: {
height: 0,
unit: "string",
width: 0,
},
formFields: [{
correctedKeyText: "string",
correctedValueText: "string",
fieldName: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
fieldValue: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
nameDetectedLanguages: [{
confidence: 0,
languageCode: "string",
}],
provenance: {
id: 0,
parents: [{
id: 0,
index: 0,
revision: 0,
}],
revision: 0,
type: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
valueDetectedLanguages: [{
confidence: 0,
languageCode: "string",
}],
valueType: "string",
}],
image: {
content: "string",
height: 0,
mimeType: "string",
width: 0,
},
imageQualityScores: {
detectedDefects: [{
confidence: 0,
type: "string",
}],
qualityScore: 0,
},
layout: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
lines: [{
detectedLanguages: [{
confidence: 0,
languageCode: "string",
}],
layout: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
provenance: {
id: 0,
parents: [{
id: 0,
index: 0,
revision: 0,
}],
revision: 0,
type: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
}],
pageNumber: 0,
paragraphs: [{
detectedLanguages: [{
confidence: 0,
languageCode: "string",
}],
layout: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
provenance: {
id: 0,
parents: [{
id: 0,
index: 0,
revision: 0,
}],
revision: 0,
type: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
}],
provenance: {
id: 0,
parents: [{
id: 0,
index: 0,
revision: 0,
}],
revision: 0,
type: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
symbols: [{
detectedLanguages: [{
confidence: 0,
languageCode: "string",
}],
layout: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
}],
tables: [{
bodyRows: [{
cells: [{
colSpan: 0,
detectedLanguages: [{
confidence: 0,
languageCode: "string",
}],
layout: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
rowSpan: 0,
}],
}],
detectedLanguages: [{
confidence: 0,
languageCode: "string",
}],
headerRows: [{
cells: [{
colSpan: 0,
detectedLanguages: [{
confidence: 0,
languageCode: "string",
}],
layout: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
rowSpan: 0,
}],
}],
layout: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
provenance: {
id: 0,
parents: [{
id: 0,
index: 0,
revision: 0,
}],
revision: 0,
type: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
}],
tokens: [{
detectedBreak: {
type: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType.TypeUnspecified,
},
detectedLanguages: [{
confidence: 0,
languageCode: "string",
}],
layout: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
provenance: {
id: 0,
parents: [{
id: 0,
index: 0,
revision: 0,
}],
revision: 0,
type: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
},
styleInfo: {
backgroundColor: {
alpha: 0,
blue: 0,
green: 0,
red: 0,
},
bold: false,
fontSize: 0,
fontType: "string",
fontWeight: 0,
handwritten: false,
italic: false,
letterSpacing: 0,
pixelFontSize: 0,
smallcaps: false,
strikeout: false,
subscript: false,
superscript: false,
textColor: {
alpha: 0,
blue: 0,
green: 0,
red: 0,
},
underlined: false,
},
}],
transforms: [{
cols: 0,
data: "string",
rows: 0,
type: 0,
}],
visualElements: [{
detectedLanguages: [{
confidence: 0,
languageCode: "string",
}],
layout: {
boundingPoly: {
normalizedVertices: [{
x: 0,
y: 0,
}],
vertices: [{
x: 0,
y: 0,
}],
},
confidence: 0,
orientation: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentPageLayoutOrientation.OrientationUnspecified,
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
},
type: "string",
}],
}],
revisions: [{
agent: "string",
createTime: "string",
humanReview: {
state: "string",
stateMessage: "string",
},
id: "string",
parent: [0],
parentIds: ["string"],
processor: "string",
}],
shardInfo: {
shardCount: "string",
shardIndex: "string",
textOffset: "string",
},
text: "string",
textChanges: [{
changedText: "string",
provenance: [{
id: 0,
parents: [{
id: 0,
index: 0,
revision: 0,
}],
revision: 0,
type: google_native.contentwarehouse.v1.GoogleCloudDocumentaiV1DocumentProvenanceType.OperationTypeUnspecified,
}],
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
}],
textStyles: [{
backgroundColor: {
alpha: 0,
blue: 0,
green: 0,
red: 0,
},
color: {
alpha: 0,
blue: 0,
green: 0,
red: 0,
},
fontFamily: "string",
fontSize: {
size: 0,
unit: "string",
},
fontWeight: "string",
textAnchor: {
content: "string",
textSegments: [{
endIndex: "string",
startIndex: "string",
}],
},
textDecoration: "string",
textStyle: "string",
}],
uri: "string",
},
updater: "string",
contentCategory: google_native.contentwarehouse.v1.DocumentContentCategory.ContentCategoryUnspecified,
location: "string",
properties: [{
name: "string",
dateTimeValues: {
values: [{
day: 0,
hours: 0,
minutes: 0,
month: 0,
nanos: 0,
seconds: 0,
timeZone: {
id: "string",
version: "string",
},
utcOffset: "string",
year: 0,
}],
},
enumValues: {
values: ["string"],
},
floatValues: {
values: [0],
},
integerValues: {
values: [0],
},
mapProperty: {
fields: {
string: "string",
},
},
propertyValues: {
properties: [googleCloudContentwarehouseV1Property],
},
textValues: {
values: ["string"],
},
timestampValues: {
values: [{
textValue: "string",
timestampValue: "string",
}],
},
}],
rawDocumentFileType: google_native.contentwarehouse.v1.DocumentRawDocumentFileType.RawDocumentFileTypeUnspecified,
rawDocumentPath: "string",
referenceId: "string",
requestMetadata: {
userInfo: {
groupIds: ["string"],
id: "string",
},
},
textExtractionDisabled: false,
textExtractionEnabled: false,
title: "string",
plainText: "string",
});
type: google-native:contentwarehouse/v1:Document
properties:
cloudAiDocument:
content: string
entities:
- confidence: 0
id: string
mentionText: string
normalizedValue:
addressValue:
addressLines:
- string
administrativeArea: string
languageCode: string
locality: string
organization: string
postalCode: string
recipients:
- string
regionCode: string
revision: 0
sortingCode: string
sublocality: string
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
datetimeValue:
day: 0
hours: 0
minutes: 0
month: 0
nanos: 0
seconds: 0
timeZone:
id: string
version: string
utcOffset: string
year: 0
floatValue: 0
integerValue: 0
moneyValue:
currencyCode: string
nanos: 0
units: string
text: string
pageAnchor:
pageRefs:
- boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
layoutType: LAYOUT_TYPE_UNSPECIFIED
page: string
properties:
- ${googleCloudDocumentaiV1DocumentEntity}
provenance:
id: 0
parents:
- id: 0
index: 0
revision: 0
revision: 0
type: OPERATION_TYPE_UNSPECIFIED
redacted: false
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
type: string
entityRelations:
- objectId: string
relation: string
subjectId: string
error:
code: 0
details:
- string: string
message: string
mimeType: string
pages:
- blocks:
- detectedLanguages:
- confidence: 0
languageCode: string
layout:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
provenance:
id: 0
parents:
- id: 0
index: 0
revision: 0
revision: 0
type: OPERATION_TYPE_UNSPECIFIED
detectedBarcodes:
- barcode:
format: string
rawValue: string
valueFormat: string
layout:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
detectedLanguages:
- confidence: 0
languageCode: string
dimension:
height: 0
unit: string
width: 0
formFields:
- correctedKeyText: string
correctedValueText: string
fieldName:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
fieldValue:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
nameDetectedLanguages:
- confidence: 0
languageCode: string
provenance:
id: 0
parents:
- id: 0
index: 0
revision: 0
revision: 0
type: OPERATION_TYPE_UNSPECIFIED
valueDetectedLanguages:
- confidence: 0
languageCode: string
valueType: string
image:
content: string
height: 0
mimeType: string
width: 0
imageQualityScores:
detectedDefects:
- confidence: 0
type: string
qualityScore: 0
layout:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
lines:
- detectedLanguages:
- confidence: 0
languageCode: string
layout:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
provenance:
id: 0
parents:
- id: 0
index: 0
revision: 0
revision: 0
type: OPERATION_TYPE_UNSPECIFIED
pageNumber: 0
paragraphs:
- detectedLanguages:
- confidence: 0
languageCode: string
layout:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
provenance:
id: 0
parents:
- id: 0
index: 0
revision: 0
revision: 0
type: OPERATION_TYPE_UNSPECIFIED
provenance:
id: 0
parents:
- id: 0
index: 0
revision: 0
revision: 0
type: OPERATION_TYPE_UNSPECIFIED
symbols:
- detectedLanguages:
- confidence: 0
languageCode: string
layout:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
tables:
- bodyRows:
- cells:
- colSpan: 0
detectedLanguages:
- confidence: 0
languageCode: string
layout:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
rowSpan: 0
detectedLanguages:
- confidence: 0
languageCode: string
headerRows:
- cells:
- colSpan: 0
detectedLanguages:
- confidence: 0
languageCode: string
layout:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
rowSpan: 0
layout:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
provenance:
id: 0
parents:
- id: 0
index: 0
revision: 0
revision: 0
type: OPERATION_TYPE_UNSPECIFIED
tokens:
- detectedBreak:
type: TYPE_UNSPECIFIED
detectedLanguages:
- confidence: 0
languageCode: string
layout:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
provenance:
id: 0
parents:
- id: 0
index: 0
revision: 0
revision: 0
type: OPERATION_TYPE_UNSPECIFIED
styleInfo:
backgroundColor:
alpha: 0
blue: 0
green: 0
red: 0
bold: false
fontSize: 0
fontType: string
fontWeight: 0
handwritten: false
italic: false
letterSpacing: 0
pixelFontSize: 0
smallcaps: false
strikeout: false
subscript: false
superscript: false
textColor:
alpha: 0
blue: 0
green: 0
red: 0
underlined: false
transforms:
- cols: 0
data: string
rows: 0
type: 0
visualElements:
- detectedLanguages:
- confidence: 0
languageCode: string
layout:
boundingPoly:
normalizedVertices:
- x: 0
"y": 0
vertices:
- x: 0
"y": 0
confidence: 0
orientation: ORIENTATION_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
type: string
revisions:
- agent: string
createTime: string
humanReview:
state: string
stateMessage: string
id: string
parent:
- 0
parentIds:
- string
processor: string
shardInfo:
shardCount: string
shardIndex: string
textOffset: string
text: string
textChanges:
- changedText: string
provenance:
- id: 0
parents:
- id: 0
index: 0
revision: 0
revision: 0
type: OPERATION_TYPE_UNSPECIFIED
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
textStyles:
- backgroundColor:
alpha: 0
blue: 0
green: 0
red: 0
color:
alpha: 0
blue: 0
green: 0
red: 0
fontFamily: string
fontSize:
size: 0
unit: string
fontWeight: string
textAnchor:
content: string
textSegments:
- endIndex: string
startIndex: string
textDecoration: string
textStyle: string
uri: string
cloudAiDocumentOption:
customizedEntitiesPropertiesConversions:
string: string
enableEntitiesConversions: false
contentCategory: CONTENT_CATEGORY_UNSPECIFIED
createMask: string
creator: string
displayName: string
displayUri: string
documentSchemaName: string
inlineRawDocument: string
location: string
name: string
plainText: string
policy:
auditConfigs:
- auditLogConfigs:
- exemptedMembers:
- string
logType: LOG_TYPE_UNSPECIFIED
service: string
bindings:
- condition:
description: string
expression: string
location: string
title: string
members:
- string
role: string
etag: string
version: 0
project: string
properties:
- dateTimeValues:
values:
- day: 0
hours: 0
minutes: 0
month: 0
nanos: 0
seconds: 0
timeZone:
id: string
version: string
utcOffset: string
year: 0
enumValues:
values:
- string
floatValues:
values:
- 0
integerValues:
values:
- 0
mapProperty:
fields:
string: string
name: string
propertyValues:
properties:
- ${googleCloudContentwarehouseV1Property}
textValues:
values:
- string
timestampValues:
values:
- textValue: string
timestampValue: string
rawDocumentFileType: RAW_DOCUMENT_FILE_TYPE_UNSPECIFIED
rawDocumentPath: string
referenceId: string
requestMetadata:
userInfo:
groupIds:
- string
id: string
textExtractionDisabled: false
textExtractionEnabled: false
title: string
updater: string
Document Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Document resource accepts the following input properties:
- Display
Name string - Display name of the document given by the user. This name will be displayed in the UI. Customer can populate this field with the name of the document. This differs from the 'title' field as 'title' is optional and stores the top heading in the document.
- Cloud
Ai Pulumi.Document Google Native. Contentwarehouse. V1. Inputs. Google Cloud Documentai V1Document - Document AI format to save the structured content, including OCR.
- Cloud
Ai Pulumi.Document Option Google Native. Contentwarehouse. V1. Inputs. Google Cloud Contentwarehouse V1Cloud AIDocument Option - 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.
- Content
Category Pulumi.Google Native. Contentwarehouse. V1. Document Content Category - Indicates the category (image, audio, video etc.) of the original content.
- Create
Mask string - 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. - Creator string
- The user who creates the document.
- Display
Uri string - Uri to display the document, for example, in the UI.
- Document
Schema stringName - The Document schema name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
- Inline
Raw stringDocument - Raw document content.
- Location string
- Name string
- The resource name of the document. Format: projects/{project_number}/locations/{location}/documents/{document_id}. The name is ignored when creating a document.
- Plain
Text string - Other document format, such as PPTX, XLXS
- Policy
Pulumi.
Google Native. Contentwarehouse. V1. Inputs. Google Iam V1Policy - 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.
- Project string
- Properties
List<Pulumi.
Google Native. Contentwarehouse. V1. Inputs. Google Cloud Contentwarehouse V1Property> - List of values that are user supplied metadata.
- Raw
Document Pulumi.File Type Google Native. Contentwarehouse. V1. Document Raw Document File Type - This is used when DocAI was not used to load the document and parsing/ extracting is needed for the inline_raw_document. For example, if inline_raw_document is the byte representation of a PDF file, then this should be set to: RAW_DOCUMENT_FILE_TYPE_PDF.
- Raw
Document stringPath - Raw document file in Cloud Storage path.
- Reference
Id string - The reference ID set by customers. Must be unique per project and location.
- Request
Metadata Pulumi.Google Native. Contentwarehouse. V1. Inputs. Google Cloud Contentwarehouse V1Request Metadata - The meta information collected about the end user, used to enforce access control for the service.
- Text
Extraction boolDisabled - If true, text extraction will not be performed.
- Text
Extraction boolEnabled - If true, text extraction will be performed.
- Title string
- Title that describes the document. This can be the top heading or text that describes the document.
- Updater string
- The user who lastly updates the document.
- Display
Name string - Display name of the document given by the user. This name will be displayed in the UI. Customer can populate this field with the name of the document. This differs from the 'title' field as 'title' is optional and stores the top heading in the document.
- Cloud
Ai GoogleDocument Cloud Documentai V1Document Args - Document AI format to save the structured content, including OCR.
- Cloud
Ai GoogleDocument Option Cloud Contentwarehouse V1Cloud AIDocument Option Args - 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.
- Content
Category DocumentContent Category - Indicates the category (image, audio, video etc.) of the original content.
- Create
Mask string - 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. - Creator string
- The user who creates the document.
- Display
Uri string - Uri to display the document, for example, in the UI.
- Document
Schema stringName - The Document schema name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
- Inline
Raw stringDocument - Raw document content.
- Location string
- Name string
- The resource name of the document. Format: projects/{project_number}/locations/{location}/documents/{document_id}. The name is ignored when creating a document.
- Plain
Text string - Other document format, such as PPTX, XLXS
- Policy
Google
Iam V1Policy Args - 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.
- Project string
- Properties
[]Google
Cloud Contentwarehouse V1Property Args - List of values that are user supplied metadata.
- Raw
Document DocumentFile Type Raw Document File Type - This is used when DocAI was not used to load the document and parsing/ extracting is needed for the inline_raw_document. For example, if inline_raw_document is the byte representation of a PDF file, then this should be set to: RAW_DOCUMENT_FILE_TYPE_PDF.
- Raw
Document stringPath - Raw document file in Cloud Storage path.
- Reference
Id string - The reference ID set by customers. Must be unique per project and location.
- Request
Metadata GoogleCloud Contentwarehouse V1Request Metadata Args - The meta information collected about the end user, used to enforce access control for the service.
- Text
Extraction boolDisabled - If true, text extraction will not be performed.
- Text
Extraction boolEnabled - If true, text extraction will be performed.
- Title string
- Title that describes the document. This can be the top heading or text that describes the document.
- Updater string
- The user who lastly updates the document.
- display
Name String - Display name of the document given by the user. This name will be displayed in the UI. Customer can populate this field with the name of the document. This differs from the 'title' field as 'title' is optional and stores the top heading in the document.
- cloud
Ai GoogleDocument Cloud Documentai V1Document - Document AI format to save the structured content, including OCR.
- cloud
Ai GoogleDocument Option Cloud Contentwarehouse V1Cloud AIDocument Option - 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.
- content
Category DocumentContent Category - Indicates the category (image, audio, video etc.) of the original content.
- create
Mask String - 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. - creator String
- The user who creates the document.
- display
Uri String - Uri to display the document, for example, in the UI.
- document
Schema StringName - The Document schema name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
- inline
Raw StringDocument - Raw document content.
- location String
- name String
- The resource name of the document. Format: projects/{project_number}/locations/{location}/documents/{document_id}. The name is ignored when creating a document.
- plain
Text String - Other document format, such as PPTX, XLXS
- policy
Google
Iam V1Policy - 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.
- project String
- properties
List<Google
Cloud Contentwarehouse V1Property> - List of values that are user supplied metadata.
- raw
Document DocumentFile Type Raw Document File Type - This is used when DocAI was not used to load the document and parsing/ extracting is needed for the inline_raw_document. For example, if inline_raw_document is the byte representation of a PDF file, then this should be set to: RAW_DOCUMENT_FILE_TYPE_PDF.
- raw
Document StringPath - Raw document file in Cloud Storage path.
- reference
Id String - The reference ID set by customers. Must be unique per project and location.
- request
Metadata GoogleCloud Contentwarehouse V1Request Metadata - The meta information collected about the end user, used to enforce access control for the service.
- text
Extraction BooleanDisabled - If true, text extraction will not be performed.
- text
Extraction BooleanEnabled - If true, text extraction will be performed.
- title String
- Title that describes the document. This can be the top heading or text that describes the document.
- updater String
- The user who lastly updates the document.
- display
Name string - Display name of the document given by the user. This name will be displayed in the UI. Customer can populate this field with the name of the document. This differs from the 'title' field as 'title' is optional and stores the top heading in the document.
- cloud
Ai GoogleDocument Cloud Documentai V1Document - Document AI format to save the structured content, including OCR.
- cloud
Ai GoogleDocument Option Cloud Contentwarehouse V1Cloud AIDocument Option - 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.
- content
Category DocumentContent Category - Indicates the category (image, audio, video etc.) of the original content.
- create
Mask string - 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. - creator string
- The user who creates the document.
- display
Uri string - Uri to display the document, for example, in the UI.
- document
Schema stringName - The Document schema name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
- inline
Raw stringDocument - Raw document content.
- location string
- name string
- The resource name of the document. Format: projects/{project_number}/locations/{location}/documents/{document_id}. The name is ignored when creating a document.
- plain
Text string - Other document format, such as PPTX, XLXS
- policy
Google
Iam V1Policy - 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.
- project string
- properties
Google
Cloud Contentwarehouse V1Property[] - List of values that are user supplied metadata.
- raw
Document DocumentFile Type Raw Document File Type - This is used when DocAI was not used to load the document and parsing/ extracting is needed for the inline_raw_document. For example, if inline_raw_document is the byte representation of a PDF file, then this should be set to: RAW_DOCUMENT_FILE_TYPE_PDF.
- raw
Document stringPath - Raw document file in Cloud Storage path.
- reference
Id string - The reference ID set by customers. Must be unique per project and location.
- request
Metadata GoogleCloud Contentwarehouse V1Request Metadata - The meta information collected about the end user, used to enforce access control for the service.
- text
Extraction booleanDisabled - If true, text extraction will not be performed.
- text
Extraction booleanEnabled - If true, text extraction will be performed.
- title string
- Title that describes the document. This can be the top heading or text that describes the document.
- updater string
- The user who lastly updates the document.
- display_
name str - Display name of the document given by the user. This name will be displayed in the UI. Customer can populate this field with the name of the document. This differs from the 'title' field as 'title' is optional and stores the top heading in the document.
- cloud_
ai_ Googledocument Cloud Documentai V1Document Args - Document AI format to save the structured content, including OCR.
- cloud_
ai_ Googledocument_ option Cloud Contentwarehouse V1Cloud AIDocument Option Args - 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.
- content_
category DocumentContent Category - Indicates the category (image, audio, video etc.) of the original content.
- create_
mask str - 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. - creator str
- The user who creates the document.
- display_
uri str - Uri to display the document, for example, in the UI.
- document_
schema_ strname - The Document schema name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
- inline_
raw_ strdocument - Raw document content.
- location str
- name str
- The resource name of the document. Format: projects/{project_number}/locations/{location}/documents/{document_id}. The name is ignored when creating a document.
- plain_
text str - Other document format, such as PPTX, XLXS
- policy
Google
Iam V1Policy Args - 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.
- project str
- properties
Sequence[Google
Cloud Contentwarehouse V1Property Args] - List of values that are user supplied metadata.
- raw_
document_ Documentfile_ type Raw Document File Type - This is used when DocAI was not used to load the document and parsing/ extracting is needed for the inline_raw_document. For example, if inline_raw_document is the byte representation of a PDF file, then this should be set to: RAW_DOCUMENT_FILE_TYPE_PDF.
- raw_
document_ strpath - Raw document file in Cloud Storage path.
- reference_
id str - The reference ID set by customers. Must be unique per project and location.
- request_
metadata GoogleCloud Contentwarehouse V1Request Metadata Args - The meta information collected about the end user, used to enforce access control for the service.
- text_
extraction_ booldisabled - If true, text extraction will not be performed.
- text_
extraction_ boolenabled - If true, text extraction will be performed.
- title str
- Title that describes the document. This can be the top heading or text that describes the document.
- updater str
- The user who lastly updates the document.
- display
Name String - Display name of the document given by the user. This name will be displayed in the UI. Customer can populate this field with the name of the document. This differs from the 'title' field as 'title' is optional and stores the top heading in the document.
- cloud
Ai Property MapDocument - Document AI format to save the structured content, including OCR.
- cloud
Ai Property MapDocument Option - 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.
- content
Category "CONTENT_CATEGORY_UNSPECIFIED" | "CONTENT_CATEGORY_IMAGE" | "CONTENT_CATEGORY_AUDIO" | "CONTENT_CATEGORY_VIDEO" - Indicates the category (image, audio, video etc.) of the original content.
- create
Mask String - 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. - creator String
- The user who creates the document.
- display
Uri String - Uri to display the document, for example, in the UI.
- document
Schema StringName - The Document schema name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
- inline
Raw StringDocument - Raw document content.
- location String
- name String
- The resource name of the document. Format: projects/{project_number}/locations/{location}/documents/{document_id}. The name is ignored when creating a document.
- plain
Text String - Other document format, such as PPTX, XLXS
- policy Property Map
- 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.
- project String
- properties List<Property Map>
- List of values that are user supplied metadata.
- raw
Document "RAW_DOCUMENT_FILE_TYPE_UNSPECIFIED" | "RAW_DOCUMENT_FILE_TYPE_PDF" | "RAW_DOCUMENT_FILE_TYPE_DOCX" | "RAW_DOCUMENT_FILE_TYPE_XLSX" | "RAW_DOCUMENT_FILE_TYPE_PPTX" | "RAW_DOCUMENT_FILE_TYPE_TEXT" | "RAW_DOCUMENT_FILE_TYPE_TIFF"File Type - This is used when DocAI was not used to load the document and parsing/ extracting is needed for the inline_raw_document. For example, if inline_raw_document is the byte representation of a PDF file, then this should be set to: RAW_DOCUMENT_FILE_TYPE_PDF.
- raw
Document StringPath - Raw document file in Cloud Storage path.
- reference
Id String - The reference ID set by customers. Must be unique per project and location.
- request
Metadata Property Map - The meta information collected about the end user, used to enforce access control for the service.
- text
Extraction BooleanDisabled - If true, text extraction will not be performed.
- text
Extraction BooleanEnabled - If true, text extraction will be performed.
- title String
- Title that describes the document. This can be the top heading or text that describes the document.
- updater String
- The user who lastly updates the document.
Outputs
All input properties are implicitly available as output properties. Additionally, the Document resource produces the following output properties:
- Create
Time string - The time when the document is created.
- Disposition
Time string - If linked to a Collection with RetentionPolicy, the date when the document becomes mutable.
- Id string
- The provider-assigned unique ID for this managed resource.
- Legal
Hold bool - Indicates if the document has a legal hold on it.
- Update
Time string - The time when the document is last updated.
- Create
Time string - The time when the document is created.
- Disposition
Time string - If linked to a Collection with RetentionPolicy, the date when the document becomes mutable.
- Id string
- The provider-assigned unique ID for this managed resource.
- Legal
Hold bool - Indicates if the document has a legal hold on it.
- Update
Time string - The time when the document is last updated.
- create
Time String - The time when the document is created.
- disposition
Time String - If linked to a Collection with RetentionPolicy, the date when the document becomes mutable.
- id String
- The provider-assigned unique ID for this managed resource.
- legal
Hold Boolean - Indicates if the document has a legal hold on it.
- update
Time String - The time when the document is last updated.
- create
Time string - The time when the document is created.
- disposition
Time string - If linked to a Collection with RetentionPolicy, the date when the document becomes mutable.
- id string
- The provider-assigned unique ID for this managed resource.
- legal
Hold boolean - Indicates if the document has a legal hold on it.
- update
Time string - The time when the document is last updated.
- create_
time str - The time when the document is created.
- disposition_
time str - If linked to a Collection with RetentionPolicy, the date when the document becomes mutable.
- id str
- The provider-assigned unique ID for this managed resource.
- legal_
hold bool - Indicates if the document has a legal hold on it.
- update_
time str - The time when the document is last updated.
- create
Time String - The time when the document is created.
- disposition
Time String - If linked to a Collection with RetentionPolicy, the date when the document becomes mutable.
- id String
- The provider-assigned unique ID for this managed resource.
- legal
Hold Boolean - Indicates if the document has a legal hold on it.