Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Feature.
Feature Metadata information.
For example, color is a feature that describes an apple.
Generated from protobuf messagegoogle.cloud.aiplatform.v1.Feature
Namespace
Google \ Cloud \ AIPlatform \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Immutable. Name of the Feature. Format:projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.
↳ description
string
Description of the Feature.
↳ value_type
int
Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.
Optional. The labels with user-defined metadata to organize your Features. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Seehttps://goo.gl/xmQnxffor more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
↳ etag
string
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
↳ disable_monitoring
bool
Optional. Only applicable for Vertex AI Feature Store (Legacy). If not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring. If set to true, all types of data monitoring are disabled despite the config on EntityType.
Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.
↳ version_column_name
string
Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use feature_id.
↳ point_of_contact
string
Entity responsible for maintaining this feature. Can be comma separated list of email addresses or URIs.
getName
Immutable. Name of the Feature.
Format:projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}The last part feature is assigned by the client. The feature can be up to
64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
underscore(_), and ASCII digits 0-9 starting with a letter. The value will
be unique given an entity type.
Returns
Type
Description
string
setName
Immutable. Name of the Feature.
Format:projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}The last part feature is assigned by the client. The feature can be up to
64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
underscore(_), and ASCII digits 0-9 starting with a letter. The value will
be unique given an entity type.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDescription
Description of the Feature.
Returns
Type
Description
string
setDescription
Description of the Feature.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getValueType
Immutable. Only applicable for Vertex AI Feature Store (Legacy).
Type of Feature value.
Returns
Type
Description
int
setValueType
Immutable. Only applicable for Vertex AI Feature Store (Legacy).
Type of Feature value.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getCreateTime
Output only. Only applicable for Vertex AI Feature Store (Legacy).
Optional. The labels with user-defined metadata to organize your Features.
Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
Seehttps://goo.gl/xmQnxffor more information on and examples of labels.
No more than 64 user labels can be associated with one Feature (System
labels are excluded)."
System reserved label keys are prefixed with "aiplatform.googleapis.com/"
and are immutable.
Optional. The labels with user-defined metadata to organize your Features.
Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
Seehttps://goo.gl/xmQnxffor more information on and examples of labels.
No more than 64 user labels can be associated with one Feature (System
labels are excluded)."
System reserved label keys are prefixed with "aiplatform.googleapis.com/"
and are immutable.
Used to perform a consistent read-modify-write updates. If not set, a blind
"overwrite" update happens.
Returns
Type
Description
string
setEtag
Used to perform a consistent read-modify-write updates. If not set, a blind
"overwrite" update happens.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDisableMonitoring
Optional. Only applicable for Vertex AI Feature Store (Legacy).
If not set, use the monitoring_config defined for the EntityType this
Feature belongs to.
Only Features with type
(Feature.ValueType) BOOL,
STRING, DOUBLE or INT64 can enable monitoring.
If set to true, all types of data monitoring are disabled despite the
config on EntityType.
Returns
Type
Description
bool
setDisableMonitoring
Optional. Only applicable for Vertex AI Feature Store (Legacy).
If not set, use the monitoring_config defined for the EntityType this
Feature belongs to.
Only Features with type
(Feature.ValueType) BOOL,
STRING, DOUBLE or INT64 can enable monitoring.
If set to true, all types of data monitoring are disabled despite the
config on EntityType.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getMonitoringStatsAnomalies
Output only. Only applicable for Vertex AI Feature Store (Legacy).
The list of historical stats and anomalies with specified objectives.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Ai Platform V1 Client - Class Feature (1.35.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.35.0 (latest)](/php/docs/reference/cloud-ai-platform/latest/V1.Feature)\n- [1.34.0](/php/docs/reference/cloud-ai-platform/1.34.0/V1.Feature)\n- [1.33.0](/php/docs/reference/cloud-ai-platform/1.33.0/V1.Feature)\n- [1.32.1](/php/docs/reference/cloud-ai-platform/1.32.1/V1.Feature)\n- [1.31.0](/php/docs/reference/cloud-ai-platform/1.31.0/V1.Feature)\n- [1.30.0](/php/docs/reference/cloud-ai-platform/1.30.0/V1.Feature)\n- [1.26.0](/php/docs/reference/cloud-ai-platform/1.26.0/V1.Feature)\n- [1.23.0](/php/docs/reference/cloud-ai-platform/1.23.0/V1.Feature)\n- [1.22.0](/php/docs/reference/cloud-ai-platform/1.22.0/V1.Feature)\n- [1.21.0](/php/docs/reference/cloud-ai-platform/1.21.0/V1.Feature)\n- [1.20.0](/php/docs/reference/cloud-ai-platform/1.20.0/V1.Feature)\n- [1.19.0](/php/docs/reference/cloud-ai-platform/1.19.0/V1.Feature)\n- [1.18.0](/php/docs/reference/cloud-ai-platform/1.18.0/V1.Feature)\n- [1.17.0](/php/docs/reference/cloud-ai-platform/1.17.0/V1.Feature)\n- [1.16.0](/php/docs/reference/cloud-ai-platform/1.16.0/V1.Feature)\n- [1.15.0](/php/docs/reference/cloud-ai-platform/1.15.0/V1.Feature)\n- [1.14.0](/php/docs/reference/cloud-ai-platform/1.14.0/V1.Feature)\n- [1.13.1](/php/docs/reference/cloud-ai-platform/1.13.1/V1.Feature)\n- [1.12.0](/php/docs/reference/cloud-ai-platform/1.12.0/V1.Feature)\n- [1.11.0](/php/docs/reference/cloud-ai-platform/1.11.0/V1.Feature)\n- [1.10.0](/php/docs/reference/cloud-ai-platform/1.10.0/V1.Feature)\n- [1.9.0](/php/docs/reference/cloud-ai-platform/1.9.0/V1.Feature)\n- [1.8.0](/php/docs/reference/cloud-ai-platform/1.8.0/V1.Feature)\n- [1.7.0](/php/docs/reference/cloud-ai-platform/1.7.0/V1.Feature)\n- [1.6.0](/php/docs/reference/cloud-ai-platform/1.6.0/V1.Feature)\n- [1.5.0](/php/docs/reference/cloud-ai-platform/1.5.0/V1.Feature)\n- [1.4.0](/php/docs/reference/cloud-ai-platform/1.4.0/V1.Feature)\n- [1.3.0](/php/docs/reference/cloud-ai-platform/1.3.0/V1.Feature)\n- [1.2.0](/php/docs/reference/cloud-ai-platform/1.2.0/V1.Feature)\n- [1.1.0](/php/docs/reference/cloud-ai-platform/1.1.0/V1.Feature)\n- [1.0.0](/php/docs/reference/cloud-ai-platform/1.0.0/V1.Feature)\n- [0.39.0](/php/docs/reference/cloud-ai-platform/0.39.0/V1.Feature)\n- [0.38.0](/php/docs/reference/cloud-ai-platform/0.38.0/V1.Feature)\n- [0.37.1](/php/docs/reference/cloud-ai-platform/0.37.1/V1.Feature)\n- [0.32.0](/php/docs/reference/cloud-ai-platform/0.32.0/V1.Feature)\n- [0.31.0](/php/docs/reference/cloud-ai-platform/0.31.0/V1.Feature)\n- [0.30.0](/php/docs/reference/cloud-ai-platform/0.30.0/V1.Feature)\n- [0.29.0](/php/docs/reference/cloud-ai-platform/0.29.0/V1.Feature)\n- [0.28.0](/php/docs/reference/cloud-ai-platform/0.28.0/V1.Feature)\n- [0.27.0](/php/docs/reference/cloud-ai-platform/0.27.0/V1.Feature)\n- [0.26.2](/php/docs/reference/cloud-ai-platform/0.26.2/V1.Feature)\n- [0.25.0](/php/docs/reference/cloud-ai-platform/0.25.0/V1.Feature)\n- [0.24.0](/php/docs/reference/cloud-ai-platform/0.24.0/V1.Feature)\n- [0.23.0](/php/docs/reference/cloud-ai-platform/0.23.0/V1.Feature)\n- [0.22.0](/php/docs/reference/cloud-ai-platform/0.22.0/V1.Feature)\n- [0.21.0](/php/docs/reference/cloud-ai-platform/0.21.0/V1.Feature)\n- [0.20.0](/php/docs/reference/cloud-ai-platform/0.20.0/V1.Feature)\n- [0.19.0](/php/docs/reference/cloud-ai-platform/0.19.0/V1.Feature)\n- [0.18.0](/php/docs/reference/cloud-ai-platform/0.18.0/V1.Feature)\n- [0.17.0](/php/docs/reference/cloud-ai-platform/0.17.0/V1.Feature)\n- [0.16.0](/php/docs/reference/cloud-ai-platform/0.16.0/V1.Feature)\n- [0.15.0](/php/docs/reference/cloud-ai-platform/0.15.0/V1.Feature)\n- [0.13.0](/php/docs/reference/cloud-ai-platform/0.13.0/V1.Feature)\n- [0.12.0](/php/docs/reference/cloud-ai-platform/0.12.0/V1.Feature)\n- [0.11.1](/php/docs/reference/cloud-ai-platform/0.11.1/V1.Feature)\n- [0.10.0](/php/docs/reference/cloud-ai-platform/0.10.0/V1.Feature) \nReference documentation and code samples for the Google Cloud Ai Platform V1 Client class Feature.\n\nFeature Metadata information.\n\nFor example, color is a feature that describes an apple.\n\nGenerated from protobuf message `google.cloud.aiplatform.v1.Feature`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AIPlatform \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nImmutable. Name of the Feature.\n\nFormat:\n`projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`\n`projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`\nThe last part feature is assigned by the client. The feature can be up to\n64 characters long and can consist only of ASCII Latin letters A-Z and a-z,\nunderscore(_), and ASCII digits 0-9 starting with a letter. The value will\nbe unique given an entity type.\n\n### setName\n\nImmutable. Name of the Feature.\n\nFormat:\n`projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`\n`projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`\nThe last part feature is assigned by the client. The feature can be up to\n64 characters long and can consist only of ASCII Latin letters A-Z and a-z,\nunderscore(_), and ASCII digits 0-9 starting with a letter. The value will\nbe unique given an entity type.\n\n### getDescription\n\nDescription of the Feature.\n\n### setDescription\n\nDescription of the Feature.\n\n### getValueType\n\nImmutable. Only applicable for Vertex AI Feature Store (Legacy).\n\nType of Feature value.\n\n### setValueType\n\nImmutable. Only applicable for Vertex AI Feature Store (Legacy).\n\nType of Feature value.\n\n### getCreateTime\n\nOutput only. Only applicable for Vertex AI Feature Store (Legacy).\n\nTimestamp when this EntityType was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. Only applicable for Vertex AI Feature Store (Legacy).\n\nTimestamp when this EntityType was created.\n\n### getUpdateTime\n\nOutput only. Only applicable for Vertex AI Feature Store (Legacy).\n\nTimestamp when this EntityType was most recently updated.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. Only applicable for Vertex AI Feature Store (Legacy).\n\nTimestamp when this EntityType was most recently updated.\n\n### getLabels\n\nOptional. The labels with user-defined metadata to organize your Features.\n\nLabel keys and values can be no longer than 64 characters\n(Unicode codepoints), can only contain lowercase letters, numeric\ncharacters, underscores and dashes. International characters are allowed.\nSee \u003chttps://goo.gl/xmQnxf\u003e for more information on and examples of labels.\nNo more than 64 user labels can be associated with one Feature (System\nlabels are excluded).\"\nSystem reserved label keys are prefixed with \"aiplatform.googleapis.com/\"\nand are immutable.\n\n### setLabels\n\nOptional. The labels with user-defined metadata to organize your Features.\n\nLabel keys and values can be no longer than 64 characters\n(Unicode codepoints), can only contain lowercase letters, numeric\ncharacters, underscores and dashes. International characters are allowed.\nSee \u003chttps://goo.gl/xmQnxf\u003e for more information on and examples of labels.\nNo more than 64 user labels can be associated with one Feature (System\nlabels are excluded).\"\nSystem reserved label keys are prefixed with \"aiplatform.googleapis.com/\"\nand are immutable.\n\n### getEtag\n\nUsed to perform a consistent read-modify-write updates. If not set, a blind\n\"overwrite\" update happens.\n\n### setEtag\n\nUsed to perform a consistent read-modify-write updates. If not set, a blind\n\"overwrite\" update happens.\n\n### getDisableMonitoring\n\nOptional. Only applicable for Vertex AI Feature Store (Legacy).\n\nIf not set, use the monitoring_config defined for the EntityType this\nFeature belongs to.\nOnly Features with type\n([Feature.ValueType](/php/docs/reference/cloud-ai-platform/latest/V1.Feature.ValueType)) BOOL,\nSTRING, DOUBLE or INT64 can enable monitoring.\nIf set to true, all types of data monitoring are disabled despite the\nconfig on EntityType.\n\n### setDisableMonitoring\n\nOptional. Only applicable for Vertex AI Feature Store (Legacy).\n\nIf not set, use the monitoring_config defined for the EntityType this\nFeature belongs to.\nOnly Features with type\n([Feature.ValueType](/php/docs/reference/cloud-ai-platform/latest/V1.Feature.ValueType)) BOOL,\nSTRING, DOUBLE or INT64 can enable monitoring.\nIf set to true, all types of data monitoring are disabled despite the\nconfig on EntityType.\n\n### getMonitoringStatsAnomalies\n\nOutput only. Only applicable for Vertex AI Feature Store (Legacy).\n\nThe list of historical stats and anomalies with specified objectives.\n\n### setMonitoringStatsAnomalies\n\nOutput only. Only applicable for Vertex AI Feature Store (Legacy).\n\nThe list of historical stats and anomalies with specified objectives.\n\n### getVersionColumnName\n\nOnly applicable for Vertex AI Feature Store.\n\nThe name of the BigQuery Table/View column hosting data for this version.\nIf no value is provided, will use feature_id.\n\n### setVersionColumnName\n\nOnly applicable for Vertex AI Feature Store.\n\nThe name of the BigQuery Table/View column hosting data for this version.\nIf no value is provided, will use feature_id.\n\n### getPointOfContact\n\nEntity responsible for maintaining this feature. Can be comma separated\nlist of email addresses or URIs.\n\n### setPointOfContact\n\nEntity responsible for maintaining this feature. Can be comma separated\nlist of email addresses or URIs."]]