Skip to content

Commit 46937cc

Browse files
authored
docs(samples): add region tags (#150)
1 parent d31a20f commit 46937cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dialogflow-CX/update_intent.py

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

14+
# [START dialogflow_cx_update_intent]
1415
from google.cloud.dialogflowcx_v3.services.intents import IntentsClient
1516
from google.protobuf import field_mask_pb2
1617

@@ -27,3 +28,4 @@ def update_intent(project_id, agent_id, intent_id, location, displayName):
2728
update_mask = field_mask_pb2.FieldMask(paths=["display_name"])
2829
response = intents_client.update_intent(intent=intent, update_mask=update_mask)
2930
return response
31+
# [END dialogflow_cx_update_intent]

0 commit comments

Comments
 (0)