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

Commit

Permalink
feat: Added persist_parameter_changes field from query_params to Ma…
Browse files Browse the repository at this point in the history
…tchIntentRequest (#506)

* feat: Added persist_parameter_changes field from `query_params` to MatchIntentRequest

PiperOrigin-RevId: 513016804

Source-Link: googleapis/googleapis@388f408

Source-Link: googleapis/googleapis-gen@99ede80
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTllZGU4MGQzZDE2N2NjMzk2YTZiYTg1ZTBiYTk0OTVhYmI2MDk3ZiJ9

* 🦉 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Mar 1, 2023
1 parent f00ed7c commit 27f6020
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions google/cloud/dialogflowcx_v3beta1/types/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,8 @@ class MatchIntentRequest(proto.Message):
The parameters of this query.
query_input (google.cloud.dialogflowcx_v3beta1.types.QueryInput):
Required. The input specification.
persist_parameter_changes (bool):
Persist session parameter changes from ``query_params``.
"""

session: str = proto.Field(
Expand All @@ -1216,6 +1218,10 @@ class MatchIntentRequest(proto.Message):
number=3,
message="QueryInput",
)
persist_parameter_changes: bool = proto.Field(
proto.BOOL,
number=5,
)


class MatchIntentResponse(proto.Message):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-dialogflow-cx",
"version": "1.19.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-dialogflow-cx",
"version": "1.19.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
2 changes: 1 addition & 1 deletion scripts/fixup_dialogflowcx_v3beta1_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class dialogflowcxCallTransformer(cst.CSTTransformer):
'list_webhooks': ('parent', 'page_size', 'page_token', ),
'load_version': ('name', 'allow_override_agent_resources', ),
'lookup_environment_history': ('name', 'page_size', 'page_token', ),
'match_intent': ('session', 'query_input', 'query_params', ),
'match_intent': ('session', 'query_input', 'query_params', 'persist_parameter_changes', ),
'restore_agent': ('name', 'agent_uri', 'agent_content', 'restore_option', ),
'run_continuous_test': ('environment', ),
'run_test_case': ('name', 'environment', ),
Expand Down

0 comments on commit 27f6020

Please sign in to comment.