SelectMultiple

Contains select multiple information for the config. Its properties determine how the select
multiple is displayed in Data Studio.

Usage:

```javascript
const cc = DataStudioApp.createCommunityConnector();
const config = cc.getConfig();
const option1 =
    config.newOptionBuilder().setLabel('option label').setValue('option_value');

const option2 = config.newOptionBuilder()
                    .setLabel('second option label')
                    .setValue('option_value_2');

const info1 = config.newSelectMultiple()
                  .setId('api_endpoint')
                  .setName('Data Type')
                  .setHelpText('Select the data type you\'re interested in.')
                  .setAllowOverride(true)
                  .addOption(option1)
                  .addOption(option2);
```

### Methods

| Method | Return type | Brief description |
|---|---|---|
| `https://developers.google.com/apps-script/reference/data-studio/select-multiple#addOption(OptionBuilder)` | `https://developers.google.com/apps-script/reference/data-studio/select-multiple#` | Adds a new select option. |
| `https://developers.google.com/apps-script/reference/data-studio/select-multiple#setAllowOverride(Boolean)` | `https://developers.google.com/apps-script/reference/data-studio/select-multiple#` | Enables overriding for this config entry. |
| `https://developers.google.com/apps-script/reference/data-studio/select-multiple#setHelpText(String)` | `https://developers.google.com/apps-script/reference/data-studio/select-multiple#` | Sets the help text for this configuration entry. |
| `https://developers.google.com/apps-script/reference/data-studio/select-multiple#setId(String)` | `https://developers.google.com/apps-script/reference/data-studio/select-multiple#` | Sets the unique ID for this configuration entry. |
| `https://developers.google.com/apps-script/reference/data-studio/select-multiple#setIsDynamic(Boolean)` | `https://developers.google.com/apps-script/reference/data-studio/select-multiple#` | Sets the dynamic status for this configuration entry. |
| `https://developers.google.com/apps-script/reference/data-studio/select-multiple#setName(String)` | `https://developers.google.com/apps-script/reference/data-studio/select-multiple#` | Sets the display name for this configuration entry. |

## Detailed documentation

### `addOption(optionBuilder)`

Adds a new select option.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `optionBuilder` | `https://developers.google.com/apps-script/reference/data-studio/option-builder` | A builder for an option. |

#### Return


`https://developers.google.com/apps-script/reference/data-studio/select-multiple#` --- This builder, for chaining.

*** ** * ** ***

### `setAllowOverride(allowOverride)`

Enables overriding for this config entry. If set to `true`, data source creators have the
option to enable this for report editors.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `allowOverride` | `Boolean` | Whether or not this config entry can be overridden in reports. |

#### Return


`https://developers.google.com/apps-script/reference/data-studio/select-multiple#` --- This builder, for chaining.

*** ** * ** ***

### `setHelpText(helpText)`

Sets the help text for this configuration entry.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `helpText` | `String` | The help text to set. |

#### Return


`https://developers.google.com/apps-script/reference/data-studio/select-multiple#` --- This builder, for chaining.

*** ** * ** ***

### `setId(id)`

Sets the unique ID for this configuration entry.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `id` | `String` | The ID to set. |

#### Return


`https://developers.google.com/apps-script/reference/data-studio/select-multiple#` --- This builder, for chaining.

*** ** * ** ***

### `setIsDynamic(isDynamic)`

Sets the dynamic status for this configuration entry.

If a dynamic configuration entry is modified, subsequent configuration entries are cleared.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `isDynamic` | `Boolean` | The dynamic status to set. |

#### Return


`https://developers.google.com/apps-script/reference/data-studio/select-multiple#` --- This builder, for chaining.

*** ** * ** ***

### `setName(name)`

Sets the display name for this configuration entry.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `name` | `String` | The name to set. |

#### Return


`https://developers.google.com/apps-script/reference/data-studio/select-multiple#` --- This builder, for chaining.