class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsDocument
Specifies a document stored on Cloud Storage.
Attributes
gcs_uri[RW]
The Cloud Storage object uri. Corresponds to the JSON property `gcsUri` @return [String]
mime_type[RW]
An IANA MIME type (RFC6838) 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 2491 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 2496 def update!(**args) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) @mime_type = args[:mime_type] if args.key?(:mime_type) end