As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

google.cloud.bigquery.job.OperationType

class google.cloud.bigquery.job.OperationType[source]

Different operation types supported in table copy job.

https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#operationtype

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

Attributes

COPY

The source and destination table have the same table type.

OPERATION_TYPE_UNSPECIFIED

Unspecified operation type.

RESTORE

The source table type is SNAPSHOT and the destination table type is TABLE.

SNAPSHOT

The source table type is TABLE and the destination table type is SNAPSHOT.

COPY = 'COPY'

The source and destination table have the same table type.

OPERATION_TYPE_UNSPECIFIED = 'OPERATION_TYPE_UNSPECIFIED'

Unspecified operation type.

RESTORE = 'RESTORE'

The source table type is SNAPSHOT and the destination table type is TABLE.

SNAPSHOT = 'SNAPSHOT'

The source table type is TABLE and the destination table type is SNAPSHOT.