A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/python/docs/reference/bigquery/2.8.0/google.cloud.bigquery.job.CopyJob below:

Class CopyJob (2.8.0) | Python client library

Class CopyJob (2.8.0)

Stay organized with collections Save and categorize content based on your preferences.

CopyJob(job_id, sources, destination, client, job_config=None)

Asynchronous job: copy data into a table from other tables.

Parameters Name Description job_id str

the job's ID, within the project belonging to client.

sources List[google.cloud.bigquery.table.TableReference]

Table from which data is to be loaded.

destination google.cloud.bigquery.table.TableReference

Table into which data is to be loaded.

client google.cloud.bigquery.client.Client

A client which holds credentials and project configuration for the dataset (which requires a project).

job_config Optional[google.cloud.bigquery.job.CopyJobConfig]

Extra configuration options for the copy job.

Inheritancebuiltins.object > google.api_core.future.base.Future > google.api_core.future.polling.PollingFuture > google.cloud.bigquery.job.base._AsyncJob > CopyJob

Properties create_disposition

See create_disposition.

created

Datetime at which the job was created.

Returns Type Description Optional[datetime.datetime] the creation time (None until set from the server). destination

google.cloud.bigquery.table.TableReference: Table into which data is to be loaded.

destination_encryption_configuration ended

Datetime at which the job finished.

Returns Type Description Optional[datetime.datetime] the end time (None until set from the server). error_result

Error information about the job as a whole.

Returns Type Description Optional[Mapping] the error information (None until set from the server). errors

Information about individual errors generated by the job.

Returns Type Description Optional[List[Mapping]] the error information (None until set from the server). etag

ETag for the job resource.

Returns Type Description Optional[str] the ETag (None until set from the server). Methods add_done_callback

Add a callback to be executed when the operation is complete.

If the operation is not already complete, this will start a helper thread to poll for the status of the operation in the background.

Parameter Name Description fn Callable[Future]

The callback to execute when the operation is complete.

cancel
cancel(client=None, retry=<google.api_core.retry.Retry object>, timeout=None)
Parameters Name Description client Optional[google.cloud.bigquery.client.Client]

the client to use. If not passed, falls back to the client stored on the current dataset.

retry Optional[google.api_core.retry.Retry]

How to retry the RPC.

timeout Optional[float]

The number of seconds to wait for the underlying HTTP transport before using retry

Returns Type Description bool Boolean indicating that the cancel request was sent. cancelled

Check if the job has been cancelled.

This always returns False. It's not possible to check if a job was cancelled in the API. This method is here to satisfy the interface for google.api_core.future.Future.

Returns Type Description bool False done
done(retry=<google.api_core.retry.Retry object>, timeout=None, reload=True)

Checks if the job is complete.

Parameters Name Description retry Optional[google.api_core.retry.Retry]

How to retry the RPC.

timeout Optional[float]

The number of seconds to wait for the underlying HTTP transport before using retry.

reload Optional[bool]

If True, make an API call to refresh the job state of unfinished jobs before checking. Default True.

Returns Type Description bool True if the job is complete, False otherwise. exception

Get the exception from the operation, blocking if necessary.

Parameter Name Description timeout int

How long to wait for the operation to complete. If None, wait indefinitely.

Returns Type Description Optional[google.api_core.GoogleAPICallError] The operation's error. exists
exists(client=None, retry=<google.api_core.retry.Retry object>, timeout=None)
Parameters Name Description client Optional[google.cloud.bigquery.client.Client]

the client to use. If not passed, falls back to the client stored on the current dataset.

retry Optional[google.api_core.retry.Retry]

How to retry the RPC.

timeout Optional[float]

The number of seconds to wait for the underlying HTTP transport before using retry.

Returns Type Description bool Boolean indicating existence of the job.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-07 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4