
                         &    S r SSKJr  S rS rS rg)z2Declarative hooks for `gcloud dialogflow intents`.    )encodingc                     SU 0/SS.$ )NtextEXAMPLE)partstype )training_phrases    :lib/googlecloudsdk/command_lib/dialogflow/intents/hooks.pyTrainingPhrasesTyper      s    )*
     c                     SSU /00$ )Nr   r	   )responses    r   ResponseToMessager      s    
6H:&	''r   c                    [         R                  " UR                  5      nUR                  S5      (       a  UR	                  UR
                  5        [         R                  " U[        UR                  5      5      Ul        U$ )Nother_properties)r   MessageToDictgoogleCloudDialogflowV2IntentIsSpecifiedupdater   DictToMessager   )unused_instance_refargsrequestintents       r   AddOtherPropertiesToRequestr   !   sd    !!'"G"GH&	())
MM$''(*2*@*@d7889+;''	.r   N)__doc__apitools.base.pyr   r   r   r   r	   r   r   <module>r      s     9 &(r   