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
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.
Generated from protobuf field repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setFields
One field per column in the record.
Generated from protobuf field repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\BigQuery\DataTransfer\V1\ImportedDataInfo\FieldSchema>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|