async function batchCreateFeatures() {
    // Configure the parent resource
    const parent = `projects/${project}/locations/${location}/featurestores/${featurestoreId}/entityTypes/${entityTypeId}`;

    const ageFeature = {
      valueType: 'INT64',
      description: 'User age',
    };

    const ageFeatureRequest = {
      feature: ageFeature,
      featureId: 'age',
    };

    const genderFeature = {
      valueType: 'STRING',
      description: 'User gender',
    };

    const genderFeatureRequest = {
      feature: genderFeature,
      featureId: 'gender',
    };

    const likedGenresFeature = {
      valueType: 'STRING_ARRAY',
      description: 'An array of genres that this user liked',
    };

    const likedGenresFeatureRequest = {
      feature: likedGenresFeature,
      featureId: 'liked_genres',
    };

    const requests = [
      ageFeatureRequest,
      genderFeatureRequest,
      likedGenresFeatureRequest,
    ];

    const request = {
      parent: parent,
      requests: requests,
    };

    // Batch Create Features request
    const [operation] = await featurestoreServiceClient.batchCreateFeatures(
      request,
      {timeout: Number(timeout)}
    );
    const [response] = await operation.promise();

    console.log('Batch create features response');
    console.log('Raw response:');
    console.log(JSON.stringify(response, null, 2));
  }
TODO(developer): Uncomment these variables before running the sample.\
(Not necessary if passing values as arguments)