  def GcpClusterLogsQuerySupplement(self) -> str:
    """Returns the lines specifying this workload for GCP k8s_cluster logs.

    Returns:
       str: The specifying query string.
    """
    return (
        'protoPayload.resourceName=~"\\b{workload_id:s}$"\n'
        'protoPayload.methodName:"{workload_type:s}."\n'.format(
            workload_id=self.name,
            workload_type=self.gcp_protopayload_methodname,
        ))
Returns the lines specifying this workload for GCP k8s_cluster logs.

Returns:
str: The specifying query string.
libcloudforensics/providers/kubernetes/base.py