From 788b67a8c966788a70a5d683a5e79e3a289c7ba3 Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Mon, 23 Aug 2021 11:06:09 -0700 Subject: [PATCH] docs(samples): add region tags (#151) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 # 🦕 --- samples/snippets/create_agent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/snippets/create_agent.py b/samples/snippets/create_agent.py index 3dfb68da..8b116812 100644 --- a/samples/snippets/create_agent.py +++ b/samples/snippets/create_agent.py @@ -15,6 +15,7 @@ """DialogFlow API Create Agent Sample""" +## [START dialogflow_cx_create_agent_sample] from google.cloud.dialogflowcx_v3.services.agents.client import AgentsClient from google.cloud.dialogflowcx_v3.types.agent import Agent @@ -34,3 +35,4 @@ def create_agent(project_id, display_name): response = agents_client.create_agent(request={"agent": agent, "parent": parent}) return response +## [END dialogflow_cx_create_agent_sample]