V2Key class

The representation of a key managed by the API Keys API.

Constructors

V2Key({Map<String, String>? annotations, String? createTime, String? deleteTime, String? displayName, String? etag, String? keyString, String? name, V2Restrictions? restrictions, String? uid, String? updateTime})
V2Key.fromJson(Map json_)

Properties

annotations Map<String, String>?
Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata.
getter/setter pair
createTime String?
A timestamp identifying the time this key was originally created.
getter/setter pair
deleteTime String?
A timestamp when this key was deleted.
getter/setter pair
displayName String?
Human-readable display name of this key that you can modify.
getter/setter pair
etag String?
A checksum computed by the server based on the current value of the Key resource.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keyString String?
An encrypted and signed value held by this key.
getter/setter pair
name String?
The resource name of the key.
getter/setter pair
restrictions V2Restrictions?
Key restrictions.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid String?
Unique id in UUID4 format.
getter/setter pair
updateTime String?
A timestamp identifying the time this key was last updated.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited