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

Commit

Permalink
docs(samples): add region tags (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
galz10 committed Aug 20, 2021
1 parent ddf6787 commit 54ea84d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/snippets/update_intent.py
Expand Up @@ -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

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

0 comments on commit 54ea84d

Please sign in to comment.