code: public static base_response update(nitro_service client, snmpgroup resource) throws Exception {
  		snmpgroup updateresource = new snmpgroup();
  		updateresource.name = resource.name;
  		updateresource.securitylevel = resource.securitylevel;
  		updateresource.readviewname = resource.readviewname;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update snmpgroup.