code: def from_api_repr(cls, resource):
          
          config = cls()
          config._properties = copy.deepcopy(resource)
          return config
docs: Factory: construct a job configuration given its API representation
  
          :type resource: dict
          :param resource:
              An extract job configuration in the same representation as is
              returned from the API.
  
          :rtype: :class:`google.cloud.bigquery.job._JobConfig`
          :returns: Configuration parsed from ``resource``.