Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentOutputConfig

Inherits:
Object
  • Object
show all
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

Config that controls the output of documents. All documents will be written as a JSON file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentOutputConfig

Returns a new instance of GoogleCloudDocumentaiV1DocumentOutputConfig.



2559
2560
2561
# File 'lib/google/apis/documentai_v1/classes.rb', line 2559

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gcs_output_configGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig

The configuration used when outputting documents. Corresponds to the JSON property gcsOutputConfig



2557
2558
2559
# File 'lib/google/apis/documentai_v1/classes.rb', line 2557

def gcs_output_config
  @gcs_output_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2564
2565
2566
# File 'lib/google/apis/documentai_v1/classes.rb', line 2564

def update!(**args)
  @gcs_output_config = args[:gcs_output_config] if args.key?(:gcs_output_config)
end