Common Protos for Google Cloud APIs Client - Class Load (0.4.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSourceUris

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getSourceUrisTruncated

True if the source_URIs field was truncated.

Returns
TypeDescription
bool

setSourceUrisTruncated

True if the source_URIs field was truncated.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSchemaJson

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

Returns
TypeDescription
string

setSchemaJson

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSchemaJsonTruncated

True if the schema_json field was truncated.

Returns
TypeDescription
bool

setSchemaJsonTruncated

True if the schema_json field was truncated.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getDestinationTable

The destination table for the import.

Returns
TypeDescription
string

setDestinationTable

The destination table for the import.

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