class_docstr: A thin client for the REST Service.
class_docstr_tok: ["A","thin","client","for","the","REST","Service","."]
docstr: Updates an endpoint through the management API.
  
  Parameters
  ----------
  
  endpoint : Endpoint
  
      The endpoint to update.
docstr_tok: ["Updates","an","endpoint","through","the","management","API",".","Parameters","--","--","--","--","--","endpoint",":","Endpoint","The","endpoint","to","update","."]
code: def set_endpoint(self, endpoint):
      """Updates an endpoint through the management API.
  
      Parameters
      ----------
  
      endpoint : Endpoint
  
          The endpoint to update.
      """
      return self.service_client.PUT(
          "endpoints/" + endpoint.name, endpoint.to_json()
      )
  
imports: from .rest import RESTObject, RESTProperty
  from datetime import datetime
label_desc: Use image node_id 8 for calling the RESTServiceClient obj's underlying member method code with example usage: obj.set_endpoint(endpoint) and returns: self