GetKeyResult class
Result data returned by getKey.
Constructors
- GetKeyResult({required bool disabled, required String keyAlgorithm, required String keyOrigin, required String keyType, required String name, required String privateKeyData, required String privateKeyType, required String publicKeyData, required String validAfterTime, required String validBeforeTime})
-
Creates a new GetKeyResult.
disabledThe key status.keyAlgorithmSpecifies the algorithm (and possibly key size) for the key.keyOriginThe key origin.keyTypeThe key type.nameThe resource name of the service account key in the following formatprojects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}.privateKeyDataThe private key data. Only provided inCreateServiceAccountKeyresponses. Make sure to keep the private key data secure because it allows for the assertion of the service account identity. When base64 decoded, the private key data can be used to authenticate with Google API client libraries and with gcloud auth activate-service-account.privateKeyTypeThe output format for the private key. Only provided inCreateServiceAccountKeyresponses, not inGetServiceAccountKeyorListServiceAccountKeyresponses. Google never exposes system-managed private keys, and never retains user-managed private keys.publicKeyDataThe public key data. Only provided inGetServiceAccountKeyresponses.validAfterTimeThe key can be used after this timestamp.validBeforeTimeThe key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.const -
GetKeyResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- disabled → bool
-
The key status.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyAlgorithm → String
-
Specifies the algorithm (and possibly key size) for the key.
final
- keyOrigin → String
-
The key origin.
final
- keyType → String
-
The key type.
final
- name → String
-
The resource name of the service account key in the following format
projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}.final - privateKeyData → String
-
The private key data. Only provided in
CreateServiceAccountKeyresponses. Make sure to keep the private key data secure because it allows for the assertion of the service account identity. When base64 decoded, the private key data can be used to authenticate with Google API client libraries and with gcloud auth activate-service-account.final - privateKeyType → String
-
The output format for the private key. Only provided in
CreateServiceAccountKeyresponses, not inGetServiceAccountKeyorListServiceAccountKeyresponses. Google never exposes system-managed private keys, and never retains user-managed private keys.final - publicKeyData → String
-
The public key data. Only provided in
GetServiceAccountKeyresponses.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validAfterTime → String
-
The key can be used after this timestamp.
final
- validBeforeTime → String
-
The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.
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