ToolsetOpenApiToolsetApiAuthenticationOauthConfig class
Constructors
-
ToolsetOpenApiToolsetApiAuthenticationOauthConfig({required Input<
String> clientId, required Input<String> clientSecretVersion, required Input<String> oauthGrantType, Input<List< ? scopes, required Input<String> ?>String> tokenEndpoint}) -
Creates a new ToolsetOpenApiToolsetApiAuthenticationOauthConfig.
clientIdThe client ID from the OAuth provider.clientSecretVersionThe name of the SecretManager secret version resource storing theoauthGrantTypeOAuth grant types.scopesThe OAuth scopes to grant.tokenEndpointThe 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 grantroles/secretmanager.secretAccessorrole to the CES service agentservice-@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