Table of Contents

Class ApiKeyConfig

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Config for authentication with API key.

public class ApiKeyConfig
Inheritance
ApiKeyConfig
Inherited Members
Extension Methods

Properties

ApiKeyString

The API key to be used in the request directly.

[JsonPropertyName("apiKeyString")]
public string? ApiKeyString { get; set; }

Property Value

string