GetInstanceResult class

Result data returned by getInstance.

Constructors

GetInstanceResult({required String createTime, required String description, required String etag, required List<FileShareConfigResponse> fileShares, 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. createTime The time when the instance was created. description The description of the instance (2048 characters or less). etag Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other. fileShares File system shares on the instance. For this version, only a single file share is supported. kmsKeyName KMS key name used for data encryption. labels Resource labels to represent user provided metadata. name The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance}. networks VPC networks to which the instance is connected. For this version, only a single network is supported. satisfiesPzs Reserved for future use. state The instance state. statusMessage Additional information about the instance state, if available. suspensionReasons Field indicates all the reasons the instance is in "SUSPENDED" state. tier The 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
fileShares → List<FileShareConfigResponse>
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