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. disabled The key status. keyAlgorithm Specifies the algorithm (and possibly key size) for the key. keyOrigin The key origin. keyType The key type. name The resource name of the service account key in the following format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}. privateKeyData The private key data. Only provided in CreateServiceAccountKey responses. 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. privateKeyType The output format for the private key. Only provided in CreateServiceAccountKey responses, not in GetServiceAccountKey or ListServiceAccountKey responses. Google never exposes system-managed private keys, and never retains user-managed private keys. publicKeyData The public key data. Only provided in GetServiceAccountKey responses. validAfterTime The key can be used after this timestamp. validBeforeTime 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.
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 CreateServiceAccountKey responses. 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 CreateServiceAccountKey responses, not in GetServiceAccountKey or ListServiceAccountKey responses. Google never exposes system-managed private keys, and never retains user-managed private keys.
final
publicKeyData → String
The public key data. Only provided in GetServiceAccountKey responses.
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