Reference documentation and code samples for the Cloud AutoML V1beta1 Client class ColumnSpec.
A representation of a column in a relational table. When listing them, column specs are returned in the same order in which they were given on import .
Used by:
- Tables
Generated from protobuf message google.cloud.automl.v1beta1.ColumnSpec
Namespace
Google \ Cloud \ AutoMl \ V1beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name of the column specs. Form: projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}
↳ data_type
↳ display_name
string
Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
↳ data_stats
Google\Cloud\AutoMl\V1beta1\DataStats
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
↳ top_correlated_columns
↳ etag
string
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
getName
Output only. The resource name of the column specs.
Form: projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}
string
setName
Output only. The resource name of the column specs.
Form: projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}
var
string
$this
getDataType
The data type of elements stored in the column.
hasDataType
clearDataType
setDataType
The data type of elements stored in the column.
$this
getDisplayName
Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
string
setDisplayName
Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
var
string
$this
getDataStats
Output only. Stats of the series of values in the column.
This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
hasDataStats
clearDataStats
setDataStats
Output only. Stats of the series of values in the column.
This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
$this
getTopCorrelatedColumns
Deprecated.
setTopCorrelatedColumns
Deprecated.
$this
getEtag
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string
setEtag
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
var
string
$this