Common Protos for Google Cloud APIs Client - Class JobConfig (0.5.2)

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

Job configuration.

See the Jobs API resource for more details on individual fields.

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

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Job type.

↳ query_config Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\Query

Query job information.

↳ load_config Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\Load

Load job information.

↳ extract_config Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\Extract

Extract job information.

↳ table_copy_config Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\TableCopy

TableCopy job information.

↳ labels array|Google\Protobuf\Internal\MapField

Labels provided for the job.

getType

Job type.

Returns
Type Description
int

setType

Job type.

Parameter
Name Description
var int
Returns
Type Description
$this

getQueryConfig

Query job information.

Returns
Type Description
Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\Query|null

hasQueryConfig

setQueryConfig

Query job information.

Parameter
Name Description
var Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\Query
Returns
Type Description
$this

getLoadConfig

Load job information.

Returns
Type Description
Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\Load|null

hasLoadConfig

setLoadConfig

Load job information.

Parameter
Name Description
var Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\Load
Returns
Type Description
$this

getExtractConfig

Extract job information.

Returns
Type Description
Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\Extract|null

hasExtractConfig

setExtractConfig

Extract job information.

Parameter
Name Description
var Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\Extract
Returns
Type Description
$this

getTableCopyConfig

TableCopy job information.

Returns
Type Description
Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\TableCopy|null

hasTableCopyConfig

setTableCopyConfig

TableCopy job information.

Parameter
Name Description
var Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\TableCopy
Returns
Type Description
$this

getLabels

Labels provided for the job.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Labels provided for the job.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getConfig

Returns
Type Description
string