constcc=DataStudioApp.createCommunityConnector();constconfig=cc.getConfig();constoption1=config.newOptionBuilder().setLabel('option label').setValue('option_value');constoption2=config.newOptionBuilder().setLabel('second option label').setValue('option_value_2');constinfo1=config.newSelectSingle().setId('api_endpoint').setName('Data Type').setHelpText('Select the data type you\'re interested in.').addOption(option1).addOption(option2);
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-02 UTC."],[[["`OptionBuilder` facilitates the creation of options for `SelectSingle` and `SelectMultiple` elements in Data Studio."],["It provides methods like `setLabel` and `setValue` to define the display text and underlying value of each option."],["These options are then added to `SelectSingle` or `SelectMultiple` components for user interaction within a Data Studio connector."],["Using `OptionBuilder` simplifies the process of creating interactive dropdown menus in your custom connectors."]]],[]]