Contains select single information for the config. Its properties determine how the select single is displayed in Data Studio.
var option1 = config.newOptionBuilder() .setLabel("option label") .setValue("option_value"); var option2 = config.newOptionBuilder() .setLabel("second option label") .setValue("option_value_2"); var info1 = config.newSelectSingle() .setId("api_endpoint") .setName("Data Type") .setHelpText("Select the data type you're interested in.") .setAllowOverride(true) .addOption(option1) .addOption(option2);
Contains select single information for the config. Its properties determine how the select single is displayed in Data Studio.