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

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

Load job configuration.

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

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata \ JobConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source_uris array

URIs for the data to be imported. Entire list is truncated if exceeds 40K.

↳ source_uris_truncated bool

True if the source_URIs field was truncated.

↳ schema_json string

The table schema in JSON format. Entire field is truncated if exceeds 40K.

↳ schema_json_truncated bool

True if the schema_json field was truncated.

↳ destination_table string

The destination table for the import.

↳ 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.

getSourceUris

URIs for the data to be imported. Entire list is truncated if exceeds 40K.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSourceUris

URIs for the data to be imported. Entire list is truncated if exceeds 40K.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getSourceUrisTruncated

True if the source_URIs field was truncated.

Returns
Type Description
bool

setSourceUrisTruncated

True if the source_URIs field was truncated.

Parameter
Name Description
var bool
Returns
Type Description
$this

getSchemaJson

The table schema in JSON format. Entire field is truncated if exceeds 40K.

Returns
Type Description
string

setSchemaJson

The table schema in JSON format. Entire field is truncated if exceeds 40K.

Parameter
Name Description
var string
Returns
Type Description
$this

getSchemaJsonTruncated

True if the schema_json field was truncated.

Returns
Type Description
bool

setSchemaJsonTruncated

True if the schema_json field was truncated.

Parameter
Name Description
var bool
Returns
Type Description
$this

getDestinationTable

The destination table for the import.

Returns
Type Description
string

setDestinationTable

The destination table for the import.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateDisposition

Destination table create disposition.

Returns
Type Description
int

setCreateDisposition

Destination table create disposition.

Parameter
Name Description
var int
Returns
Type Description
$this

getWriteDisposition

Destination table write disposition.

Returns
Type Description
int

setWriteDisposition

Destination table write disposition.

Parameter
Name Description
var int
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