  def DeleteObject(self, gcs_path: str) -> None:
    """Deletes an object in a Google Cloud Storage bucket.

    Args:
      gcs_path (str): Full path to the object (ie: gs://bucket/dir1/dir2/obj)
    """

    if not gcs_path.startswith('gs://'):
      gcs_path = 'gs://' + gcs_path
    bucket, object_path = SplitStoragePath(gcs_path)
    gcs_objects = self.GcsApi().objects() # pylint: disable=no-member
    request = gcs_objects.delete(bucket=bucket, object=object_path)
    request.execute()
Deletes an object in a Google Cloud Storage bucket.

Args:
gcs_path (str): Full path to the object (ie: gs://bucket/dir1/dir2/obj)
libcloudforensics/providers/gcp/internal/storage.py