Common Protos for Google Cloud APIs Client - Class JobConfig (0.4.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
NameDescription
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
TypeDescription
int

setType

Job type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getQueryConfig

Query job information.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\Query|null

hasQueryConfig

setQueryConfig

Query job information.

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

getLoadConfig

Load job information.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\Load|null

hasLoadConfig

setLoadConfig

Load job information.

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

getExtractConfig

Extract job information.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\Extract|null

hasExtractConfig

setExtractConfig

Extract job information.

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

getTableCopyConfig

TableCopy job information.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig\TableCopy|null

hasTableCopyConfig

setTableCopyConfig

TableCopy job information.

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

getLabels

Labels provided for the job.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Labels provided for the job.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getConfig

Returns
TypeDescription
string