title: How to set data validation to google form via script
body: <p>I'm creating google form with GAS</p>
  
  <pre><code>var form = FormApp.create("Test Form");
  var item = form.addTextItem();
  item.setTitle("Enter your email");
  </code></pre>
  
  <p>How can I set data validation setting for <strong>item</strong> programmatically?</p>