GoogleAICredentialsApiKey Property

Gets the API Key used to authenticate requests to Google AI Generative APIs. The API Key provides an easy way to access public resources or perform authorized operations without requiring OAuth2 tokens.

Definition

Namespace: GenerativeAI
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public string ApiKey { get; }

Property Value

String

See Also