Creates a new feature in a given FeatureGroup.
HTTP request
POST https://{service-endpoint}/v1/{parent}/features
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the EntityType or FeatureGroup to create a feature. Format for entityType as parent: |
Query parameters
Parameters | |
---|---|
featureId |
Required. The id to use for the feature, which will become the final component of the feature's resource name. This value may be up to 128 characters, and valid characters are The value must be unique within an EntityType/FeatureGroup. |
Request body
The request body contains an instance of Feature
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
aiplatform.features.create
For more information, see the IAM documentation.