# REST Resource: projects.locations.conversationProfiles

- [Resource: ConversationProfile](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.locations.conversationProfiles#ConversationProfile)
  - [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.locations.conversationProfiles#ConversationProfile.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.locations.conversationProfiles#METHODS_SUMMARY)

## Resource: ConversationProfile

Defines the services to connect to incoming Dialogflow conversations.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "createTime": string, "updateTime": string, "automatedAgentConfig": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.AutomatedAgentConfig`) }, "humanAgentAssistantConfig": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.HumanAgentAssistantConfig`) }, "humanAgentHandoffConfig": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.HumanAgentHandoffConfig`) }, "notificationConfig": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.NotificationConfig`) }, "loggingConfig": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.LoggingConfig`) }, "newMessageEventNotificationConfig": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.NotificationConfig`) }, "newRecognitionResultNotificationConfig": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.NotificationConfig`) }, "sttConfig": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.SpeechToTextConfig`) }, "languageCode": string, "sipConfig": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.SipConfig`) }, "timeZone": string, "securitySettings": string, "ttsConfig": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/SynthesizeSpeechConfig`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` The unique identifier of this conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`. |
| `displayName` | `string` Required. Human readable name for this profile. Max length 1024 bytes. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Create time of the conversation profile. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Update time of the conversation profile. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `automatedAgentConfig` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.AutomatedAgentConfig`)`` Configuration for an automated agent to use with this profile. |
| `humanAgentAssistantConfig` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.HumanAgentAssistantConfig`)`` Configuration for agent assistance to use with this profile. |
| `humanAgentHandoffConfig` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.HumanAgentHandoffConfig`)`` Configuration for connecting to a live agent. Currently, this feature is not general available, please contact Google to get access. |
| `notificationConfig` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.NotificationConfig`)`` Configuration for publishing conversation lifecycle events. |
| `loggingConfig` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.LoggingConfig`)`` Configuration for logging conversation lifecycle events. |
| `newMessageEventNotificationConfig` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.NotificationConfig`)`` Configuration for publishing new message events. Event will be sent in format of `https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/ConversationEvent` |
| `newRecognitionResultNotificationConfig` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.NotificationConfig`)`` Optional. Configuration for publishing transcription intermediate results. Event will be sent in format of `https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/ConversationEvent`. If configured, the following information will be populated as `https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/ConversationEvent` Pub/Sub message attributes: - "participant_id" - "participantRole" - "message_id" |
| `sttConfig` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.SpeechToTextConfig`)`` Settings for speech transcription. |
| `languageCode` | `string` Language code for the conversation profile. If not specified, the language is en-US. Language at ConversationProfile should be set for all non en-US languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US". |
| `sipConfig` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles#ConversationProfile.SipConfig`)`` Optional. Configuration for SIP connections. |
| `timeZone` | `string` The time zone of this conversational profile from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. Defaults to America/New_York. |
| `securitySettings` | `string` Name of the CX SecuritySettings reference for the agent. Format: `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>`. |
| `ttsConfig` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/SynthesizeSpeechConfig`)`` Configuration for Text-to-Speech synthesization. Used by Phone Gateway to specify synthesization options. If agent defines synthesization options as well, agent settings overrides the option here. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.locations.conversationProfiles/clearSuggestionFeatureConfig` | Clears a suggestion feature from a conversation profile for the given participant role. |
| ### `https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.locations.conversationProfiles/create` | Creates a conversation profile in the specified project. |
| ### `https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.locations.conversationProfiles/delete` | Deletes the specified conversation profile. |
| ### `https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.locations.conversationProfiles/get` | Retrieves the specified conversation profile. |
| ### `https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.locations.conversationProfiles/list` | Returns the list of all conversation profiles in the specified project. |
| ### `https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.locations.conversationProfiles/patch` | Updates the specified conversation profile. |
| ### `https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.locations.conversationProfiles/setSuggestionFeatureConfig` | Adds or updates a suggestion feature in a conversation profile. |