google/cloud/bigquery/job.py
def to_api_repr(self):
        """Build an API representation of the copy job config.

        :rtype: dict
        :returns: A dictionary in the format used by the BigQuery API.
        """
        resource = copy.deepcopy(self._properties)

        # Query parameters have an addition property associated with them
        # to indicate if the query is using named or positional parameters.
        query_parameters = resource.get(self._QUERY_PARAMETERS_KEY)
        if query_parameters:
            if query_parameters[0].name is None:
                resource['parameterMode'] = 'POSITIONAL'
            else:
                resource['parameterMode'] = 'NAMED'

        for prop, convert in self._NESTED_PROPERTIES.items():
            _, to_resource = convert
            nested_resource = resource.get(prop)
            if nested_resource is not None:
                resource[prop] = to_resource(nested_resource)

        return resource
Build an API representation of the copy job config.

        :rtype: dict
        :returns: A dictionary in the format used by the BigQuery API.
        
Build an API representation of the copy job config.
Build an API representation of the copy job config .
def to_api_repr(self):
        resource = copy.deepcopy(self._properties)
        query_parameters = resource.get(self._QUERY_PARAMETERS_KEY)
        if query_parameters:
            if query_parameters[0].name is None:
                resource['parameterMode'] = 'POSITIONAL'
            else:
                resource['parameterMode'] = 'NAMED'
        for prop, convert in self._NESTED_PROPERTIES.items():
            _, to_resource = convert
            nested_resource = resource.get(prop)
            if nested_resource is not None:
                resource[prop] = to_resource(nested_resource)
        return resource
def to_api_repr ( self ) : resource = copy . deepcopy ( self . _properties ) query_parameters = resource . get ( self . _QUERY_PARAMETERS_KEY ) if query_parameters : if query_parameters [ 0 ] . name is None : resource [ 'parameterMode' ] = 'POSITIONAL' else : resource [ 'parameterMode' ] = 'NAMED' for prop , convert in self . _NESTED_PROPERTIES . items ( ) : _ , to_resource = convert nested_resource = resource . get ( prop ) if nested_resource is not None : resource [ prop ] = to_resource ( nested_resource ) return resource
Build an API representation of the copy job config.
Build an API representation of the copy job config .
"""Build an API representation of the copy job config.

        :rtype: dict
        :returns: A dictionary in the format used by the BigQuery API.
        """ # Query parameters have an addition property associated with them # to indicate if the query is using named or positional parameters.
A dictionary in the format used by the BigQuery API.
A dictionary in the format used by the BigQuery API .
dict
self