  def ContainerLogsQuery(
      self, workload: Optional[base.K8sWorkload] = None) -> str:
    """Returns the GCP k8s_container logs query string for this cluster.

    A workload may optionally be specified, in which case the returned query
    string will be more specific to only cover that workload.

    Args:
      workload (base.K8sWorkload): Optional. A workload to specify in the query
          string.

    Returns:
      str: The k8s_container logs query string.
    """
    query = self._MakeQuery('k8s_container')
    if workload:
      query += workload.GcpContainerLogsQuerySupplement()
    return query.strip()
Returns the GCP k8s_container logs query string for this cluster.

A workload may optionally be specified, in which case the returned query
string will be more specific to only cover that workload.

Args:
workload (base.K8sWorkload): Optional. A workload to specify in the query
string.

Returns:
str: The k8s_container logs query string.
libcloudforensics/providers/gcp/internal/gke.py