- [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1beta/InlineSource#SCHEMA_REPRESENTATION)
- [CompletionSuggestion](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1beta/InlineSource#CompletionSuggestion)
  - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1beta/InlineSource#CompletionSuggestion.SCHEMA_REPRESENTATION)

The inline source for CompletionSuggestions.

| JSON representation |
|---|
| ``` { "suggestions": [ { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1beta/InlineSource#CompletionSuggestion`) } ] } ``` |

| Fields ||
|---|---|
| `suggestions[]` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1beta/InlineSource#CompletionSuggestion`)`` Required. A list of all denylist entries to import. Max of 1000 items. |

## CompletionSuggestion

Autocomplete suggestions that are imported from Customer.

| JSON representation |
|---|
| ``` { "suggestion": string, "languageCode": string, "groupId": string, "groupScore": number, "alternativePhrases": [ string ], // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "globalScore": number, "frequency": string // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `suggestion` | `string` Required. The suggestion text. |
| `languageCode` | `string` BCP-47 language code of this suggestion. |
| `groupId` | `string` If two suggestions have the same groupId, they will not be returned together. Instead the one ranked higher will be returned. This can be used to deduplicate semantically identical suggestions. |
| `groupScore` | `number` The score of this suggestion within its group. |
| `alternativePhrases[]` | `string` Alternative matching phrases for this suggestion. |
| Ranking metrics of this suggestion. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `globalScore` | `number` Global score of this suggestion. Control how this suggestion would be scored / ranked. |
| `frequency` | `string (https://developers.google.com/discovery/v1/type-format format)` Frequency of this suggestion. Will be used to rank suggestions when score is not available. |
| End of mutually exclusive fields. ||