BigQuery Data Transfer V1 Client - Class RecordSchema (1.8.4)

Reference documentation and code samples for the BigQuery Data Transfer V1 Client class RecordSchema.

Describes schema of the data to be ingested.

Generated from protobuf message google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema

Namespace

Google \ Cloud \ BigQuery \ DataTransfer \ V1 \ ImportedDataInfo

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fields array<Google\Cloud\BigQuery\DataTransfer\V1\ImportedDataInfo\FieldSchema>

One field per column in the record.

getFields

One field per column in the record.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFields

One field per column in the record.

Parameter
Name Description
var array<Google\Cloud\BigQuery\DataTransfer\V1\ImportedDataInfo\FieldSchema>
Returns
Type Description
$this