Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class Column.
Contains the name and datatype of a column.
Generated from protobuf message google.cloud.sql.v1.Column
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Name of the column. |
↳ type |
string
Datatype of the column. |
getName
Name of the column.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Name of the column.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Datatype of the column.
| Returns | |
|---|---|
| Type | Description |
string |
|
setType
Datatype of the column.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|