Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit a81f0c2

Browse files
feat(v3beta1): added page in TestConfig (#270)
* feat: added page in TestConfig PiperOrigin-RevId: 433505834 Source-Link: googleapis/googleapis@e0b4fcf Source-Link: https://github.com/googleapis/googleapis-gen/commit/6c6eec24d68bf0ad45e67672baf16747c758f7b3 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmM2ZWVjMjRkNjhiZjBhZDQ1ZTY3NjcyYmFmMTY3NDdjNzU4ZjdiMyJ9 * feat: added page in TestConfig PiperOrigin-RevId: 433505834 Source-Link: googleapis/googleapis@e0b4fcf Source-Link: https://github.com/googleapis/googleapis-gen/commit/6c6eec24d68bf0ad45e67672baf16747c758f7b3 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmM2ZWVjMjRkNjhiZjBhZDQ1ZTY3NjcyYmFmMTY3NDdjNzU4ZjdiMyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 61fd2dc commit a81f0c2

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

google/cloud/dialogflowcx_v3beta1/types/test_case.py

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,29 @@ class TestConfig(proto.Message):
162162
Session parameters to be compared when
163163
calculating differences.
164164
flow (str):
165-
Flow name. If not set, default start flow is assumed.
166-
Format:
165+
Flow name to start the test case with. Format:
167166
``projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>``.
167+
168+
Only one of ``flow`` and ``page`` should be set to indicate
169+
the starting point of the test case. If both are set,
170+
``page`` takes precedence over ``flow``. If neither is set,
171+
the test case will start with start page on the default
172+
start flow.
173+
page (str):
174+
The [page][google.cloud.dialogflow.cx.v3beta1.Page] to start
175+
the test case with. Format:
176+
``projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>``.
177+
178+
Only one of ``flow`` and ``page`` should be set to indicate
179+
the starting point of the test case. If both are set,
180+
``page`` takes precedence over ``flow``. If neither is set,
181+
the test case will start with start page on the default
182+
start flow.
168183
"""
169184

170185
tracking_parameters = proto.RepeatedField(proto.STRING, number=1,)
171186
flow = proto.Field(proto.STRING, number=2,)
187+
page = proto.Field(proto.STRING, number=3,)
172188

173189

174190
class ConversationTurn(proto.Message):

0 commit comments

Comments
 (0)