public sealed class Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock : IMessage<Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock>, IEquatable<Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock>, IDeepCloneable<Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Document AI v1beta3 API class Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock.
Represents an image type block.
Implements
IMessageDocumentTypesDocumentLayoutTypesDocumentLayoutBlockTypesLayoutImageBlock, IEquatableDocumentTypesDocumentLayoutTypesDocumentLayoutBlockTypesLayoutImageBlock, IDeepCloneableDocumentTypesDocumentLayoutTypesDocumentLayoutBlockTypesLayoutImageBlock, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Beta3Assembly
Google.Cloud.DocumentAI.V1Beta3.dll
Constructors
LayoutImageBlock()
public LayoutImageBlock()LayoutImageBlock(LayoutImageBlock)
public LayoutImageBlock(Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock other)| Parameter | |
|---|---|
| Name | Description |
other |
DocumentTypesDocumentLayoutTypesDocumentLayoutBlockTypesLayoutImageBlock |
Properties
Annotations
public Document.Types.Annotations Annotations { get; set; }Annotation of the image block.
| Property Value | |
|---|---|
| Type | Description |
DocumentTypesAnnotations |
|
BlobAssetId
public string BlobAssetId { get; set; }Optional. Asset id of the inline image. If set, find the image content in the blob_assets field.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DataUri
public string DataUri { get; set; }Optional. Data uri of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:[<mediatype>][;base64],<data>
| Property Value | |
|---|---|
| Type | Description |
string |
|
GcsUri
public string GcsUri { get; set; }Optional. Google Cloud Storage uri of the image.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasBlobAssetId
public bool HasBlobAssetId { get; }Gets whether the "blob_asset_id" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasDataUri
public bool HasDataUri { get; }Gets whether the "data_uri" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasGcsUri
public bool HasGcsUri { get; }Gets whether the "gcs_uri" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ImageSourceCase
public Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutImageBlock.ImageSourceOneofCase ImageSourceCase { get; }| Property Value | |
|---|---|
| Type | Description |
DocumentTypesDocumentLayoutTypesDocumentLayoutBlockTypesLayoutImageBlockImageSourceOneofCase |
|
ImageText
public string ImageText { get; set; }Text extracted from the image using OCR or alt text describing the image.
| Property Value | |
|---|---|
| Type | Description |
string |
|
MimeType
public string MimeType { get; set; }Mime type of the image. An IANA published media type (MIME type).
| Property Value | |
|---|---|
| Type | Description |
string |
|