Skip to content

Commit

Permalink
feat: added support to configure security settings, language code and…
Browse files Browse the repository at this point in the history
… time zone on conversation profile

PiperOrigin-RevId: 407663596
  • Loading branch information
Google APIs authored and copybara-github committed Nov 4, 2021
1 parent 5946b7a commit f9acb37
Showing 1 changed file with 27 additions and 8 deletions.
35 changes: 27 additions & 8 deletions google/cloud/dialogflow/v2/conversation_profile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,24 @@ message ConversationProfile {
// Settings for speech transcription.
SpeechToTextConfig stt_config = 9;

// Language which represents the conversationProfile.
// If unspecified, the default language code en-us applies. Users need to
// create a ConversationProfile for each language they want to support.
// 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".
string language_code = 10;

// 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.
string time_zone = 14;

// Name of the CX SecuritySettings reference for the agent.
// Format: `projects/<Project ID>/locations/<Location
// ID>/securitySettings/<Security Settings ID>`.
string security_settings = 13 [(google.api.resource_reference) = {
type: "dialogflow.googleapis.com/CXSecuritySettings"
}];
}

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

// Determines how recent conversation context is filtered when generating
Expand Down Expand Up @@ -537,13 +556,13 @@ message HumanAgentHandoffConfig {
message NotificationConfig {
// Format of cloud pub/sub message.
enum MessageFormat {
// If it is unspeified, PROTO will be used.
// If it is unspecified, PROTO will be used.
MESSAGE_FORMAT_UNSPECIFIED = 0;

// Pubsub message will be serialized proto.
// Pub/Sub message will be serialized proto.
PROTO = 1;

// Pubsub message will be json.
// Pub/Sub message will be json.
JSON = 2;
}

Expand Down

0 comments on commit f9acb37

Please sign in to comment.