class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument

Payload message of raw document content (bytes).

Attributes

content[RW]

Inline document content. Corresponds to the JSON property `content` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

mime_type[RW]

An IANA MIME type (RFC6838) indicating the nature and format of the [content]. Corresponds to the JSON property `mimeType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/documentai_v1/classes.rb, line 2679
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/documentai_v1/classes.rb, line 2684
def update!(**args)
  @content = args[:content] if args.key?(:content)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end