  def GetDiskTypes(self, disk_type: str,
                   zone: Optional[str] = None) -> Dict[str, Any]:
    """Get selected diskTypes API object in specified zone/project.

    Args:
      disk_type: Name of the disk type.
      zone: Compute zone to get available disk types.

    Returns:
      The selected diskTypes API resource:
      https://cloud.google.com/compute/docs/reference/rest/v1/diskTypes#resource  # pylint: disable=line-too-long

    Raises:
      HttpError if getting diskType object for the given disk-type name fails.
    """

    compute_zone = zone if zone else self.default_zone
    disk_types_client = self.GceApi().diskTypes() # pylint: disable=no-member
    params = {
        'project': self.project_id, 'zone': compute_zone, 'diskType': disk_type
    }
    # Safe to unpack, response is not paged.
    return common.ExecuteRequest(disk_types_client, 'get', params)[0]
Get selected diskTypes API object in specified zone/project.

Args:
disk_type: Name of the disk type.
zone: Compute zone to get available disk types.

Returns:
The selected diskTypes API resource:
https://cloud.google.com/compute/docs/reference/rest/v1/diskTypes#resource  # pylint: disable=line-too-long

Raises:
HttpError if getting diskType object for the given disk-type name fails.
libcloudforensics/providers/gcp/internal/compute.py