Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
meta: multiple commits (#66)
Browse files Browse the repository at this point in the history
feat: allow to disable webhook invocation per request
PiperOrigin-RevId: 360468675
Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Mar 2 11:03:03 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: a031936991b3baac2d62f91acf891d3dbac18753
Source-Link: googleapis/googleapis@a031936
build: update gapic-generator-typescript to v1.2.10.
PiperOrigin-RevId: 361273630
Source-Author: Google APIs <noreply@google.com>
Source-Date: Fri Mar 5 20:02:38 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 5477122b3e8037a1dc5bc920536158edbd151dc4
Source-Link: googleapis/googleapis@5477122
feat: added fallback option when restoring an agent docs: clarified experiment length
PiperOrigin-RevId: 362090097
Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Mar 10 10:50:48 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 4b16c60a8fffe213d3a5002f85696fef2b6a8172
Source-Link: googleapis/googleapis@4b16c60
feat: added fallback option when restoring an agent docs: clarified experiment length
PiperOrigin-RevId: 362453138
Source-Author: Google APIs <noreply@google.com>
Source-Date: Thu Mar 11 22:25:33 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 3e9b231b098d514c9a51ba8c59e416f45837b195
Source-Link: googleapis/googleapis@3e9b231
  • Loading branch information
yoshi-automation authored Mar 15, 2021
1 parent 3b1b674 commit f90bb9c
Show file tree
Hide file tree
Showing 15 changed files with 58,990 additions and 58,737 deletions.
18 changes: 18 additions & 0 deletions protos/google/cloud/dialogflow/cx/v3/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,21 @@ message ExportAgentResponse {

// The request message for [Agents.RestoreAgent][google.cloud.dialogflow.cx.v3.Agents.RestoreAgent].
message RestoreAgentRequest {
// Restore option.
enum RestoreOption {
// Unspecified. Treated as KEEP.
RESTORE_OPTION_UNSPECIFIED = 0;

// Always respect the settings from the exported agent file. It may cause
// a restoration failure if some settings (e.g. model type) are not
// supported in the target agent.
KEEP = 1;

// Fallback to default settings if some settings are not supported in the
// target agent.
FALLBACK = 2;
}

// Required. The name of the agent to restore into.
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
string name = 1 [
Expand All @@ -341,6 +356,9 @@ message RestoreAgentRequest {
// Uncompressed raw byte content for agent.
bytes agent_content = 3;
}

// Agent restore mode. If not specified, `KEEP` is assumed.
RestoreOption restore_option = 5;
}

// The request message for [Agents.ValidateAgent][google.cloud.dialogflow.cx.v3.Agents.ValidateAgent].
Expand Down
1 change: 1 addition & 0 deletions protos/google/cloud/dialogflow/cx/v3/environment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/dialogflow/cx/v3/test_case.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
Expand Down
4 changes: 3 additions & 1 deletion protos/google/cloud/dialogflow/cx/v3/experiment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,9 @@ message Experiment {
// Last update time of this experiment.
google.protobuf.Timestamp last_update_time = 10;

// Maximum number of days to run the experiment.
// Maximum number of days to run the experiment/rollout. If auto-rollout is
// not enabled, default value and maximum will be 30 days. If auto-rollout is
// enabled, default value and maximum will be 6 days.
google.protobuf.Duration experiment_length = 11;

// The history of updates to the experiment variants.
Expand Down
4 changes: 2 additions & 2 deletions protos/google/cloud/dialogflow/cx/v3/response_message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ message ResponseMessage {
// Output only. A signal that indicates the interaction with the Dialogflow agent has
// ended.
// This message is generated by Dialogflow only when the conversation
// reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
// defined by the user.
// reaches `END_SESSION` page. It is not supposed to be defined by the user.
//
// It's guaranteed that there is at most one such message in each response.
EndInteraction end_interaction = 11 [(google.api.field_behavior) = OUTPUT_ONLY];

Expand Down
3 changes: 3 additions & 0 deletions protos/google/cloud/dialogflow/cx/v3/session.proto
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,9 @@ message QueryParameters {
// - Else: parameter value
google.protobuf.Struct parameters = 5;

// Whether to disable webhook calls for this request.
bool disable_webhook = 7;

// Configures whether sentiment analysis should be performed. If not
// provided, sentiment analysis is not performed.
bool analyze_query_text_sentiment = 8;
Expand Down
18 changes: 18 additions & 0 deletions protos/google/cloud/dialogflow/cx/v3beta1/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,21 @@ message ExportAgentResponse {

// The request message for [Agents.RestoreAgent][google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent].
message RestoreAgentRequest {
// Restore option.
enum RestoreOption {
// Unspecified. Treated as KEEP.
RESTORE_OPTION_UNSPECIFIED = 0;

// Always respect the settings from the exported agent file. It may cause
// a restoration failure if some settings (e.g. model type) are not
// supported in the target agent.
KEEP = 1;

// Fallback to default settings if some settings are not supported in the
// target agent.
FALLBACK = 2;
}

// Required. The name of the agent to restore into.
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
string name = 1 [
Expand All @@ -342,6 +357,9 @@ message RestoreAgentRequest {
// Uncompressed raw byte content for agent.
bytes agent_content = 3;
}

// Agent restore mode. If not specified, `KEEP` is assumed.
RestoreOption restore_option = 5;
}

// The request message for [Agents.ValidateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ValidateAgent].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/dialogflow/cx/v3beta1/test_case.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
Expand Down
4 changes: 3 additions & 1 deletion protos/google/cloud/dialogflow/cx/v3beta1/experiment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,9 @@ message Experiment {
// Last update time of this experiment.
google.protobuf.Timestamp last_update_time = 10;

// Maximum number of days to run the experiment.
// Maximum number of days to run the experiment. If auto-rollout is
// not enabled, default value and maximum will be 30 days. If auto-rollout is
// enabled, default value and maximum will be 6 days.
google.protobuf.Duration experiment_length = 11;

// The history of updates to the experiment variants.
Expand Down
Loading

0 comments on commit f90bb9c

Please sign in to comment.