Class JobConfigurationTableCopy
JobConfigurationTableCopy configures a job that copies data from one table to another. For more information on copying tables, see Copy a table.
Implements
Inherited Members
Namespace: Google.Apis.Bigquery.v2.Data
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class JobConfigurationTableCopy : IDirectResponseSchema
Properties
CreateDisposition
Optional. Specifies whether the job is allowed to create new tables. The following values are supported: * CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. * CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
Declaration
[JsonProperty("createDisposition")]
public virtual string CreateDisposition { get; set; }
Property Value
Type | Description |
---|---|
string |
DestinationEncryptionConfiguration
Custom encryption configuration (e.g., Cloud KMS keys).
Declaration
[JsonProperty("destinationEncryptionConfiguration")]
public virtual EncryptionConfiguration DestinationEncryptionConfiguration { get; set; }
Property Value
Type | Description |
---|---|
EncryptionConfiguration |
DestinationExpirationTime
object representation of DestinationExpirationTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DestinationExpirationTimeDateTimeOffset instead.")]
public virtual object DestinationExpirationTime { get; set; }
Property Value
Type | Description |
---|---|
object |
DestinationExpirationTimeDateTimeOffset
DateTimeOffset representation of DestinationExpirationTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? DestinationExpirationTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
DestinationExpirationTimeRaw
Optional. The time when the destination table expires. Expired tables will be deleted and their storage reclaimed.
Declaration
[JsonProperty("destinationExpirationTime")]
public virtual string DestinationExpirationTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DestinationTable
[Required] The destination table.
Declaration
[JsonProperty("destinationTable")]
public virtual TableReference DestinationTable { get; set; }
Property Value
Type | Description |
---|---|
TableReference |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
OperationType
Optional. Supported operation types in table copy job.
Declaration
[JsonProperty("operationType")]
public virtual string OperationType { get; set; }
Property Value
Type | Description |
---|---|
string |
SourceTable
[Pick one] Source table to copy.
Declaration
[JsonProperty("sourceTable")]
public virtual TableReference SourceTable { get; set; }
Property Value
Type | Description |
---|---|
TableReference |
SourceTables
[Pick one] Source tables to copy.
Declaration
[JsonProperty("sourceTables")]
public virtual IList<TableReference> SourceTables { get; set; }
Property Value
Type | Description |
---|---|
IList<TableReference> |
WriteDisposition
Optional. Specifies the action that occurs if the destination table already exists. The following values are supported: * WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema and table constraints from the source table. * WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.
Declaration
[JsonProperty("writeDisposition")]
public virtual string WriteDisposition { get; set; }
Property Value
Type | Description |
---|---|
string |