Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocument
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocument
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/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) ⇒ GoogleCloudDocumentaiV1beta3GcsDocument
constructor
A new instance of GoogleCloudDocumentaiV1beta3GcsDocument.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3GcsDocument
Returns a new instance of GoogleCloudDocumentaiV1beta3GcsDocument.
10932 10933 10934 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10932 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_uri ⇒ String
The Cloud Storage object uri.
Corresponds to the JSON property gcsUri
10925 10926 10927 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10925 def gcs_uri @gcs_uri end |
#mime_type ⇒ String
An IANA MIME type (RFC6838) of the content.
Corresponds to the JSON property mimeType
10930 10931 10932 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10930 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10937 10938 10939 10940 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10937 def update!(**args) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) @mime_type = args[:mime_type] if args.key?(:mime_type) end |