Table of Contents

Struct PartMediaResolutionLevel

Namespace
Google.GenAI.Types
Assembly
Google.GenAI.dll

The tokenization quality used for given media.

[JsonConverter(typeof(PartMediaResolutionLevelConverter))]
public readonly record struct PartMediaResolutionLevel : IEquatable<PartMediaResolutionLevel>
Implements
Inherited Members

Properties

AllValues

public static IReadOnlyList<PartMediaResolutionLevel> AllValues { get; }

Property Value

IReadOnlyList<PartMediaResolutionLevel>

MediaResolutionHigh

Media resolution set to high.

public static PartMediaResolutionLevel MediaResolutionHigh { get; }

Property Value

PartMediaResolutionLevel

MediaResolutionLow

Media resolution set to low.

public static PartMediaResolutionLevel MediaResolutionLow { get; }

Property Value

PartMediaResolutionLevel

MediaResolutionMedium

Media resolution set to medium.

public static PartMediaResolutionLevel MediaResolutionMedium { get; }

Property Value

PartMediaResolutionLevel

MediaResolutionUltraHigh

Media resolution set to ultra high.

public static PartMediaResolutionLevel MediaResolutionUltraHigh { get; }

Property Value

PartMediaResolutionLevel

MediaResolutionUnspecified

Media resolution has not been set.

public static PartMediaResolutionLevel MediaResolutionUnspecified { get; }

Property Value

PartMediaResolutionLevel

Value

public string Value { get; }

Property Value

string

Methods

Equals(PartMediaResolutionLevel)

public bool Equals(PartMediaResolutionLevel other)

Parameters

other PartMediaResolutionLevel

Returns

bool

FromString(string)

public static PartMediaResolutionLevel FromString(string value)

Parameters

value string

Returns

PartMediaResolutionLevel

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

implicit operator PartMediaResolutionLevel(string)

public static implicit operator PartMediaResolutionLevel(string value)

Parameters

value string

Returns

PartMediaResolutionLevel