File tree Expand file tree Collapse file tree
google/cloud/dialogflow/cx/v3beta1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -323,6 +323,21 @@ message ExportAgentResponse {
323323
324324// The request message for [Agents.RestoreAgent][google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent].
325325message RestoreAgentRequest {
326+ // Restore option.
327+ enum RestoreOption {
328+ // Unspecified. Treated as KEEP.
329+ RESTORE_OPTION_UNSPECIFIED = 0 ;
330+
331+ // Always respect the settings from the exported agent file. It may cause
332+ // a restoration failure if some settings (e.g. model type) are not
333+ // supported in the target agent.
334+ KEEP = 1 ;
335+
336+ // Fallback to default settings if some settings are not supported in the
337+ // target agent.
338+ FALLBACK = 2 ;
339+ }
340+
326341 // Required. The name of the agent to restore into.
327342 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
328343 string name = 1 [
@@ -342,6 +357,9 @@ message RestoreAgentRequest {
342357 // Uncompressed raw byte content for agent.
343358 bytes agent_content = 3 ;
344359 }
360+
361+ // Agent restore mode. If not specified, `KEEP` is assumed.
362+ RestoreOption restore_option = 5 ;
345363}
346364
347365// The request message for [Agents.ValidateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ValidateAgent].
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import "google/api/annotations.proto";
2020import "google/api/client.proto" ;
2121import "google/api/field_behavior.proto" ;
2222import "google/api/resource.proto" ;
23+ import "google/cloud/dialogflow/cx/v3beta1/test_case.proto" ;
2324import "google/longrunning/operations.proto" ;
2425import "google/protobuf/empty.proto" ;
2526import "google/protobuf/field_mask.proto" ;
Original file line number Diff line number Diff line change @@ -284,7 +284,9 @@ message Experiment {
284284 // Last update time of this experiment.
285285 google.protobuf.Timestamp last_update_time = 10 ;
286286
287- // Maximum number of days to run the experiment.
287+ // Maximum number of days to run the experiment. If auto-rollout is
288+ // not enabled, default value and maximum will be 30 days. If auto-rollout is
289+ // enabled, default value and maximum will be 6 days.
288290 google.protobuf.Duration experiment_length = 11 ;
289291
290292 // The history of updates to the experiment variants.
You can’t perform that action at this time.
0 commit comments