GetStoragePoolResult constructor

const GetStoragePoolResult({
  1. required String capacityProvisioningType,
  2. required String creationTimestamp,
  3. required String description,
  4. required String kind,
  5. required String labelFingerprint,
  6. required Map<String, String> labels,
  7. required String name,
  8. required String performanceProvisioningType,
  9. required String provisionedIops,
  10. required String provisionedThroughput,
  11. required StoragePoolResourceStatusResponse resourceStatus,
  12. required String selfLink,
  13. required String selfLinkWithId,
  14. required String sizeGb,
  15. required String state,
  16. required StoragePoolResourceStatusResponse status,
  17. required String storagePoolType,
  18. required String zone,
})

Creates a new GetStoragePoolResult. capacityProvisioningType Provisioning type of the byte capacity of the pool. creationTimestamp Creation timestamp in RFC3339 text format. description An optional description of this resource. Provide this property when you create the resource. kind Type of the resource. Always compute#storagePool for storage pools. labelFingerprint 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. labels Labels to apply to this storage pool. These can be later modified by the setLabels method. name 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. performanceProvisioningType Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. provisionedIops Provsioned IOPS of the storage pool. provisionedThroughput Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput. resourceStatus Status information for the storage pool resource. selfLink Server-defined fully-qualified URL for this resource. selfLinkWithId Server-defined URL for this resource's resource id. sizeGb Size, in GiB, of the storage pool. state 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. status Status information for the storage pool resource. storagePoolType Type of the storage pool. zone 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.

Implementation

const GetStoragePoolResult({
  required this.capacityProvisioningType,
  required this.creationTimestamp,
  required this.description,
  required this.kind,
  required this.labelFingerprint,
  required this.labels,
  required this.name,
  required this.performanceProvisioningType,
  required this.provisionedIops,
  required this.provisionedThroughput,
  required this.resourceStatus,
  required this.selfLink,
  required this.selfLinkWithId,
  required this.sizeGb,
  required this.state,
  required this.status,
  required this.storagePoolType,
  required this.zone,
});