Skip to content

Commit f9acb37

Browse files
Google APIscopybara-github
authored andcommitted
feat: added support to configure security settings, language code and time zone on conversation profile
PiperOrigin-RevId: 407663596
1 parent 5946b7a commit f9acb37

1 file changed

Lines changed: 27 additions & 8 deletions

File tree

google/cloud/dialogflow/v2/conversation_profile.proto

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,24 @@ message ConversationProfile {
165165
// Settings for speech transcription.
166166
SpeechToTextConfig stt_config = 9;
167167

168-
// Language which represents the conversationProfile.
169-
// If unspecified, the default language code en-us applies. Users need to
170-
// create a ConversationProfile for each language they want to support.
168+
// Language code for the conversation profile. If not specified, the language
169+
// is en-US. Language at ConversationProfile should be set for all non en-US
170+
// languages.
171+
// This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
172+
// language tag. Example: "en-US".
171173
string language_code = 10;
174+
175+
// The time zone of this conversational profile from the
176+
// [time zone database](https://www.iana.org/time-zones), e.g.,
177+
// America/New_York, Europe/Paris. Defaults to America/New_York.
178+
string time_zone = 14;
179+
180+
// Name of the CX SecuritySettings reference for the agent.
181+
// Format: `projects/<Project ID>/locations/<Location
182+
// ID>/securitySettings/<Security Settings ID>`.
183+
string security_settings = 13 [(google.api.resource_reference) = {
184+
type: "dialogflow.googleapis.com/CXSecuritySettings"
185+
}];
172186
}
173187

174188
// The request message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2.ConversationProfiles.ListConversationProfiles].
@@ -263,11 +277,16 @@ message AutomatedAgentConfig {
263277
// Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API
264278
// Service Agent` role in this project.
265279
//
266-
// Format: `projects/<Project ID>/locations/<Location
280+
// - For ES agents, use format: `projects/<Project ID>/locations/<Location
267281
// ID>/agent/environments/<Environment ID or '-'>`. If environment is not
268282
// specified, the default `draft` environment is used. Refer to
269283
// [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest)
270284
// for more details.
285+
//
286+
// - For CX agents, use format `projects/<Project ID>/locations/<Location
287+
// ID>/agents/<Agent ID>/environments/<Environment ID
288+
// or '-'>`. If environment is not specified, the default `draft` environment
289+
// is used.
271290
string agent = 1 [
272291
(google.api.field_behavior) = REQUIRED,
273292
(google.api.resource_reference) = {
@@ -430,7 +449,7 @@ message HumanAgentAssistantConfig {
430449
// If this field is not set, it defaults to 0.0, which means that all
431450
// suggestions are returned.
432451
//
433-
// Supported features: ARTICLE_SUGGESTION.
452+
// Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE.
434453
float confidence_threshold = 5;
435454

436455
// Determines how recent conversation context is filtered when generating
@@ -537,13 +556,13 @@ message HumanAgentHandoffConfig {
537556
message NotificationConfig {
538557
// Format of cloud pub/sub message.
539558
enum MessageFormat {
540-
// If it is unspeified, PROTO will be used.
559+
// If it is unspecified, PROTO will be used.
541560
MESSAGE_FORMAT_UNSPECIFIED = 0;
542561

543-
// Pubsub message will be serialized proto.
562+
// Pub/Sub message will be serialized proto.
544563
PROTO = 1;
545564

546-
// Pubsub message will be json.
565+
// Pub/Sub message will be json.
547566
JSON = 2;
548567
}
549568

0 commit comments

Comments
 (0)