ToolsetMcpToolsetApiAuthenticationApiKeyConfig class
Constructors
-
ToolsetMcpToolsetApiAuthenticationApiKeyConfig({required Input<
String> apiKeySecretVersion, required Input<String> keyName, required Input<String> requestLocation}) -
Creates a new ToolsetMcpToolsetApiAuthenticationApiKeyConfig.
apiKeySecretVersionThe name of the SecretManager secret version resource storing the API key.keyNameThe parameter name or the header name of the API key.requestLocationKey location in the request. For API key auth on MCP toolsets,const -
ToolsetMcpToolsetApiAuthenticationApiKeyConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
apiKeySecretVersion
→ Input<
String> -
The name of the SecretManager secret version resource storing the API key.
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
-
keyName
→ Input<
String> -
The parameter name or the header name of the API key.
E.g., If the API request is "https://example.com/act?X-Api-Key=", "X-Api-Key" would be the parameter name.
final
-
requestLocation
→ Input<
String> -
Key location in the request. For API key auth on MCP toolsets,
the API key can only be sent in the request header.
Possible values:
HEADER
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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