GetInstanceResult class
Result data returned by getInstance.
Constructors
-
GetInstanceResult({required String createTime, required String description, required String etag, required String kmsKeyName, required Map<
String, String> labels, required String name, required List<NetworkConfigResponse> networks, required bool satisfiesPzs, required String state, required String statusMessage, required List<String> suspensionReasons, required String tier}) -
Creates a new GetInstanceResult.
createTimeThe time when the instance was created.descriptionThe description of the instance (2048 characters or less).etagServer-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.fileSharesFile system shares on the instance. For this version, only a single file share is supported.kmsKeyNameKMS key name used for data encryption.labelsResource labels to represent user provided metadata.nameThe resource name of the instance, in the formatprojects/{project}/locations/{location}/instances/{instance}.networksVPC networks to which the instance is connected. For this version, only a single network is supported.satisfiesPzsReserved for future use.stateThe instance state.statusMessageAdditional information about the instance state, if available.suspensionReasonsField indicates all the reasons the instance is in "SUSPENDED" state.tierThe service tier of the instance.const -
GetInstanceResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- createTime → String
-
The time when the instance was created.
final
- description → String
-
The description of the instance (2048 characters or less).
final
- etag → String
-
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
final
-
File system shares on the instance. For this version, only a single file share is supported.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kmsKeyName → String
-
KMS key name used for data encryption.
final
-
labels
→ Map<
String, String> -
Resource labels to represent user provided metadata.
final
- name → String
-
The resource name of the instance, in the format
projects/{project}/locations/{location}/instances/{instance}.final -
networks
→ List<
NetworkConfigResponse> -
VPC networks to which the instance is connected. For this version, only a single network is supported.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- satisfiesPzs → bool
-
Reserved for future use.
final
- state → String
-
The instance state.
final
- statusMessage → String
-
Additional information about the instance state, if available.
final
-
suspensionReasons
→ List<
String> -
Field indicates all the reasons the instance is in "SUSPENDED" state.
final
- tier → String
-
The service tier of the instance.
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