TextInput

Contains text input information for the config. Its properties determine how the text input is
displayed in Data Studio.

```javascript
const cc = DataStudioApp.createCommunityConnector();
const config = cc.getConfig();

const info1 = config.newTextInput()
                  .setId('info1')
                  .setName('Search')
                  .setHelpText('for example, Coldplay')
                  .setAllowOverride(true)
                  .setPlaceholder('Search for an artist for all songs.');
```

### Methods

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

## Detailed documentation

### `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/text-input#` --- This builder, for chaining.

*** ** * ** ***

### `setHelpText(helpText)`

Sets the help text for this configuration entry.

#### Parameters

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

#### Return


`https://developers.google.com/apps-script/reference/data-studio/text-input#` --- 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/text-input#` --- 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/text-input#` --- 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/text-input#` --- This builder, for chaining.

*** ** * ** ***

### `setPlaceholder(placeholder)`

Sets the placeholder text for this configuration entry.

#### Parameters

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

#### Return


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