toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DatastoreStatus.creating:
      return 'CREATING';
    case DatastoreStatus.active:
      return 'ACTIVE';
    case DatastoreStatus.deleting:
      return 'DELETING';
  }
}