Table of Contents

Struct ServiceTier

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

Pricing and performance service tier.

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

Properties

AllValues

public static IReadOnlyList<ServiceTier> AllValues { get; }

Property Value

IReadOnlyList<ServiceTier>

Flex

Flex service tier.

public static ServiceTier Flex { get; }

Property Value

ServiceTier

Priority

Priority service tier.

public static ServiceTier Priority { get; }

Property Value

ServiceTier

Standard

Standard service tier.

public static ServiceTier Standard { get; }

Property Value

ServiceTier

Unspecified

Default service tier, which is standard.

public static ServiceTier Unspecified { get; }

Property Value

ServiceTier

Value

public string Value { get; }

Property Value

string

Methods

Equals(ServiceTier)

public bool Equals(ServiceTier other)

Parameters

other ServiceTier

Returns

bool

FromString(string)

public static ServiceTier FromString(string value)

Parameters

value string

Returns

ServiceTier

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

implicit operator ServiceTier(string)

public static implicit operator ServiceTier(string value)

Parameters

value string

Returns

ServiceTier