From 54ea84d58064a7c8d0a71f020a0c8cf36ac157bd Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Fri, 20 Aug 2021 15:28:38 -0700 Subject: [PATCH] docs(samples): add region tags (#150) --- samples/snippets/update_intent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/snippets/update_intent.py b/samples/snippets/update_intent.py index 87e89d85..9ba552a4 100644 --- a/samples/snippets/update_intent.py +++ b/samples/snippets/update_intent.py @@ -11,6 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +# [START dialogflow_cx_update_intent] from google.cloud.dialogflowcx_v3.services.intents import IntentsClient from google.protobuf import field_mask_pb2 @@ -27,3 +28,4 @@ def update_intent(project_id, agent_id, intent_id, location, displayName): update_mask = field_mask_pb2.FieldMask(paths=["display_name"]) response = intents_client.update_intent(intent=intent, update_mask=update_mask) return response +# [END dialogflow_cx_update_intent]