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

docs(samples): add region tags #151

Merged
merged 2 commits into from Aug 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions samples/snippets/create_agent.py
Expand Up @@ -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

Expand All @@ -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]