# DriveColumn

Describes a site column to attach to a newly created SharePoint drive.

> Kind: Apex type · Updated: 2026-07-03

DriveColumn describes a site column to attach to a newly created drive. Each entry of the siteColumns field on Types.CreateDriveInput is a DriveColumn, consumed by Client.createDrive().

## Fields

### Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| apiName | String | optional | API name of the column. |
| label | String | optional | Display label of the column. |
| defaultValue | String | optional | Default value for the column. |
| addToDefaultView | Boolean | optional | Whether the column is added to the drive’s default view. |
