UpdateGroup() public method

Updates the Group specified in the URL.

It mirrors To the following Smartsheet REST API method: PUT /groups/{groupId}

This operation is only available to group administrators and system administrators.
if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public UpdateGroup ( Group group ) : Group
group Group the group To update
return Group
        public virtual void TestUpdateGroup()
        {
            server.setResponseBody("../../../TestSDK/resources/updateGroup.json");

            Group groupToUpdate = new Group.UpdateGroupBuilder(56464654).SetName("Renamed Group").SetDescription("Some new description").Build();

            Group updatedGroup = groupResources.UpdateGroup(groupToUpdate);

            Assert.AreEqual(groupToUpdate.Name, updatedGroup.Name);
            Assert.AreEqual(groupToUpdate.Description, updatedGroup.Description);
            Assert.AreEqual(4583173393803140, updatedGroup.OwnerId);
        }