code: func (a *BucketScriptAggregation) BucketsPathsMap(bucketsPathsMap map[string]string) *BucketScriptAggregation {
  	a.bucketsPathsMap = bucketsPathsMap
  	return a
  }
docs: // BucketsPathsMap sets the paths to the buckets to use for this pipeline aggregator.