Skip to content

Commit 568db06

Browse files
authored
docs(samples): add region tags (#151)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-dialogflow-cx/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
1 parent 46937cc commit 568db06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dialogflow-CX/create_agent.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
"""DialogFlow API Create Agent Sample"""
1717

18+
## [START dialogflow_cx_create_agent_sample]
1819
from google.cloud.dialogflowcx_v3.services.agents.client import AgentsClient
1920
from google.cloud.dialogflowcx_v3.types.agent import Agent
2021

@@ -34,3 +35,4 @@ def create_agent(project_id, display_name):
3435
response = agents_client.create_agent(request={"agent": agent, "parent": parent})
3536

3637
return response
38+
## [END dialogflow_cx_create_agent_sample]

0 commit comments

Comments
 (0)