GetDocumentResult

data class GetDocumentResult(val jsonData: String, val name: String, val parentDocumentId: String, val schemaId: String, val structData: Map<String, String>)

Constructors

Link copied to clipboard
fun GetDocumentResult(jsonData: String, name: String, parentDocumentId: String, schemaId: String, structData: Map<String, String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The JSON string representation of the document. It should conform to the registered Schema.schema or an INVALID_ARGUMENT error is thrown.

Link copied to clipboard

Immutable. The full resource name of the document. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.

Link copied to clipboard

The identifier of the parent document. Currently supports at most two level document hierarchy. Id should conform to RFC-1034 standard with a length limit of 63 characters.

Link copied to clipboard

The identifier of the schema located in the same data store.

Link copied to clipboard

The structured JSON data for the document. It should conform to the registered Schema.schema or an INVALID_ARGUMENT error is thrown.