def update(self, client=None):
        """API call:  update the project via a ``PUT`` request.

        See
        https://cloud.google.com/resource-manager/reference/rest/v1beta1/projects/update

        :type client: :class:`google.cloud.resource_manager.client.Client` or
                      :data:`NoneType <types.NoneType>`
        :param client: the client to use.  If not passed, falls back to
                       the client stored on the current project.
        """
        client = self._require_client(client)

        data = {"name": self.name, "labels": self.labels, "parent": self.parent}

        resp = client._connection.api_request(method="PUT", path=self.path, data=data)
        self.set_properties_from_api_repr(resp)