Data Analytics API with Gemini v1beta API - Class FilePart (1.0.0-beta12)

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

Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class FilePart.

FilePart represents the different ways files can be provided.

Inheritance

object > FilePart

Namespace

Google.Cloud.GeminiDataAnalytics.V1Beta

Assembly

Google.Cloud.GeminiDataAnalytics.V1Beta.dll

Constructors

FilePart()

public FilePart()

FilePart(FilePart)

public FilePart(FilePart other)
Parameter
Name Description
other FilePart

Properties

FileCase

public FilePart.FileOneofCase FileCase { get; }
Property Value
Type Description
FilePartFileOneofCase

FileWithBytes

public ByteString FileWithBytes { get; set; }

The raw bytes of the file.

Property Value
Type Description
ByteString

FileWithUri

public string FileWithUri { get; set; }

The URI pointing to the file.

Property Value
Type Description
string

HasFileWithBytes

public bool HasFileWithBytes { get; }

Gets whether the "file_with_bytes" field is set

Property Value
Type Description
bool

HasFileWithUri

public bool HasFileWithUri { get; }

Gets whether the "file_with_uri" field is set

Property Value
Type Description
bool

MimeType

public string MimeType { get; set; }

Optional. The MIME type of the file.

Property Value
Type Description
string

Name

public string Name { get; set; }

Optional. The name of the file.

Property Value
Type Description
string