Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::Document::BlobAsset.
Represents a blob asset. It's used to store the content of the inline blob in this document, e.g. image bytes, such that it can be referenced by other fields in the document via asset id.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#asset_id
def asset_id() -> ::String
Returns
- (::String) — Optional. The id of the blob asset.
#asset_id=
def asset_id=(value) -> ::String
Parameter
- value (::String) — Optional. The id of the blob asset.
Returns
- (::String) — Optional. The id of the blob asset.
#content
def content() -> ::String
Returns
- (::String) — Optional. The content of the blob asset, e.g. image bytes.
#content=
def content=(value) -> ::String
Parameter
- value (::String) — Optional. The content of the blob asset, e.g. image bytes.
Returns
- (::String) — Optional. The content of the blob asset, e.g. image bytes.
#mime_type
def mime_type() -> ::String
Returns
- (::String) — The mime type of the blob asset. An IANA published media type (MIME type).
#mime_type=
def mime_type=(value) -> ::String
Parameter
- value (::String) — The mime type of the blob asset. An IANA published media type (MIME type).
Returns
- (::String) — The mime type of the blob asset. An IANA published media type (MIME type).