GoogleCloudDialogflowV2Document class

A knowledge document to be used by a KnowledgeBase.

For more information, see the knowledge base guide. Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

Constructors

GoogleCloudDialogflowV2Document({String? contentUri, String? displayName, bool? enableAutoReload, List<String>? knowledgeTypes, GoogleCloudDialogflowV2DocumentReloadStatus? latestReloadStatus, Map<String, String>? metadata, String? mimeType, String? name, String? rawContent, String? state})
GoogleCloudDialogflowV2Document.fromJson(Map json_)

Properties

contentUri String?
The URI where the file content is located.
getter/setter pair
displayName String?
The display name of the document.
getter/setter pair
enableAutoReload bool?
If true, we try to automatically reload the document every day (at a time picked by the system).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
knowledgeTypes List<String>?
The knowledge type of document content.
getter/setter pair
latestReloadStatus GoogleCloudDialogflowV2DocumentReloadStatus?
The time and status of the latest reload.
getter/setter pair
metadata Map<String, String>?
Metadata for the document.
getter/setter pair
mimeType String?
The MIME type of this document.
getter/setter pair
name String?
The document resource name.
getter/setter pair
rawContent String?
The raw content of the document.
getter/setter pair
rawContentAsBytes List<int>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
The current state of the document.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited