Skip to content

Commit 192fc77

Browse files
authored
docs(samples): add region tags to update intent sample (#382)
* Update update_intent.py * Update update_intent.py
1 parent 955950c commit 192fc77

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dialogflow/update_intent.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START dialogflow_es_update_intent]
16+
1517
from google.cloud.dialogflow_v2 import IntentsClient
1618
from google.protobuf import field_mask_pb2
1719

@@ -26,3 +28,4 @@ def update_intent(project_id, intent_id, display_name):
2628
update_mask = field_mask_pb2.FieldMask(paths=["display_name"])
2729
response = intents_client.update_intent(intent=intent, update_mask=update_mask)
2830
return response
31+
# [END dialogflow_es_update_intent]

0 commit comments

Comments
 (0)