Class: Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk::ImageChunkField

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1beta3/document.rb

Overview

The image chunk field in the chunk.

Instance Attribute Summary collapse

Instance Attribute Details

#annotations::Google::Cloud::DocumentAI::V1beta3::Document::Annotations

Returns Annotation of the image chunk field.

Returns:



1365
1366
1367
1368
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1365

class ImageChunkField
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#blob_asset_id::String

Returns Optional. Asset id of the inline image. If set, find the image content in the blob_assets field.

Note: The following fields are mutually exclusive: blob_asset_id, gcs_uri, data_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    Optional. Asset id of the inline image. If set, find the image content in the blob_assets field.

    Note: The following fields are mutually exclusive: blob_asset_id, gcs_uri, data_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.



1365
1366
1367
1368
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1365

class ImageChunkField
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#data_uri::String

Returns 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:[][;base64],

Note: The following fields are mutually exclusive: data_uri, blob_asset_id, gcs_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    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:[][;base64],

    Note: The following fields are mutually exclusive: data_uri, blob_asset_id, gcs_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.



1365
1366
1367
1368
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1365

class ImageChunkField
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gcs_uri::String

Returns Optional. Google Cloud Storage uri of the image.

Note: The following fields are mutually exclusive: gcs_uri, blob_asset_id, data_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    Optional. Google Cloud Storage uri of the image.

    Note: The following fields are mutually exclusive: gcs_uri, blob_asset_id, data_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.



1365
1366
1367
1368
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1365

class ImageChunkField
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end