Instance class Null safety

An Instance represents the instance resources of the Registry.

Currently, only one instance is allowed for each project.


Instance({Config? config, String? createTime, String? name, String? state, String? stateMessage, String? updateTime})
Instance.fromJson(Map json_)


config Config?
Config of the Instance.
read / write
createTime String?
Creation timestamp.
read / write
hashCode int
The hash code for this object.
read-only, inherited
name String?
Format: projects / * /locations / * /instance.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state String?
The current state of the Instance.
read / write
stateMessage String?
Extra information of Instance.State if the state is FAILED.
read / write
updateTime String?
Last update timestamp.
read / write


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


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