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);
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-12-22 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."]]],[]]