Reference documentation and code samples for the Google Cloud Appoptimize V1beta Client class Column.
Describes a single column within Columns.
Generated from protobuf message google.cloud.appoptimize.v1beta.Column
Namespace
Google \ Cloud \ AppOptimize \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The name of the column. This field: * * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_); * * Start with a letter or underscore; and * * Has a maximum length is 128 characters. |
↳ type |
string
The data type of the column. Supported values include: * * |
↳ mode |
string
The mode of the column, indicating if it is nullable, required, or repeated. Possible values: * * |
↳ columns |
array<Column>
If the |
getName
The name of the column.
This field:
- Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_);
- Start with a letter or underscore; and
- Has a maximum length is 128 characters.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
The name of the column.
This field:
- Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_);
- Start with a letter or underscore; and
- Has a maximum length is 128 characters.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
The data type of the column.
Supported values include:
STRINGINT64FLOAT64BOOLEANTIMESTAMPRECORDRECORDindicates that the field contains a nested schema, described in thecolumnsproperty of thisColumn.
| Returns | |
|---|---|
| Type | Description |
string |
|
setType
The data type of the column.
Supported values include:
STRINGINT64FLOAT64BOOLEANTIMESTAMPRECORDRECORDindicates that the field contains a nested schema, described in thecolumnsproperty of thisColumn.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMode
The mode of the column, indicating if it is nullable, required, or repeated.
Possible values:
NULLABLE: The column allows NULL values.REQUIRED: The column does not allow NULL values.REPEATED: The column contains an array of values.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMode
The mode of the column, indicating if it is nullable, required, or repeated.
Possible values:
NULLABLE: The column allows NULL values.REQUIRED: The column does not allow NULL values.REPEATED: The column contains an array of values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getColumns
If the type of this column is RECORD, this sub-field describes the
nested structure.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Column> |
|
setColumns
If the type of this column is RECORD, this sub-field describes the
nested structure.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Column>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|