CredentialResponse class
The credential used by Deployment Manager and TypeProvider. Only one of the options is permitted.
Constructors
-
CredentialResponse({required Input<
BasicAuthResponse> basicAuth, required Input<ServiceAccountResponse> serviceAccount, required Input<bool> useProjectDefault}) -
Creates a new CredentialResponse.
basicAuthBasic Auth Credential, only used by TypeProvider.serviceAccountService Account Credential, only used by Deployment.useProjectDefaultSpecify to use the project default credential, only supported by Deployment.const -
CredentialResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
basicAuth
→ Input<
BasicAuthResponse> -
Basic Auth Credential, only used by TypeProvider.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceAccount
→ Input<
ServiceAccountResponse> -
Service Account Credential, only used by Deployment.
final
-
useProjectDefault
→ Input<
bool> -
Specify to use the project default credential, only supported by Deployment.
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