def _create_id(self, id_type: str = 'reservation') -> str:
        """Creates a unique resource id for child objects."""
        self._resource_id_counter += 1
        return (
            f'projects/{self._project_name}/'
            f'processors/{self._processor_id}/'
            f'{id_type}/{self._resource_id_counter}'
        )
Creates a unique resource id for child objects.
cirq-google/cirq_google/engine/abstract_local_processor.py