  def _MakeQuery(self, query_type: str) -> str:
    """Creates a query string filtering for this cluster and the given type.

    Args:
      query_type (str): The query type string (the value for the resource.type
          key).

    Returns:
      str: The query string filtering for this cluster and the given type.
    """
    return (
        'resource.type="{query_type:s}"\n'
        'resource.labels.project_id="{project_id:s}"\n'
        'resource.labels.cluster_name="{cluster_id:s}"\n'
        'resource.labels.location="{location:s}"\n'.format(
            query_type=query_type,
            project_id=self.project_id,
            cluster_id=self.cluster_id,
            location=self.location))
Creates a query string filtering for this cluster and the given type.

Args:
query_type (str): The query type string (the value for the resource.type
key).

Returns:
str: The query string filtering for this cluster and the given type.
libcloudforensics/providers/gcp/internal/gke.py