Google Apps Script API
    Preparing search index...

    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);
    
    interface SelectSingle {
        addOption(optionBuilder: OptionBuilder): SelectSingle;
        setAllowOverride(allowOverride: boolean): SelectSingle;
        setHelpText(helpText: string): SelectSingle;
        setId(id: string): SelectSingle;
        setIsDynamic(isDynamic: boolean): SelectSingle;
        setName(name: string): SelectSingle;
    }
    Index

    Methods