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.SchemaUpdateOption

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

Specifies an update to the destination table schema as a side effect of a load job.

__init__()

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

Methods

__init__()

Initialize self.

Attributes

ALLOW_FIELD_ADDITION

Allow adding a nullable field to the schema.

ALLOW_FIELD_RELAXATION

Allow relaxing a required field in the original schema to nullable.

ALLOW_FIELD_ADDITION = 'ALLOW_FIELD_ADDITION'

Allow adding a nullable field to the schema.

ALLOW_FIELD_RELAXATION = 'ALLOW_FIELD_RELAXATION'

Allow relaxing a required field in the original schema to nullable.