**Full name**: projects.locations.featureGroups.features.batchCreate

Creates a batch of Features in a given FeatureGroup.

### Endpoint

post `https://{service-endpoint}/v1/{parent}/features:batchCreate`   
Where `{service-endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest#rest_endpoints).

### Path parameters

`parent` `string` Required. The resource name of the EntityType/FeatureGroup to create the batch of Features under. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` `projects/{project}/locations/{location}/featureGroups/{featureGroup}`

### Request body

The request body contains data with the following structure:
Fields `requests[]` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1/projects.locations.featureGroups.features/batchCreate#CreateFeatureRequest`)`` Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType / FeatureGroup. The `parent` field in each child request message can be omitted. If `parent` is set in a child request, then the value must match the `parent` value in this request message.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/Shared.Types/ListOperationsResponse#Operation`.

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:

- `aiplatform.features.create`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).

## CreateFeatureRequest

Request message for `https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1/projects.locations.featurestores.entityTypes.features/create#google.cloud.aiplatform.v1.FeaturestoreService.CreateFeature`. Request message for `https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1/projects.locations.featureGroups.features/create#google.cloud.aiplatform.v1.FeatureRegistryService.CreateFeature`.
Fields `parent` `string` Required. The resource name of the EntityType or FeatureGroup to create a feature. Format for entityType as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` Format for featureGroup as parent: `projects/{project}/locations/{location}/featureGroups/{featureGroup}`
`feature` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1/projects.locations.featureGroups.features#Feature`)`` Required. The feature to create.
`featureId` `string` 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 `[a-z0-9_]`. The first character cannot be a number.

The value must be unique within an EntityType/FeatureGroup.

| JSON representation |
|---|
| ``` { "parent": string, "feature": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1/projects.locations.featureGroups.features#Feature`) }, "featureId": string } ``` |