Credential class
The credential used by Deployment Manager and TypeProvider. Only one of the options is permitted.
Constructors
-
Credential({Input<
BasicAuth> ? basicAuth, Input<ServiceAccount> ? serviceAccount, Input<bool> ? useProjectDefault}) -
Creates a new Credential.
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 -
Credential.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
basicAuth
→ Input<
BasicAuth> ? -
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<
ServiceAccount> ? -
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