  def GcpContainerLogsQuerySupplement(self) -> str:
    """Override of abstract method."""
    queries = [
        'resource.labels.namespace_name="{namespace:s}"'.format(
            namespace=self.namespace)
    ]
    queries.extend(
        'labels.k8s-pod/{key:s}="{value:s}"'.format(key=key, value=value)
        for key, value in self.MatchLabels().items())
    return '\n'.join(queries)
Override of abstract method.
libcloudforensics/providers/kubernetes/workloads.py