code: def update(self, friendly_name=values.unset, domain_name=values.unset,
                 disaster_recovery_url=values.unset,
                 disaster_recovery_method=values.unset, recording=values.unset,
                 secure=values.unset, cnam_lookup_enabled=values.unset):
          
          return self._proxy.update(
              friendly_name=friendly_name,
              domain_name=domain_name,
              disaster_recovery_url=disaster_recovery_url,
              disaster_recovery_method=disaster_recovery_method,
              recording=recording,
              secure=secure,
              cnam_lookup_enabled=cnam_lookup_enabled,
          )
docs: Update the TrunkInstance
  
          :param unicode friendly_name: A string to describe the resource
          :param unicode domain_name: The unique address you reserve on Twilio to which you route your SIP traffic
          :param unicode disaster_recovery_url: The HTTP URL that we should call if an error occurs while sending SIP traffic towards your configured Origination URL
          :param unicode disaster_recovery_method: The HTTP method we should use to call the disaster_recovery_url
          :param TrunkInstance.RecordingSetting recording: The recording settings for the trunk
          :param bool secure: Whether Secure Trunking is enabled for the trunk
          :param bool cnam_lookup_enabled: Whether Caller ID Name (CNAM) lookup should be enabled for the trunk
  
          :returns: Updated TrunkInstance
          :rtype: twilio.rest.trunking.v1.trunk.TrunkInstance