google/cloud/bigquery/job.py
def from_api_repr(cls, resource):
        """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.QueryJobConfig`
        :returns: Configuration parsed from ``resource``.
        """
        config = cls()
        config._properties = copy.deepcopy(resource)

        for prop, convert in cls._NESTED_PROPERTIES.items():
            from_resource, _ = convert
            nested_resource = resource.get(prop)
            if nested_resource is not None:
                config._properties[prop] = from_resource(nested_resource)

        return config
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.QueryJobConfig`
        :returns: Configuration parsed from ``resource``.
        
construct a job configuration given its API representation
construct a job configuration given its API representation
def from_api_repr(cls, resource):
        config = cls()
        config._properties = copy.deepcopy(resource)
        for prop, convert in cls._NESTED_PROPERTIES.items():
            from_resource, _ = convert
            nested_resource = resource.get(prop)
            if nested_resource is not None:
                config._properties[prop] = from_resource(nested_resource)
        return config
def from_api_repr ( cls , resource ) : config = cls ( ) config . _properties = copy . deepcopy ( resource ) for prop , convert in cls . _NESTED_PROPERTIES . items ( ) : from_resource , _ = convert nested_resource = resource . get ( prop ) if nested_resource is not None : config . _properties [ prop ] = from_resource ( nested_resource ) return config
Factory: construct a job configuration given its API representation
Factory : construct a job configuration given its API representation
"""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.QueryJobConfig`
        :returns: Configuration parsed from ``resource``.
        """
Configuration parsed from ``resource``.
Configuration parsed from ` ` resource ` ` .
:class:`google.cloud.bigquery.job.QueryJobConfig`
cls
resource
An extract job configuration in the same representation as is
returned from the API.
An extract job configuration in the same representation as is returned from the API .