GetStoragePoolResult class
Result data returned by getStoragePool.
Constructors
-
GetStoragePoolResult({required String capacityProvisioningType, required String creationTimestamp, required String description, required String kind, required String labelFingerprint, required Map<
String, String> labels, required String name, required String performanceProvisioningType, required String provisionedIops, required String provisionedThroughput, required StoragePoolResourceStatusResponse resourceStatus, required String selfLink, required String selfLinkWithId, required String sizeGb, required String state, required StoragePoolResourceStatusResponse status, required String storagePoolType, required String zone}) -
Creates a new GetStoragePoolResult.
capacityProvisioningTypeProvisioning type of the byte capacity of the pool.creationTimestampCreation timestamp in RFC3339 text format.descriptionAn optional description of this resource. Provide this property when you create the resource.kindType of the resource. Always compute#storagePool for storage pools.labelFingerprintA fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.labelsLabels to apply to this storage pool. These can be later modified by the setLabels method.nameName of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression[a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.performanceProvisioningTypeProvisioning type of the performance-related parameters of the pool, such as throughput and IOPS.provisionedIopsProvsioned IOPS of the storage pool.provisionedThroughputProvisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.resourceStatusStatus information for the storage pool resource.selfLinkServer-defined fully-qualified URL for this resource.selfLinkWithIdServer-defined URL for this resource's resource id.sizeGbSize, in GiB, of the storage pool.stateThe status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.statusStatus information for the storage pool resource.storagePoolTypeType of the storage pool.zoneURL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.const -
GetStoragePoolResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- capacityProvisioningType → String
-
Provisioning type of the byte capacity of the pool.
final
- creationTimestamp → String
-
Creation timestamp in RFC3339 text format.
final
- description → String
-
An optional description of this resource. Provide this property when you create the resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
Type of the resource. Always compute#storagePool for storage pools.
final
- labelFingerprint → String
-
A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
final
-
labels
→ Map<
String, String> -
Labels to apply to this storage pool. These can be later modified by the setLabels method.
final
- name → String
-
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.final - performanceProvisioningType → String
-
Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
final
- provisionedIops → String
-
Provsioned IOPS of the storage pool.
final
- provisionedThroughput → String
-
Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
final
- resourceStatus → StoragePoolResourceStatusResponse
-
Status information for the storage pool resource.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selfLink → String
-
Server-defined fully-qualified URL for this resource.
final
- selfLinkWithId → String
-
Server-defined URL for this resource's resource id.
final
- sizeGb → String
-
Size, in GiB, of the storage pool.
final
- state → String
-
The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
final
- status → StoragePoolResourceStatusResponse
-
Status information for the storage pool resource.
final
- storagePoolType → String
-
Type of the storage pool.
final
- zone → String
-
URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
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