

def export_data_to_uris(self, destination_uris, dataset, table, job=None, compression=None, destination_format=None, print_header=None, field_delimiter=None):
    '\n        Export data from a BigQuery table to cloud storage. Optional arguments\n        that are not specified are determined by BigQuery as described:\n        https://developers.google.com/bigquery/docs/reference/v2/jobs\n\n        Parameters\n        ----------\n        destination_urls : Union[str, list]\n            ``str`` or ``list`` of ``str`` objects representing the URIs on\n            cloud storage of the form: gs://bucket/filename\n        dataset : str\n            String id of the dataset\n        table : str\n            String id of the table\n        job : str, optional\n            String identifying the job (a unique jobid is automatically\n            generated if not provided)\n        compression : str, optional\n            One of the JOB_COMPRESSION_* constants\n        destination_format : str, optional\n            One of the JOB_DESTination_FORMAT_* constants\n        print_header : bool, optional\n            Whether or not to print the header\n        field_delimiter : str, optional\n            Character separating fields in delimited file\n\n        Returns\n        -------\n        dict\n            A BigQuery job resource\n\n        Raises\n        ------\n        JobInsertException\n            On http/auth failures or error in result\n        '
    destination_uris = (destination_uris if isinstance(destination_uris, list) else [destination_uris])
    configuration = {
        'sourceTable': {
            'projectId': self.project_id,
            'tableId': table,
            'datasetId': dataset,
        },
        'destinationUris': destination_uris,
    }
    if compression:
        configuration['compression'] = compression
    if destination_format:
        configuration['destinationFormat'] = destination_format
    if (print_header is not None):
        hex['printHeader'] = print_header
    if field_delimiter:
        configuration['fieldDelimiter'] = field_delimiter
    if (not job):
        hex = self._generate_hex_for_uris(destination_uris)
        job = '{dataset}-{table}-{digest}'.format(dataset=dataset, table=table, digest=hex)
    body = {
        'configuration': {
            'extract': configuration,
        },
        'jobReference': {
            'projectId': self.project_id,
            'jobId': job,
        },
    }
    logger.info(('Creating export job %s' % body))
    job_resource = self._insert_job(body)
    self._raise_insert_exception_if_error(job_resource)
    return job_resource

dataset/ETHPy150Open tylertreat/BigQuery-Python/bigquery/client.py BigQueryClient.export_data_to_uris/VarMisuse@126/597 `configuration`->`hex`