  def GetResourceType(self) -> str:
    """Get the resource type from the resource key-value store.

    Returns:
      str: Resource Type which is a string with one of the following values:
          compute#instance
          compute#disk
          compute#Snapshot
    """

    if self._data:
      resource_type = self._data['kind']  # type: str
      return resource_type
    resource_type = self.GetValue('kind')
    return resource_type
Get the resource type from the resource key-value store.

Returns:
str: Resource Type which is a string with one of the following values:
compute#instance
compute#disk
compute#Snapshot
libcloudforensics/providers/gcp/internal/compute_base_resource.py