Class GoogleCloudDocumentaiV1beta2InputConfig
The desired input location and metadata.
Implements
Inherited Members
Namespace: Google.Apis.Document.v1beta2.Data
Assembly: Google.Apis.Document.v1beta2.dll
Syntax
public class GoogleCloudDocumentaiV1beta2InputConfig : IDirectResponseSchema
Properties
Contents
Content in bytes, represented as a stream of bytes. Note: As with all bytes
fields, proto buffer messages
use a pure binary representation, whereas JSON representations use base64. This field only works for
synchronous ProcessDocument method.
Declaration
[JsonProperty("contents")]
public virtual string Contents { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GcsSource
The Google Cloud Storage location to read the input from. This must be a single file.
Declaration
[JsonProperty("gcsSource")]
public virtual GoogleCloudDocumentaiV1beta2GcsSource GcsSource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDocumentaiV1beta2GcsSource |
MimeType
Required. Mimetype of the input. Current supported mimetypes are application/pdf, image/tiff, and image/gif. In addition, application/json type is supported for requests with ProcessDocumentRequest.automl_params field set. The JSON file needs to be in Document format.
Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
Type | Description |
---|---|
string |