def _del_sub_prop(self, key): """Remove ``key`` from the ``self._properties[self._job_type]`` dict. Most job properties are inside the dictionary related to the job type (e.g. 'copy', 'extract', 'load', 'query'). Use this method to clear those properties:: self._del_sub_prop('useLegacySql') This is equivalent to using the ``_helper._del_sub_prop`` function:: _helper._del_sub_prop( self._properties, ['query', 'useLegacySql']) Args: key (str): Key to remove in the ``self._properties[self._job_type]`` dictionary. """ _helpers._del_sub_prop(self._properties, [self._job_type, key])
def destination_table_friendly_name(self, value): keys = [self._job_type, "destinationTableProperties", "friendlyName"] if value is not None: _helpers._set_sub_prop(self._properties, keys, value) else: _helpers._del_sub_prop(self._properties, keys)
def destination_table_description(self, value): keys = [self._job_type, "destinationTableProperties", "description"] if value is not None: _helpers._set_sub_prop(self._properties, keys, value) else: _helpers._del_sub_prop(self._properties, keys)
def _call_fut(self, container, keys): from google.cloud.bigquery._helpers import _del_sub_prop return _del_sub_prop(container, keys)
def _call_fut(self, container, keys): from google.cloud.bigquery._helpers import _del_sub_prop return _del_sub_prop(container, keys)