Table of Contents

Class AuthConfigOauthConfig

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Config for user oauth.

public class AuthConfigOauthConfig
Inheritance
AuthConfigOauthConfig
Inherited Members
Extension Methods

Properties

AccessToken

Access token for extension endpoint. Only used to propagate token from runtime_auth_config at request time.

[JsonPropertyName("accessToken")]
public string? AccessToken { get; set; }

Property Value

string

ServiceAccount

The service account used to generate access tokens for executing the Extension. If the service account is specified, the iam.serviceAccounts.getAccessToken permission should be granted to Vertex AI Extension Service Agent on the provided service account.

[JsonPropertyName("serviceAccount")]
public string? ServiceAccount { get; set; }

Property Value

string