Show / Hide Table of Contents

Class DocumentInputConfig

A document translation request input config.

Inheritance
System.Object
DocumentInputConfig
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Translate.v3.Data
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class DocumentInputConfig : IDirectResponseSchema

Properties

Content

Document's content represented as a stream of bytes.

Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

GcsSource

Google Cloud Storage location. This must be a single file. For example: gs://example_bucket/example_file.pdf

Declaration
[JsonProperty("gcsSource")]
public virtual GcsSource GcsSource { get; set; }
Property Value
Type Description
GcsSource

MimeType

Specifies the input document's mime_type. If not specified it will be determined using the file extension for gcs_source provided files. For a file provided through bytes content the mime_type must be provided. Currently supported mime types are: - application/pdf - application/vnd.openxmlformats-officedocument.wordprocessingml.document - application/vnd.openxmlformats-officedocument.presentationml.presentation - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX