Table of Contents

Class ApiVersions

Namespace
GenerativeAI
Assembly
GenerativeAI.dll

Represents a static class containing string constants for different versions of the API. These versions are to be used across the application for interacting with services or constructing API request URLs where versioning is required.

public static class ApiVersions
Inheritance
ApiVersions
Inherited Members

Fields

v1

Represents the version string "v1", which can be used to specify the first stable version of the API when interacting with services or constructing API request URLs.

public const string v1 = "v1"

Field Value

string

v1Alpha

The alpha version of the API, used by preview features such as ephemeral Live API auth tokens.

public const string v1Alpha = "v1alpha"

Field Value

string

v1Beta

Represents the version string "v1beta", which can be used to specify the beta iteration of the version 1 API when interacting with services or constructing API request URLs.

public const string v1Beta = "v1beta"

Field Value

string

v1Beta1

Represents the version string "v1beta1", which can be used to specify the first beta version of the API's features when interacting with services or constructing API request URLs.

public const string v1Beta1 = "v1beta1"

Field Value

string