'Update one of the fields.
Args:
url: An optional string containing a URL.
path: If the path for this URN should be updated.'

def Update(self, url=None, path=None):

    if url:
        self.ParseFromString(url)
    if path:
        self._string_urn = path
    self.dirty = True
