Google Cloud Translation v3 API - Class FileInputSource (3.4.0)

public sealed class FileInputSource : IMessage<FileInputSource>, IEquatable<FileInputSource>, IDeepCloneable<FileInputSource>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Translation v3 API class FileInputSource.

An inlined file.

Inheritance

object > FileInputSource

Namespace

Google.Cloud.Translate.V3

Assembly

Google.Cloud.Translate.V3.dll

Constructors

FileInputSource()

public FileInputSource()

FileInputSource(FileInputSource)

public FileInputSource(FileInputSource other)
Parameter
NameDescription
otherFileInputSource

Properties

Content

public ByteString Content { get; set; }

Required. The file's byte contents.

Property Value
TypeDescription
ByteString

DisplayName

public string DisplayName { get; set; }

Required. The file's display name.

Property Value
TypeDescription
string

MimeType

public string MimeType { get; set; }

Required. The file's mime type.

Property Value
TypeDescription
string