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 \ JobConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setSourceTables
Source tables. Entire list is truncated if exceeds 50K.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceTablesTruncated
True if the source_tables field was truncated.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setSourceTablesTruncated
True if the source_tables field was truncated.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDestinationTable
Destination table.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDestinationTable
Destination table.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateDisposition
Destination table create disposition.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type CreateDisposition. |
setCreateDisposition
Destination table create disposition.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type CreateDisposition. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWriteDisposition
Destination table write disposition.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type WriteDisposition. |
setWriteDisposition
Destination table write disposition.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type WriteDisposition. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDestinationTableEncryption
Result table encryption information. Set when non-default encryption is used.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo|null |
|
hasDestinationTableEncryption
clearDestinationTableEncryption
setDestinationTableEncryption
Result table encryption information. Set when non-default encryption is used.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Audit\BigQueryAuditMetadata\EncryptionInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOperationType
Supported operation types in the table copy job.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type OperationType. |
setOperationType
Supported operation types in the table copy job.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type OperationType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDestinationExpirationTime
Expiration time set on the destination table. Expired tables will be deleted and their storage reclaimed.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasDestinationExpirationTime
clearDestinationExpirationTime
setDestinationExpirationTime
Expiration time set on the destination table. Expired tables will be deleted and their storage reclaimed.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|