GoogleCloudDiscoveryengineV1betaDocumentContentResponse class
Unstructured data linked to this document.
Constructors
-
GoogleCloudDiscoveryengineV1betaDocumentContentResponse({required Input<
String> mimeType, required Input<String> rawBytes, required Input<String> uri}) -
Creates a new GoogleCloudDiscoveryengineV1betaDocumentContentResponse.
mimeTypeThe MIME type of the content. Supported types: *application/pdf(PDF, only native PDFs are supported for now) *text/html(HTML) *application/vnd.openxmlformats-officedocument.wordprocessingml.document(DOCX) *application/vnd.openxmlformats-officedocument.presentationml.presentation(PPTX) *text/plain(TXT) See https://www.iana.org/assignments/media-types/media-types.xhtml.rawBytesThe content represented as a stream of bytes. The maximum length is 1,000,000 bytes (1 MB / ~0.95 MiB). Note: As with allbytesfields, this field is represented as pure binary in Protocol Buffers and base64-encoded string in JSON. For example,abc123!?$*&()'-=@~should be represented asYWJjMTIzIT8kKiYoKSctPUB+in JSON. See https://developers.google.com/protocol-buffers/docs/proto3#json.uriThe URI of the content. Only Cloud Storage URIs (e.g.gs://bucket-name/path/to/file) are supported. The maximum file size is 100 MB.const -
GoogleCloudDiscoveryengineV1betaDocumentContentResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mimeType
→ Input<
String> -
The MIME type of the content. Supported types: *
application/pdf(PDF, only native PDFs are supported for now) *text/html(HTML) *application/vnd.openxmlformats-officedocument.wordprocessingml.document(DOCX) *application/vnd.openxmlformats-officedocument.presentationml.presentation(PPTX) *text/plain(TXT) See https://www.iana.org/assignments/media-types/media-types.xhtml.final -
rawBytes
→ Input<
String> -
The content represented as a stream of bytes. The maximum length is 1,000,000 bytes (1 MB / ~0.95 MiB). Note: As with all
bytesfields, this field is represented as pure binary in Protocol Buffers and base64-encoded string in JSON. For example,abc123!?$*&()'-=@~should be represented asYWJjMTIzIT8kKiYoKSctPUB+in JSON. See https://developers.google.com/protocol-buffers/docs/proto3#json.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uri
→ Input<
String> -
The URI of the content. Only Cloud Storage URIs (e.g.
gs://bucket-name/path/to/file) are supported. The maximum file size is 100 MB.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