ToolsetOpenApiToolsetApiAuthenticationOauthConfig class

Constructors

ToolsetOpenApiToolsetApiAuthenticationOauthConfig({required Input<String> clientId, required Input<String> clientSecretVersion, required Input<String> oauthGrantType, Input<List<String>?>? scopes, required Input<String> tokenEndpoint})
Creates a new ToolsetOpenApiToolsetApiAuthenticationOauthConfig. clientId The client ID from the OAuth provider. clientSecretVersion The name of the SecretManager secret version resource storing the oauthGrantType OAuth grant types. scopes The OAuth scopes to grant. tokenEndpoint The token endpoint in the OAuth provider to exchange for an access token.
const
ToolsetOpenApiToolsetApiAuthenticationOauthConfig.fromMap(Map<String, dynamic> map)
factory

Properties

clientId → Input<String>
The client ID from the OAuth provider.
final
clientSecretVersion → Input<String>
The name of the SecretManager secret version resource storing the client secret. Format: projects/{project}/secrets/{secret}/versions/{version} Note: You should grant roles/secretmanager.secretAccessor role to the CES service agent service-@gcp-sa-ces.iam.gserviceaccount.com.
final
hashCode → int
The hash code for this object.
no setterinherited
oauthGrantType → Input<String>
OAuth grant types. Possible values: CLIENT_CREDENTIAL
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopes → Input<List<String>?>?
The OAuth scopes to grant.
final
tokenEndpoint → Input<String>
The token endpoint in the OAuth provider to exchange for an access token.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited