@@ -270,12 +270,29 @@ message TestConfig {
270
270
// Session parameters to be compared when calculating differences.
271
271
repeated string tracking_parameters = 1 ;
272
272
273
- // Flow name. If not set, default start flow is assumed .
273
+ // Flow name to start the test case with .
274
274
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
275
275
// ID>/flows/<Flow ID>`.
276
+ //
277
+ // Only one of `flow` and `page` should be set to indicate the starting point
278
+ // of the test case. If both are set, `page` takes precedence over `flow`. If
279
+ // neither is set, the test case will start with start page on the default
280
+ // start flow.
276
281
string flow = 2 [(google.api.resource_reference ) = {
277
282
type : "dialogflow.googleapis.com/Flow"
278
283
}];
284
+
285
+ // The [page][google.cloud.dialogflow.cx.v3.Page] to start the test case with.
286
+ // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
287
+ // ID>/flows/<Flow ID>/pages/<Page ID>`.
288
+ //
289
+ // Only one of `flow` and `page` should be set to indicate the starting point
290
+ // of the test case. If both are set, `page` takes precedence over `flow`. If
291
+ // neither is set, the test case will start with start page on the default
292
+ // start flow.
293
+ string page = 3 [(google.api.resource_reference ) = {
294
+ type : "dialogflow.googleapis.com/Page"
295
+ }];
279
296
}
280
297
281
298
// One interaction between a human and virtual agent. The human provides some
@@ -744,6 +761,12 @@ message ImportTestCasesRequest {
744
761
// The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
745
762
// to import test cases from. The format of this URI must be
746
763
// `gs://<bucket-name>/<object-name>`.
764
+ //
765
+ // Dialogflow performs a read operation for the Cloud Storage object
766
+ // on the caller's behalf, so your request authentication must
767
+ // have read permissions for the object. For more information, see
768
+ // [Dialogflow access
769
+ // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
747
770
string gcs_uri = 2 ;
748
771
749
772
// Uncompressed raw byte content for test cases.
@@ -806,6 +829,12 @@ message ExportTestCasesRequest {
806
829
// export the test cases to. The format of this URI must be
807
830
// `gs://<bucket-name>/<object-name>`. If unspecified, the serialized test
808
831
// cases is returned inline.
832
+ //
833
+ // Dialogflow performs a write operation for the Cloud Storage object
834
+ // on the caller's behalf, so your request authentication must
835
+ // have write permissions for the object. For more information, see
836
+ // [Dialogflow access
837
+ // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
809
838
string gcs_uri = 2 ;
810
839
}
811
840
0 commit comments