Document class
Creates a document.
Constructors
- Document(String name, {DocumentArgs? args, CustomResourceOptions? options})
-
Creates a new Document.
nameThe Pulumi resource name.argsArguments used to configure this Document. The set of arguments for Document.optionsResource options controlling this resource's behavior.
Properties
-
childResources
→ Set<
Resource> -
finalinherited
-
cloudAiDocument
↔ Output<
GoogleCloudDocumentaiV1DocumentResponse> -
Document AI format to save the structured content, including OCR.
latefinal
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
contentCategory
↔ Output<
String> -
Indicates the category (image, audio, video etc.) of the original content.
latefinal
-
createTime
↔ Output<
String> -
The time when the document is created.
latefinal
-
creator
↔ Output<
String> -
The user who creates the document.
latefinal
-
displayName
↔ Output<
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.
latefinal
-
displayUri
↔ Output<
String> -
Uri to display the document, for example, in the UI.
latefinal
-
dispositionTime
↔ Output<
String> -
If linked to a Collection with RetentionPolicy, the date when the document becomes mutable.
latefinal
-
documentSchemaName
↔ Output<
String> -
The Document schema name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
-
inlineRawDocument
↔ Output<
String> -
Raw document content.
latefinal
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
legalHold
↔ Output<
bool> -
Indicates if the document has a legal hold on it.
latefinal
-
location
↔ Output<
String> -
latefinal
-
name
↔ Output<
String> -
The resource name of the document. Format: projects/{project_number}/locations/{location}/documents/{document_id}. The name is ignored when creating a document.
latefinal
-
plainText
↔ Output<
String> -
Other document format, such as PPTX, XLXS
latefinal
-
project
↔ Output<
String> -
latefinal
-
properties
↔ Output<
List< Map< >String, dynamic> > -
List of values that are user supplied metadata.
latefinal
-
rawDocumentFileType
↔ Output<
String> -
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.
latefinal
-
rawDocumentPath
↔ Output<
String> -
Raw document file in Cloud Storage path.
latefinal
-
referenceId
↔ Output<
String> -
The reference ID set by customers. Must be unique per project and location.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
textExtractionDisabled
↔ Output<
bool> -
If true, text extraction will not be performed.
latefinal
-
textExtractionEnabled
↔ Output<
bool> -
If true, text extraction will be performed.
latefinal
-
title
↔ Output<
String> -
Title that describes the document. This can be the top heading or text that describes the document.
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
updater
↔ Output<
String> -
The user who lastly updates the document.
latefinal
-
updateTime
↔ Output<
String> -
The time when the document is last updated.
latefinal
-
urn
↔ Output<
String> -
latefinalinherited
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited