Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsDocument
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsDocument
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb
Overview
Specifies a document stored on Cloud Storage.
Instance Attribute Summary collapse
-
#gcs_uri ⇒ String
The Cloud Storage object uri.
-
#mime_type ⇒ String
An IANA MIME type (RFC6838) of the content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1GcsDocument
constructor
A new instance of GoogleCloudDocumentaiV1GcsDocument.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1GcsDocument
Returns a new instance of GoogleCloudDocumentaiV1GcsDocument.
2926 2927 2928 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2926 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_uri ⇒ String
The Cloud Storage object uri.
Corresponds to the JSON property gcsUri
2919 2920 2921 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2919 def gcs_uri @gcs_uri end |
#mime_type ⇒ String
An IANA MIME type (RFC6838) of the content.
Corresponds to the JSON property mimeType
2924 2925 2926 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2924 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2931 2932 2933 2934 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2931 def update!(**args) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) @mime_type = args[:mime_type] if args.key?(:mime_type) end |