def set_labels(self, labels: dict[str, str]) -> AbstractJob:
        """Sets (overwriting) the labels for a previously created quantum job.

        Params:
            labels: The entire set of new job labels.

        Returns:
             This AbstractJob.
        """
        self._labels = copy.copy(labels)
        self._update_time = datetime.datetime.now()
        return self
Sets (overwriting) the labels for a previously created quantum job.

        Params:
            labels: The entire set of new job labels.

        Returns:
             This AbstractJob.
        
cirq-google/cirq_google/engine/abstract_local_job.py