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.
Implements
IMessageFileInputSource, IEquatableFileInputSource, IDeepCloneableFileInputSource, IBufferMessage, IMessageNamespace
Google.Cloud.Translate.V3Assembly
Google.Cloud.Translate.V3.dll
Constructors
FileInputSource()
public FileInputSource()
FileInputSource(FileInputSource)
public FileInputSource(FileInputSource other)
Parameter | |
---|---|
Name | Description |
other | FileInputSource |
Properties
Content
public ByteString Content { get; set; }
Required. The file's byte contents.
Property Value | |
---|---|
Type | Description |
ByteString |
DisplayName
public string DisplayName { get; set; }
Required. The file's display name.
Property Value | |
---|---|
Type | Description |
string |
MimeType
public string MimeType { get; set; }
Required. The file's mime type.
Property Value | |
---|---|
Type | Description |
string |