Common Protos for Google Cloud APIs Client - Class TableCopy (0.4.2)

Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class TableCopy.

Table copy job configuration.

Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.JobConfig.TableCopy

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata \ JobConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ source_tables array

Source tables. Entire list is truncated if exceeds 50K.

↳ source_tables_truncated bool

True if the source_tables field was truncated.

↳ destination_table string

Destination table.

↳ create_disposition int

Destination table create disposition.

↳ write_disposition int

Destination table write disposition.

↳ destination_table_encryption Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo

Result table encryption information. Set when non-default encryption is used.

↳ operation_type int

Supported operation types in the table copy job.

↳ destination_expiration_time Google\Protobuf\Timestamp

Expiration time set on the destination table. Expired tables will be deleted and their storage reclaimed.

getSourceTables

Source tables. Entire list is truncated if exceeds 50K.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSourceTables

Source tables. Entire list is truncated if exceeds 50K.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getSourceTablesTruncated

True if the source_tables field was truncated.

Returns
TypeDescription
bool

setSourceTablesTruncated

True if the source_tables field was truncated.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getDestinationTable

Destination table.

Returns
TypeDescription
string

setDestinationTable

Destination table.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateDisposition

Destination table create disposition.

Returns
TypeDescription
int

setCreateDisposition

Destination table create disposition.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getWriteDisposition

Destination table write disposition.

Returns
TypeDescription
int

setWriteDisposition

Destination table write disposition.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDestinationTableEncryption

Result table encryption information. Set when non-default encryption is used.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo|null

hasDestinationTableEncryption

clearDestinationTableEncryption

setDestinationTableEncryption

Result table encryption information. Set when non-default encryption is used.

Parameter
NameDescription
var Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo
Returns
TypeDescription
$this

getOperationType

Supported operation types in the table copy job.

Returns
TypeDescription
int

setOperationType

Supported operation types in the table copy job.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDestinationExpirationTime

Expiration time set on the destination table. Expired tables will be deleted and their storage reclaimed.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasDestinationExpirationTime

clearDestinationExpirationTime

setDestinationExpirationTime

Expiration time set on the destination table. Expired tables will be deleted and their storage reclaimed.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this