Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig

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

The message for input config in batch process.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig

Returns a new instance of GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig.



2363
2364
2365
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2363

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

Instance Attribute Details

#gcs_sourceString

The Cloud Storage location as the source of the document. Corresponds to the JSON property gcsSource

Returns:

  • (String)


2352
2353
2354
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2352

def gcs_source
  @gcs_source
end

#mime_typeString

An IANA published media type (MIME type) of the input. If the input is a raw document, refer to supported file types for the list of media types. If the input is a Document, the type should be application/json. Corresponds to the JSON property mimeType

Returns:

  • (String)


2361
2362
2363
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2361

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2368
2369
2370
2371
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2368

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