ToolOpenApiToolApiAuthenticationApiKeyConfig class

Constructors

ToolOpenApiToolApiAuthenticationApiKeyConfig({Input<String?>? apiKeySecretVersion, Input<String?>? keyName, Input<String?>? requestLocation})
Creates a new ToolOpenApiToolApiAuthenticationApiKeyConfig. apiKeySecretVersion (Output) keyName (Output) requestLocation (Output)
const
ToolOpenApiToolApiAuthenticationApiKeyConfig.fromMap(Map<String, dynamic> map)
factory

Properties

apiKeySecretVersion → Input<String?>?
(Output) The name of the SecretManager secret version resource storing the API key. Format: projects/{project}/secrets/{secret}/versions/{version} Note: You should grant roles/secretmanager.secretAccessor role to the CES service agent service-&lt;PROJECT-NUMBER&gt;@gcp-sa-ces.iam.gserviceaccount.com.
final
hashCode → int
The hash code for this object.
no setterinherited
keyName → Input<String?>?
(Output) 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?>?
(Output) Key location in the request. Possible values: HEADER QUERY_STRING
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