  def ListBucketObjects(self, bucket: str) -> List[Dict[str, Any]]:
    """List objects (with metadata) in a Google Cloud Storage bucket.

    Args:
      bucket (str):  Name of a bucket in GCS.

    Returns:
      List of Object Dicts (see GetObjectMetadata)
    """
    if bucket.startswith('gs://'):
      # Can change to removeprefix() in 3.9
      bucket = bucket[5:]
    gcs_objects = self.GcsApi().objects() # pylint: disable=no-member
    request = gcs_objects.list(bucket=bucket)
    objects: List[Dict[str, Any]] = request.execute().get('items', [])
    return objects
List objects (with metadata) in a Google Cloud Storage bucket.

Args:
bucket (str):  Name of a bucket in GCS.

Returns:
List of Object Dicts (see GetObjectMetadata)
libcloudforensics/providers/gcp/internal/storage.py