GetDocumentDiscoveryengineV1betaResult class
Result data returned by getDocument.
Constructors
-
GetDocumentDiscoveryengineV1betaResult({required GoogleCloudDiscoveryengineV1betaDocumentContentResponse content, required Map<
String, String> derivedStructData, required String jsonData, required String name, required String parentDocumentId, required String schemaId, required Map<String, String> structData}) -
Creates a new GetDocumentDiscoveryengineV1betaResult.
contentThe unstructured data linked to this document. Content must be set if this document is under aCONTENT_REQUIREDdata store.derivedStructDataThis field is OUTPUT_ONLY. It contains derived data that are not in the original input document.jsonDataThe JSON string representation of the document. It should conform to the registered Schema or anINVALID_ARGUMENTerror is thrown.nameImmutable. 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.parentDocumentIdThe 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.schemaIdThe identifier of the schema located in the same data store.structDataThe structured JSON data for the document. It should conform to the registered Schema or anINVALID_ARGUMENTerror is thrown.const -
GetDocumentDiscoveryengineV1betaResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- content → GoogleCloudDiscoveryengineV1betaDocumentContentResponse
-
The unstructured data linked to this document. Content must be set if this document is under a
CONTENT_REQUIREDdata store.final -
derivedStructData
→ Map<
String, String> -
This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonData → String
-
The JSON string representation of the document. It should conform to the registered Schema or an
INVALID_ARGUMENTerror is thrown.final - name → String
-
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.final - parentDocumentId → String
-
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaId → String
-
The identifier of the schema located in the same data store.
final
-
structData
→ Map<
String, String> -
The structured JSON data for the document. It should conform to the registered Schema or an
INVALID_ARGUMENTerror is thrown.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited