Method: projects.locations.featurestores.entityTypes.features.batchCreate

Creates a batch of Features in a given EntityType.

HTTP request

POST https://{service-endpoint}/v1/{parent}/features:batchCreate

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

Parameters
parent

string

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

Request body

The request body contains data with the following structure:

JSON representation
{
  "requests": [
    {
      object (CreateFeatureRequest)
    }
  ]
}
Fields
requests[]

object (CreateFeatureRequest)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. 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 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.

CreateFeatureRequest

Request message for FeaturestoreService.CreateFeature.

JSON representation
{
  "parent": string,
  "feature": {
    object (Feature)
  },
  "featureId": string
}
Fields
parent

string

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

feature

object (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 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within an EntityType.