Reference documentation and code samples for the Google Cloud Document Ai V1 Client class BlobAsset.
Represents a blob asset. It's used to store the content of the inline blob in this document, for example, image bytes, such that it can be referenced by other fields in the document via asset ID.
Generated from protobuf message google.cloud.documentai.v1.Document.BlobAsset
Namespace
Google \ Cloud \ DocumentAI \ V1 \ DocumentMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ asset_id
string
Optional. The id of the blob asset.
↳ content
string
Optional. The content of the blob asset, for example, image bytes.
↳ mime_type
getAssetId
Optional. The id of the blob asset.
string
setAssetId
Optional. The id of the blob asset.
var
string
$this
getContent
Optional. The content of the blob asset, for example, image bytes.
string
setContent
Optional. The content of the blob asset, for example, image bytes.
var
string
$this
getMimeType
The mime type of the blob asset.
An IANA published media type (MIME type) .
string
setMimeType
The mime type of the blob asset.
An IANA published media type (MIME type) .
var
string
$this

